Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2.0
-
None
Description
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:
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}