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 2018/04/26 18:00:00 UTC
[jira] [Commented] (SPARK-24104) SQLAppStatusListener overwrites
metrics onDriverAccumUpdates instead of updating them
[ https://issues.apache.org/jira/browse/SPARK-24104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16454630#comment-16454630 ]
Apache Spark commented on SPARK-24104:
--------------------------------------
User 'juliuszsompolski' has created a pull request for this issue:
https://github.com/apache/spark/pull/21171
> SQLAppStatusListener overwrites metrics onDriverAccumUpdates instead of updating them
> -------------------------------------------------------------------------------------
>
> Key: SPARK-24104
> URL: https://issues.apache.org/jira/browse/SPARK-24104
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.3.0
> Reporter: Juliusz Sompolski
> Priority: Major
>
> SqlAppStatusListener does
> {code}
> exec.driverAccumUpdates = accumUpdates.toMap
> update(exec)
> {code}
> in onDriverAccumUpdates.
> But postDriverMetricUpdates is called multiple time per query, e.g. from each FileSourceScanExec and BroadcastExchangeExec.
> If the update does not really update it in the KV store (depending on liveUpdatePeriodNs), the previously posted metrics are lost.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org