Hi,

I am using Kafka Server kafka_2.10-0.10.1.0.
I am trying to integrate it with Kerberos server.

I followed steps mentioned at 
http://kafka.apache.org/documentation.html#security_sasl

However I am not able to start the server and getting the following error.

[2016-11-16 09:47:46,578] INFO Initiating client connection, 
connectString=localhost:2181 sessionTimeout=6000 
watcher=org.I0Itec.zkclient.ZkClient@20deea7f (org.apache.zookeeper.ZooKeeper)
[2016-11-16 09:47:46,594] INFO Waiting for keeper state SaslAuthenticated 
(org.I0Itec.zkclient.ZkClient)
>>>KinitOptions cache name is /tmp/krb5cc_0
>>>DEBUG <CCacheInputStream>  client principal is 
>>>kafka/sdld0688.labs.teradata....@krb5dom.tdat
>>>DEBUG <CCacheInputStream> server principal is 
>>>krbtgt/krb5dom.t...@krb5dom.tdat
>>>DEBUG <CCacheInputStream> key type: 23
>>>DEBUG <CCacheInputStream> auth time: Wed Nov 16 06:59:17 PST 2016
>>>DEBUG <CCacheInputStream> start time: Wed Nov 16 06:58:06 PST 2016
>>>DEBUG <CCacheInputStream> end time: Wed Nov 16 16:59:17 PST 2016
>>>DEBUG <CCacheInputStream> renew_till time: Thu Nov 17 06:58:06 PST 2016
>>> CCacheInputStream: readFlags()  RENEWABLE; INITIAL; PRE_AUTH;
Java config name: /etc/kafka/krb5.conf
Loaded from Java config
[2016-11-16 09:47:46,728] WARN SASL configuration failed: 
javax.security.auth.login.LoginException: No key to store Will continue 
connection to Zookeeper server without SASL authentication, if Zookeeper server 
allows it. (org.apache.zookeeper.ClientCnxn)
[2016-11-16 09:47:46,734] INFO zookeeper state changed (AuthFailed) 
(org.I0Itec.zkclient.ZkClient)

kinit is working fine with the keytab.
Any help would be appreciated in resolving the issue.

Thanks
Harishankar Mishra

Reply via email to