From yarn-issues-return-145521-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Fri May 18 12:48:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 2A8F1180648 for ; Fri, 18 May 2018 12:48:03 +0200 (CEST) Received: (qmail 6548 invoked by uid 500); 18 May 2018 10:48:03 -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 6537 invoked by uid 99); 18 May 2018 10:48:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2018 10:48:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 51D6EC01C1 for ; Fri, 18 May 2018 10:48:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id i-PU6sjRm2dx for ; Fri, 18 May 2018 10:48:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 2E3775F3CE for ; Fri, 18 May 2018 10:48:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 863F4E04D5 for ; Fri, 18 May 2018 10:48:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 16E2C217A2 for ; Fri, 18 May 2018 10:48:00 +0000 (UTC) Date: Fri, 18 May 2018 10:48:00 +0000 (UTC) From: "Gergo Repas (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-8191) Fair scheduler: queue deletion without RM restart MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-8191?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16480= 478#comment-16480478 ]=20 Gergo Repas commented on YARN-8191: ----------------------------------- [~wilfreds] Thanks for the review! All your suggestions make sense, I uploa= ded a new version. I also extended the=C2=A0testRemovalOfIncompatibleNonEmp= tyQueue test case to check if we don't lose the=C2=A0IncompatibleQueueRemov= alTask during=C2=A0queueManager.removePendingIncompatibleQueues(). > Fair scheduler: queue deletion without RM restart > ------------------------------------------------- > > Key: YARN-8191 > URL: https://issues.apache.org/jira/browse/YARN-8191 > Project: Hadoop YARN > Issue Type: Improvement > Components: fairscheduler > Affects Versions: 3.0.1 > Reporter: Gergo Repas > Assignee: Gergo Repas > Priority: Major > Attachments: Queue Deletion in Fair Scheduler.pdf, YARN-8191.000.= patch, YARN-8191.001.patch, YARN-8191.002.patch, YARN-8191.003.patch, YARN-= 8191.004.patch, YARN-8191.005.patch, YARN-8191.006.patch, YARN-8191.007.pat= ch, YARN-8191.008.patch, YARN-8191.009.patch, YARN-8191.010.patch, YARN-819= 1.011.patch, YARN-8191.012.patch, YARN-8191.013.patch > > > The Fair Scheduler never cleans up queues even if they are deleted in the= allocation file, or were dynamically created and are never going to be use= d again. Queues always remain in memory which leads to two following issues= . > # Steady fairshares aren=E2=80=99t calculated correctly due to remaining= queues > # WebUI shows deleted queues, which is confusing for users (YARN-4022). > We want to support proper queue deletion without restarting the Resource = Manager: > # Static queues without any entries that are removed from fair-scheduler= .xml should be deleted from memory. > # Dynamic queues without any entries should be deleted. > # RM Web UI should only show the queues defined in the scheduler at that= point in time. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org