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

Lisheng Sun commented on HDFS-15172:
------------------------------------

Thank [~elgoiri] for review.
This jira solves the problem that that excessive frequency check. HDFS-15149 
should not bring this part of the modification and is surpose to solve that 
DeadNodeDetector surpresses all interrupts and never checks for a termination 
flag. I think these two problem is better divided into two jiras. 

> 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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to