Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-5092

Parameter 'chunks' of org.apache.hadoop.mapred.lib.db.DBInputFormat.getSplits method is ignored

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.3-alpha, 0.23.5, 3.0.0-alpha1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dennisyv Dennis Y
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: