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 "Owen O'Malley (JIRA)" <ji...@apache.org> on 2011/08/10 08:13:27 UTC
[jira] [Commented] (HADOOP-1381) The distance between sync blocks
in SequenceFiles should be configurable rather than hard coded to 2000
bytes
[ https://issues.apache.org/jira/browse/HADOOP-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082160#comment-13082160 ]
Owen O'Malley commented on HADOOP-1381:
---------------------------------------
I agree with Todd's points.
100mb is too big. Please use something between 100kb and 1mb as the default.
You should derive from IntegerOption for SyncIntervalOption.
> The distance between sync blocks in SequenceFiles should be configurable rather than hard coded to 2000 bytes
> -------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-1381
> URL: https://issues.apache.org/jira/browse/HADOOP-1381
> Project: Hadoop Common
> Issue Type: Improvement
> Components: io
> Affects Versions: 0.22.0
> Reporter: Owen O'Malley
> Assignee: Harsh J
> Fix For: 0.23.0
>
> Attachments: HADOOP-1381.r1.diff, HADOOP-1381.r2.diff
>
>
> Currently SequenceFiles put in sync blocks every 2000 bytes. It would be much better if it was configurable with a much higher default (1mb or so?).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira