Suspicious persists during the ingestion
Affected Version
0.17, 0.18
Description
2020-05-29T19:39:41,325 INFO [[index_kinesis_events_f3f78b11e73489e_cpmeplam]-appenderator-persist] org.apache.druid.segment.realtime.appenderator.AppenderatorImpl - Flushed in-memory data for segment[events_2020-05-29T17:00:00.000Z_2020-05-29T18:00:00.000Z_2020-05-29T17:00:00.217Z_58] spill[12] to disk in [2,861] ms (99,998 rows).
2020-05-29T19:39:41,354 INFO [[index_kinesis_events_f3f78b11e73489e_cpmeplam]-appenderator-persist] org.apache.druid.segment.realtime.appenderator.AppenderatorImpl - Flushed in-memory data for segment[events_2020-05-29T16:00:00.000Z_2020-05-29T17:00:00.000Z_2020-05-29T16:00:00.435Z_378] spill[9] to disk in [10] ms (2 rows).
...
Observed this pattern of persists was repeatedly happening when maxRowsInMemory was 100,000. maxTotalRows was default.
Hi @jihoonson,
It could be helpful if you could share the entire log.
@jihoonson same pattern of persists happening. Have you found the cause?
Hi Team, I have been seeing similar problems with Kafka Ingestion. I see similar log pattern 'Flushed in-memory data for segment ...' The kafka tasks have status 'Failed'. The supervisor task is in 'UNHEALTHY' state. The ingestion is not complete and none of the new tasks are successful. Attached Log for reference: index_kafka_tbt_data2_690d6435b564613_cihaeipo.log
@abinashk-inf - It doesn't seem to be the same problem. Do you see persists in the log with very few rows?
@abhishekagarwal87 Usually this is seen with large number of rows (more than a million). ONce this problem starts, all successive kafka ingestion tasks for that particular datasource go to 'failed' state. And there is no way out unless I mark datasource as unused segment and issue a 'Kill' signal. After this I would need to -recreate datasource and start ingestion again.
The full logs might help. Also, have you considered seeking help on the user mailing list or our apache slack channel (https://druid.apache.org/community/join-slack)?