hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Masahiro Tanaka (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-9284) Fix yarn.service.am-resource.memory default memory size in the document
Date Thu, 07 Feb 2019 19:07:00 GMT

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

Masahiro Tanaka updated YARN-9284:
----------------------------------
    Attachment: YARN-9284.001.patch

> Fix yarn.service.am-resource.memory default memory size 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message