You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/01/27 00:44:24 UTC
[jira] [Commented] (SPARK-19378) StateOperator metrics should still
return the total number of rows in state even if there was no data for a
trigger
[ https://issues.apache.org/jira/browse/SPARK-19378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15840757#comment-15840757 ]
Apache Spark commented on SPARK-19378:
--------------------------------------
User 'brkyvz' has created a pull request for this issue:
https://github.com/apache/spark/pull/16716
> StateOperator metrics should still return the total number of rows in state even if there was no data for a trigger
> -------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-19378
> URL: https://issues.apache.org/jira/browse/SPARK-19378
> Project: Spark
> Issue Type: Bug
> Components: Structured Streaming
> Affects Versions: 2.1.0
> Reporter: Burak Yavuz
> Assignee: Burak Yavuz
>
> If you have a StreamingDataFrame with an aggregation, we report a metric called stateOperators which consists of a list of data points per aggregation for our query (With Spark 2.1, only one aggregation is supported).
> These data points report:
> - numUpdatedStateRows
> - numTotalStateRows
> If a trigger had no data - therefore was not fired - we return 0 data points, however we should actually return a data point with
> - numTotalStateRows: numTotalStateRows in lastExecution
> - numUpdatedStateRows: 0
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org