Search in sources :

Example 1 with RefreshUserToGroupsMappingsResponse

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

the class TestResourceManagerAdministrationProtocolPBClientImpl method testRefreshUserToGroupsMappings.

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

Aggregations

RefreshUserToGroupsMappingsRequest (org.apache.hadoop.yarn.server.api.protocolrecords.RefreshUserToGroupsMappingsRequest)1 RefreshUserToGroupsMappingsResponse (org.apache.hadoop.yarn.server.api.protocolrecords.RefreshUserToGroupsMappingsResponse)1 Test (org.junit.Test)1