[jira] [Updated] (YARN-7955) Calling stop on an already stopped service says "Successfully stopped service"

2018-03-19 Thread Wangda Tan (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-7955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wangda Tan updated YARN-7955:
-
Fix Version/s: (was: 3.2.0)

> 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.1.0
>
> Attachments: YARN-7955.001.patch, YARN-7955.002.patch
>
>
> If you invoke "yarn app -stop " on an already stopped service 
> it confusingly responds with message "Successfully stopped service 
> ". 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 ". 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Updated] (YARN-7955) Calling stop on an already stopped service says "Successfully stopped service"

2018-03-19 Thread Wangda Tan (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-7955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wangda Tan updated YARN-7955:
-
Fix Version/s: 3.1.0

> 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.1.0, 3.2.0
>
> Attachments: YARN-7955.001.patch, YARN-7955.002.patch
>
>
> If you invoke "yarn app -stop " on an already stopped service 
> it confusingly responds with message "Successfully stopped service 
> ". 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 ". 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Updated] (YARN-7955) Calling stop on an already stopped service says "Successfully stopped service"

2018-02-22 Thread Gour Saha (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-7955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gour Saha updated YARN-7955:

Attachment: YARN-7955.002.patch

> 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
> Attachments: YARN-7955.001.patch, YARN-7955.002.patch
>
>
> If you invoke "yarn app -stop " on an already stopped service 
> it confusingly responds with message "Successfully stopped service 
> ". 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 ". 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Updated] (YARN-7955) Calling stop on an already stopped service says "Successfully stopped service"

2018-02-21 Thread Gour Saha (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-7955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gour Saha updated YARN-7955:

Attachment: YARN-7955.001.patch

> 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
> Attachments: YARN-7955.001.patch
>
>
> If you invoke "yarn app -stop " on an already stopped service 
> it confusingly responds with message "Successfully stopped service 
> ". 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 ". 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org