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 889E4200BB4 for ; Tue, 1 Nov 2016 18:02:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 871AF160ADA; Tue, 1 Nov 2016 17:02:00 +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 CEB55160B02 for ; Tue, 1 Nov 2016 18:01:59 +0100 (CET) Received: (qmail 67652 invoked by uid 500); 1 Nov 2016 17:01: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 67641 invoked by uid 99); 1 Nov 2016 17:01:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2016 17:01:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 794552C2A6C for ; Tue, 1 Nov 2016 17:01:58 +0000 (UTC) Date: Tue, 1 Nov 2016 17:01:58 +0000 (UTC) From: "Wangda Tan (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5587) Add support for resource profiles MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 01 Nov 2016 17:02:00 -0000 [ https://issues.apache.org/jira/browse/YARN-5587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15626007#comment-15626007 ] Wangda Tan commented on YARN-5587: ---------------------------------- Thanks [~vvasudev] for the detailed information, bq. Apply any override specified in the profile capability override over the profile resources I'm not quite sure about how to apply override capacity, will it override all the fields or only non-zero fields: For example, assume {{small}} profile is <4G, 1 vcore, 1 disk>, and override is <8G, 2 vcore>, what should be the final resource? <8G, 2 vcore, 0 disk> or <8G, 2 vcore, 1 disk>? From the ProfileCapability#toResource, it is the latter one. Probably it is better to add a javadocs to ProfileCapability#getProfileCapabilityOverride. I cannot find clear explanations from Javadoc of ProfileCapability. bq. However at some point, I would like to deprecate Capability. Make sense to keep API design as-is if the original capability field will be deprecated. Other comments all make sense to me. My last question is, after this patch goes in, which patches are required for end-to-end feature completed and testable? > Add support for resource profiles > --------------------------------- > > Key: YARN-5587 > URL: https://issues.apache.org/jira/browse/YARN-5587 > Project: Hadoop YARN > Issue Type: Sub-task > Components: nodemanager, resourcemanager > Reporter: Varun Vasudev > Assignee: Varun Vasudev > Labels: oct16-hard > Attachments: YARN-5587-YARN-3926.001.patch, YARN-5587-YARN-3926.002.patch, YARN-5587-YARN-3926.003.patch, YARN-5587-YARN-3926.004.patch, YARN-5587-YARN-3926.005.patch, YARN-5587-YARN-3926.006.patch, YARN-5587-YARN-3926.007.patch, YARN-5587-YARN-3926.008.patch > > > Add support for resource profiles on the RM side to allow users to use shorthands to specify resource requirements. -- 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