Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Request Response IO for python SDK pickle error #32061

Open
2 of 17 tasks
zaibon opened this issue Aug 2, 2024 · 2 comments
Open
2 of 17 tasks

[Bug]: Request Response IO for python SDK pickle error #32061

zaibon opened this issue Aug 2, 2024 · 2 comments

Comments

@zaibon
Copy link

zaibon commented Aug 2, 2024

What happened?

I'm trying to use the RequestResponseIO with the python SDK.
I've made my test by re-implementing the test from https://github.com/apache/beam/blob/master/sdks/python/apache_beam/io/requestresponse_it_test.py

You can find test test code and error logs at https://gist.github.com/zaibon/a5d6df6d8192a3ba6e72496e8d2531f4

Running the code raises a pickle error due to the usage of _abc._abc_data that comes from the Caller class itself:

Issue Priority

Priority: 2 (default / most bugs should be filed as P2)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Infrastructure
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner
@zgseed
Copy link

zgseed commented Feb 18, 2025

Same issue here. Any update for this bug?

@liferoad
Copy link
Contributor

Can you try --pickle_library=cloudpickle?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants