Todd Lipcon has submitted this change and it was merged.
Change subject: python: add workaround for multiprocessing atexit hook on py2.6
......................................................................
python: add workaround for multiprocessing atexit hook on py2.6
23cbc63387c066eff513a5a7c3a66a01ff491e79 had removed the dependency on
multiprocessing. However, this exposed a python 2.6 bug[1] which caused the
following output at the end of any test run:
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib64/python2.6/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/usr/lib64/python2.6/multiprocessing/util.py", line 258, in
_exit_function
info('process shutting down')
TypeError: 'NoneType' object is not callable
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/lib64/python2.6/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/usr/lib64/python2.6/multiprocessing/util.py", line 258, in
_exit_function
info('process shutting down')
TypeError: 'NoneType' object is not callable
This patch adds a workaround for the issue as suggested in the bug report.
[1] http://bugs.python.org/issue15881
Change-Id: I72dd0b8cb91ef6e4099b57792d95cfddec31eae1
Reviewed-on: http://gerrit.cloudera.org:8080/5410
Tested-by: Kudu Jenkins
Reviewed-by: Jordan Birdsell <[email protected]>
---
M python/setup.py
1 file changed, 5 insertions(+), 0 deletions(-)
Approvals:
Jordan Birdsell: Looks good to me, approved
Kudu Jenkins: Verified
--
To view, visit http://gerrit.cloudera.org:8080/5410
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I72dd0b8cb91ef6e4099b57792d95cfddec31eae1
Gerrit-PatchSet: 3
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Jordan Birdsell <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <[email protected]>