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

Tsuyoshi Ozawa commented on YARN-4371:
--------------------------------------

[~sunilg] thank you for the initial patch. I looked over the patch and have a 
comment about the design. 

In the patch, a new RPC, {{killApplication(List<ApplicationId> 
applicationIds)}}, is added. IMHO, it's better to call multiple 
{{killApplication(ApplicationId applicationId)}} since it's simpler and I think 
killApplication is not called too much.  Could you update so?




> "yarn application -kill" should take multiple application ids
> -------------------------------------------------------------
>
>                 Key: YARN-4371
>                 URL: https://issues.apache.org/jira/browse/YARN-4371
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Tsuyoshi Ozawa
>            Assignee: Sunil G
>         Attachments: 0001-YARN-4371.patch
>
>
> Currently we cannot pass multiple applications to "yarn application -kill" 
> command. The command should take multiple application ids at the same time. 
> Each entries should be separated with whitespace like:
> {code}
> yarn application -kill application_1234_0001 application_1234_0007 
> application_1234_0012
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to