Hi, fairly new to Druid and am primarily using the kafka indexing service. Having trouble shutting down running kafka indexing data sources.
curl -XGET http://IP:PORT/druid/indexer/v1/supervisor
returns an empty list, as it should, since I've run this:
curl -XPOST http://IP:PORT/druid/indexer/v1/supervisor/DATASOURCE/shutdown
on each dataSource in the kafka indexing specs.
However, for days now I still see activity in the logs (example below). Also, oddly, some data sources are still indexing incoming data, others are not. (viewing data in Pivot)
I've restarted all nodes and no change.
I've also tried killing running tasks I see in the coordinator console using
curl -X POST -H 'Content-Type: application/json' -d @kill-task.json http://HOST:PORT/druid/indexer/v1/task
and the response is
{"error":"Task[index_kafka_DATASOURCE_54d9e987be475d5_kdejoddf] already exists!"}
which makes no sense to me
What's the trick to managing what the cluster is doing? Have I overloaded it and it's just really slowly catching up?
Thanks for any help!
task that is actively indexing data, even though does not show up in GET /supervisor call
2016-10-29T13:23:30,550 INFO [qtp26418585-82] io.druid.indexing.common.actions.LocalTaskActionClient - Performing action for task[index_kafka_DATASOURCE2_54d9e987be475d5_kdejoddf]: SegmentAllocateAction{dataSource='DATASOURCE2', timestamp=2016-10-29T13:23:30.501Z, queryGranularity=NoneGranularity, preferredSegmentGranularity=MINUTE, sequenceName='index_kafka_DATASOURCE2_54d9e987be475d5_1', previousSegmentId='DATASOURCE2_2016-10-29T13:21:00.000Z_2016-10-29T13:22:00.000Z_2016-10-29T13:21:30.194Z_3'}
task that is NOT actively indexing data:
2016-10-29T13:11:33,468 INFO [qtp1044965465-43] com.metamx.emitter.core.LoggingEmitter - Event [{"feed":"metrics","timestamp":"2016-10-29T13:11:33.468Z","service":"druid/historical","host":"DRUIDHOST:9083","metric":"query/bytes","value":870,"context":"{\"finalize\":false,\"queryId\":\"ceabeae2-922a-4d07-9233-edb7c6f1da56\",\"timeout\":40000}","dataSource":"DATASOURCE","duration":"PT180120S","hasFilters":"false","id":"ceabeae2-922a-4d07-9233-edb7c6f1da56","interval":["2016-10-13T00:49:00.000Z/2016-10-15T01:15:00.000Z","2016-10-15T01:52:00.000Z/2016-10-15T02:45:00.000Z","2016-10-15T09:42:00.000Z/2016-10-15T09:44:00.000Z","2016-10-15T14:08:00.000Z/2016-10-15T14:49:00.000Z"],"remoteAddress":"xxxx","type":"segmentMetadata","version":"0.9.1.1"}]
2016-10-29T13:11:33,407 INFO [HttpClient-Netty-Worker-3] com.metamx.emitter.core.LoggingEmitter - Event [{"feed":"metrics","timestamp":"2016-10-29T13:11:33.407Z","service":"druid/broker","host":"DRUIDHOST:9082","metric":"query/node/ttfb","value":8695,"dataSource":"DATASOURCE","duration":"PT180120S","hasFilters":"false","id":"ceabeae2-922a-4d07-9233-edb7c6f1da56","interval":["2016-10-13T00:49:00.000Z/2016-10-15T01:15:00.000Z","2016-10-15T01:52:00.000Z/2016-10-15T02:45:00.000Z","2016-10-15T09:42:00.000Z/2016-10-15T09:44:00.000Z","2016-10-15T14:08:00.000Z/2016-10-15T14:49:00.000Z"],"server":"DRUIDHOST:9083","type":"segmentMetadata","version":"0.9.1.1"}]