Junping Du commented on YARN-4131:

bq. For exit codes, I'd like to be able to have the AM think that the container 
crashed, was pre-empted or went OOM, so we can test the different codepaths.
Oh. I see. I think we can add an enum in KillContainerRequest and passed to RM. 
To keep it simple, CLI may be only support the only option (preempted)?

> Add API and CLI to kill container on given containerId
> ------------------------------------------------------
>                 Key: YARN-4131
>                 URL: https://issues.apache.org/jira/browse/YARN-4131
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: applications, client
>            Reporter: Junping Du
>            Assignee: Junping Du
>         Attachments: YARN-4131-demo-2.patch, YARN-4131-demo.patch
> Per YARN-3337, we need a handy tools to kill container in some scenarios.

This message was sent by Atlassian JIRA

Reply via email to