Kill task was succeeded but data in deep storage was not deleted

Hi everyone,
I am using Druid 0.9.2 and I wanna delete my old data from deep storage and we only keep our datasources for 30 days.

I use kill task as following:

{
“type”: “kill”,
“id”: “kill_ad_statistic_hourly_compression_longs_2017-01-17T08:43:28.676Z”,
“dataSource”: “ad_statistic_hourly_compression_longs”,
“interval” : “2017-01-01T23:00:00.000Z/2017-01-02T00:00:00.000Z”
}

``

The task was succeeded and didn’t throw any error I attached the log.

But the data still there.

I did find the error message on the middle manager and overlord logs but didn’t find anything.

Regards,

Chanh

log_kill_task.txt (184 KB)

you need to disable the segment/data source first. it is a 2 steps process.

http://druid.io/docs/latest/ingestion/tasks.html#kill-task