You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Tsuyoshi OZAWA (JIRA)" <ji...@apache.org> on 2014/09/05 00:47:24 UTC
[jira] [Moved] (MAPREDUCE-6070) yarn.app.am.resource.mb/cpu-vcores
affects uber mode but is not documented
[ https://issues.apache.org/jira/browse/MAPREDUCE-6070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsuyoshi OZAWA moved YARN-2078 to MAPREDUCE-6070:
-------------------------------------------------
Component/s: (was: documentation)
documentation
Affects Version/s: (was: 2.4.0)
2.4.0
Issue Type: Improvement (was: Bug)
Key: MAPREDUCE-6070 (was: YARN-2078)
Project: Hadoop Map/Reduce (was: Hadoop YARN)
> yarn.app.am.resource.mb/cpu-vcores affects uber mode but is not documented
> --------------------------------------------------------------------------
>
> Key: MAPREDUCE-6070
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6070
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Components: documentation
> Affects Versions: 2.4.0
> Reporter: Tsuyoshi OZAWA
> Assignee: Tsuyoshi OZAWA
> Priority: Trivial
> Attachments: YARN-2078.1.patch
>
>
> We should document the condition when uber mode is enabled. Currently, users need to read following code to understand the condition.
> {code}
> boolean smallMemory =
> ( (Math.max(conf.getLong(MRJobConfig.MAP_MEMORY_MB, 0),
> conf.getLong(MRJobConfig.REDUCE_MEMORY_MB, 0))
> <= sysMemSizeForUberSlot)
> || (sysMemSizeForUberSlot == JobConf.DISABLED_MEMORY_LIMIT));
> boolean smallCpu =
> Math.max(
> conf.getInt(
> MRJobConfig.MAP_CPU_VCORES,
> MRJobConfig.DEFAULT_MAP_CPU_VCORES),
> conf.getInt(
> MRJobConfig.REDUCE_CPU_VCORES,
> MRJobConfig.DEFAULT_REDUCE_CPU_VCORES))
> <= sysCPUSizeForUberSlot
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)