59606162636465666768
} assertEquals(1, ns.getNameNode().getDatanodeReport(DatanodeReportType.LIVE).length); assertEquals(1, registrations); } finally { cluster.shutDown(); MiniAvatarCluster.shutDownZooKeeper(); } } }
7677787980818283848586
List<AvatarDataNode> datanodes = cluster.getDataNodes(); Assert.assertEquals(datanodes.size(), 1); checkMXBean(datanodes.get(0)); } finally { if (cluster != null) { cluster.shutDown(); } MiniAvatarCluster.shutDownZooKeeper(); } }