[
https://issues.apache.org/jira/browse/HDFS-15941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18042341#comment-18042341
]
ASF GitHub Bot commented on HDFS-15941:
---------------------------------------
github-actions[bot] closed pull request #2851: HDFS-15941.Solve the problem
that the inspection period of HeartbeatManager#Monitor can be configured.
URL: https://github.com/apache/hadoop/pull/2851
> 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
> Assignee: JiangHua Zhu
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]