JiangHua Zhu created HDFS-15941:
-----------------------------------

             Summary: Solve the problem that the inspection period of 
HeartbeatManager#Monitor can be configured
                 Key: HDFS-15941
                 URL: https://issues.apache.org/jira/browse/HDFS-15941
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: JiangHua Zhu


Now when HeartbeatManager#Monitor checks whether the datanode is healthy, it 
does an action every 5 seconds. We should set up configurable.
Monitor#run()  {
 ......
       try {
          Thread.sleep(5000);  // 5 seconds
        } catch (InterruptedException ignored) {
        }
......
}




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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to