hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7410) Cleanup FixedValueResource to avoid dependency to ResourceUtils
Date Fri, 03 Nov 2017 02:28:00 GMT

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

Hudson commented on YARN-7410:

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13181 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/13181/])
YARN-7410. Cleanup FixedValueResource to avoid dependency to (sunilg: rev 1700adc6f7e0ec9f855f554cd0d470a8f04e9c51)
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/Resource.java
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/util/resource/ResourceUtils.java
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/resource/Resources.java

> Cleanup FixedValueResource to avoid dependency to ResourceUtils
> ---------------------------------------------------------------
>                 Key: YARN-7410
>                 URL: https://issues.apache.org/jira/browse/YARN-7410
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 3.1.0
>            Reporter: Sunil G
>            Assignee: Wangda Tan
>            Priority: Major
>             Fix For: 3.1.0
>         Attachments: YARN-7410.001.patch, YARN-7410.002.patch, YARN-7410.003.patch
> After YARN-7307, Client/AM don't need to keep a up-to-dated resource-type.xml in the
classpath. Instead, they can use YarnClient/ApplicationMasterProtocol APIs to get the resource
types from RM and refresh local types.
> One biggest issue of this approach is FixedValueResource: Since we initialize FixedValueResource
in static block, and they won't be updated if resource types refreshed.
> So we need to properly update FixedValueResource to make it can get up-to-date results

This message was sent by Atlassian JIRA

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

View raw message