Slackbot
10/12/2022, 7:57 PMAdam Peck
10/12/2022, 8:00 PMJAY PATEL
10/12/2022, 8:10 PM# Task launch parameters
druid.indexer.task.baseTaskDir=var/druid/task
druid.indexer.logs.type=s3
druid.indexer.logs.s3Bucket=druid-deep-storage-test
druid.indexer.logs.s3Prefix=druid/indexer-log
druid.indexer.logs.disableAcl=trueSergio Ferragut
10/12/2022, 8:31 PMSergio Ferragut
10/12/2022, 9:20 PMdruid.indexer.logs.kill.initialDelay - how long after overlord start should the first log removal cycle occur
druid.indexer.logs.kill.delay - how long between log removal cycles
druid.indexer.logs.kill.durationToRetain - duration of log retentionJAY PATEL
10/13/2022, 2:07 PMjvm.options: |-
-server
-XX:MaxDirectMemorySize=10240g
-Djava.io.tmpdir=/druid/data
-Dlog4j.debug
-Dlog4j.shutdownHookEnabled=true
-Duser.timezone=UTC
-Dfile.encoding=UTF-8
-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager
-Daws.region=us-east-1
log4j.config: |-
<?xml version="1.0" encoding="UTF-8" ?>
<Configuration status="WARN">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{ISO8601} %p [%t] %c - %m%n"/>
</Console>
</Appenders>
<Loggers>
<Root level="info">
<AppenderRef ref="Console"/>
</Root>
</Loggers>
</Configuration>Mark Herrera
10/13/2022, 5:54 PMJAY PATEL
10/14/2022, 5:19 PMGian Merlino
10/14/2022, 10:41 PMdruid.indexer.storage.recentlyFinishedThresholdGian Merlino
10/14/2022, 10:43 PMsys.tasks table, and therefore, which show up in the web console. By default, it's 24 hours, meaning complete tasks stop showing up after 24 hours. It's there to keep the size of the sys table manageable.
However, the logs and metadata are still there in deep storage and metadata store, until and unless they are "killed". You can retrieve them using all the regular task APIs, if you know the task ID.Gian Merlino
10/14/2022, 10:43 PMdruid.indexer.storage.recentlyFinishedThreshold and they will "magically" show back up 🙂
This is because sys.tasks is really just a view on the druid_tasks table in metadata store, filtered by the recently-finished threshold.