[
https://issues.apache.org/jira/browse/AMBARI-15369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15190873#comment-15190873
]
Antonenko Alexander commented on AMBARI-15369:
----------------------------------------------
branch-2.2/trunk local UT results after applying patch:
24562 tests complete (21 seconds)
145 tests pending
Rat check passed on trunk and branch-2.2.
> 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.2.2
>
> Attachments: AMBARI-15369_22.patch, AMBARI-15369_trunk.patch
>
>
> 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)