hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian He (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6696) Add a configuration to limit the number of map tasks allowed per job.
Date Thu, 19 May 2016 00:31:12 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-6696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15290170#comment-15290170
] 

Jian He commented on MAPREDUCE-6696:
------------------------------------

I see, thanks for your explanation. patch looks good to me, minor nit:
may be useful to print the current number of map tasks too in the exception message ?  just
to be more clear.
{code}
new RuntimeException("The number of map tasks exceeded limit " +
            maxMaps);
{code}

> Add a configuration to limit the number of map tasks allowed per job.
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6696
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6696
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: job submission
>    Affects Versions: 2.8.0
>            Reporter: zhihai xu
>            Assignee: zhihai xu
>         Attachments: MAPREDUCE-6696.000.patch, MAPREDUCE-6696.001.patch, MAPREDUCE-6696.002.patch
>
>
> Add a configuration "mapreduce.job.max.map" to limit the number of map tasks allowed
per job. It will be useful for Hadoop admin to save Hadoop cluster resource by preventing
users from submitting big mapreduce jobs. A mapredeuce job with too many mappers may fail
with OOM after running for long time. It will be a big waste.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org


Mime
View raw message