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

        Gianmarco De Francisci Morales created issue -
        Gianmarco De Francisci Morales made changes -
        Field Original Value New Value
        Attachment HADOOP-6758.patch [ 12444062 ]
        Gianmarco De Francisci Morales made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Gianmarco De Francisci Morales made changes -
        Attachment HADOOP-6758.patch [ 12444065 ]
        Gianmarco De Francisci Morales made changes -
        Status Patch Available [ 10002 ] In Progress [ 3 ]
        Gianmarco De Francisci Morales made changes -
        Attachment HADOOP-6758.patch [ 12444067 ]
        Gianmarco De Francisci Morales made changes -
        Attachment HADOOP-6758.patch [ 12447239 ]
        Gianmarco De Francisci Morales made changes -
        Attachment HADOOP-6758.patch [ 12447239 ]
        Mahadev konar made changes -
        Assignee Mahadev konar [ mahadev ]
        Mahadev konar made changes -
        Status In Progress [ 3 ] Open [ 1 ]
        Mahadev konar made changes -
        Assignee Mahadev konar [ mahadev ]
        Gianmarco De Francisci Morales made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Tom White made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Assignee Gianmarco De Francisci Morales [ azaroth ]
        Fix Version/s 0.22.0 [ 12314296 ]
        Resolution Fixed [ 1 ]
        Konstantin Shvachko made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          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