Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Done
-
None
-
Instead of launching a separate Python process, it will reuse the Python process of the client side to execute Python UDFs if you are running jobs locally. This makes it easy for Python UDFs debugging.
Description
Currently the Python process for the client and the Python UDF worker runs in different Python processes. It would bring the following benefits if we could support loopback mode to allow Python UDF worker and client reuse the same Python VM:
1) It could greatly reduce the job initialization overhead in mini-cluster mode as there is no need to start the Python process any more.
2) It makes the debug easier.
Attachments
Issue Links
- links to