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

Kerberos access to Cloudera from Mac

Kerberos access to Cloudera from Mac

New Contributor

I want to access Cloudera Hadoop setup (HIVE + Impala) from Mac Book Pro OS X 10.8.4.


We have Cloudera CDH-4.3.0 installed on Linux servers. I have extracted CDH-4.2.0 tarball to my Mac Book Pro.


I have set proper configuration and Kerberos credentials so that HIVE shell starts up.


However when I do 'show databases' command it gives following error:


> hive

> show databases;


Failed with exception Can't get Master Kerberos principal for use as renewer


The error is related to TokenCache.


When I searched for error, it seems following method 'obtainTokensForNamenodesInternal' throws this error when it tries to get a delegation token for specific FS and fails.


On client side I don't see any error in HIVE shell logs.


Any help or pointers for resolving this error would be highly appreciated.





Re: Kerberos access to Cloudera from Mac

Expert Contributor
can you able to access HDFS data on your mac using hadoop fs commands ?

you have a valid kerberos ticket for mac user to access HDFS data ?
Em Jay

Re: Kerberos access to Cloudera from Mac


Did you run hive with the command "sudo -u hive hive -hiveconf hive.root.logger=INFO,console" ?

Maybe your hive user does not opened,edit the /etc/passwd file,it will be ok.