Created on 11-23-2015 01:01 AM - edited 09-16-2022 02:50 AM
I use a kerberized cluster and once in a while I notice following error in my zookeeper client logs:
15/11/15 15:46:53 ERROR client.ZooKeeperSaslClient: An error: (java.security.PrivilegedActionException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Connection reset)]) occurred when evaluating Zookeeper Quorum Member's received SASL token. Zookeeper Client will go to AUTH_FAILED state.
15/11/15 15:46:53 ERROR zookeeper.ClientCnxn: SASL authentication with Zookeeper Quorum member failed: javax.security.sasl.SaslException: An error: (java.security.PrivilegedActionException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Connection reset)]) occurred when evaluating Zookeeper Quorum Member's received SASL token. Zookeeper Client will go to AUTH_FAILED state.
So, I had following doubt with this:
It is showing actual error to be connection reset. I am not sure connection RST to what? Is it to Kerberos KDC? But the log further seems to indicate that connection issue happened when connecting to ZK quorum member. So, in that case the RST flag is recd from ZK quorum member?
Thanks,
Sumit
Created 12-02-2015 10:41 AM
Created 12-02-2015 10:41 AM
Created 12-02-2015 07:45 PM
Thanks Harsh,
So, to generalize, the mechanism level subcodes can always be taken as some failure in communicating with KDC, right?
I also see that despite this error, ZK does continue to function ... so is this error to be really treated seriously?
Thanks again.
Created 12-06-2015 09:23 PM