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

Deleting a service fails if service's desired state is STARTED

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.3.0
    • ambari-server
    • CentOS 6.4

    Description

      STR:

      1. Stop all components of a service separately
      2. Do a delete call for that service via API

      Expected Result: Service should be deleted as all components of the service are in installed state (no daemon of a service is running)
      Actual Result: API fails with an exception

       org.apache.ambari.server.controller.spi.SystemException: An internal system exception occurred: Cannot remove AMBARI_METRICS. Desired state STARTED is not removable.  Service must be stopped or disabled.

      Attachments

        Issue Links

          Activity

            People

              smnaha Nahappan Somasundaram
              smnaha Nahappan Somasundaram
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: