Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 25A2E18E86 for ; Mon, 6 Jul 2015 22:26:05 +0000 (UTC) Received: (qmail 63146 invoked by uid 500); 6 Jul 2015 22:26:04 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 63094 invoked by uid 500); 6 Jul 2015 22:26:04 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 63078 invoked by uid 99); 6 Jul 2015 22:26:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2015 22:26:04 +0000 Date: Mon, 6 Jul 2015 22:26:04 +0000 (UTC) From: "MENG DING (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-1643) Make ContainersMonitor can support change monitoring size of an allocated container in NM side MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)