Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.0
-
None
Description
While testing the source tar for apache release 2.2, I was unable to complete the installation. the following error occurred:
Host [rm1.novalocal]: Script [hdfs_cmds.py] ..................................... [ FAIL ]
Failed to run command su - hdfs -c '/usr/bin/hdfs dfs -chgrp 18/01/28 21:15:25 WARN security.UserGroupInformation: PriviledgedActionException as:root (auth:KERBEROS) cause:javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
18/01/28 21:15:25 WARN ipc.Client: Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)
There is a valid HBASE ticket:
[centos@rm1 distribution]$ sudo su hdfs
bash-4.1$ klist
Ticket cache: FILE:/tmp/krb5cc_494
Default principal: hdfs/rm1.novalocal@TRAFKDC.COM
Valid starting Expires Service principal
01/28/18 21:11:10 01/29/18 21:11:10 krbtgt/TRAFKDC.COM@TRAFKDC.COM
renew until 02/02/18 21:11:10
I manually performed the hdfs_cmds.py step and completed the installation. However, after installation completed, neither authorization or authentication was enabled.