hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-1381) The distance between sync blocks in SequenceFiles should be configurable rather than hard coded to 2000 bytes
Date Mon, 25 Jul 2011 21:28:11 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070773#comment-13070773
] 

Todd Lipcon commented on HADOOP-1381:
-------------------------------------

- why use a boxed Integer for the sync interval instead of a normal int?
- the javadoc says 100KB, but the constant value seems to be set to 100MB
- do we have to change the other constructors? seems like unrelated cleanup, probably best
to leave them alone since they're deprecated anyway

> 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

        

Mime
View raw message