Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Solved Go to solution
Highlighted

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

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

Accepted Solutions

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

Super Collaborator

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

1 REPLY 1

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

Super Collaborator

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