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

Failure to add or install component defined with cardinality ALL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.0, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.2.0
    • 2.3.0
    • ambari-server

    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

              antndk Shantanu Mundkur
              antndk Shantanu Mundkur
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: