[
https://issues.apache.org/jira/browse/YARN-11213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18036444#comment-18036444
]
ASF GitHub Bot commented on YARN-11213:
---------------------------------------
github-actions[bot] commented on PR #4609:
URL: https://github.com/apache/hadoop/pull/4609#issuecomment-3505462249
We're closing this stale PR because it has been open for 100 days with no
activity. This isn't a judgement on the merit of the PR in any way. It's just a
way of keeping the PR queue manageable.
If you feel like this was a mistake, or you would like to continue working
on it, please feel free to re-open it and ask for a committer to remove the
stale tag and review again.
Thanks all for your contribution.
> DecommissioningNodesWatcher#logDecommissioningNodesStatus calculate app
> elapsed time error
> ------------------------------------------------------------------------------------------
>
> Key: YARN-11213
> URL: https://issues.apache.org/jira/browse/YARN-11213
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: liu bin
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> There is a calculation in
> DecommissioningNodesWatcher#logDecommissioningNodesStatus to calculate app
> elapsed time:
> {code:java}
> (mclock.getTime() - rmApp.getStartTime()) / 1000{code}
> But mclock.getTime() is generated from System.nanoTime() /
> NANOSECONDS_PER_MILLISECOND,
> rmApp.getStartTime() is generated from System.currentTimeMillis(), they
> cannot be compared.
> This calculation should be:
> {code:java}
> (System.currentTimeMillis() - rmApp.getStartTime()) / 1000{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]