|
@@ -92,6 +92,7 @@ public class TestDataNodeMXBean extends SaslDataTransferTestCase {
|
|
Assert.assertEquals(datanode.getRpcPort(),rpcPort);
|
|
Assert.assertEquals(datanode.getRpcPort(),rpcPort);
|
|
// get attribute "HttpPort"
|
|
// get attribute "HttpPort"
|
|
String httpPort = (String)mbs.getAttribute(mxbeanName, "HttpPort");
|
|
String httpPort = (String)mbs.getAttribute(mxbeanName, "HttpPort");
|
|
|
|
+ Assert.assertNotNull(httpPort);
|
|
Assert.assertEquals(datanode.getHttpPort(),httpPort);
|
|
Assert.assertEquals(datanode.getHttpPort(),httpPort);
|
|
// get attribute "NamenodeAddresses"
|
|
// get attribute "NamenodeAddresses"
|
|
String namenodeAddresses = (String)mbs.getAttribute(mxbeanName,
|
|
String namenodeAddresses = (String)mbs.getAttribute(mxbeanName,
|