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

Tsz Wo Nicholas Sze updated HDFS-9726:
--------------------------------------
    Attachment: h9726_20160204.patch

> One optional change can be: instead of using two boolean variable (ready2Send 
> and triggerIBR) to indicate what to do in notifyNamenodeBlock, maybe we can 
> create an enum to indicate the 3 types of action.

We actually don't need these two parameters since we can use rdbi.getStatus().  
Here is a new patch.

h9726_20160204.patch

> Refactor IBR code to a new class
> --------------------------------
>
>                 Key: HDFS-9726
>                 URL: https://issues.apache.org/jira/browse/HDFS-9726
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>            Priority: Minor
>         Attachments: h9726_20160131.patch, h9726_20160201.patch, 
> h9726_20160203.patch, h9726_20160204.patch
>
>
> The IBR code currently is mainly in BPServiceActor.  The JIRA is to refactor 
> it to a new class.



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

Reply via email to