You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2019/08/21 04:42:00 UTC
[jira] [Commented] (ARROW-6301) [Python] atexit:
pyarrow.lib.ArrowKeyError: 'No type extension with name
arrow.py_extension_type found'
[ https://issues.apache.org/jira/browse/ARROW-6301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16911943#comment-16911943 ]
Wes McKinney commented on ARROW-6301:
-------------------------------------
It looks like a race condition at teardown, some additional synchronization may be required. Since we aren't seeing this anywhere else it must have something to do with uWSGI's involvement
> [Python] atexit: pyarrow.lib.ArrowKeyError: 'No type extension with name arrow.py_extension_type found'
> -------------------------------------------------------------------------------------------------------
>
> Key: ARROW-6301
> URL: https://issues.apache.org/jira/browse/ARROW-6301
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 0.14.1
> Environment: linux, virtualenv, uwsgi, cpython 2.7
> Reporter: David Alphus
> Priority: Minor
>
> On interrupt, I am frequently seeing the atexit function failing in pyarrow 0.14.1.
> {code:java}
> ^CSIGINT/SIGQUIT received...killing workers...
> killing the spooler with pid 22640
> Error in atexit._run_exitfuncs:
> Traceback (most recent call last):
> File "/home/alpha/.virtualenvs/wsgi/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
> func(*targs, **kargs)
> File "pyarrow/types.pxi", line 1860, in pyarrow.lib._unregister_py_extension_type
> check_status(UnregisterPyExtensionType())
> File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
> raise ArrowKeyError(message)
> ArrowKeyError: 'No type extension with name arrow.py_extension_type found'
> Error in sys.exitfunc:
> Traceback (most recent call last):
> File "/home/alpha/.virtualenvs/wsgi/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
> func(*targs, **kargs)
> File "pyarrow/types.pxi", line 1860, in pyarrow.lib._unregister_py_extension_type
> File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
> pyarrow.lib.ArrowKeyError: 'No type extension with name arrow.py_extension_type found'
> spooler (pid: 22640) annihilated
> worker 1 buried after 1 seconds
> goodbye to uWSGI.{code}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)