Description
Browsing filesystem via webui throws kerberos exception when NN service RPC is enabled in a secure cluster
To reproduce this error,
Enable security
Enable serviceRPC by setting dfs.namenode.servicerpc-address and use a different port than the rpc port.
Click on "Browse the filesystem" on NameNode web.
The following error will be shown :
Call to NN001/12.123.123.01:8030 failed on local exception: java.io.IOException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]