[ https://issues.apache.org/jira/browse/HDFS-14649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16981439#comment-16981439 ]
Lisheng Sun commented on HDFS-14649: ------------------------------------ hi [~linyiqun] {quote} We need a additional unit test for suspect node detection behavior. {quote} TestDeadNodeDetection#testDeadNodeDetectionInMultipleDFSInputStream can verify suspect node detection behavior. Since only when suspect node failed, suspect thread will add deadnode to DeadNodeDetector#deads. if deadnode size is greater than zero, it means supect detection effect. > Add suspect probe for DeadNodeDetector > -------------------------------------- > > Key: HDFS-14649 > URL: https://issues.apache.org/jira/browse/HDFS-14649 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Lisheng Sun > Assignee: Lisheng Sun > Priority: Major > Attachments: HDFS-14649.001.patch, HDFS-14649.002.patch > > > Add suspect probe for DeadNodeDetector. > when some DataNode of the block is found to inaccessible, put the DataNode > into it will be placed in the Suspicious Node list. Because when DataNode is > not accessible, it is likely that the replica has been removed from the > DataNode.Therefore, it needs to be confirmed by re-probing and requires a > higher priority processing. > And when DataNode is placed in the Suspicious Node list, it is accessed by > other dfsinputstream. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org