You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Luke Cwik (JIRA)" <ji...@apache.org> on 2017/04/27 17:34:04 UTC
[jira] [Closed] (BEAM-2071) AttributeError in dataflow_metrics
[ https://issues.apache.org/jira/browse/BEAM-2071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luke Cwik closed BEAM-2071.
---------------------------
Resolution: Fixed
Fix Version/s: First stable release
> AttributeError in dataflow_metrics
> ----------------------------------
>
> Key: BEAM-2071
> URL: https://issues.apache.org/jira/browse/BEAM-2071
> Project: Beam
> Issue Type: Bug
> Components: sdk-py
> Reporter: Ahmet Altay
> Assignee: Pablo Estrada
> Fix For: First stable release
>
>
> https://builds.apache.org/view/Beam/job/beam_PostCommit_Python_Verify/1977/consoleFull
> (dataflow job: https://pantheon.corp.google.com/dataflow/job/2017-04-24_22_35_11-7339696457089964477?project=apache-beam-testing)
> Traceback (most recent call last):
> File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/examples/wordcount_it_test.py", line 61, in test_wordcount_it
> wordcount.run(test_pipeline.get_full_options_as_args(**extra_opts))
> File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/examples/wordcount.py", line 116, in run
> query_result = result.metrics().query(empty_lines_filter)
> File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/dataflow/dataflow_metrics.py", line 152, in query
> counters = self._populate_metric_results(response)
> File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/dataflow/dataflow_metrics.py", line 124, in _populate_metric_results
> attempted = metric['tentative'].scalar.integer_value
> AttributeError: 'NoneType' object has no attribute 'integer_value'
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)