Antonenko Alexander created AMBARI-15369:
--------------------------------------------
Summary: Ambari cannot enable NN HA in kerberos env
Key: AMBARI-15369
URL: https://issues.apache.org/jira/browse/AMBARI-15369
Project: Ambari
Issue Type: Bug
Components: ambari-web
Affects Versions: 2.2.0
Reporter: Antonenko Alexander
Assignee: Antonenko Alexander
Fix For: 2.4.0
PROBLEM: In secured env, when try to enable NN HA, it will fail at step 2 when
trying to add additional NN to the cluster with error:
{code}
07 Mar 2016 16:35:45,083 INFO [qtp-ambari-client-25]
AbstractResourceProvider:798 - Caught an exception while updating host
components, retrying : java.lang.IllegalArgumentException: Missing KDC
administrator credentials.
The KDC administrator credentials must be set as a persisted or temporary
credential resource.This may be done by issuing a POST to the
/api/v1/clusters/:clusterName/credentials/kdc.admin.credential API entry point
with the following payload:
{
"Credential" : {
"principal" : "(PRINCIPAL)", "key" : "(PASSWORD)", "type" :
"(persisted|temporary)"}
}
}
07 Mar 2016 16:35:45,334 INFO [qtp-ambari-client-25]
AbstractResourceProvider:917 - Received a updateHostComponent request,
clusterName=sparkB, serviceName=HDFS, componentName=NAMENODE,
hostname=sparkb2.sec.support.com, request={ clusterName=sparkB,
serviceName=HDFS, componentName=NAMENODE, hostname=sparkb2.sec.support.com,
desiredState=INSTALLED, state=null, desiredStackId=null, staleConfig=null,
adminState=null}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)