Does Compaction Configuration API work?

I am trying to get dynamic compaction work. But I’ve noticed that even though I have a running compact task which submitted via
curl -XPOST -H’Content-Type: application/json’ -d @compact.json http://:8090/druid/indexer/v1/task

but the GET

  • /druid/coordinator/v1/config/compaction
    doesn’t return anything. curl -X GET http://:8090/druid/coordinator/v1/config/compaction/

Did I miss something?

Thanks,

Christine

I think you post to /druid/coordinator/v1/config/compaction

With the body looking something like:

{“dataSource”:“wikipedia”,“keepSegmentGranularity”:true,“taskPriority”:25,“inputSegmentSizeBytes”:419430400,“targetCompactionSizeBytes”:419430400,“maxRowsPerSegment”:null,“maxNumSegmentsToCompact”:150,“skipOffsetFromLatest”:“P1D”,“tuningConfig”:null,“taskContext”:null}

I am not sure, I just looked in the network tab of the druid console (see attached) to see what it was doing.

Hope this helps!