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

MapFile.fix does not allow index interval definition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.20.1, 0.20.2
    • 0.22.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: