[
https://issues.apache.org/jira/browse/BEAM-9065?focusedWorklogId=377779&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-377779
]
ASF GitHub Bot logged work on BEAM-9065:
----------------------------------------
Author: ASF GitHub Bot
Created on: 27/Jan/20 18:26
Start Date: 27/Jan/20 18:26
Worklog Time Spent: 10m
Work Description: boyuanzz commented on issue #10670:
[release-2.19.0][BEAM-9065] Reset MetricsContainerStepMapAccumulator upon
initialization of MetricsAccumulator singleton because metrics need to be reset
when several pipelines are run inside the same JVM
URL: https://github.com/apache/beam/pull/10670#issuecomment-578885503
> Anything missing to get this one merged @boyuanzz ?
I thought it will go with 2.20.0 release:
https://issues.apache.org/jira/browse/BEAM-9065?focusedCommentId=17020486&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17020486.
I'll merge it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 377779)
Time Spent: 2h 20m (was: 2h 10m)
> Spark runner accumulates metrics (incorrectly) between runs
> -----------------------------------------------------------
>
> Key: BEAM-9065
> URL: https://issues.apache.org/jira/browse/BEAM-9065
> Project: Beam
> Issue Type: Bug
> Components: runner-spark
> Reporter: Etienne Chauchot
> Assignee: Etienne Chauchot
> Priority: Major
> Fix For: 2.19.0
>
> Time Spent: 2h 20m
> Remaining Estimate: 0h
>
> When pipeline.run() is called, MetricsAccumulator (wrapper of
> MetricsContainerStepMap spark accumulator) is initialized. Spark needs this
> class to be a singleton for failover. The problem is that when several
> pipelines are run inside the same JVM, the initialization ofÂ
> MetricsAccumulator singleton does not reset the underlying spark accumulatorÂ
> causing metrics to be accumulated between runs.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)