From yarn-issues-return-141351-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Tue Apr 3 04:47: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 4D39B180675 for ; Tue, 3 Apr 2018 04:47:04 +0200 (CEST) Received: (qmail 65153 invoked by uid 500); 3 Apr 2018 02:47: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 65142 invoked by uid 99); 3 Apr 2018 02:47:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2018 02:47:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 9AC1FC720E for ; Tue, 3 Apr 2018 02:47:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, 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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 2UuPY_pAto7g for ; Tue, 3 Apr 2018 02:47:02 +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 CB8655F1F0 for ; Tue, 3 Apr 2018 02:47: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 DEC13E039D for ; Tue, 3 Apr 2018 02:47: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 3222C25618 for ; Tue, 3 Apr 2018 02:47:00 +0000 (UTC) Date: Tue, 3 Apr 2018 02:47:00 +0000 (UTC) From: "Weiwei Yang (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (YARN-8013) Support APP-TAG namespace for allocation tags 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-8013?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16423= 400#comment-16423400 ]=20 Weiwei Yang edited comment on YARN-8013 at 4/3/18 2:46 AM: ----------------------------------------------------------- Hi [~kkaranasos] Thanks, I've fixed the checkstyle issues in v7 patch, just uploaded. The fa= iling UT {{TestIncreaseAllocationExpirer}} is not caused by this patch, it = runs fine on my laptop (looks like an intermittent failure). {quote}I think we should instead make it Self by default in the PlacementCo= nstraints and never let it be null. {quote} Agree, we should avoid null values any more. I will file another Jira to ge= t this fixed. was (Author: cheersyang): Hi [~kkaranasos] Thanks, I've fixed the checkstyle issues in v7 patch, just uploaded. The fa= iling UT \{{TestIncreaseAllocationExpirer}} is not caused by this patch, it= runs fine on my laptop (looks like an intermittent failure). > Support APP-TAG namespace for allocation tags > --------------------------------------------- > > Key: YARN-8013 > URL: https://issues.apache.org/jira/browse/YARN-8013 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Weiwei Yang > Assignee: Weiwei Yang > Priority: Major > Attachments: YARN-8013.001.patch, YARN-8013.002.patch, YARN-8013.= 003.patch, YARN-8013.004.patch, YARN-8013.005.patch, YARN-8013.006.patch, Y= ARN-8013.007.patch > > > YARN-1461 adds *Application Tag* concept to Yarn applications, user is ab= le to annotate application with multiple tags to classify apps. We can leve= rage this to represent a namespace for a certain group of apps. So instead = of calling *app-label*, propose to call it *app-tag*. > A typical use case is, > There are a lot of TF jobs running on Yarn, and some of them are consumin= g resources heavily. So we want to limit number of PS on each node for such= BIG players but ignore those SMALL ones. To achieve this, we can do follow= ing steps: > # Add=C2=A0application tag "big-tf" to=C2=A0these big TF jobs > # For each PS request, we add "ps" source tag and map it to constraint "= {color:#d04437}notin, node, tensorflow/ps{color}" or "{color:#d04437}cardin= ality, node, tensorflow/ps{color}{color:#d04437}, 0, 2{color}" for finer gr= ained controls. -- 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