From ccaf746eeacfafc7392a994f28ee9dbf595c84af Mon Sep 17 00:00:00 2001 From: Kihwal Lee Date: Wed, 13 Apr 2016 11:24:45 -0500 Subject: [PATCH] =?UTF-8?q?HDFS-10270.=20TestJMXGet:testNameNode()=20fails?= =?UTF-8?q?.=20Contributed=20by=20Gergely=20Nov=C3=A1k?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit d2f3bbc29046435904ad9418073795439c71b441) --- .../src/test/java/org/apache/hadoop/tools/TestJMXGet.java | 3 --- 1 file changed, 3 deletions(-) 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 7049a0db1cf..f64ee9d406f 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();