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 524A9200BC2 for ; Thu, 3 Nov 2016 06:19:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 50E41160B0A; Thu, 3 Nov 2016 05:19:05 +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 98B95160AFB for ; Thu, 3 Nov 2016 06:19:04 +0100 (CET) Received: (qmail 69574 invoked by uid 500); 3 Nov 2016 05:18: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 69497 invoked by uid 99); 3 Nov 2016 05:18:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2016 05:18:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 817932C1F54 for ; Thu, 3 Nov 2016 05:18:58 +0000 (UTC) Date: Thu, 3 Nov 2016 05:18:58 +0000 (UTC) From: "Karthik Kambatla (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5783) Verify applications are identified starved MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 03 Nov 2016 05:19:05 -0000 [ https://issues.apache.org/jira/browse/YARN-5783?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15631= 629#comment-15631629 ]=20 Karthik Kambatla commented on YARN-5783: ---------------------------------------- Good points, [~templedf]. Your last suggestion got me thinking. It seemed like mocking the preemption= thread to consume starved apps but not actually preempt would allow us to = test starvation logic better. Did the same. We could potentially add more a= dvanced tests to verify starvation based on thresholds and timeouts in a su= bsequent JIRA (YARN-5824). By the way, this patch conflicts with YARN-5821 which is mostly cosmetic ch= anges and I believe is ready to go.=20 > Verify applications are identified starved > ------------------------------------------ > > Key: YARN-5783 > URL: https://issues.apache.org/jira/browse/YARN-5783 > Project: Hadoop YARN > Issue Type: Sub-task > Components: fairscheduler > Affects Versions: 2.8.0 > Reporter: Karthik Kambatla > Assignee: Karthik Kambatla > Labels: oct16-medium > Attachments: yarn-5783.YARN-4752.1.patch, yarn-5783.YARN-4752.2.p= atch, yarn-5783.YARN-4752.3.patch, yarn-5783.YARN-4752.4.patch, yarn-5783.Y= ARN-4752.5.patch > > > JIRA to track unit tests to verify the identification of starved applicat= ions. An application should be marked starved only when: > # Cluster allocation is over the configured threshold for preemption. > # Preemption is enabled for a queue and any of the following: > ## The queue is under its minshare for longer than minsharePreemptionTime= out > ## One of the queue=E2=80=99s applications is under its fairshare for lon= ger than fairsharePreemptionTimeout. -- 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