You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean R. Owen (Jira)" <ji...@apache.org> on 2019/11/24 14:09:00 UTC
[jira] [Resolved] (SPARK-29973) Use nano time to calculate
'processedRowsPerSecond' to avoid 'NaN'/'Infinity'
[ https://issues.apache.org/jira/browse/SPARK-29973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean R. Owen resolved SPARK-29973.
----------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
Issue resolved by pull request 26610
[https://github.com/apache/spark/pull/26610]
> Use nano time to calculate 'processedRowsPerSecond' to avoid 'NaN'/'Infinity'
> -----------------------------------------------------------------------------
>
> Key: SPARK-29973
> URL: https://issues.apache.org/jira/browse/SPARK-29973
> Project: Spark
> Issue Type: Bug
> Components: Structured Streaming
> Affects Versions: 3.0.0
> Reporter: Genmao Yu
> Assignee: Genmao Yu
> Priority: Minor
> Fix For: 3.0.0
>
>
> The {{"processingTimeSec"}} of batch may be less than 1 millis. As {{"processingTimeSec"}} is calculated in millis, so {{"processingTimeSec"}} equals 0L. If there is no data in this batch, the {{"processedRowsPerSecond"}} equals {{"0/0.0d"}}, i.e. {{"Double.NaN"}}. If there are some data in this batch, the {{"processedRowsPerSecond"}} equals {{"N/0.0d"}}, i.e. {{"Double.Infinity"}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org