[
https://issues.apache.org/jira/browse/HDFS-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Suresh Srinivas resolved HDFS-4071.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.2.0
Target Version/s: 1.1.1, 2.0.3-alpha (was: 1.1.1, 3.0.0, 2.0.3-alpha)
Release Note:
This jira adds a new metric with name "StaleDataNodes" under metrics context
"dfs" of type Gauge. This tracks the number of DataNodes marked as stale. A
DataNode is marked stale when the heartbeat message from the DataNode is not
received within the configured time ""dfs.namenode.stale.datanode.interval".
Please see hdfs-default.xml documentation corresponding to
"dfs.namenode.stale.datanode.interval" for more details on how to configure
this feature. When this feature is not configured, this metrics would return
zero.
Hadoop Flags: Reviewed
I committed the patch to branch-1. Thank you Jing.
> Add number of stale DataNodes to metrics for Branch-1
> -----------------------------------------------------
>
> Key: HDFS-4071
> URL: https://issues.apache.org/jira/browse/HDFS-4071
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: data-node, name-node
> Affects Versions: 1.2.0
> Reporter: Jing Zhao
> Assignee: Jing Zhao
> Priority: Minor
> Fix For: 1.2.0
>
> Attachments: HDFS-4059-backport-branch-1.001.patch
>
>
> Backport HDFS-4059 to branch-1.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira