How to post druid kafka indexer service in kerberos environment

Hi all,

We are using the HDP-2.6.5 cluster with druid having version 0.10

We are having problem in submitting the druid kafka indexing service through curl command as we kerberized the cluster. Curl command used is

curl -X POST -H 'Content-Type: application/json' -d @druid_file.json http://host:8081/druid/inexer/v1/supervisor/

error message is:

Error 401

HTTP ERROR: 401

Problem accessing /druid/indexer/v1/supervisor/. Reason:

    Authentication required

Powered by Jetty:// 9.3.19.v20170502

As per http://druid.io/docs/latest/development/extensions-core/druid-kerberos.html if i use below command then I am getting different error:

curl --negotiate -u:username -b ~/cookies.txt -c ~/cookies.txt -X POST -H'Content-Type: application/json' -d @druid_file.json http://host:8081/druid/indexer/v1/supervisor/

error message is:

Error 500

HTTP ERROR: 500

Problem accessing /druid/indexer/v1/supervisor/. Reason:

    io.druid.java.util.common.ISE: Can't find indexingService, did you configure druid.selectors.indexing.serviceName same as druid.service at overlord?

Powered by Jetty:// 9.3.19.v20170502

Need help here to resolve this asap.

Note: I have not added any of the extra parameter in the druid_file.json for kerberos.

Hey Mohammed,

Could you try posting this directly to the overlord, by sending to port 8090: http://host:8090/druid/indexer/v1/supervisor/