hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3961) FSEditLog preallocate() needs to reset the position of PREALLOCATE_BUFFER when more than 1MB size is needed
Date Thu, 20 Sep 2012 20:29:07 GMT

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

Colin Patrick McCabe commented on HDFS-3961:
--------------------------------------------

Thanks, Jing.
                
> FSEditLog preallocate() needs to reset the position of PREALLOCATE_BUFFER when more than
1MB size is needed
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3961
>                 URL: https://issues.apache.org/jira/browse/HDFS-3961
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>             Fix For: 1.2.0
>
>         Attachments: HDFS-3961.patch
>
>
> In the new preallocate() function, when the required size is larger 1MB, we need to reset
the position for PREALLOCATION_BUFFER every time when we have allocated 1MB. Otherwise seems
only 1MB can be allocated even if need is larger than 1MB.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message