hi,
im able to setup kerberos and configure with druid 0.10.0 but still druid says unauthorized and giving 401 status
these are my druid properrties
common.properties
druid.hadoop.security.kerberos.keytab = /etc/krb5.keytab
druid.hadoop.security.spnego.keytab = /etc/krb5.keytab
using my kerberos client im able to get ticket to my client
by using command "
kinit -k -t <path_to_keytab_file> us...@REALM.COM" it is successfuly login to kerberos/druid host
but when i used to send druid query from my client it say 401 unauthorised
by using command "curl --negotiate -u:anyUser -b ~/cookies.txt -c ~/cookies.txt -X POST -H'Content-Type: application/json' http://broker-host:port/druid/v2/?pretty -d @query.json"
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 401 </title>
</head>
<body>
<h2>HTTP ERROR: 401</h2>
<p>Problem accessing /druid/v2/. Reason:
<pre> </pre>
</p>
<hr />
<hr/>
</body>
</html>
what is this spnego principal is that kerberos host principal?
how do i create this spnego principal?