Skip to content

Commit

Permalink
YARN-11226. Fix CheckStyle.
Browse files Browse the repository at this point in the history
  • Loading branch information
slfan1989 committed Nov 29, 2022
1 parent c0f381d commit 5011e12
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Expand Up @@ -42,8 +42,6 @@
import org.apache.hadoop.yarn.server.federation.utils.FederationStateStoreFacade;
import org.apache.hadoop.yarn.exceptions.YarnException;
import org.apache.hadoop.yarn.exceptions.YarnRuntimeException;
import org.apache.hadoop.yarn.server.federation.policies.FederationPolicyUtils;
import org.apache.hadoop.yarn.server.federation.store.records.SubClusterInfo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down
Expand Up @@ -1601,7 +1601,7 @@ public Response createNewReservation(HttpServletRequest hsr)
for (int i = 0; i < numSubmitRetries; ++i) {
SubClusterId subClusterId = null;
try {
subClusterId = getRandomActiveSubCluster(subClustersActive, blacklist);
subClusterId = federationFacade.getRandomActiveSubCluster(subClustersActive, blacklist);
SubClusterInfo subClusterInfo = subClustersActive.get(subClusterId);
DefaultRequestInterceptorREST interceptor = getOrCreateInterceptorForSubCluster(
subClusterId, subClusterInfo.getRMWebServiceAddress());
Expand Down

0 comments on commit 5011e12

Please sign in to comment.