hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (MAPREDUCE-3968) add support for getNumMapTasks() into mapreduce JobContext
Date Thu, 22 Nov 2012 17:12:59 GMT

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

Harsh J reopened MAPREDUCE-3968:
--------------------------------


Radim,

I think this can go in - my earlier questions were just to know purpose.

Sorry I did not comment back earlier. Could you also add in some simple tests (just for regression
and API presence's sake)?

Also a rough "since" comment would be well too, in the javadocs of the new API method, and
an explanation of what to tweak if the intention is to set number of mappers (i.e. point to
using InputFormat#getSplits(…)).
                
> add support for getNumMapTasks() into mapreduce JobContext
> ----------------------------------------------------------
>
>                 Key: MAPREDUCE-3968
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3968
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: mrv1
>    Affects Versions: trunk
>         Environment: hadoop 0.22
>            Reporter: Radim Kolar
>            Priority: Minor
>         Attachments: MAPREDUCE-3968.patch
>
>
> In old mapred api there was way to query number of mappers:
> job.getNumMapTasks())
> No such function exists in new mapreduce api

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message