Skip to content

Commit 41b7d8a

Browse files
author
slfan1989
committed
YARN-11180. Fix CheckStyle.
1 parent fe41b76 commit 41b7d8a

File tree

1 file changed

+0
-2
lines changed
  • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/clientrm

1 file changed

+0
-2
lines changed

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/clientrm/FederationClientInterceptor.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
import java.util.concurrent.BlockingQueue;
3333
import java.util.concurrent.Callable;
3434
import java.util.concurrent.ConcurrentHashMap;
35-
import java.util.Set;
3635

3736
import java.util.concurrent.ExecutionException;
3837
import java.util.concurrent.Future;
@@ -692,7 +691,6 @@ public GetClusterMetricsResponse getClusterMetrics(
692691
RouterServerUtil.logAndThrowException("Missing getClusterMetrics request.", null);
693692
}
694693
long startTime = clock.getTime();
695-
Map<SubClusterId, SubClusterInfo> subClusters = federationFacade.getSubClusters(true);
696694
ClientMethod remoteMethod = new ClientMethod("getClusterMetrics",
697695
new Class[] {GetClusterMetricsRequest.class}, new Object[] {request});
698696
Collection<GetClusterMetricsResponse> clusterMetrics = null;

0 commit comments

Comments
 (0)