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 B757F200AF8 for ; Thu, 5 May 2016 19:02:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B5FB3160A03; Thu, 5 May 2016 17:02:14 +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 074581609F3 for ; Thu, 5 May 2016 19:02:13 +0200 (CEST) Received: (qmail 90162 invoked by uid 500); 5 May 2016 17:02:13 -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 90145 invoked by uid 99); 5 May 2016 17:02:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2016 17:02:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DDCB42C1F68 for ; Thu, 5 May 2016 17:02:12 +0000 (UTC) Date: Thu, 5 May 2016 17:02:12 +0000 (UTC) From: "Ray Chiang (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-5030) Revisit o.a.h.y.s.rm.scheduler.ResourceUsage MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 05 May 2016 17:02:14 -0000 [ https://issues.apache.org/jira/browse/YARN-5030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ray Chiang updated YARN-5030: ----------------------------- Issue Type: Sub-task (was: Improvement) Parent: YARN-5046 > Revisit o.a.h.y.s.rm.scheduler.ResourceUsage > -------------------------------------------- > > Key: YARN-5030 > URL: https://issues.apache.org/jira/browse/YARN-5030 > Project: Hadoop YARN > Issue Type: Sub-task > Components: scheduler > Reporter: Karthik Kambatla > Labels: newbie++ > > YARN-3092 introduced ResourceUsage class to track a number of things around resources. The naming is a little ambiguous and hence less conducive to being used elsewhere. > # UsageByLabel doesn't need to be label specific. A more descriptive name (TenantResourceTracker) might be more apt - since the class tracks more than just usage. > # Accordingly, ResourceUsage itself can be renamed to more descriptive (and less ambiguous) to LabelWiseTenantResourceTracker or some such. > # TenantResourceTracker (previously UsageByLabel) should probably be a class on its own, and the private ResourceType should be part of it instead of the mapping against labels. > # Ideally, would like for the names to say allocation to capture allocation instead of usage. -- 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