[
https://issues.apache.org/jira/browse/SPARK-3842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14323512#comment-14323512
]
Josh Rosen commented on SPARK-3842:
-----------------------------------
It looks like this issue is still relevant as of Feb. 2015 and still blocked on
upstream Py4J changes. Low-priority, though, but just thought I'd document
that it's still relevant.
> Remove the hacks for Python callback server in py4j
> ----------------------------------------------------
>
> Key: SPARK-3842
> URL: https://issues.apache.org/jira/browse/SPARK-3842
> Project: Spark
> Issue Type: Improvement
> Components: PySpark, Streaming
> Reporter: Davies Liu
> Assignee: Davies Liu
> Priority: Minor
>
> There are three hacks while create Python API for Streaming
> (https://github.com/apache/spark/pull/2538) :
> 1. daemonize the callback server thread, by 'thread.daemon = True' before
> start it https://github.com/bartdag/py4j/issues/147
> 2. let callback server bind to random port, then update the Java callback
> client with real port. https://github.com/bartdag/py4j/issues/148
> 3. start the callback server later. https://github.com/bartdag/py4j/issues/149
> These hacks should be removed after py4j has fix these issues.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]