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

chuanjie.duan commented on HDFS-11737:
--------------------------------------

[~zhz] , your patch is missing start thread. It worked when I overrided method 
"openForWrite"

 

class FSEditLogAsync extends FSEditLog implements Runnable {

 

......

  _@Override_

  void openForWrite(int layoutVersion) throws IOException {

    try {

      startSyncThread();

      super.openForWrite(layoutVersion);

    } catch (IOException ioe) {

      stopSyncThread();

      throw ioe;

    }

  }

......

 

> Backport HDFS-7964 to branch-2.7: add support for async edit logging
> --------------------------------------------------------------------
>
>                 Key: HDFS-11737
>                 URL: https://issues.apache.org/jira/browse/HDFS-11737
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: ha, namenode
>            Reporter: Zhe Zhang
>            Assignee: Zhe Zhang
>            Priority: Critical
>         Attachments: HDFS-11737-branch-2.7.00.patch
>
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to