You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Scott Banachowski (JIRA)" <ji...@apache.org> on 2016/03/24 18:32:25 UTC

[jira] [Created] (YARN-4864) Add command to preempt container

Scott Banachowski created YARN-4864:
---------------------------------------

             Summary: Add command to preempt container
                 Key: YARN-4864
                 URL: https://issues.apache.org/jira/browse/YARN-4864
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Scott Banachowski


Provide an API that allows a specific container to be stopped without penalizing the overall job.  In the current state, only schedulers may preempt a container by stopping its execution, and this is not counted as a container failure, because the container will be scheduled later.

To support features such as dynamic resource configuration (YARN-291) and opportunistic scheduling (YARN-1011), or external tooling that uses YARN-291 to modify per-node resources, we may wish to preempt containers from outside the scheduler when the resource of a node is reduced, or a opportunistically scheduled container is aborted.  Currently only the resource manager scheduler may trigger preemption, so we propose an API where we can trigger preemption from an external agent, for example via REST and CLI apis.



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