[
https://issues.apache.org/jira/browse/BEAM-9065?focusedWorklogId=376305&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-376305
]
ASF GitHub Bot logged work on BEAM-9065:
----------------------------------------
Author: ASF GitHub Bot
Created on: 23/Jan/20 15:42
Start Date: 23/Jan/20 15:42
Worklog Time Spent: 10m
Work Description: iemejia 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-577737871
Run Java Spark PortableValidatesRunner Batch
----------------------------------------------------------------
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: 376305)
Time Spent: 2h (was: 1h 50m)
> 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
> 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)