[ https://issues.apache.org/jira/browse/HDFS-9319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15111796#comment-15111796 ]
Jing Zhao commented on HDFS-9319: --------------------------------- Yeah, originally I planned to first make DatanodeInfo thread safe then maybe DatanodeDescriptor. In this way we can break some global lock protection during block report process into finer granularity. Then later I find that the work on {{DatanodeDescriptor}} will take a lot more effort. Currently I'm not sure if to make {{DatanodeInfo}}/{{DatanodeDescriptor}} thread safe is the best way or necessary to achieve the final goal of HDFS-8966. Will spend more time exploring this. > Make DatanodeInfo thread safe > ----------------------------- > > Key: HDFS-9319 > URL: https://issues.apache.org/jira/browse/HDFS-9319 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Jing Zhao > Assignee: Jing Zhao > Attachments: HDFS-9319.000.patch > > > This jira plans to make DatanodeInfo's internal states independent of > external locks. Note because DatanodeInfo extends DatanodeID, we still need > to change DatanodeID as a follow-on work. -- This message was sent by Atlassian JIRA (v6.3.4#6332)