[ 
https://issues.apache.org/jira/browse/YARN-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

MENG DING updated YARN-1643:
----------------------------
    Attachment: YARN-1643.2.patch

Attach patch for {{ContainersMonitorImpl}} for review.

Currently the {{ContainersMonitorImpl}} starts up one monitoring thread, and by 
default checks started and stopped containers every 3 seconds.

For resized containers, we  cannot use the same logic as the delay is 
unacceptable.

A wait/notify mechanism is implemented such that as soon as a 
{{CHANGE_MONITORING_CONTAINER_RESOURCE}} event is received, the monitor cycle 
is immediately triggered.

> Make ContainersMonitor can support change monitoring size of an allocated 
> container in NM side
> ----------------------------------------------------------------------------------------------
>
>                 Key: YARN-1643
>                 URL: https://issues.apache.org/jira/browse/YARN-1643
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager
>            Reporter: Wangda Tan
>            Assignee: MENG DING
>         Attachments: YARN-1643.1.patch, YARN-1643.2.patch
>
>




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

Reply via email to