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 "Jing Zhao (JIRA)" <ji...@apache.org> on 2012/09/20 20:28:07 UTC
[jira] [Created] (HADOOP-8831) FSEditLog preallocate() needs to
reset the position of PREALLOCATE_BUFFER when more than 1MB size is needed
Jing Zhao created HADOOP-8831:
---------------------------------
Summary: FSEditLog preallocate() needs to reset the position of PREALLOCATE_BUFFER when more than 1MB size is needed
Key: HADOOP-8831
URL: https://issues.apache.org/jira/browse/HADOOP-8831
Project: Hadoop Common
Issue Type: Bug
Affects Versions: 1.2.0
Reporter: Jing Zhao
Priority: Critical
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
[jira] [Commented] (HADOOP-8831) FSEditLog preallocate() needs to
reset the position of PREALLOCATE_BUFFER when more than 1MB size is needed
Posted by "Jing Zhao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459833#comment-13459833 ]
Jing Zhao commented on HADOOP-8831:
-----------------------------------
I should create this jira in HDFS...
> FSEditLog preallocate() needs to reset the position of PREALLOCATE_BUFFER when more than 1MB size is needed
> -----------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-8831
> URL: https://issues.apache.org/jira/browse/HADOOP-8831
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.2.0
> Reporter: Jing Zhao
> Priority: Critical
>
> 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