Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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