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

io.sort.factor code default and mapred-default.xml values inconsistent

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.6.5, 3.0.0-alpha1
    • Fix Version/s: 2.9.0, 3.0.0-alpha2
    • Component/s: task
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      The actual default value in mapred-default.xml:

      <property>
        <name>mapreduce.task.io.sort.factor</name>
        <value>10</value>
        <description>The number of streams to merge at once while sorting
        files.  This determines the number of open file handles.</description>
      </property>
      

      However, MapTask and MergeManagerImpl, are coded with:

             
       int mergeFactor = job.getInt(JobContext.IO_SORT_FACTOR, 100);
      

        Attachments

        1. 0001-MAPREDUCE-6793.patch
          1 kB
          Prabhu Joseph
        2. 0002-MAPREDUCE-6793.patch
          4 kB
          Prabhu Joseph
        3. MAPREDUCE-6793.003.patch
          5 kB
          Gera Shegalov

          Activity

            People

            • Assignee:
              Prabhu Joseph Prabhu Joseph
              Reporter:
              jira.shegalov Gera Shegalov
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: