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 699E1200B8A for ; Fri, 9 Sep 2016 18:16:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 68532160AC2; Fri, 9 Sep 2016 16:16:22 +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 B2339160AA3 for ; Fri, 9 Sep 2016 18:16:21 +0200 (CEST) Received: (qmail 15706 invoked by uid 500); 9 Sep 2016 16:16:20 -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 15677 invoked by uid 99); 9 Sep 2016 16:16:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2016 16:16:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7DA252C1B77 for ; Fri, 9 Sep 2016 16:16:20 +0000 (UTC) Date: Fri, 9 Sep 2016 16:16:20 +0000 (UTC) From: "Arun Suresh (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-5633) Update Container Version in NMStateStore only if Resources have changed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 09 Sep 2016 16:16:22 -0000 [ https://issues.apache.org/jira/browse/YARN-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arun Suresh updated YARN-5633: ------------------------------ Attachment: YARN-5633-branch-2.8-v1.patch Attaching trivial patch.. > Update Container Version in NMStateStore only if Resources have changed > ----------------------------------------------------------------------- > > Key: YARN-5633 > URL: https://issues.apache.org/jira/browse/YARN-5633 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Arun Suresh > Assignee: Arun Suresh > Attachments: YARN-5633-branch-2.8-v1.patch > > > YARN-5221 introduced a containerVersion that is stored in the NMStateStore. The version is stored when > # the container is first started in the NM > # when the AM requests the NM to increase the Container resources. > # when the RM notifies the NM to decrease the Container resources. > Unfortunately, this would result in NM not being able to rollback after an upgrade (for eg. from 2.8 > 2.7).. as noticed by [~jlowe]. > This JIRA proposes to update the version in the NM state store only when 2 and 3 above occurs, this way, the rollback will be hampered only if the user has used the new feature (resource increase / decrease) -- 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