----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/18881/#review36467 -----------------------------------------------------------
Ship it! Ship It! - Sid Wagle On March 7, 2014, 12:47 a.m., Tom Beerbower wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/18881/ > ----------------------------------------------------------- > > (Updated March 7, 2014, 12:47 a.m.) > > > Review request for Ambari, Nate Cole and Sid Wagle. > > > Bugs: AMBARI-4981 > https://issues.apache.org/jira/browse/AMBARI-4981 > > > Repository: ambari > > > 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. > > > Diffs > ----- > > > ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractResourceProvider.java > cec3d1d > > ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AbstractResourceProviderTest.java > 11adbee > > Diff: https://reviews.apache.org/r/18881/diff/ > > > Testing > ------- > > Added new unit test. > > All tests pass : > > Results : > > Tests run: 1481, Failures: 0, Errors: 0, Skipped: 9 > > > Thanks, > > Tom Beerbower > >
