YARN-11425. [Hotfix] YARN-11425. Modify Expiration Time Unit error. (#5712)
This commit is contained in:
parent
fd3c3ae068
commit
e6937d7076
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user