[
https://issues.apache.org/jira/browse/HDFS-15172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17038073#comment-17038073
]
Lisheng Sun commented on HDFS-15172:
------------------------------------
[~elgoiri]
I was intended to add this check In DeadNodeDetector#checkDeadNodes to prevent
excessive frequency check. But waiting time has been added to idle() and every
call to checkDeadNodes() will change the state to IDLE. So there will not is a
situation that excessive frequency check.
TestDeadNodeDetection#testDeadNodeDetectionDeadNodeRecovery() has covered about
this change. Thank you.
> Remove unnecessary deadNodeDetectInterval in
> DeadNodeDetector#checkDeadNodes()
> -------------------------------------------------------------------------------
>
> Key: HDFS-15172
> URL: https://issues.apache.org/jira/browse/HDFS-15172
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Lisheng Sun
> Assignee: Lisheng Sun
> Priority: Major
> Attachments: HDFS-15172-001.patch, HDFS-15172-002.patch
>
>
> Every call to checkDeadNodes() will change the state to IDLE forcing the
> DeadNodeDetector to sleep for IDLE_SLEEP_MS. So we don't need
> deadNodeDetectInterval between every checkDeadNodes().
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]