Robert Dyer created HADOOP-9386: ----------------------------------- Summary: MapFile.fix does not allow custom index intervals Key: HADOOP-9386 URL: https://issues.apache.org/jira/browse/HADOOP-9386 Project: Hadoop Common Issue Type: Improvement Components: io Affects Versions: 1.0.4 Reporter: Robert Dyer Priority: Minor
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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira