Skip to content

Commit 60e7f75

Browse files
author
slfan1989
committed
YARN-11509. Fix CheckStyle.
1 parent c94e669 commit 60e7f75

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/amrmproxy/TestFederationInterceptor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1441,7 +1441,8 @@ public void testLaunchUAMAndRegisterApplicationMasterRetry() throws Exception {
14411441

14421442
ugi.doAs((PrivilegedExceptionAction<Object>) () -> {
14431443
// Register the application
1444-
RegisterApplicationMasterRequest registerReq = Records.newRecord(RegisterApplicationMasterRequest.class);
1444+
RegisterApplicationMasterRequest registerReq =
1445+
Records.newRecord(RegisterApplicationMasterRequest.class);
14451446
registerReq.setHost(Integer.toString(testAppId));
14461447
registerReq.setRpcPort(0);
14471448
registerReq.setTrackingUrl("");

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/amrmproxy/TestableFederationInterceptor.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,13 @@
2020

2121
import java.io.IOException;
2222
import java.security.PrivilegedExceptionAction;
23-
import java.util.List;
24-
import java.util.Map;
2523
import java.util.concurrent.ConcurrentHashMap;
2624
import java.util.concurrent.ExecutorService;
2725
import java.util.concurrent.atomic.AtomicInteger;
2826

2927
import org.apache.hadoop.conf.Configuration;
3028
import org.apache.hadoop.security.UserGroupInformation;
3129
import org.apache.hadoop.security.token.Token;
32-
import org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest;
33-
import org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse;
3430
import org.apache.hadoop.yarn.api.records.ApplicationAttemptId;
3531
import org.apache.hadoop.yarn.api.records.ApplicationId;
3632
import org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext;
@@ -40,7 +36,6 @@
4036
import org.apache.hadoop.yarn.server.AMHeartbeatRequestHandler;
4137
import org.apache.hadoop.yarn.server.AMRMClientRelayer;
4238
import org.apache.hadoop.yarn.server.MockResourceManagerFacade;
43-
import org.apache.hadoop.yarn.server.federation.store.records.SubClusterId;
4439
import org.apache.hadoop.yarn.server.uam.UnmanagedAMPoolManager;
4540
import org.apache.hadoop.yarn.server.uam.UnmanagedApplicationManager;
4641
import org.slf4j.Logger;

0 commit comments

Comments
 (0)