ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aravindan Vijayan" <>
Subject Review Request 41389: AMBARI-14378 : Issue with setting zookeeper quorum to localhost in Kerberized env
Date Tue, 15 Dec 2015 02:58:04 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for Ambari, Dmytro Sen, Sumit Mohanty, and Sid Wagle.

Bugs: AMBARI-14378

Repository: ambari



On a secure cluster with AMS is in distributed mode, the following exception is seen on AMS

0.1:61181. Will attempt to SASL-authenticate using Login Context section 'Client'
2015-12-14 23:39:18,810 INFO  zookeeper.Login ( - [Thread-9]
TGT valid starting at:        Mon Dec 14 23:39:18 UTC 2015
2015-12-14 23:39:18,810 INFO  zookeeper.Login ( - [Thread-9]
TGT expires:                  Tue Dec 15 23:39:18 UTC 2015
2015-12-14 23:39:18,810 INFO  zookeeper.Login ( - [Thread-9] TGT refresh
sleeping until: Tue Dec 15 19:05:57 UTC 2015
2015-12-14 23:39:18,837 INFO  zookeeper.ClientCnxn (
- [main-SendThread(localhost:61181)] Socket connection established to localhost/,
initiating session
2015-12-14 23:39:18,965 INFO  zookeeper.ClientCnxn ( - [main-SendThread(localhost:61181)]
Session establishment complete on server localhost/, sessionid = 0x151a2dcbfd50000,
negotiated timeout = 120000
2015-12-14 23:39:19,030 ERROR client.ZooKeeperSaslClient (
- [main-SendThread(localhost:61181)] An error: (
GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level:
Server not found in Kerberos database (7) - UNKNOWN_SERVER)]) occurred when evaluating Zookeeper
Quorum Member's  received SASL token. This may be caused by Java's being unable to resolve
the Zookeeper Quorum Member's hostname correctly. You may want to try to adding ',sun'
to your client's JVMFLAGS environment. Zookeeper Client will go to AUTH_FAILED state.

zookeeper.quorum.hosts needs to be the fully qualified hostname of the AMS host instead of
just "localhost" for distributed mode.





Manual testing done on secure and unsecure cluster.

Python unit tests pass.


Aravindan Vijayan

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message