hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-3020) Auto-logSync based on edit log buffer size broken
Date Wed, 29 Feb 2012 19:15:59 GMT

     [ https://issues.apache.org/jira/browse/HDFS-3020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Todd Lipcon updated HDFS-3020:

    Attachment: hdfs-3020.txt

The spying I did on trunk didn't work for branch-23. Updated patch spys on metrics instead
of the stream itself, which applies to both 23 and trunk. The code's otherwise the same.
> Auto-logSync based on edit log buffer size broken
> -------------------------------------------------
>                 Key: HDFS-3020
>                 URL: https://issues.apache.org/jira/browse/HDFS-3020
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.22.0, 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>         Attachments: hdfs-3020.txt, hdfs-3020.txt, hdfs-3020.txt
> HDFS-1112 added a feature whereby the edit log automatically calls logSync() if the buffered
data crosses a threshold. However, the code checks {{bufReady.size()}} rather than {{bufCurrent.size()}}
-- which is incorrect since the writes themselves go into {{bufCurrent}}.

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


View raw message