You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Pablo Estrada (JIRA)" <ji...@apache.org> on 2017/04/25 16:23:04 UTC

[jira] [Commented] (BEAM-2071) AttributeError in dataflow_metrics

    [ https://issues.apache.org/jira/browse/BEAM-2071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15983151#comment-15983151 ] 

Pablo Estrada commented on BEAM-2071:
-------------------------------------

This is because distributions have started making it to the dataflow api. I'll have a temporary fix out in a minute (I'm ooo today)

> 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
>
> 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)