You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jayush Luniya (JIRA)" <ji...@apache.org> on 2015/03/06 18:34:38 UTC
[jira] [Created] (AMBARI-9963) "Rebalance HDFS" fails via Ambari
with Kerberos security ON
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: hdfs@PRODDFS.PF.DISCOVERFINANCIAL.COM
Valid starting Expires Service principal
03/02/15 17:52:18 03/03/15 03:52:18 krbtgt/PRODDFS.PF.DISCOVERFINANCIAL.COM@PRODDFS.PF.DISCOVERFINANCIAL.COM
renew until 03/03/15 17:52:18
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)