[
https://issues.apache.org/jira/browse/BEAM-1843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15951804#comment-15951804
]
ASF GitHub Bot commented on BEAM-1843:
--------------------------------------
GitHub user robertwb opened a pull request:
https://github.com/apache/beam/pull/2396
[BEAM-1843] Ensure transforms are picklable before materializing to protos.
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 native-write
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/beam/pull/2396.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 #2396
----
commit c6abd8ea8260ff51614d9b309975975adc4cf32e
Author: Robert Bradshaw <[email protected]>
Date: 2017-03-31T23:30:56Z
Ensure transforms are picklable before materializing to protos.
See BEAM-1843.
----
> 'PDone' object has no attribute 'to_runner_api'
> -----------------------------------------------
>
> Key: BEAM-1843
> URL: https://issues.apache.org/jira/browse/BEAM-1843
> Project: Beam
> Issue Type: Bug
> Components: sdk-py
> Reporter: Ahmet Altay
> Assignee: Robert Bradshaw
>
> Post commit failure with
> (https://builds.apache.org/view/Beam/job/beam_PostCommit_Python_Verify/1676/consoleFull):
> ...
> File
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py",
> line 512, in <dictcomp>
> for tag, out in self.outputs.items()},
> File
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/pipeline_context.py",
> line 52, in get_id
> self._id_to_proto[id] = obj.to_runner_api(self._pipeline_context)
> AttributeError: 'PDone' object has no attribute 'to_runner_api'
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)