YARN-11213. DecommissioningNodesWatcher#logDecommissioningNodesStatus calculate app elapsed time error

This commit is contained in:
liubin04 2022-07-22 17:14:17 +08:00
parent 221eb2d68d
commit 683fb91669
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ public class DecommissioningNodesWatcher {
(rmApp.getApplicationType() == null)?
"" : rmApp.getApplicationType(),
100.0 * rmApp.getProgress(),
(mclock.getTime() - rmApp.getStartTime()) / 1000));
(System.currentTimeMillis() - rmApp.getStartTime()) / 1000));
}
}
LOG.debug("Decommissioning node: " + sb.toString());