Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5549F200C09 for ; Tue, 20 Dec 2016 16:29:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 540F6160B33; Tue, 20 Dec 2016 15:29:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9C6E4160B29 for ; Tue, 20 Dec 2016 16:28:59 +0100 (CET) Received: (qmail 79705 invoked by uid 500); 20 Dec 2016 15:28:58 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 79662 invoked by uid 99); 20 Dec 2016 15:28:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Dec 2016 15:28:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 785D12C2A69 for ; Tue, 20 Dec 2016 15:28:58 +0000 (UTC) Date: Tue, 20 Dec 2016 15:28:58 +0000 (UTC) From: "Arun Suresh (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5216) Expose configurable preemption policy for OPPORTUNISTIC containers running on the NM MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 20 Dec 2016 15:29:00 -0000 [ https://issues.apache.org/jira/browse/YARN-5216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15764456#comment-15764456 ] Arun Suresh commented on YARN-5216: ----------------------------------- Missed a few comments: # I feel its more apt to rename 'killOpportunisticContainers()' method to maybe 'reclaimOpportunisticContainerResources()' or 'preemptOpportunisticContainers()'. # Similarly, 'pickOpportunisticContainersToKill()' -> 'pickOpportunisticContainersToReclaimResources()' / 'pickOpportunisticContainersToPreempt()' # In the {{if (usePauseEventForPreemption)..}} clause, instead of duplicating the {{LOG.info}}, you can maybe pull it out and parametrize the action (kill/pause) performed. # We changed the yarn config parameter names a bit in YARN-5646, can you take a look and make sure this also conforms ? > Expose configurable preemption policy for OPPORTUNISTIC containers running on the NM > ------------------------------------------------------------------------------------ > > Key: YARN-5216 > URL: https://issues.apache.org/jira/browse/YARN-5216 > Project: Hadoop YARN > Issue Type: Sub-task > Components: distributed-scheduling > Reporter: Arun Suresh > Assignee: Hitesh Sharma > Labels: oct16-hard > Attachments: YARN-5216-YARN-5972.001.patch, YARN-5216-YARN-5972.002.patch, YARN-5216-YARN-5972.003.patch, YARN-5216-YARN-5972.004.patch, YARN5216.001.patch, yarn5216.002.patch > > > Currently, the default action taken by the QueuingContainerManager, introduced in YARN-2883, when a GUARANTEED Container is scheduled on an NM with OPPORTUNISTIC containers using up resources, is to KILL the running OPPORTUNISTIC containers. > This JIRA proposes to expose a configurable hook to allow the NM to take a different action. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org