HDFS-16907. ADDENDUM: Remove unused variables from testDataNodeMXBeanLastHeartbeats. (#5373)
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
This commit is contained in:
parent
9e4f50d8a0
commit
17c8cdf63c
@ -310,10 +310,6 @@ public void testDataNodeMXBeanLastHeartbeats() throws Exception {
|
||||
|
||||
DataNode datanode = cluster.getDataNodes().get(0);
|
||||
|
||||
MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
|
||||
ObjectName mxbeanName = new ObjectName(
|
||||
"Hadoop:service=DataNode,name=DataNodeInfo");
|
||||
|
||||
// Verify and wait until one of the BP service actor identifies active namenode as active
|
||||
// and another as standby.
|
||||
cluster.waitDatanodeConnectedToActive(datanode, 5000);
|
||||
|
Loading…
Reference in New Issue
Block a user