Slackbot
03/05/2024, 5:38 AMAbhishek Balaji Radhakrishnan
03/05/2024, 6:21 AMkillDataSourceWhitelist, killTaskSlotRatio and maxKillTaskSlots - https://druid.apache.org/docs/latest/configuration/#coordinator:~:text=none-,killTaskSlotRatio,-Ratio%20of%20total`
3. Do you have any active ingestion going on for the datasource that you’re also trying to kill that results in lock conflicts? Could you share the kill task payload along with any other relevant logs from the stalled task?
4. Does kill for other datasources succeed?sriramdas sivasai
03/05/2024, 7:59 AM{
"type": "kill",
"id": "api-issued_kill_ds1001_clkndhhj_1000-01-01T00:00:00.000Z_2024-03-02T00:00:00.000Z_2024-03-03T20:18:40.016Z",
"dataSource": "ds1001",
"interval": "1000-01-01T00:00:00.000Z/2024-03-02T00:00:00.000Z",
"context": {
"forceTimeChunkLock": true,
"useLineageBasedSegmentAllocation": true
},
"groupId": "api-issued_kill_ds1001_clkndhhj_1000-01-01T00:00:00.000Z_2024-03-02T00:00:00.000Z_2024-03-03T20:18:40.016Z",
"resource": {
"availabilityGroup": "api-issued_kill_ds1001_clkndhhj_1000-01-01T00:00:00.000Z_2024-03-02T00:00:00.000Z_2024-03-03T20:18:40.016Z",
"requiredCapacity": 1
}
}Arun C
03/05/2024, 10:05 AMArun C
03/05/2024, 10:05 AMAbhishek Balaji Radhakrishnan
03/05/2024, 10:13 AMds1001? To find out, you can run a query like this in the metadata store: select count(*) from druid_segments where used = false and datasource = 'ds1001'
Also, note that several kill task improvements were made in 28.0.0 and above. If there is a ton of unused segments in the kill interval, then using a combination of limit and batchSize introduced in newer versions (28.0.0 and over) should help.Mahesha Subrahamanya
03/05/2024, 7:14 PMAbhishek Balaji Radhakrishnan
03/07/2024, 12:53 PM