You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2023/01/05 21:09:38 UTC

[GitHub] [beam] lydian opened a new issue, #24906: [Bug]: dill is not working well with python3.8

lydian opened a new issue, #24906:
URL: https://github.com/apache/beam/issues/24906

   ### What happened?
   
   I am running a simple beam pipeline on a local flink cluster, however, I am seeing this if I tried to 
   ```
   ReadFromKafka()
   ```
   with multiple topics, and then it will shows this error.  but if I only do with single topic, then things is fine.  Looking up on google, it seems like could be related to an issue with dill package, where they fixed the issue in a later version (3.3.0). https://github.com/uqfoundation/dill/issues/318
   
   However, currently beam is having a very narrow version requirement and thus I'm unable to bump dill package. Any idea how I can work around this issue ?  Thanks! 
   ```
   taskmanager_1            | Traceback (most recent call last):
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 287, in _execute
   taskmanager_1            |     response = task()
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 360, in <lambda>
   taskmanager_1            |     lambda: self.create_worker().do_instruction(request), request)
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 596, in do_instruction
   taskmanager_1            |     return getattr(self, request_type)(
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 627, in process_bundle
   taskmanager_1            |     bundle_processor = self.bundle_processor_cache.get(
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 459, in get
   taskmanager_1            |     processor = bundle_processor.BundleProcessor(
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 871, in __init__
   taskmanager_1            |     self.ops = self.create_execution_tree(self.process_bundle_descriptor)
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 924, in create_execution_tree
   taskmanager_1            |     return collections.OrderedDict([(
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 927, in <listcomp>
   taskmanager_1            |     get_operation(transform_id))) for transform_id in sorted(
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 814, in wrapper
   taskmanager_1            |     result = cache[args] = func(*args)
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 906, in get_operation
   taskmanager_1            |     transform_consumers = {
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 907, in <dictcomp>
   taskmanager_1            |     tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 907, in <listcomp>
   taskmanager_1            |     tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 814, in wrapper
   taskmanager_1            |     result = cache[args] = func(*args)
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 906, in get_operation
   taskmanager_1            |     transform_consumers = {
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 907, in <dictcomp>
   taskmanager_1            |     tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 907, in <listcomp>
   taskmanager_1            |     tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 814, in wrapper
   taskmanager_1            |     result = cache[args] = func(*args)
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 911, in get_operation
   taskmanager_1            |     return transform_factory.create_operation(
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 1206, in create_operation
   taskmanager_1            |     return creator(self, transform_id, transform_proto, payload, consumers)
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 1553, in create_par_do
   taskmanager_1            |     return _create_pardo_operation(
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 1596, in _create_pardo_operation
   taskmanager_1            |     dofn_data = pickler.loads(serialized_fn)
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/internal/pickler.py", line 51, in loads
   taskmanager_1            |     return desired_pickle_lib.loads(
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/apache_beam/internal/dill_pickler.py", line 289, in loads
   taskmanager_1            |     return dill.loads(s)
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/dill/_dill.py", line 275, in loads
   taskmanager_1            |     return load(file, ignore, **kwds)
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/dill/_dill.py", line 270, in load
   taskmanager_1            |     return Unpickler(file, ignore=ignore, **kwds).load()
   taskmanager_1            |   File "/usr/local/lib/python3.8/site-packages/dill/_dill.py", line 472, in load
   taskmanager_1            |     obj = StockUnpickler.load(self)
   taskmanager_1            | TypeError: an integer is required (got type bytes)
   ```
   
   ### Issue Priority
   
   Priority: 3 (minor)
   
   ### Issue Components
   
   - [X] Component: Python SDK
   - [ ] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [ ] Component: IO connector
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Spark Runner
   - [X] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] tvalentyn commented on issue #24906: [Bug]: dill is not working well with python3.8

Posted by GitBox <gi...@apache.org>.
tvalentyn commented on issue #24906:
URL: https://github.com/apache/beam/issues/24906#issuecomment-1377424739

   > Are you using custom containers? If yes, make sure local and custom container have same python version
   
   Also dill versions must match.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] AnandInguva commented on issue #24906: [Bug]: dill is not working well with python3.8

Posted by GitBox <gi...@apache.org>.
AnandInguva commented on issue #24906:
URL: https://github.com/apache/beam/issues/24906#issuecomment-1375688000

   Are you using custom containers? If yes, make sure local and custom container have same python version
   
   I have seen similar error when my local python version and then custom container python version were different. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] JkRuizGlob commented on issue #24906: [Bug]: dill is not working well with python3.8

