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

Akira Ajisaka updated YARN-9284:
--------------------------------
    Summary: Fix the unit of yarn.service.am-resource.memory in the document  
(was: Fix yarn.service.am-resource.memory default memory size in the document)

> 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
>            Reporter: Masahiro Tanaka
>            Assignee: Masahiro Tanaka
>            Priority: Major
>         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

Reply via email to