[ https://issues.apache.org/jira/browse/HADOOP-6758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom White updated HADOOP-6758: ------------------------------ Resolution: Fixed Fix Version/s: 0.22.0 Assignee: Gianmarco De Francisci Morales Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) I've just committed this. Thanks Gianmarco! (In the version I committed I inlined the assignment and referenced Writer.INDEX_INTERVAL rather than the string constant.) > MapFile.fix does not allow index interval definition > ---------------------------------------------------- > > Key: HADOOP-6758 > URL: https://issues.apache.org/jira/browse/HADOOP-6758 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 0.20.1, 0.20.2 > Reporter: Gianmarco De Francisci Morales > Assignee: Gianmarco De Francisci Morales > Fix For: 0.22.0 > > Attachments: HADOOP-6758.patch, HADOOP-6758.patch, HADOOP-6758.patch > > > 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. > {code} > int indexInterval = 128; > indexInterval = conf.getInt(INDEX_INTERVAL, indexInterval); > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.