After I "Enable Kerberos", the ui that I want to access responsing is
Problem accessing /index.html. Reason:
org.apache.hadoop.security.authentication.util.SignerException: Invalid signed text:
Powered by Jetty://
Have you setup your browser for Kerberos Authentication? Like setting "network.negotiate-auth.trusted-uris" in Firefox? And Enabled firefox to use native gsslib for authentication
Please check the following link which talks about "Enabling SPNEGO Authentication for Hadoop"
Yes, I have checked it. I am puzzeld whether "/etc/security/http_secret" is correct. Maybe it should be "/etc/security/keytabs/http_secret"?
As per the doc the path should be : "/etc/security/http_secret" but it will be easy to find that out
dd if=/dev/urandom of=/etc/security/http_secret bs=1024 count=1 chown hdfs:hadoop /etc/security/http_secret chmod 440 /etc/security/http_secret
- It's path depends on the property "hadoop.http.authentication.signature.secret.file"
And when I want to browse HDFS, it responses "Authentication failed when trying to open /webhdfs/v1/?op=LISTSTATUS: Unauthorized.".