[
https://issues.apache.org/jira/browse/TEZ-4026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17030091#comment-17030091
]
Jonathan Turner Eagles commented on TEZ-4026:
---------------------------------------------
[~abstractdog], can you review this simple patch. Essentially, if fetch time is
zero milliseconds we show download rate as 0.0 MB/s. This patch assumes each
fetch takes at least 1 millisecond, which will show slightly slower download
rates than actual, but is a more accurate than 0.0MB/s.
> Fetch Download rate shows 0.0 MB per second if duration is 0 millis
> -------------------------------------------------------------------
>
> Key: TEZ-4026
> URL: https://issues.apache.org/jira/browse/TEZ-4026
> Project: Apache Tez
> Issue Type: Bug
> Reporter: Jonathan Turner Eagles
> Assignee: Jonathan Turner Eagles
> Priority: Major
> Attachments: TEZ-4026.001.patch
>
>
> I think it will be more accurate to assume 1 millisecond so that the download
> rate is more accurate. The other way is to use a more accurate timer, but I
> think that is out of scope for this jira.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)