[
https://issues.apache.org/jira/browse/HADOOP-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13156660#comment-13156660
]
Harsh J commented on HADOOP-1381:
---------------------------------
Todd,
- The sync _interval_ can be arbitrary I think, can even be 0. Should not be
negative, so I'll add a check for that instead. Or do you think its better if
we limit the interval to a minimum? Writer tests pass with 0 no problem.
- SYNC_INTERVAL is being used by MAPREDUCE right now, and I'll have to carry
this out as a cross-project JIRA+patch.
> 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.24.0
>
> Attachments: HADOOP-1381.r1.diff, HADOOP-1381.r2.diff,
> HADOOP-1381.r3.diff, HADOOP-1381.r4.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.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira