hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-3280) DFSOutputStream.sync should not be synchronized
Date Mon, 16 Mar 2015 19:57:38 GMT

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

Allen Wittenauer updated HDFS-3280:
-----------------------------------
    Fix Version/s:     (was: 2.0.0-alpha)
                   2.0.2-alpha

> DFSOutputStream.sync should not be synchronized
> -----------------------------------------------
>
>                 Key: HDFS-3280
>                 URL: https://issues.apache.org/jira/browse/HDFS-3280
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 2.0.0-alpha
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>             Fix For: 2.0.0-alpha
>
>         Attachments: hdfs-3280.txt
>
>
> HDFS-895 added an optimization to make hflush() much faster by unsynchronizing it. But,
we forgot to un-synchronize the deprecated {{sync()}} wrapper method. This makes the HBase
WAL really slow on 0.23+ since it doesn't take advantage of HDFS-895 anymore.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message