Search in sources :

Example 1 with RefreshAdminAclsResponse

use of org.apache.hadoop.yarn.server.api.protocolrecords.RefreshAdminAclsResponse in project hadoop by apache.

the class TestResourceManagerAdministrationProtocolPBClientImpl method testRefreshAdminAcls.

/**
   * Test method refreshAdminAcls. This method is present and it works.
   */
@Test
public void testRefreshAdminAcls() throws Exception {
    RefreshAdminAclsRequest request = recordFactory.newRecordInstance(RefreshAdminAclsRequest.class);
    RefreshAdminAclsResponse response = client.refreshAdminAcls(request);
    assertNotNull(response);
}
Also used : RefreshAdminAclsRequest(org.apache.hadoop.yarn.server.api.protocolrecords.RefreshAdminAclsRequest) RefreshAdminAclsResponse(org.apache.hadoop.yarn.server.api.protocolrecords.RefreshAdminAclsResponse) Test(org.junit.Test)

Aggregations

RefreshAdminAclsRequest (org.apache.hadoop.yarn.server.api.protocolrecords.RefreshAdminAclsRequest)1 RefreshAdminAclsResponse (org.apache.hadoop.yarn.server.api.protocolrecords.RefreshAdminAclsResponse)1 Test (org.junit.Test)1