You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Yufei Gu (JIRA)" <ji...@apache.org> on 2017/08/08 20:04:03 UTC

[jira] [Created] (YARN-6971) Clean up different ways to create resources

Yufei Gu created YARN-6971:
------------------------------

             Summary: Clean up different ways to create resources
                 Key: YARN-6971
                 URL: https://issues.apache.org/jira/browse/YARN-6971
             Project: Hadoop YARN
          Issue Type: Improvement
          Components: resourcemanager, scheduler
            Reporter: Yufei Gu
            Priority: Minor


There are several ways to create a {{resource}} object, e.g., BuilderUtils.newResource() and Resources.createResource(). These methods not only cause confusing but also there are performance issue, for example BuilderUtils.newResource() is significant slow than Resources.createResource(). 

We could merge them some how, and replace most BuilderUtils.newResource() with Resources.createResource().



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org