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 "Szilard Nemeth (JIRA)" <ji...@apache.org> on 2019/03/07 11:36:00 UTC
[jira] [Created] (YARN-9354) TestUtils#createResource calls should
be replaced with ResourceTypesTestHelper#newResource
Szilard Nemeth created YARN-9354:
------------------------------------
Summary: TestUtils#createResource calls should be replaced with ResourceTypesTestHelper#newResource
Key: YARN-9354
URL: https://issues.apache.org/jira/browse/YARN-9354
Project: Hadoop YARN
Issue Type: Improvement
Reporter: Szilard Nemeth
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestUtils#createResource has not identical, but very similar implementation to org.apache.hadoop.yarn.resourcetypes.ResourceTypesTestHelper#newResource.
Since these 2 methods are doing the same essentially and ResourceTypesTestHelper is newer and used more, TestUtils#createResource should be replaced with ResourceTypesTestHelper#newResource with all occurrence.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org