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 7B39B200BB2 for ; Sat, 29 Oct 2016 22:18:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 79E1E160AF4; Sat, 29 Oct 2016 20:18:06 +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 E7AC4160AE3 for ; Sat, 29 Oct 2016 22:18:05 +0200 (CEST) Received: (qmail 23875 invoked by uid 500); 29 Oct 2016 20:18:00 -0000 Mailing-List: contact yarn-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-dev@hadoop.apache.org Received: (qmail 23731 invoked by uid 99); 29 Oct 2016 20:17:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Oct 2016 20:17:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C28262C014E for ; Sat, 29 Oct 2016 20:17:59 +0000 (UTC) Date: Sat, 29 Oct 2016 20:17:59 +0000 (UTC) From: "Bibin A Chundatt (JIRA)" To: yarn-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (YARN-5802) Application priority updates add pending apps to running ordering policy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 29 Oct 2016 20:18:06 -0000 Bibin A Chundatt created YARN-5802: -------------------------------------- Summary: Application priority updates add pending apps to running ordering policy Key: YARN-5802 URL: https://issues.apache.org/jira/browse/YARN-5802 Project: Hadoop YARN Issue Type: Bug Reporter: Bibin A Chundatt Assignee: Bibin A Chundatt Priority: Critical {{LeafQueue#updateApplicationPriority}} {code} getOrderingPolicy().removeSchedulableEntity(attempt); // Update new priority in SchedulerApplication attempt.setPriority(newAppPriority); getOrderingPolicy().addSchedulableEntity(attempt); {code} We should add again to ordering policy only when attempt available in first case.Else during application attempt removal will try to iterate on killed application still available in pending Ordering policy.Which can cause RM to crash. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-dev-help@hadoop.apache.org