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

Harsh J commented on MAPREDUCE-3968:
------------------------------------

Radim,

What good will this serve really? There isn't a setNumMapTasks() in new API 
anymore (for good reason). The FileInputFormat now expects and acts on 
different params.

The only thing it can be worthy of is to check # of splits post submission, 
which should be done via other means anyway, not like this. Is that what you 
want it for?
                
> 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: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to