You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Ray Chiang (JIRA)" <ji...@apache.org> on 2016/05/05 17:02:12 UTC
[jira] [Updated] (YARN-5030) Revisit
o.a.h.y.s.rm.scheduler.ResourceUsage
[ 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