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

Cannot stop selected services via API

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      When trying to stop selected services via the API using the "in" clause, the API seems to stop the last service in the comma-delimited list.
      For example

      curl -i  -uadmin:admin -H 'X-Requested-By: ambari' -X PUT -d '{"ServiceInfo/state":"INSTALLED"}' 'http://localhost:8080/api/v1/clusters/cl1/services?ServiceInfo/service_name.in(YARN,MAPREDUCE2,FALCON,OOZIE,GANGLIA,ZOOKEEPER)'
      

      creates STOP tasks for ZOOKEEPER only.

      Attachments

        Issue Links

          Activity

            People

              tbeerbower Tom Beerbower
              tbeerbower Tom Beerbower
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: