beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-1853) AttributeError: 'AsIter' object has no attribute 'producer' (post commit failure)
Date Fri, 31 Mar 2017 22:51:41 GMT

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

ASF GitHub Bot commented on BEAM-1853:
--------------------------------------

GitHub user robertwb opened a pull request:

    https://github.com/apache/beam/pull/2395

    [BEAM-1853] Fix side inputs on dataflow runner.

    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
    
     - [ ] Make sure the PR title is formatted like:
       `[BEAM-<Jira issue #>] Description of pull request`
     - [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable
           Travis-CI on your fork and ensure the whole test matrix passes).
     - [ ] Replace `<Jira issue #>` in the title with the actual Jira issue
           number, if there is one.
     - [ ] If this contribution is large, please file an Apache
           [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.txt).
    
    ---


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/robertwb/incubator-beam side-inputs

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/beam/pull/2395.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2395
    
----
commit 3aa157a9be4f5bf8e390fcb3acf37d8bdb250954
Author: Robert Bradshaw <robertwb@gmail.com>
Date:   2017-03-31T21:57:44Z

    Fix side inputs on dataflow runner.

----


> AttributeError: 'AsIter' object has no attribute 'producer' (post commit failure)
> ---------------------------------------------------------------------------------
>
>                 Key: BEAM-1853
>                 URL: https://issues.apache.org/jira/browse/BEAM-1853
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py
>            Reporter: Ahmet Altay
>            Assignee: Robert Bradshaw
>
> https://builds.apache.org/job/beam_PostCommit_Python_Verify/1694/console
> One of the failures (there are other related errors):
> ======================================================================
> ERROR: test_iterable_side_input (apache_beam.transforms.sideinputs_test.SideInputsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/transforms/sideinputs_test.py",
line 179, in test_iterable_side_input
>     pipeline.run()
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/test_pipeline.py",
line 91, in run
>     result = super(TestPipeline, self).run()
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py",
line 169, in run
>     return self.runner.run(self)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/dataflow/test_dataflow_runner.py",
line 32, in run
>     self.result = super(TestDataflowRunner, self).run(pipeline)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py",
line 161, in run
>     super(DataflowRunner, self).run(pipeline)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/runner.py",
line 122, in run
>     pipeline.visit(RunVisitor(self))
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py",
line 192, in visit
>     self._root_transform().visit(visitor, self, visited)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py",
line 471, in visit
>     part.visit(visitor, pipeline, visited)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py",
line 474, in visit
>     visitor.visit_transform(self)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/runner.py",
line 117, in visit_transform
>     self.runner.run_transform(transform_node)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/runner.py",
line 192, in run_transform
>     return m(transform_node)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py",
line 378, in run_ParDo
>     si_labels[side_pval] = self._cache.get_pvalue(side_pval).step_name
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/runner.py",
line 266, in get_pvalue
>     self._ensure_pvalue_has_real_producer(pvalue)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/runner.py",
line 239, in _ensure_pvalue_has_real_producer
>     real_producer = pvalue.producer
> AttributeError: 'AsIter' object has no attribute 'producer'



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message