Naganarasimha G R commented on YARN-4529:

Hi [~linyiqun],
Seems like a usefull feature, but few thoughts/queries,
* this is done as part of Application CLI, but a given user might not have 
rights to all apps so would it be better to keep this as part of admin cli ?
* Whether its good to fetch all the app reports to client and then kill, 
instead would it be better to get it done in the server ? so that REST can also 
benifit of it ?
* Whether it would be good to supply a queue name ? and kill all the 
applications of it and its children ?

> Yarn CLI killing applications in batch
> --------------------------------------
>                 Key: YARN-4529
>                 URL: https://issues.apache.org/jira/browse/YARN-4529
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: applications, client
>    Affects Versions: 2.7.1
>            Reporter: Lin Yiqun
>            Assignee: Lin Yiqun
>         Attachments: YARN-4529.001.patch
> We have not a good way to kill applications conveniently when starting some 
> apps unexpected. At present, we have to kill them one by one. We can add some 
> kill command that can kill apps in batch, like these:
> {code}
> -killByAppStates <States>       The states of application that will be killed.
> -killByUser <User name>         Kill running-state applications of specific 
> user.
> {code}

This message was sent by Atlassian JIRA

Reply via email to