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

Xiao Chen commented on HDFS-12603:
----------------------------------

Hm, my background thread comes back, and thinks the 1-second sleep incidentally 
equals to {{DFS_HA_TAILEDITS_PERIOD_KEY}} and 
{{DFS_NAMENODE_CHECKPOINT_CHECK_PERIOD_KEY}} may be related. Though 
sleep-injecting both threads doesn't appear to get mockito happy. /sigh

Attaching a super ugly patch (based on branch-2) to show what I did...

> Enable async edit logging by default
> ------------------------------------
>
>                 Key: HDFS-12603
>                 URL: https://issues.apache.org/jira/browse/HDFS-12603
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>    Affects Versions: 2.8.0, 2.9.0, 3.0.0-alpha1
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>         Attachments: HDFS-12603.001.patch, HDFS-12603.002.patch, 
> HDFS-12603.003.patch, HDFS-12603.branch-2.01.patch, 
> HDFS-12603.branch-2.02.patch, HDFS-12603.injectors-not-working.patch
>
>
> HDFS-7964 added support for async edit logging. Based on further discussion 
> in that JIRA, we think it's safe to turn this on by default for better 
> out-of-the-box performance.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to