Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-15369

Ambari cannot enable NN HA in kerberos env

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.2
    • ambari-web
    • 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}
      

      Attachments

        1. AMBARI-15369_22.patch
          12 kB
          Antonenko Alexander
        2. AMBARI-15369_trunk.patch
          11 kB
          Antonenko Alexander

        Activity

          People

            aantonenko Antonenko Alexander
            aantonenko Antonenko Alexander
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: