YARN-11425. [Hotfix] YARN-11425. Modify Expiration Time Unit error. (#5712)

This commit is contained in:
slfan1989 2023-06-06 06:51:39 +08:00 committed by GitHub
parent fd3c3ae068
commit e6937d7076
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ public SubClusterCleaner(Configuration conf) {
federationFacade = FederationStateStoreFacade.getInstance();
this.heartbeatExpirationMillis =
conf.getTimeDuration(YarnConfiguration.ROUTER_SUBCLUSTER_EXPIRATION_TIME,
YarnConfiguration.DEFAULT_ROUTER_SUBCLUSTER_EXPIRATION_TIME, TimeUnit.MINUTES);
YarnConfiguration.DEFAULT_ROUTER_SUBCLUSTER_EXPIRATION_TIME, TimeUnit.MILLISECONDS);
}
@Override