[PLUG] How to access HDFS file system using Kerberos in Cent OS?

Amey Abhyankar sco1984 at gmail.com
Wed Jun 2 14:58:19 IST 2021


Hello,

I have Kerberos enabled Hadoop server. [HDP 3.1.4] on Cent OS 7.9
keytab is generated for user1 at server1.example.com/EXAMPLE.COM
krb5.conf is in /etc/
default realm & domain_realm's are defined.

I am trying to switch to hive os user
And then the command = hdfs dfs -ls /
I am getting error saying Client cannot authenticate via:[TOKEN, KERBEROS]

I tried to Google but the suggested articles are not helping.
My goal is to access HDFS file system using hive os user.

Any hints on how to achieve this? Thank you.

Regards,
Amey.


More information about the plug-mail mailing list