hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7955) Calling stop on an already stopped service says "Successfully stopped service"
Date Wed, 28 Feb 2018 23:26:00 GMT

    [ https://issues.apache.org/jira/browse/YARN-7955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16381219#comment-16381219
] 

Hudson commented on YARN-7955:
------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13742 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/13742/])
YARN-7955. Improve result of calling stop on an already stopped service. (billie: rev 315f48e791790ce56d4f9ed220180aaa00bbc5fa)
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services-api/src/test/java/org/apache/hadoop/yarn/service/ServiceClientTest.java
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services-api/src/main/java/org/apache/hadoop/yarn/service/webapp/ApiServer.java
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/src/main/java/org/apache/hadoop/yarn/service/client/ServiceClient.java
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services-api/src/test/java/org/apache/hadoop/yarn/service/TestApiServer.java


> Calling stop on an already stopped service says "Successfully stopped service"
> ------------------------------------------------------------------------------
>
>                 Key: YARN-7955
>                 URL: https://issues.apache.org/jira/browse/YARN-7955
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>    Affects Versions: 3.1.0
>            Reporter: Gour Saha
>            Assignee: Gour Saha
>            Priority: Major
>             Fix For: 3.2.0
>
>         Attachments: YARN-7955.001.patch, YARN-7955.002.patch
>
>
> If you invoke "yarn app -stop <service_name>" on an already stopped service it
confusingly responds with message "Successfully stopped service <service_name>". It
should say "Service is already stopped".
> The same is seen with the REST API PUT request with data \{ "state": "STOPPED"}, the
response is 200 OK and diagnostics with same messageĀ "Successfully stopped service <service_name>".
It should return 400 Bad Request with message "Service is already stopped".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message