You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Tom Beerbower (JIRA)" <ji...@apache.org> on 2014/03/07 01:38:42 UTC

[jira] [Created] (AMBARI-4981) Cannot stop selected services via API

Tom Beerbower created AMBARI-4981:
-------------------------------------

             Summary: Cannot stop selected services via API
                 Key: AMBARI-4981
                 URL: https://issues.apache.org/jira/browse/AMBARI-4981
             Project: Ambari
          Issue Type: Bug
            Reporter: Tom Beerbower
            Assignee: Tom Beerbower


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
{noformat}
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)'
{noformat}
creates STOP tasks for ZOOKEEPER only.





--
This message was sent by Atlassian JIRA
(v6.2#6252)