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 "Shilun Fan (Jira)" <ji...@apache.org> on 2024/01/04 09:01:00 UTC

[jira] [Updated] (YARN-9354) Resources should be created with ResourceTypesTestHelper instead of TestUtils

     [ https://issues.apache.org/jira/browse/YARN-9354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shilun Fan updated YARN-9354:
-----------------------------
    Target Version/s: 3.5.0  (was: 3.4.0)

> Resources should be created with ResourceTypesTestHelper instead of TestUtils
> -----------------------------------------------------------------------------
>
>                 Key: YARN-9354
>                 URL: https://issues.apache.org/jira/browse/YARN-9354
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Szilard Nemeth
>            Assignee: Andras Gyori
>            Priority: Trivial
>              Labels: newbie, newbie++
>             Fix For: 3.3.0, 3.2.2, 3.4.0
>
>         Attachments: YARN-9354.001.patch, YARN-9354.002.patch, YARN-9354.003.patch, YARN-9354.004.patch, YARN-9354.branch-3.2.001.patch, YARN-9354.branch-3.2.002.patch, YARN-9354.branch-3.2.003.patch
>
>
> 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
(v8.20.10#820010)

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