private static String getServiceRpcServerAddress(MiniDFSCluster cluster) { NameNodeRpcServer rpcServer = (NameNodeRpcServer) cluster.getNameNodeRpc(); return rpcServer.getServiceRpcServer().getListenerAddress().getAddress().toString(); }
private static String getServiceRpcServerAddress(MiniDFSCluster cluster) { NameNodeRpcServer rpcServer = (NameNodeRpcServer) cluster.getNameNodeRpc(); return rpcServer.getServiceRpcServer().getListenerAddress().getAddress().toString(); }