Hadoop Common
  1. Hadoop Common
  2. HADOOP-6758

MapFile.fix does not allow index interval definition

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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); 
      
      
      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

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development