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

Failure to add or install component defined with cardinality ALL

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.0, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.2.0
    • Fix Version/s: 2.3.0
    • Component/s: ambari-server
    • Labels:

      Description

      A MASTER, SLAVE or CLIENT component defined with a cardinality of ALL results in a failure while adding the service, upon clicking Deploy, with an error like:

      org.apache.ambari.server.controller.spi.ResourceAlreadyExistsException: Attempted to create host_component's which already exist: [clusterName=CLUSTER1, hostName=node1.domain.com, componentName=MYSERVICE_MASTER],[clusterName=CLUSTER1, hostName=node1.domain.com, componentName=MYSERVICE_MASTER]

      or

      org.apache.ambari.server.controller.spi.ResourceAlreadyExistsException: Attempted to create a host_component which already exists: [clusterName=CLUSTER2, hostName=node10.domain.com, componentName=MYSERVICE_SLAVE]

        Attachments

        1. AMBARI-11825.patch
          15 kB
          Shantanu Mundkur

          Issue Links

            Activity

              People

              • Assignee:
                antndk Shantanu Mundkur
                Reporter:
                antndk Shantanu Mundkur
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: