Support Questions

Find answers, ask questions, and share your expertise

error while connecting to hiveserver2 using windows client (aginity). Authentication we are using is mit kerberos for windows.

avatar
Super Collaborator

6365-l-bd6dtmp.png

This is what we found in hiveserver2 log

ERROR [hiveServer2.async.multi_dest.batch_hiveServer2.async.multi_dest.batch.hdfs_destWriter]: provider.BaseAuditHandler (BaseAuditHandler.java:

logError(329)) - Error writing to log file.

java.io.IOException: Failed on local exception: java.io.IOException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credential

s provided (Mechanism level: Failed to find any Kerberos tgt)]; Host Details : local host is: "*.*.*.*/10.190.80.11"; destination host is: "*.*.*.*":8020;

Thanks in advance

1 ACCEPTED SOLUTION

avatar
Super Collaborator

I have resolved the issue by giving appropriate permissions to the user in ranger and it worked fine for me

View solution in original post

1 REPLY 1

avatar
Super Collaborator

I have resolved the issue by giving appropriate permissions to the user in ranger and it worked fine for me