Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6758

MapFile.fix does not allow index interval definition

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.1, 0.20.2
    • Fix Version/s: 0.22.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When using the static methond MapFile.fix() there is no way to override the default IndexInterval that is 128.

      The IndexInterval should be taken from the configuration that is passed to the method.

      int indexInterval = 128; 
      indexInterval = conf.getInt(INDEX_INTERVAL, indexInterval); 
      
      

        Attachments

        1. HADOOP-6758.patch
          0.6 kB
          Gianmarco De Francisci Morales
        2. HADOOP-6758.patch
          0.6 kB
          Gianmarco De Francisci Morales
        3. HADOOP-6758.patch
          0.6 kB
          Gianmarco De Francisci Morales

          Issue Links

            Activity

              People

              • Assignee:
                azaroth Gianmarco De Francisci Morales
                Reporter:
                azaroth Gianmarco De Francisci Morales
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: