hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandni Singh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-7671) Improve Diagonstic message for stop yarn native service
Date Fri, 12 Jan 2018 19:00:00 GMT

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

Chandni Singh updated YARN-7671:
--------------------------------
    Attachment: YARN-7671.001.patch

Patch 1 includes the suggested fix

> Improve Diagonstic message for stop yarn native service 
> --------------------------------------------------------
>
>                 Key: YARN-7671
>                 URL: https://issues.apache.org/jira/browse/YARN-7671
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Yesha Vora
>            Assignee: Chandni Singh
>         Attachments: YARN-7671.001.patch
>
>
> Steps:
> 1) Install Hadoop 3.0 cluster
> 2) Run Yarn service application
> {code:title=sleeper.json}{
>   "name": "sleeper-service",
>   "components" : 
>     [
>       {
>         "name": "sleeper",
>         "number_of_containers": 1,
>         "launch_command": "sleep 900000",
>         "resource": {
>           "cpus": 1, 
>           "memory": "256"
>        }
>       }
>     ]
> }{code}
> {code:title=cmd}
> yarn app -launch my-sleeper1 sleeper.json{code}
> 3) stop yarn service app 
> {code:title=cmd}
> yarn app -stop my-sleeper1{code}
> On stopping yarn service, appId finishes with YarnApplicationState: FINISHED , FinalStatus
Reported by AM: ENDED and Diagnostics:	Navigate to the failed component for more details.
> Here,  Diagnostics message should be improved. When an application is explicitly stopped
by user, the diagnostics message should say " Application stopped by user" 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
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