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 "Dennis Y (JIRA)" <ji...@apache.org> on 2013/03/22 12:45:25 UTC

[jira] [Created] (MAPREDUCE-5092) Parameter 'chunks' of org.apache.hadoop.mapred.lib.db.DBInputFormat.getSplits method is ignored

Dennis Y created MAPREDUCE-5092:
-----------------------------------

             Summary: Parameter 'chunks' of org.apache.hadoop.mapred.lib.db.DBInputFormat.getSplits method is ignored
                 Key: MAPREDUCE-5092
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5092
             Project: Hadoop Map/Reduce
          Issue Type: Bug
    Affects Versions: 0.23.5, 2.0.3-alpha, 3.0.0
            Reporter: Dennis Y


Class 
org.apache.hadoop.mapred.lib.db.DBInputFormat 
(hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/lib/db/DBInputFormat.java) 

contains method:
public InputSplit[] getSplits(JobConf job, int chunks) throws IOException 
but 'chunks' parameter is ignored.

Chunks count taken from 'job.getConfiguration().getInt(MRJobConfig.NUM_MAPS, 1);' 


affects trunk, branch-2, branch-0.23





--
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