AvroRpcResourceManagerClient implements ResourceManagerClient { @Override public String getNodeReport() throws MonitorException { try { return proxy.getNodeReport(); } catch (AvroRemoteException e) { LOG.log(Level.SEVERE, "Server error!"); } return null; } AvroRpcResourceManagerClient(URL url); static void main(String[] args); @Override boolean isJobComplete(String jobId); @Override Job getJobInfo(String jobId); @Override boolean isAlive(); @Override int getJobQueueSize(); @Override int getJobQueueCapacity(); @Override boolean killJob(String jobId); @Override String getExecutionNode(String jobId); @Override String getNodeReport(); @Override String getExecReport(); @Override String submitJob(Job exec, JobInput in); @Override boolean submitJob(Job exec, JobInput in, URL hostUrl); @Override List getNodes(); @Override ResourceNode getNodeById(String nodeId); @Override URL getResMgrUrl(); @Override void setResMgrUrl(URL resMgrUrl); @Override void addQueue(String queueName); @Override void removeQueue(String queueName); @Override void addNode(ResourceNode node); @Override void removeNode(String nodeId); @Override void setNodeCapacity(String nodeId, int capacity); @Override void addNodeToQueue(String nodeId, String queueName); @Override void removeNodeFromQueue(String nodeId, String queueName); @Override List<String> getQueues(); @Override List<String> getNodesInQueue(String queueName); @Override List<String> getQueuesWithNode(String nodeId); @Override String getNodeLoad(String nodeId); @Override List getQueuedJobs();  }
@Test public void testNodeReport() throws MonitorException { String report = rmc.getNodeReport(); assertThat(report, is(not(nullValue()))); }