[
https://issues.apache.org/jira/browse/YARN-2883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konstantinos Karanasos updated YARN-2883:
-----------------------------------------
Attachment: YARN-2883-yarn-2877.002.patch
Thanks [~asuresh] for the feedback.
I am attaching a new version of the patch in which I have applied all your
comments.
Most notably, among them:
* Added the {{QueuingContainerManagerImpl}} and
{{QueuingContainersMonitorImpl}} as sub-classes to {{ContainerManagerImpl}} and
{{ContainersMonitorImpl}}, respectively.
* Created a {{QueuingNMContext}} within the {{NMContext}} of the
{{NodeManager}} to hold the queuedContainers and the killedQueuedContainers.
* Used "allocated" instead of "logical" in all class/field/method names.
* Also implemented the methods that send the number of queued containers from
the NM to the RM through the {{NodeStatusUpdaterImpl}}.
> Queuing of container requests in the NM
> ---------------------------------------
>
> Key: YARN-2883
> URL: https://issues.apache.org/jira/browse/YARN-2883
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: nodemanager, resourcemanager
> Reporter: Konstantinos Karanasos
> Assignee: Konstantinos Karanasos
> Attachments: YARN-2883-yarn-2877.001.patch,
> YARN-2883-yarn-2877.002.patch
>
>
> We propose to add a queue in each NM, where queueable container requests can
> be held.
> Based on the available resources in the node and the containers in the queue,
> the NM will decide when to allow the execution of a queued container.
> In order to ensure the instantaneous start of a guaranteed-start container,
> the NM may decide to pre-empt/kill running queueable containers.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)