[ 
https://issues.apache.org/jira/browse/HDFS-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Suresh Srinivas updated HDFS-4059:
----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.1.0)
     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
           Status: Resolved  (was: Patch Available)

I committed the patch to branch-2 and trunk. Thank you Jing.
                
> Add number of stale DataNodes to metrics
> ----------------------------------------
>
>                 Key: HDFS-4059
>                 URL: https://issues.apache.org/jira/browse/HDFS-4059
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: data-node, name-node
>    Affects Versions: 3.0.0
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>            Priority: Minor
>             Fix For: 3.0.0, 2.0.3-alpha
>
>         Attachments: HDFS-4059.trunk.001.patch, HDFS-4059.trunk.002.patch, 
> HDFS-4059.trunk.003.patch
>
>
> Add the number of stale DataNodes to metrics.

--
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

Reply via email to