hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-2078) yarn.app.am.resource.mb/cpu-vcores affects uber mode but is not documented
Date Tue, 20 May 2014 07:47:38 GMT

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

Tsuyoshi OZAWA updated YARN-2078:
---------------------------------

    Affects Version/s: 2.4.0

> yarn.app.am.resource.mb/cpu-vcores affects uber mode but is not documented
> --------------------------------------------------------------------------
>
>                 Key: YARN-2078
>                 URL: https://issues.apache.org/jira/browse/YARN-2078
>             Project: Hadoop YARN
>          Issue Type: Bug
>          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. If not, users need to read
code.
> {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.2#6252)

Mime
View raw message