[ 
https://issues.apache.org/jira/browse/BEAM-12764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brian Hulette updated BEAM-12764:
---------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Open)

> Can't get attribute 'new_block' on <module 'pandas.core.internals.blocks'
> -------------------------------------------------------------------------
>
>                 Key: BEAM-12764
>                 URL: https://issues.apache.org/jira/browse/BEAM-12764
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core, test-failures
>    Affects Versions: 2.33.0
>            Reporter: Luke Cwik
>            Assignee: Sam Rohde
>            Priority: P2
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> 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:
> {noformat}
> 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'>
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to