use of org.apache.hadoop.yarn.server.api.protocolrecords.RefreshNodesResponse in project hadoop by apache.
the class TestResourceManagerAdministrationProtocolPBClientImpl method testRefreshNodes.
/**
* Test method refreshNodes. This method is present and it works.
*/
@Test
public void testRefreshNodes() throws Exception {
resourceManager.getClientRMService();
RefreshNodesRequest request = RefreshNodesRequest.newInstance(DecommissionType.NORMAL);
RefreshNodesResponse response = client.refreshNodes(request);
assertNotNull(response);
}
Aggregations