hadoop-yarn-dev mailing list archives

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

             Summary: 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


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org


Mime
View raw message