[
https://issues.apache.org/jira/browse/HADOOP-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Harsh J updated HADOOP-1381:
----------------------------
Attachment: HADOOP-1381.r2.diff
Ensured all sequence file cases pass.
{code}
[junit] Running org.apache.hadoop.io.TestSequenceFile
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 14.896 sec
[junit] Running org.apache.hadoop.io.TestSequenceFileSerialization
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.568 sec
[junit] Running org.apache.hadoop.io.TestSequenceFileSync
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.681 sec
{code}
+ Made changes to deprecated constructors to use the valid one instead of
calling init() code.
> 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