You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2014/08/25 21:42:58 UTC

[jira] [Updated] (HDFS-6773) MiniDFSCluster should skip edit log fsync by default

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

Colin Patrick McCabe updated HDFS-6773:
---------------------------------------

    Summary: MiniDFSCluster should skip edit log fsync by default  (was: MiniDFSCluster can run dramatically faster)

> MiniDFSCluster should skip edit log fsync by default
> ----------------------------------------------------
>
>                 Key: HDFS-6773
>                 URL: https://issues.apache.org/jira/browse/HDFS-6773
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Stephen Chu
>         Attachments: HDFS-6773.1.patch
>
>
> The mini cluster is unnecessarily running with durable edit logs.  The following change cut runtime of a single test from ~30s to ~10s.
> {code}EditLogFileOutputStream.setShouldSkipFsyncForTesting(true);{code}
> The mini cluster should default to this behavior after identifying the few edit log tests that probably depend on durable logs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)