hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kih...@apache.org
Subject hadoop git commit: HDFS-10270. TestJMXGet:testNameNode() fails. Contributed by Gergely Novák
Date Wed, 13 Apr 2016 16:24:25 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 c195b1c9f -> 4a7e52d30


HDFS-10270. TestJMXGet:testNameNode() fails. Contributed by Gergely Novák

(cherry picked from commit d2f3bbc29046435904ad9418073795439c71b441)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/4a7e52d3
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/4a7e52d3
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/4a7e52d3

Branch: refs/heads/branch-2
Commit: 4a7e52d302b7df62066e8b2e1b859a019e47b79a
Parents: c195b1c
Author: Kihwal Lee <kihwal@apache.org>
Authored: Wed Apr 13 11:24:06 2016 -0500
Committer: Kihwal Lee <kihwal@apache.org>
Committed: Wed Apr 13 11:24:06 2016 -0500

----------------------------------------------------------------------
 .../src/test/java/org/apache/hadoop/tools/TestJMXGet.java         | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/4a7e52d3/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestJMXGet.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestJMXGet.java
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestJMXGet.java
index 7049a0d..f64ee9d 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestJMXGet.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestJMXGet.java
@@ -123,9 +123,6 @@ public class TestJMXGet {
         jmx.getValue("NumLiveDataNodes")));
     assertGauge("CorruptBlocks", Long.parseLong(jmx.getValue("CorruptBlocks")),
                 getMetrics("FSNamesystem"));
-    DFSTestUtil.waitForMetric(jmx, "NumOpenConnections", numDatanodes);
-    assertEquals(numDatanodes, Integer.parseInt(
-        jmx.getValue("NumOpenConnections")));
 
     cluster.shutdown();
     MBeanServerConnection mbsc = ManagementFactory.getPlatformMBeanServer();


Mime
View raw message