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

Lisheng Sun edited comment on HDFS-15661 at 1/25/21, 3:51 PM:
--------------------------------------------------------------

+1 on the v005.patch.


was (Author: leosun08):
+1 on 
https://issues.apache.org/jira/secure/attachment/13019288/HDFS-15661.005.patch

> The DeadNodeDetector shouldn't be shared by different DFSClients.
> -----------------------------------------------------------------
>
>                 Key: HDFS-15661
>                 URL: https://issues.apache.org/jira/browse/HDFS-15661
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Jinglun
>            Assignee: Jinglun
>            Priority: Major
>         Attachments: HDFS-15661.001.patch, HDFS-15661.002.patch, 
> HDFS-15661.003.patch, HDFS-15661.004.patch, HDFS-15661.005.patch
>
>
> Currently the DeadNodeDetector is a member of ClientContext. That means it is 
> shared by many different DFSClients. When one DFSClient.close() is invoked, 
> the DeadNodeDetecotor thread would be interrupted and impact other DFSClients.
> From the original design of HDFS-13571 we could see the DeadNodeDetector is 
> supposed to share dead nodes of many input streams from the same client. 
> We should move the DeadNodeDetector as a member of DFSClient instead of 
> ClientContext. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to