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 E5098200D0C for ; Wed, 6 Sep 2017 04:57:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E38F01609C0; Wed, 6 Sep 2017 02:57:07 +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 3588D1609B8 for ; Wed, 6 Sep 2017 04:57:07 +0200 (CEST) Received: (qmail 50419 invoked by uid 500); 6 Sep 2017 02:57:06 -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 50408 invoked by uid 99); 6 Sep 2017 02:57:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Sep 2017 02:57:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id A843118388D for ; Wed, 6 Sep 2017 02:57:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id hk2eDTYy6tb1 for ; Wed, 6 Sep 2017 02:57:04 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 7DA585F254 for ; Wed, 6 Sep 2017 02:57:04 +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 5FB12E0DAF for ; Wed, 6 Sep 2017 02:57:03 +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 6BFEC24158 for ; Wed, 6 Sep 2017 02:57:01 +0000 (UTC) Date: Wed, 6 Sep 2017 02:57:01 +0000 (UTC) From: "Sunil G (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-6600) Enhance default lifetime of application at LeafQueue level. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 06 Sep 2017 02:57:08 -0000 [ https://issues.apache.org/jira/browse/YARN-6600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16154735#comment-16154735 ] Sunil G commented on YARN-6600: ------------------------------- Thanks [~rohithsharma] Some more minor nits: # In {{UpdateApplicationTimeoutsResponsePBImpl #setApplicationTimeouts}}, IIUC *applicationTimeouts* needs to be cleared when *appTimeouts* is null. # {{@param lifetime requestedByApp}} could be {{lifetime configured application lifetime}} # Since below variables are in LeafQueue, could we add Application also in variable name. {code} private volatile long maxLifetime = -1; private volatile long defaultLifetime = -1; {code} like maxApplicationLifetime and defaultApplicationLifetime # It ll be fine to add one test case for other schedulers to ensure the feature is not switched on. > Enhance default lifetime of application at LeafQueue level. > ----------------------------------------------------------- > > Key: YARN-6600 > URL: https://issues.apache.org/jira/browse/YARN-6600 > Project: Hadoop YARN > Issue Type: Sub-task > Components: capacity scheduler > Reporter: Rohith Sharma K S > Assignee: Rohith Sharma K S > Attachments: YARN-6600.01.patch, YARN-6600.02.patch, YARN-6600.03.patch, [YARN-6600] Extend lifetime to scheduler Leaf Queue.pdf > > > Setting timeout at LeafQueue level allows admin to control from bad apps which uses most of the resources for all the time. > Example : Any application submitted to particular queue i.e QUEUE-1 should not run more than N hours. Even user set lifetime as N+1 hour, the application will be killed after N hours. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org