Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

hdfs dfs -ls command failing with below error after enabling the kerberos in HDP 3.0.1

avatar
Super Collaborator

[hdfs@ip-10-0-10-206 ~]$ hdfs dfs -ls /user 18/11/26 09:26:10 WARN ipc.Client: Exception encountered while connecting to the server : org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS] ls: DestHost:destPort ip-10-0-10-87:8020 , LocalHost:localPort ip-10-0-10-206/10.0.10.206:0. Failed on local exception: java.io.IOException: org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS]

1 ACCEPTED SOLUTION

avatar
Super Collaborator

This problem occurs while the ticket is expired. resolved after generating the ticket by using kinit -kt user.keytab use@realm

View solution in original post

1 REPLY 1

avatar
Super Collaborator

This problem occurs while the ticket is expired. resolved after generating the ticket by using kinit -kt user.keytab use@realm