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.

Permission denied | Kerberos | WebHdfs

Permission denied | Kerberos | WebHdfs


Dear experts,


I am facing attached an error while browse directory on 50070 port after kerberos configuration.


Permission denied when trying to open /webhdfs/v1/?op=LISTSTATUS: GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos credentails)




Re: Permission denied | Kerberos | WebHdfs


Do you have Authentication required for the UIs enabled (Enable Kerberos Authentication for HTTP Web-Consoles)?  I would try enabling it to ensure that you are providing the tgt to the browser to even access the NN UI.  And from there it should pass it along when it tries to access WebHDFS.


You can also try from the command line using curl and --negioate to access WebHDFS and HttpFS just to make sure they are working correctly independintly of the client browser.


This is for an older version but the details have not changed.  Read it to configure your browser to negiotiate for authentication.

Don't have an account?
Coming from Hortonworks? Activate your account here