[ https://issues.apache.org/jira/browse/HDFS-6583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14039436#comment-14039436 ]
Haohui Mai commented on HDFS-6583: ---------------------------------- The v1 patch implements [~szetszwo]'s comments. > Remove clientNode in FileUnderConstructionFeature > ------------------------------------------------- > > Key: HDFS-6583 > URL: https://issues.apache.org/jira/browse/HDFS-6583 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Reporter: Haohui Mai > Assignee: Haohui Mai > Priority: Minor > Attachments: HDFS-6583.000.patch, HDFS-6583.001.patch > > > {{FileUnderConstructionFeature}} contains two fields {{clientMachine}} and > {{clientNode}}. {{clientNode}} keeps a reference of a {{DatanodeDescriptor}}. > The reference be recomputed by consulting {{DatanodeManager}}. > This jira proposes to remove {{clientNode}} in the > {{FileUnderConstructionFeature}} to simplify the code and to reduce overhead. -- This message was sent by Atlassian JIRA (v6.2#6252)