Jayush Luniya created AMBARI-9963:
-------------------------------------

             Summary: "Rebalance HDFS" fails via Ambari with Kerberos security 
ON
                 Key: AMBARI-9963
                 URL: https://issues.apache.org/jira/browse/AMBARI-9963
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 1.7.0
            Reporter: Jayush Luniya
            Assignee: Jayush Luniya
             Fix For: 2.0.0


On a Kerberized cluster attempting to issue a 'rebalance' command via Ambari 
1.7 UI results in the following: 

15/02/26 16:02:40 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)] 

Issuing a kinit via CLI first and then running the HDFS command manually works. 

{noformat}

[hdfs@rwld409:~]! kinit -kt /dsap/etc/security/keytabs/hdfs.headless.keytab 
hdfs 
[hdfs@rwld409:~]! klist 
Ticket cache: FILE:/tmp/krb5cc_1589903273 
Default principal: [email protected] 

Valid starting Expires Service principal 
03/02/15 17:52:18 03/03/15 03:52:18 
krbtgt/proddfs.pf.discoverfinancial....@proddfs.pf.discoverfinancial.com 
renew until 03/03/15 17:52:18

{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to