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 7C11B200CD0 for ; Tue, 25 Jul 2017 19:46:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7A88F161AA8; Tue, 25 Jul 2017 17:46:09 +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 C1395161AA9 for ; Tue, 25 Jul 2017 19:46:08 +0200 (CEST) Received: (qmail 5057 invoked by uid 500); 25 Jul 2017 17:46:07 -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 4669 invoked by uid 99); 25 Jul 2017 17:46:06 -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; Tue, 25 Jul 2017 17:46:06 +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 1A725C0496 for ; Tue, 25 Jul 2017 17:46:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-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 (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id VFsqc49TsT4g for ; Tue, 25 Jul 2017 17:46:05 +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 3D38E5FDBF for ; Tue, 25 Jul 2017 17:46: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 3F9B4E0E29 for ; Tue, 25 Jul 2017 17:46: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 F0C1224019 for ; Tue, 25 Jul 2017 17:46:00 +0000 (UTC) Date: Tue, 25 Jul 2017 17:46:00 +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: Tue, 25 Jul 2017 17:46:09 -0000 [ https://issues.apache.org/jira/browse/YARN-3409?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16100= 427#comment-16100427 ]=20 Konstantinos Karanasos commented on YARN-3409: ---------------------------------------------- Thanks for the answers, [~sunilg] and [~Naganarasimha]. I think we are in sync. [~Naganarasimha], regarding the CLI for adding/updating attributes, I see p= oint 3 as a valid concern. Points 1 and 2 are less of an issue. We can stil= l do multiple attributes at once, as in {{node1:java=3D8,ssd=3Dfalse}}. For= point 3 re: the data types, we can do something like this: {{node1:java=3D= 8\[string\],ssd=3Dfalse\[boolean\]}}. But either way, it is not a big deal. > 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