use of org.apache.hadoop.yarn.server.api.protocolrecords.RefreshClusterMaxPriorityRequest in project hadoop by apache.
the class RMAdminCLI method refreshClusterMaxPriority.
private int refreshClusterMaxPriority() throws IOException, YarnException {
// Refresh cluster max priority
ResourceManagerAdministrationProtocol adminProtocol = createAdminProtocol();
RefreshClusterMaxPriorityRequest request = recordFactory.newRecordInstance(RefreshClusterMaxPriorityRequest.class);
adminProtocol.refreshClusterMaxPriority(request);
return 0;
}
Aggregations