Support Questions
Find answers, ask questions, and share your expertise

How to resolve 'SASL negotiation failure' of sometimes execute hive2 action in secure 5.7 cluster

Re: How to resolve 'SASL negotiation failure' of sometimes execute hive2 action in secure 5.7 cluster

Expert Contributor

errors is below:

 

token expired or does not exist:Hive_delegation_token

Re: How to resolve 'SASL negotiation failure' of sometimes execute hive2 action in secure 5.7 cluster

New Contributor

@iamfromsky Did You get any resolution for this? . I am facing the same scenario but no help so far in solving this.

Jobs are running form certain tool is not able to connect to HMS and fails with the below error.
ERROR org.apache.thrift.transport.TSaslTransport: [pool-5-thread-207]: SASL negotiation failure javax.security.sasl.SaslException: DIGEST-MD5: IO error acquiring password [Caused by org.apache.hadoop.security.token.SecretManager$InvalidToken: token expired or does not exist: HIVE_DELEGATION_TOKEN