Skip to content
Snippets Groups Projects
user avatar
Davies Liu authored
In case of take() or exception in Python, python worker may exit before JVM read() all the response, then the write thread may raise "Connection reset" exception.

Python should always wait JVM to close the socket first.

cc JoshRosen This is a warm fix, or the tests will be flaky, sorry for that.

Author: Davies Liu <davies@databricks.com>

Closes #2941 from davies/fix_exit and squashes the following commits:

9d4d21e [Davies Liu] fix race
e41786c7
History
Name Last commit Last update
..
docs
lib
pyspark
test_support
.gitignore
run-tests