[
https://issues.apache.org/jira/browse/BEAM-2732?focusedWorklogId=91444&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-91444
]
ASF GitHub Bot logged work on BEAM-2732:
----------------------------------------
Author: ASF GitHub Bot
Created on: 16/Apr/18 19:30
Start Date: 16/Apr/18 19:30
Worklog Time Spent: 10m
Work Description: robertwb commented on a change in pull request #4387:
[BEAM-2732] Metrics rely on statesampler state
URL: https://github.com/apache/beam/pull/4387#discussion_r181858771
##########
File path: sdks/python/apache_beam/runners/direct/direct_runner.py
##########
@@ -338,6 +337,7 @@ def run_pipeline(self, pipeline):
from apache_beam.runners.direct.transform_evaluator import \
TransformEvaluatorRegistry
from apache_beam.testing.test_stream import TestStream
+ from apache_beam.metrics.execution import MetricsEnvironment
Review comment:
Or perhaps don't import metrics.execution when importing the public (write)
Metrics api.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: 91444)
Time Spent: 8h 40m (was: 8.5h)
> State tracking in Python is inefficient and has duplicated code
> ---------------------------------------------------------------
>
> Key: BEAM-2732
> URL: https://issues.apache.org/jira/browse/BEAM-2732
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Reporter: Pablo Estrada
> Assignee: Pablo Estrada
> Priority: Major
> Time Spent: 8h 40m
> Remaining Estimate: 0h
>
> e.g logging and metrics keep state separately. State tracking should be
> unified.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)