Posted by "JkRuizGlob (via GitHub)" <gi...@apache.org>.
JkRuizGlob commented on issue #24906:
URL: https://github.com/apache/beam/issues/24906#issuecomment-1406921997

   I'm having basically the same issue also using Python 3.8 and Apache Beam 2.44.0, but in my case, I'm using Dataflow for running the beam pipeline. Also, I got to the same place than @lydian about the solution being to upgrade dill to 0.3.3 (https://github.com/uqfoundation/dill/issues/318) but it cannot be manually set since `apache-beam 2.44.0 requires dill<0.3.2,>=0.3.1.1, but you have dill 0.3.3 which is incompatible`
   Previously I was using Python 3.7 with Apache Beam 2.36.0 and it was working fine but I need to upgrade the Python version so I went ahead and also updated the Apache Beam version to the latest one.
   I saw that you guys already had updated the dill version on the PR https://github.com/apache/beam/pull/17669 but then it was rolled back with this other one https://github.com/apache/beam/pull/21898 because there were some tests failing. Is there any ETA on when that dill version will be upgraded back again?
   I cannot downgrade the Python version to make it work, is there any other workaround for avoiding this error?
   ```
   Error message from worker: Traceback (most recent call last):
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/internal/dill_pickler.py", line 285, in loads
       return dill.loads(s)
     File "/usr/local/lib/python3.8/site-packages/dill/_dill.py", line 275, in loads
       return load(file, ignore, **kwds)
     File "/usr/local/lib/python3.8/site-packages/dill/_dill.py", line 270, in load
       return Unpickler(file, ignore=ignore, **kwds).load()
     File "/usr/local/lib/python3.8/site-packages/dill/_dill.py", line 472, in load
       obj = StockUnpickler.load(self)
   TypeError: an integer is required (got type bytes)
   During handling of the above exception, another exception occurred:
   Traceback (most recent call last):
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 287, in _execute
       response = task()
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 360, in <lambda>
       lambda: self.create_worker().do_instruction(request), request)
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 596, in do_instruction
       return getattr(self, request_type)(
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 627, in process_bundle
       bundle_processor = self.bundle_processor_cache.get(
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 459, in get
       processor = bundle_processor.BundleProcessor(
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 871, in __init__
       self.ops = self.create_execution_tree(self.process_bundle_descriptor)
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 924, in create_execution_tree
       return collections.OrderedDict([(
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 927, in <listcomp>
       get_operation(transform_id))) for transform_id in sorted(
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 814, in wrapper
       result = cache[args] = func(*args)
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 906, in get_operation
       transform_consumers = {
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 907, in <dictcomp>
       tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 907, in <listcomp>
       tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 814, in wrapper
       result = cache[args] = func(*args)
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 906, in get_operation
       transform_consumers = {
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 907, in <dictcomp>
       tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 907, in <listcomp>
       tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 814, in wrapper
       result = cache[args] = func(*args)
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 906, in get_operation
       transform_consumers = {
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 907, in <dictcomp>
       tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 907, in <listcomp>
       tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 814, in wrapper
       result = cache[args] = func(*args)
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 911, in get_operation
       return transform_factory.create_operation(
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 1206, in create_operation
       return creator(self, transform_id, transform_proto, payload, consumers)
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 1463, in create_split_and_size_restrictions
       return _create_sdf_operation(SplitAndSizeRestrictions, *args)
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 1525, in _create_sdf_operation
       dofn_data = pickler.loads(parameter.do_fn.payload)
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/internal/pickler.py", line 51, in loads
       return desired_pickle_lib.loads(
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/internal/dill_pickler.py", line 289, in loads
       return dill.loads(s)
     File "/usr/local/lib/python3.8/site-packages/dill/_dill.py", line 275, in loads
       return load(file, ignore, **kwds)
     File "/usr/local/lib/python3.8/site-packages/dill/_dill.py", line 270, in load
       return Unpickler(file, ignore=ignore, **kwds).load()
     File "/usr/local/lib/python3.8/site-packages/dill/_dill.py", line 472, in load
       obj = StockUnpickler.load(self)
   TypeError: an integer is required (got type bytes)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] tvalentyn commented on issue #24906: [Bug]: dill is not working well with python3.8

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on issue #24906:
URL: https://github.com/apache/beam/issues/24906#issuecomment-1494866109

   Have y'all tried using Beam with CloudPickle pickler? See: https://github.com/apache/beam/blob/30178227c630bc502caa0833534b987a6c5b3677/sdks/python/apache_beam/options/pipeline_options.py#L1247


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] JkRuizGlob commented on issue #24906: [Bug]: dill is not working well with python3.8

Posted by "JkRuizGlob (via GitHub)" <gi...@apache.org>.
JkRuizGlob commented on issue #24906:
URL: https://github.com/apache/beam/issues/24906#issuecomment-1406918263

   I'm having basically the same issue also using Python 3.8 and Apache Beam 2.44.0, but in my case, I'm using Dataflow for running the beam pipeline. Also, I got to the same place than @lydian about the solution being to upgrade dill to 0.3.3 (https://github.com/uqfoundation/dill/issues/318) but it cannot be manually set since `apache-beam 2.44.0 requires dill<0.3.2,>=0.3.1.1, but you have dill 0.3.3 which is incompatible`
   
   Previously I was using Python 3.7 with Apache Beam 2.36.0 and it was working fine but I need to upgrade the Python version so I went ahead and also updated the Apache Beam version to the latest one.
   
   I saw that you guys already had updated the dill version on the PR https://github.com/apache/beam/pull/17669 but then it was rolled back with this other one https://github.com/apache/beam/pull/21898 because there were some tests failing. Is there any ETA on when that dill version will be upgraded back again?
   
   I cannot downgrade the Python version to make it work, is there any other workaround for avoiding this error?
   ```
   Error message from worker: Traceback (most recent call last):
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/internal/dill_pickler.py", line 285, in loads
       return dill.loads(s)
     File "/usr/local/lib/python3.8/site-packages/dill/_dill.py", line 275, in loads
       return load(file, ignore, **kwds)
     File "/usr/local/lib/python3.8/site-packages/dill/_dill.py", line 270, in load
       return Unpickler(file, ignore=ignore, **kwds).load()
     File "/usr/local/lib/python3.8/site-packages/dill/_dill.py", line 472, in load
       obj = StockUnpickler.load(self)
   TypeError: an integer is required (got type bytes)
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 287, in _execute
       response = task()
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 360, in <lambda>
       lambda: self.create_worker().do_instruction(request), request)
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 596, in do_instruction
       return getattr(self, request_type)(
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 627, in process_bundle
       bundle_processor = self.bundle_processor_cache.get(
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 459, in get
       processor = bundle_processor.BundleProcessor(
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 871, in __init__
       self.ops = self.create_execution_tree(self.process_bundle_descriptor)
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 924, in create_execution_tree
       return collections.OrderedDict([(
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 927, in <listcomp>
       get_operation(transform_id))) for transform_id in sorted(
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 814, in wrapper
       result = cache[args] = func(*args)
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 906, in get_operation
       transform_consumers = {
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 907, in <dictcomp>
       tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 907, in <listcomp>
       tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 814, in wrapper
       result = cache[args] = func(*args)
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 906, in get_operation
       transform_consumers = {
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 907, in <dictcomp>
       tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 907, in <listcomp>
       tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 814, in wrapper
       result = cache[args] = func(*args)
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 906, in get_operation
       transform_consumers = {
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 907, in <dictcomp>
       tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 907, in <listcomp>
       tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 814, in wrapper
       result = cache[args] = func(*args)
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 911, in get_operation
       return transform_factory.create_operation(
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 1206, in create_operation
       return creator(self, transform_id, transform_proto, payload, consumers)
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 1463, in create_split_and_size_restrictions
       return _create_sdf_operation(SplitAndSizeRestrictions, *args)
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/runners/worker/bundle_processor.py", line 1525, in _create_sdf_operation
       dofn_data = pickler.loads(parameter.do_fn.payload)
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/internal/pickler.py", line 51, in loads
       return desired_pickle_lib.loads(
     File "/opt/apache/beam-venv/beam-venv-worker-sdk-0-0/lib/python3.8/site-packages/apache_beam/internal/dill_pickler.py", line 289, in loads
       return dill.loads(s)
     File "/usr/local/lib/python3.8/site-packages/dill/_dill.py", line 275, in loads
       return load(file, ignore, **kwds)
     File "/usr/local/lib/python3.8/site-packages/dill/_dill.py", line 270, in load
       return Unpickler(file, ignore=ignore, **kwds).load()
     File "/usr/local/lib/python3.8/site-packages/dill/_dill.py", line 472, in load
       obj = StockUnpickler.load(self)
   TypeError: an integer is required (got type bytes)
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org