[
https://issues.apache.org/jira/browse/YARN-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13733172#comment-13733172
]
Bikas Saha commented on YARN-1040:
----------------------------------
Key idea is to not associate a container with a single process launch and exit.
Currently the RM monitors that a process was started within some timeout after
a container was allocated. That needs modification. NM needs to support
starting more stuff in a container. Container should not be automatically
released in the RM is the process exits. A lease may be applied to a container
to determine until when such activities can be performed. Container will be
given up at the lease expiration or when the app releases it on its own.
> Add ability to execute multiple programs in the same long-lived container
> -------------------------------------------------------------------------
>
> Key: YARN-1040
> URL: https://issues.apache.org/jira/browse/YARN-1040
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: nodemanager
> Affects Versions: 3.0.0
> Reporter: Steve Loughran
>
> The AM should be able to exec >1 process in a container, rather than have the
> NM automatically release the container when the single process exits.
> This would let an AM restart a process on the same container repeatedly,
> which for HBase would offer locality on a restarted region server.
> We may also want the ability to exec multiple processes in parallel, so that
> something could be run in the container while a long-lived process was
> already running. This can be useful in monitoring and reconfiguring the
> long-lived process, as well as shutting it down.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira