Slackbot
01/03/2023, 5:07 AMAmatya Avadhanula
01/03/2023, 7:03 AMWaiting for handoff at the end of the task logs, could you please check the coordinator/time metric and historical availability as well?eddie n
01/03/2023, 7:38 AMStill waiting for handoff for [%d] segmentseddie n
01/03/2023, 7:39 AMShutdown [index_kafka_xxx] because: [task is not in knownTaskIds...Amatya Avadhanula
01/03/2023, 8:25 AMcould you please check the coordinator/time metric and historical availability as well?It would be great if you could share which duty is taking the most time in case the coordinator cycles are long
Thomas
01/03/2023, 9:23 AMcompletionTimeout in your supervisor specThomas
01/03/2023, 9:26 AMtaskDuration = completionTimeout . In my case, taskDuration was 1800 seconds. I’ve increased completionTimeout to 3600 seconds, and issue is no more.
I’ve got this issue when lag is growing. When there is a lot of Kafka data to ingest, it seems the taskDuration is not long enough to publish segments and tasks failed with a long durationAmatya Avadhanula
01/03/2023, 9:28 AMThomas
01/03/2023, 9:29 AM"No task in the corresponding pending completion taskGroup[group_id] succeeded before completion timeout elapsed"Thomas
01/03/2023, 9:30 AMThomas
01/03/2023, 9:32 AMThomas
01/03/2023, 9:32 AMtaskDuration = completionTimeout . In my case, taskDuration was 1800 seconds. I’ve increased completionTimeout to 3600 seconds, and issue is no more.
I’ve got this issue when lag is growing. When there is a lot of Kafka data to ingest, it seems the taskDuration is not long enough and tasks failed with a long durationeddie n
01/03/2023, 9:37 AMdruid.segmentCache.locations=[{"path":"/data1/druid/segment-cache/","maxSize":"6200g"}]
to druid.segmentCache.locations=[{"path":"/data1/druid/segment-cache/","maxSize":"4800g", "freeSpacePercent":20..0}] and as Amatya said, this could be problem.
I’ll consider what you said. thansk!eddie n
01/04/2023, 10:44 AMcompletionTimeout should be quite long in some cases. I’m running big cluster and consumes terabytes of data in a day. When kafka lag is huge, some tasks take more than 2 hours (taskDuration=1hr) and even PT3600S wasn’t enough. I gave PT7200S and Druid could manage tasks to be completed. After few hours, tasks took about 1HR again.
I twaeaked some other options so I’m not sure this is the only solution. but it did work anyway 😅
Thank you !Thomas
01/04/2023, 10:46 AM