[
https://issues.apache.org/jira/browse/YARN-9284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16769007#comment-16769007
]
Hudson commented on YARN-9284:
--
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15966 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/15966/])
YARN-9284. Fix the unit of yarn.service.am-resource.memory in the (aajisaka:
rev 3a39d9a2d28943316dd32196bba10ef326218d6e)
* (edit)
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/Configurations.md
> Fix the unit of yarn.service.am-resource.memory in the document
> ---
>
> Key: YARN-9284
> URL: https://issues.apache.org/jira/browse/YARN-9284
> Project: Hadoop YARN
> Issue Type: Bug
> Components: documentation, yarn-native-services
>Reporter: Masahiro Tanaka
>Assignee: Masahiro Tanaka
>Priority: Minor
> Fix For: 3.3.0, 3.2.1, 3.1.3
>
> Attachments: YARN-9284.001.patch
>
>
> In the [YARN Services configuration
> document|https://hadoop.apache.org/docs/r3.2.0/hadoop-yarn/hadoop-yarn-site/yarn-service/Configurations.html],
> the description of {{yarn.service.am-resource.memory}} says,
> bq. Memory size in GB for the service AM (default 1024).
> which should be {{MB}} as this is used
> [here|https://github.com/apache/hadoop/blob/49ddd8a6ed5b40d12defb0771b4c8b53d4ffde3f/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/src/main/java/org/apache/hadoop/yarn/service/client/ServiceClient.java#L1008]
> and {{Resource.newInstance}} creates {{LightWeightResource}}. The unit for
> memory is megabytes as described in
> [javadocs|https://github.com/apache/hadoop/blob/49ddd8a6ed5b40d12defb0771b4c8b53d4ffde3f/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/impl/LightWeightResource.java#L44]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org