Skip to content

Commit 6e9b8e1

Browse files
committed
YARN-11483. Fix CheckStyle.
1 parent 4721e3f commit 6e9b8e1

File tree

1 file changed

+38
-1
lines changed
  • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/test/java/org/apache/hadoop/yarn/server

1 file changed

+38
-1
lines changed

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/test/java/org/apache/hadoop/yarn/server/MockResourceManagerFacade.java

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,48 @@
141141
import org.apache.hadoop.yarn.exceptions.YarnException;
142142
import org.apache.hadoop.yarn.security.AMRMTokenIdentifier;
143143
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;
145170
import org.apache.hadoop.yarn.util.Records;
146171
import org.junit.Assert;
147172
import org.slf4j.Logger;
148173
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;
149186
import org.apache.hadoop.thirdparty.com.google.common.base.Strings;
150187

151188
/**

0 commit comments

Comments
 (0)