|
141 | 141 | import org.apache.hadoop.yarn.exceptions.YarnException; |
142 | 142 | import org.apache.hadoop.yarn.security.AMRMTokenIdentifier; |
143 | 143 | import org.apache.hadoop.yarn.server.api.ResourceManagerAdministrationProtocol; |
144 | | -import org.apache.hadoop.yarn.server.api.protocolrecords.*; |
| 144 | +import org.apache.hadoop.yarn.server.api.protocolrecords.AddToClusterNodeLabelsRequest; |
| 145 | +import org.apache.hadoop.yarn.server.api.protocolrecords.AddToClusterNodeLabelsResponse; |
| 146 | +import org.apache.hadoop.yarn.server.api.protocolrecords.CheckForDecommissioningNodesRequest; |
| 147 | +import org.apache.hadoop.yarn.server.api.protocolrecords.CheckForDecommissioningNodesResponse; |
| 148 | +import org.apache.hadoop.yarn.server.api.protocolrecords.RefreshAdminAclsRequest; |
| 149 | +import org.apache.hadoop.yarn.server.api.protocolrecords.RefreshAdminAclsResponse; |
| 150 | +import org.apache.hadoop.yarn.server.api.protocolrecords.RefreshClusterMaxPriorityRequest; |
| 151 | +import org.apache.hadoop.yarn.server.api.protocolrecords.RefreshClusterMaxPriorityResponse; |
| 152 | +import org.apache.hadoop.yarn.server.api.protocolrecords.RefreshNodesRequest; |
| 153 | +import org.apache.hadoop.yarn.server.api.protocolrecords.RefreshNodesResourcesRequest; |
| 154 | +import org.apache.hadoop.yarn.server.api.protocolrecords.RefreshNodesResourcesResponse; |
| 155 | +import org.apache.hadoop.yarn.server.api.protocolrecords.RefreshNodesResponse; |
| 156 | +import org.apache.hadoop.yarn.server.api.protocolrecords.RefreshQueuesRequest; |
| 157 | +import org.apache.hadoop.yarn.server.api.protocolrecords.RefreshQueuesResponse; |
| 158 | +import org.apache.hadoop.yarn.server.api.protocolrecords.RefreshServiceAclsRequest; |
| 159 | +import org.apache.hadoop.yarn.server.api.protocolrecords.RefreshServiceAclsResponse; |
| 160 | +import org.apache.hadoop.yarn.server.api.protocolrecords.RefreshSuperUserGroupsConfigurationRequest; |
| 161 | +import org.apache.hadoop.yarn.server.api.protocolrecords.RefreshSuperUserGroupsConfigurationResponse; |
| 162 | +import org.apache.hadoop.yarn.server.api.protocolrecords.RefreshUserToGroupsMappingsRequest; |
| 163 | +import org.apache.hadoop.yarn.server.api.protocolrecords.RefreshUserToGroupsMappingsResponse; |
| 164 | +import org.apache.hadoop.yarn.server.api.protocolrecords.RemoveFromClusterNodeLabelsRequest; |
| 165 | +import org.apache.hadoop.yarn.server.api.protocolrecords.RemoveFromClusterNodeLabelsResponse; |
| 166 | +import org.apache.hadoop.yarn.server.api.protocolrecords.ReplaceLabelsOnNodeRequest; |
| 167 | +import org.apache.hadoop.yarn.server.api.protocolrecords.ReplaceLabelsOnNodeResponse; |
| 168 | +import org.apache.hadoop.yarn.server.api.protocolrecords.UpdateNodeResourceRequest; |
| 169 | +import org.apache.hadoop.yarn.server.api.protocolrecords.UpdateNodeResourceResponse; |
145 | 170 | import org.apache.hadoop.yarn.util.Records; |
146 | 171 | import org.junit.Assert; |
147 | 172 | import org.slf4j.Logger; |
148 | 173 | import org.slf4j.LoggerFactory; |
| 174 | +import org.apache.hadoop.yarn.server.api.protocolrecords.NodesToAttributesMappingRequest; |
| 175 | +import org.apache.hadoop.yarn.server.api.protocolrecords.NodesToAttributesMappingResponse; |
| 176 | +import org.apache.hadoop.yarn.server.api.protocolrecords.DeregisterSubClusterRequest; |
| 177 | +import org.apache.hadoop.yarn.server.api.protocolrecords.DeregisterSubClusterResponse; |
| 178 | +import org.apache.hadoop.yarn.server.api.protocolrecords.SaveFederationQueuePolicyRequest; |
| 179 | +import org.apache.hadoop.yarn.server.api.protocolrecords.SaveFederationQueuePolicyResponse; |
| 180 | +import org.apache.hadoop.yarn.server.api.protocolrecords.BatchSaveFederationQueuePoliciesRequest; |
| 181 | +import org.apache.hadoop.yarn.server.api.protocolrecords.BatchSaveFederationQueuePoliciesResponse; |
| 182 | +import org.apache.hadoop.yarn.server.api.protocolrecords.QueryFederationQueuePoliciesRequest; |
| 183 | +import org.apache.hadoop.yarn.server.api.protocolrecords.QueryFederationQueuePoliciesResponse; |
| 184 | +import org.apache.hadoop.yarn.server.api.protocolrecords.DeleteFederationApplicationRequest; |
| 185 | +import org.apache.hadoop.yarn.server.api.protocolrecords.DeleteFederationApplicationResponse; |
149 | 186 | import org.apache.hadoop.thirdparty.com.google.common.base.Strings; |
150 | 187 |
|
151 | 188 | /** |
|
0 commit comments