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

Jitendra Nath Pandey commented on HDFS-2857:
--------------------------------------------

Is it possible to get rid of setPrevious and setNext altogther and use the new 
setDatanode at all places? It will simplify the code further as a triplet will 
be updated all at once.

+1 for the code, it is a good improvement anyway.
                
> Cleanup BlockInfo class
> -----------------------
>
>                 Key: HDFS-2857
>                 URL: https://issues.apache.org/jira/browse/HDFS-2857
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.24.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0
>
>         Attachments: HDFS-2857.txt
>
>
> Following are some of the cleanup required:
> # Remove unnecessary methods
> # Add interface annotation
> # Make some of the method private

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to