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 "kevin su (JIRA)" <ji...@apache.org> on 2019/08/10 09:13:00 UTC

[jira] [Commented] (YARN-9354) TestUtils#createResource calls should be replaced with ResourceTypesTestHelper#newResource

    [ https://issues.apache.org/jira/browse/YARN-9354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16904383#comment-16904383 ] 

kevin su commented on YARN-9354:
--------------------------------

[~sahuja] is this issue still in progress ? 

If not, I could help you do it.

> 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
>            Assignee: Siddharth Ahuja
>            Priority: Trivial
>              Labels: newbie, newbie++
>
> 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.14#76016)

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