@Test public void testGetNameNodeLabel() { String nameNodeLabel = NamenodeJspHelper.getNameNodeLabel( cluster.getNameNode()); Assert.assertNotNull(nameNodeLabel); Assert.assertFalse(nameNodeLabel.isEmpty()); }
static String getNameNodeLabel(NameNode nn) { return nn.getRpcServer() != null ? nn.getNameNodeAddressHostPortString() : "initializing"; }
NamenodeJspHelper { static String getNameNodeLabel(NameNode nn) { return nn.getRpcServer() != null ? nn.getNameNodeAddressHostPortString() : "initializing"; } }
NamenodeJspHelper { static String getNameNodeLabel(NameNode nn) { return nn.getRpcServer() != null ? nn.getNameNodeAddressHostPortString() : "initializing"; }  }
NamenodeJspHelper { static String getNameNodeLabel(NameNode nn) { return nn.getRpcServer() != null ? nn.getNameNodeAddressHostPortString() : "initializing"; }   }
NamenodeJspHelper { static String getNameNodeLabel(NameNode nn) { return nn.getRpcServer() != null ? nn.getNameNodeAddressHostPortString() : "initializing"; }    }