Slackbot
06/01/2023, 6:18 AMAbhishek Agarwal
06/01/2023, 8:25 AMDidip Kerabat
06/01/2023, 4:43 PMSachidananda
06/05/2023, 3:49 AMSachidananda
06/05/2023, 3:50 AMSachidananda
06/05/2023, 3:55 AMAbhishek Agarwal
06/05/2023, 4:15 AMSachidananda
06/05/2023, 4:15 AMAbhishek Agarwal
06/05/2023, 5:32 AMSebastien Rosset
06/14/2023, 6:55 PMDid you turn on auto pruning of tasks?Are you referring to the recentlyFinishedThreshold parameter?
Didip Kerabat
06/16/2023, 12:14 AMdruid.indexer.logs.kill.enabled={{ env("DRUIDOVERLORD_INDEXER_LOGS_KILL_ENABLED", "true") }}
# This is in milliseconds
# 7200000 = 2 hours
# Number of milliseconds of delay between successive executions of auto kill run.
druid.indexer.logs.kill.delay={{ env("DRUIDOVERLORD_INDEXER_LOGS_KILL_DELAY", "7200000") }}
# This is in milliseconds
# 86400000 = 24 hours
druid.indexer.logs.kill.durationToRetain={{ env("DRUIDOVERLORD_INDEXER_LOGS_KILL_DURATIONTORETAIN", "86400000") }}
Sachidananda
06/20/2023, 5:18 AMjava.nio.file.FileSystemException: /mnt/data/task/workerTaskManagerTmp/<temp_task_folder_name>: File name too long
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:100) ~[?:?]
if I submit kill task manually it passes as the prefix is kill_*
instead of coordinator-issued_kill_*
as it is 18 characters less
looks like linux file system (ext4 in our case for middle manager instances as i checked ) is having 255 chars limit for file name.
In druid is there a way to change this name?
can we use uuid for creating folders instead of taskid as task id is only needed in metadata.
Thanks in advance.Abhishek Agarwal
06/20/2023, 5:47 AMSachidananda
06/20/2023, 7:30 AMShivji Kumar Jha
06/21/2023, 5:45 AMAbhishek Agarwal
06/21/2023, 6:01 AMShivji Kumar Jha
06/21/2023, 6:27 AMstatic String newTaskId(
@Nullable String idPrefix,
String idSuffix,
DateTime now,
String typeName,
String dataSource,
@Nullable Interval interval
)
Then there is also "coordinator-issued" and a UUID that gets in somewhere else. Here is an example ( datasource name removed)
coordinator-issued_kill_<DATASOURCE_NAME>_kbhnnlld_2023-05-21T00:00:00.000Z_2023-06-19T00:00:00.000Z_2023-06-21T05:46:17.991Z.599f0ca8-254a-42a7-a702-8f47ecfcbe1b
Then the trouble is not all the fields joined are part of columns in the task table. So have to add columns perhaps to ensure all info remains with tasks. Hopefully we dont parse id to get interval, time of task issues etcShivji Kumar Jha
06/21/2023, 6:33 AMAbhishek Agarwal
06/21/2023, 6:55 AMAbhishek Agarwal
06/21/2023, 7:03 AMShivji Kumar Jha
06/21/2023, 7:04 AMAbhishek Agarwal
06/21/2023, 7:04 AMAbhishek Agarwal
06/21/2023, 7:05 AMAbhishek Agarwal
06/21/2023, 7:07 AMShivji Kumar Jha
06/21/2023, 7:07 AMAbhishek Agarwal
06/21/2023, 7:08 AM