YARN-11213. DecommissioningNodesWatcher#logDecommissioningNodesStatus calculate app elapsed time error
This commit is contained in:
parent
221eb2d68d
commit
683fb91669
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue