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.

Unable to Access kerberized cluster from my mac machine. Getting 401 Authentication error in curl

Highlighted

Re: Unable to Access kerberized cluster from my mac machine. Getting 401 Authentication error in curl

Explorer

try -k i.e, curl -i -k -u

Re: Unable to Access kerberized cluster from my mac machine. Getting 401 Authentication error in curl

Can you verify the NN is listening on the public interface? Since you're able to ssh using the public hostname, but attempts to use WebHDFS don't show up in the NN log, it sounds like NN might only be listening on the internal interface.

Highlighted

Re: Unable to Access kerberized cluster from my mac machine. Getting 401 Authentication error in curl

@sprakash I am seeing this same issue, were you able to resolve? I can also get a valid ticket but when trying to access RM UI via curl from my Mac, I see the same error:

* gss_init_sec_context() failed: : unknown mech-code 0 for mech unknown
Don't have an account?
Coming from Hortonworks? Activate your account here