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 89ABF200CE0 for ; Wed, 26 Jul 2017 20:50:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 881CC168FC9; Wed, 26 Jul 2017 18:50:10 +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 D63EB168F8D for ; Wed, 26 Jul 2017 20:50:09 +0200 (CEST) Received: (qmail 2091 invoked by uid 500); 26 Jul 2017 18:50:09 -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 2070 invoked by uid 99); 26 Jul 2017 18:50:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jul 2017 18:50:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 5B7B21A1DB4 for ; Wed, 26 Jul 2017 18:50:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-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-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id xmeA9LeO3g3C for ; Wed, 26 Jul 2017 18:50:05 +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 5331461B72 for ; Wed, 26 Jul 2017 18:50: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 6EB53E0DF0 for ; Wed, 26 Jul 2017 18:50: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 8F67A24DC1 for ; Wed, 26 Jul 2017 18:50:01 +0000 (UTC) Date: Wed, 26 Jul 2017 18:50:01 +0000 (UTC) From: "Konstantinos Karanasos (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-3409) Support Node Attribute functionality MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 26 Jul 2017 18:50:10 -0000 [ https://issues.apache.org/jira/browse/YARN-3409?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16102= 100#comment-16102100 ]=20 Konstantinos Karanasos commented on YARN-3409: ---------------------------------------------- We can use brackets instead of square brackets: {{node1:java=3D8(string),ss= d=3Dfalse(boolean)}}. Using {{:}} both for the node and the data type will lead to confusion I am= afraid. In the expression {{n1:java=3Djdk8,n2:boolean=3Dfalse}}, one could= read it as node n1 has an attribute java=3Djdk8, and node n2 has an attrib= ute boolean=3Dfalse, while another can think that n2 is the name of an attr= ibute in n1. > Support Node Attribute functionality > ------------------------------------ > > Key: YARN-3409 > URL: https://issues.apache.org/jira/browse/YARN-3409 > Project: Hadoop YARN > Issue Type: New Feature > Components: api, capacityscheduler, client > Reporter: Wangda Tan > Assignee: Naganarasimha G R > Attachments: 3409-apiChanges_v2.pdf (4).pdf, Constraint-Node-Labe= ls-Requirements-Design-doc_v1.pdf, YARN-3409.WIP.001.patch > > > Specify only one label for each node (IAW, partition a cluster) is a way = to determinate how resources of a special set of nodes could be shared by a= group of entities (like teams, departments, etc.). Partitions of a cluster= has following characteristics: > - Cluster divided to several disjoint sub clusters. > - ACL/priority can apply on partition (Only market team / marke team has = priority to use the partition). > - Percentage of capacities can apply on partition (Market team has 40% mi= nimum capacity and Dev team has 60% of minimum capacity of the partition). > Attributes are orthogonal to partition, they=E2=80=99re describing featur= es of node=E2=80=99s hardware/software just for affinity. Some example of a= ttributes: > - glibc version > - JDK version > - Type of CPU (x86_64/i686) > - Type of OS (windows, linux, etc.) > With this, application can be able to ask for resource has (glibc.version= >=3D 2.20 && JDK.version >=3D 8u20 && x86_64). -- 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