You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2018/07/30 09:53:10 UTC

[GitHub] varaga opened a new issue #6069: BUG: intermediate persist directories are not cleaned up

varaga opened a new issue #6069: BUG: intermediate persist directories are not cleaned up
URL: https://github.com/apache/incubator-druid/issues/6069
 
 
   I am using Druid 0.13.0-SNAPSHOT version of Druid and it's deployed into AWS.
   The middle managers run Kafka Indexing Task. The task base directory seem to create directories with the following path...
   `persistent/task/xxx_taskId_yy//work/persist/xxx_taskId_yyy/**>`
   there are many directories that are not cleaned up for each task created as per the duration.
   I presume these are used by the tasks to create intermediate persists for segment handoffs and never are cleaned up once the segments are pushed to deep storage.
   
   I have 1000s of these files & directories left lingering in the intermediate storage.
   
   Here below is an example of the directories: 
   `druid-prototype-prod]$ ls -ltrc task/persistent/task/index_kafka_caliper-atomic-processed_prod_test1_ca2d498e9b1957c_pbebfmed/4ea138a5-1791-4b1b-a0a5-390e0d81b5d3/
   total 0`
   
   `druid-prototype-prod]$ ls -ltrc task/persistent/task/index_kafka_caliper-atomic-processed_prod_test1_ca2d498e9b1957c_pbebfmed/work/
   total 4
   drwxr-xr-x 3 root root 6144 Jul 27 17:24 persist`
   
   `druid-prototype-prod]$ ls -ltrc task/persistent/task/index_kafka_caliper-atomic-processed_prod_test1_ca2d498e9b1957c_pbebfmed/work/persist/caliper-atomic-processed_prod_test1_2018-07-10T13\:00\:00.000Z_2018-07-10T14\:00\:00.000Z_2018-07-10T13\:00\:02.005Z_4/
   total 4
   drwxr-xr-x 3 root root 6144 Jul 27 17:24 0`
   
   `druid-prototype-prod]$ ls -ltrc task/persistent/task/index_kafka_caliper-atomic-processed_prod_test1_ca2d498e9b1957c_pbebfmed/work/persist/caliper-atomic-processed_prod_test1_2018-07-10T13\:00\:00.000Z_2018-07-10T14\:00\:00.000Z_2018-07-10T13\:00\:02.005Z_4/0/
   total 4
   drwxr-xr-x 2 root root 6144 Jul 27 17:24 tmpOutputFiles`
   
   `druid-prototype-prod]$ ls -ltrc task/persistent/task/index_kafka_caliper-atomic-processed_prod_test1_ca2d498e9b1957c_pbebfmed/work/persist/caliper-atomic-processed_prod_test1_2018-07-10T13\:00\:00.000Z_2018-07-10T14\:00\:00.000Z_2018-07-10T13\:00\:02.005Z_4/0/tmpOutputFiles/
   total 0``druid-prototype-prod]$ ls -ltrc task/persistent/task/index_kafka_caliper-atomic-processed_prod_test1_ca2d498e9b1957c_pbebfmed/work/persist/caliper-atomic-processed_prod_test1_2018-07-10T13\:00\:00.000Z_2018-07-10T14\:00\:00.000Z_2018-07-10T13\:00\:02.005Z_4/
   total 4
   drwxr-xr-x 3 root root 6144 Jul 27 17:24 0`
   
   `druid-prototype-prod]$ ls -ltrc task/persistent/task/index_kafka_caliper-atomic-processed_prod_test1_ca2d498e9b1957c_pbebfmed/work/persist/caliper-atomic-processed_prod_test1_2018-07-10T13\:00\:00.000Z_2018-07-10T14\:00\:00.000Z_2018-07-10T13\:00\:02.005Z_4/0/
   total 4
   drwxr-xr-x 2 root root 6144 Jul 27 17:24 tmpOutputFiles`
   
   `druid-prototype-prod]$ ls -ltrc task/persistent/task/index_kafka_caliper-atomic-processed_prod_test1_ca2d498e9b1957c_pbebfmed/work/persist/caliper-atomic-processed_prod_test1_2018-07-10T13\:00\:00.000Z_2018-07-10T14\:00\:00.000Z_2018-07-10T13\:00\:02.005Z_4/0/tmpOutputFiles/
   total 0`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org