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

MapFile.fix does not allow custom index intervals

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 1.0.4
    • None
    • io
    • None

    Description

      MapFile.Writer provides a setIndexInterval() method for customizing how frequently an index is written. By default it is set to 128.

      The method MapFile.fix() provides the ability to regenerate just the index file from the existing data file. This method hard codes the index interval to 128, thus making it impossible to re-generate an index with custom intervals.

      Attachments

        Issue Links

          Activity

            People

              boky01 Andras Bokor
              psybers Robert Dyer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: