You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "JiangHua Zhu (Jira)" <ji...@apache.org> on 2021/04/01 03:00:00 UTC

[jira] [Created] (HDFS-15941) Solve the problem that the inspection period of HeartbeatManager#Monitor can be configured

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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org