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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.6.5, 3.0.0-alpha1
    • 2.9.0, 3.0.0-alpha2
    • task
    • 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. MAPREDUCE-6793.003.patch
          5 kB
          Gera Shegalov
        2. 0002-MAPREDUCE-6793.patch
          4 kB
          Prabhu Joseph
        3. 0001-MAPREDUCE-6793.patch
          1 kB
          Prabhu Joseph

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: