You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Jing Zhao (JIRA)" <ji...@apache.org> on 2012/10/16 00:59:03 UTC

[jira] [Created] (HDFS-4059) Add number of stale DataNodes to metrics

Jing Zhao created HDFS-4059:
-------------------------------

             Summary: 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
    Affects Versions: 3.0.0
            Reporter: Jing Zhao
            Assignee: Jing Zhao
            Priority: Minor


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

[jira] [Commented] (HDFS-4059) Add number of stale DataNodes to metrics

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476781#comment-13476781 ] 

Hadoop QA commented on HDFS-4059:
---------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12549229/HDFS-4059.trunk.001.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 javadoc{color}.  The javadoc tool did not generate any warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in hadoop-hdfs-project/hadoop-hdfs.

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/3341//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/3341//console

This message is automatically generated.
                
> 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: 1.1.0, 3.0.0, 2.0.3-alpha
>
>         Attachments: HDFS-4059.trunk.001.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

[jira] [Updated] (HDFS-4059) Add number of stale DataNodes to metrics

Posted by "Jing Zhao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jing Zhao updated HDFS-4059:
----------------------------

    Attachment: HDFS-4059.trunk.002.patch

Thanks for the comments Suresh! The testStaleNodes testcase now explicitly calls the heartbeatCheck method through a new method in BlockManagerTestUtil, so that we can remove the Thread.sleep().
                
> 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: 1.1.0, 3.0.0, 2.0.3-alpha
>
>         Attachments: HDFS-4059.trunk.001.patch, HDFS-4059.trunk.002.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

[jira] [Commented] (HDFS-4059) Add number of stale DataNodes to metrics

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477288#comment-13477288 ] 

Suresh Srinivas commented on HDFS-4059:
---------------------------------------

We should probably make this change in branch-1 as well.
                
> 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

[jira] [Commented] (HDFS-4059) Add number of stale DataNodes to metrics

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477285#comment-13477285 ] 

Hudson commented on HDFS-4059:
------------------------------

Integrated in Hadoop-trunk-Commit #2873 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/2873/])
    HDFS-4059. Add number of stale DataNodes to metrics. Contributed by Jing Zhao. (Revision 1398949)

     Result = SUCCESS
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1398949
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeManager.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/metrics/FSNamesystemMBean.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManagerTestUtil.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/metrics/TestNameNodeMetrics.java

                
> 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: 1.1.0, 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

[jira] [Updated] (HDFS-4059) Add number of stale DataNodes to metrics

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ 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

[jira] [Commented] (HDFS-4059) Add number of stale DataNodes to metrics

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477839#comment-13477839 ] 

Hudson commented on HDFS-4059:
------------------------------

Integrated in Hadoop-Hdfs-trunk #1198 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1198/])
    HDFS-4059. Add number of stale DataNodes to metrics. Contributed by Jing Zhao. (Revision 1398949)

     Result = SUCCESS
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1398949
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeManager.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/metrics/FSNamesystemMBean.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManagerTestUtil.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/metrics/TestNameNodeMetrics.java

                
> 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

[jira] [Commented] (HDFS-4059) Add number of stale DataNodes to metrics

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476736#comment-13476736 ] 

Suresh Srinivas commented on HDFS-4059:
---------------------------------------

Comment:
# Can you please add name and descrption to the metric, some thing like - {{@Metric({"StaleDataNodes", "Number of datanodes marked stale due to delayed heartbeat"}}}. Without this metric name is derived from the method name and will have not descrption.
# Can the test be changed to not wait that long. Also can you avoid dependency on timing by using a loop to wait for metric to reach the value?

                
> 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: 1.1.0, 3.0.0, 2.0.3-alpha
>
>         Attachments: HDFS-4059.trunk.001.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

[jira] [Commented] (HDFS-4059) Add number of stale DataNodes to metrics

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477268#comment-13477268 ] 

Hadoop QA commented on HDFS-4059:
---------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12549344/HDFS-4059.trunk.002.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 2 new or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 javadoc{color}.  The javadoc tool did not generate any warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in hadoop-hdfs-project/hadoop-hdfs.

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/3344//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/3344//console

This message is automatically generated.
                
> 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: 1.1.0, 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

[jira] [Commented] (HDFS-4059) Add number of stale DataNodes to metrics

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477868#comment-13477868 ] 

Hudson commented on HDFS-4059:
------------------------------

Integrated in Hadoop-Mapreduce-trunk #1228 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1228/])
    HDFS-4059. Add number of stale DataNodes to metrics. Contributed by Jing Zhao. (Revision 1398949)

     Result = FAILURE
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1398949
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeManager.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/metrics/FSNamesystemMBean.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManagerTestUtil.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/metrics/TestNameNodeMetrics.java

                
> 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

[jira] [Updated] (HDFS-4059) Add number of stale DataNodes to metrics

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Status: Patch Available  (was: Open)
    
> 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: 1.1.0, 3.0.0, 2.0.3-alpha
>
>         Attachments: HDFS-4059.trunk.001.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

[jira] [Updated] (HDFS-4059) Add number of stale DataNodes to metrics

Posted by "Jing Zhao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jing Zhao updated HDFS-4059:
----------------------------

    Attachment: HDFS-4059.trunk.003.patch

Updated based on Suresh's comments.
                
> 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: 1.1.0, 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

[jira] [Updated] (HDFS-4059) Add number of stale DataNodes to metrics

Posted by "Jing Zhao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jing Zhao updated HDFS-4059:
----------------------------

    Attachment: HDFS-4059.trunk.001.patch

The patch includes a new testcase (testStaleNodes) for TestNameNodeMetrics. But on my local test TestNameNodeMetrics#testCorruptBlock may still fail. After applying the patch in HDFS-2434 my local test works fine.
                
> 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: 1.1.0, 3.0.0, 2.0.3-alpha
>
>         Attachments: HDFS-4059.trunk.001.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

[jira] [Commented] (HDFS-4059) Add number of stale DataNodes to metrics

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477202#comment-13477202 ] 

Suresh Srinivas commented on HDFS-4059:
---------------------------------------

Calling metrics "StaleDataNodes" is better than "NumStaleDataNodes".
                
> 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: 1.1.0, 3.0.0, 2.0.3-alpha
>
>         Attachments: HDFS-4059.trunk.001.patch, HDFS-4059.trunk.002.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

[jira] [Commented] (HDFS-4059) Add number of stale DataNodes to metrics

Posted by "Jing Zhao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13478076#comment-13478076 ] 

Jing Zhao commented on HDFS-4059:
---------------------------------

I backport the patch to branch-1. Since the code is different, I will create another jira for that.
                
> 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

[jira] [Commented] (HDFS-4059) Add number of stale DataNodes to metrics

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477770#comment-13477770 ] 

Hudson commented on HDFS-4059:
------------------------------

Integrated in Hadoop-Yarn-trunk #6 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/6/])
    HDFS-4059. Add number of stale DataNodes to metrics. Contributed by Jing Zhao. (Revision 1398949)

     Result = FAILURE
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1398949
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeManager.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/metrics/FSNamesystemMBean.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManagerTestUtil.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/metrics/TestNameNodeMetrics.java

                
> 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