[ https://issues.apache.org/jira/browse/HDFS-3002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13215061#comment-13215061 ]
Suresh Srinivas commented on HDFS-3002: --------------------------------------- The Thread.sleep() part and waitForDeletion() is what HDFS-2966 is mainly concerned about. However, metrics is being used for detecting the completion of an activity it is waiting for completion. I can rebase HDFS-2966 after committing this patch. > TestNameNodeMetrics need not wait for metrics update with new metrics > framework > ------------------------------------------------------------------------------- > > Key: HDFS-3002 > URL: https://issues.apache.org/jira/browse/HDFS-3002 > Project: Hadoop HDFS > Issue Type: Improvement > Components: test > Affects Versions: 0.23.0, 0.24.0 > Reporter: Suresh Srinivas > Assignee: Suresh Srinivas > Priority: Trivial > Attachments: HDFS-3002.patch > > > With older metrics framework, the namenode metrics was updated by replication > thread. This required test having to wait for replication interval. This is > no longer necessary with metrics2 framework. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira