You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Tom White (JIRA)" <ji...@apache.org> on 2010/11/05 20:40:41 UTC
[jira] Updated: (HADOOP-6758) MapFile.fix does not allow index
interval definition
[ 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.