This message was deleted.
# troubleshooting
s
This message was deleted.
1
k
Hi Santhosh - you should not need to do any scripting -
kill
tasks will also remove the files from deep storage. From: https://druid.apache.org/docs/latest/tutorials/tutorial-delete-data.html#run-a-kill-task
we can submit a Kill Task, which will delete the disabled segments from metadata and deep storage.
s
Thanks!, how can I have a cronjob like thing to remove older than an year or so segments?
k
Druid uses Load Rules to configure retention policies - this can all be done automatically (without scripting) https://druid.apache.org/docs/latest/operations/rule-configuration.html#period-load-rule