Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-12764

Can't get attribute 'new_block' on <module 'pandas.core.internals.blocks'

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 2.33.0
    • Missing
    • sdk-py-core, test-failures
    • None

    Description

      I believe https://github.com/apache/beam/pull/15165 broke the PostCommit

      https://ci-beam.apache.org/job/beam_PostCommit_Python38/1564/testReport/junit/apache_beam.examples.dataframe.flight_delays_it_test/FlightDelaysTest/test_flight_delays/
      https://ci-beam.apache.org/job/beam_PostCommit_Python38/1564/testReport/junit/apache_beam.examples.dataframe.taxiride_it_test/TaxirideIT/test_enrich/
      https://ci-beam.apache.org/job/beam_PostCommit_Python38/1564/testReport/junit/apache_beam.examples.dataframe.taxiride_it_test/TaxirideIT/test_aggregation/

      Failure from tests looks like:

      apache_beam.runners.dataflow.dataflow_runner.DataflowRuntimeException: Dataflow pipeline failed. State: FAILED, Error: Traceback (most recent call last):   File "/usr/local/lib/python3.8/site-packages/apache_beam/internal/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)   File "/usr/local/lib/python3.8/site-packages/dill/_dill.py", line 462, in find_class     return StockUnpickler.find_class(self, module, name) AttributeError: Can't get attribute 'new_block' on <module 'pandas.core.internals.blocks' from '/usr/local/lib/python3.8/site-packages/pandas/core/internals/blocks.py'>  During handling of the above exception, another exception occurred:  Traceback (most recent call last):   File "/usr/local/lib/python3.8/site-packages/dataflow_worker/batchworker.py", line 651, in do_work     work_executor.execute()   File "/usr/local/lib/python3.8/site-packages/dataflow_worker/executor.py", line 179, in execute     op.start()   File "apache_beam/runners/worker/operations.py", line 704, in apache_beam.runners.worker.operations.DoOperation.start   File "apache_beam/runners/worker/operations.py", line 706, in apache_beam.runners.worker.operations.DoOperation.start   File "apache_beam/runners/worker/operations.py", line 707, in apache_beam.runners.worker.operations.DoOperation.start   File "apache_beam/runners/worker/operations.py", line 305, in apache_beam.runners.worker.operations.Operation.start   File "apache_beam/runners/worker/operations.py", line 311, in apache_beam.runners.worker.operations.Operation.start   File "apache_beam/runners/worker/operations.py", line 653, in apache_beam.runners.worker.operations.DoOperation.setup   File "apache_beam/runners/worker/operations.py", line 654, in apache_beam.runners.worker.operations.DoOperation.setup   File "apache_beam/runners/worker/operations.py", line 286, in apache_beam.runners.worker.operations.Operation.setup   File "apache_beam/runners/worker/operations.py", line 300, in apache_beam.runners.worker.operations.Operation.setup   File "apache_beam/runners/worker/operations.py", line 793, in apache_beam.runners.worker.operations.DoOperation._get_runtime_performance_hints   File "/usr/local/lib/python3.8/site-packages/apache_beam/internal/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)   File "/usr/local/lib/python3.8/site-packages/dill/_dill.py", line 462, in find_class     return StockUnpickler.find_class(self, module, name) AttributeError: Can't get attribute 'new_block' on <module 'pandas.core.internals.blocks' from '/usr/local/lib/python3.8/site-packages/pandas/core/internals/blocks.py'>
      

      Attachments

        Activity

          People

            rohdesam Sam Rohde
            lcwik Luke Cwik
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 40m
                2h 40m