GitHub user felixalbani reopened a pull request: https://github.com/apache/spark/pull/20867
Spark 23759 ## What changes were proposed in this pull request? This pull is to fix SPARK-23759 issue Problem was created due connector.setHost(hostName) call was after connector.start() ## How was this patch tested? Patch was tested after build and deployment. This patch requires SPARK_LOCAL_IP environment variable to be set on spark-env.sh Please review http://spark.apache.org/contributing.html before opening a pull request. You can merge this pull request into a Git repository by running: $ git pull https://github.com/felixalbani/spark SPARK-23759 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/20867.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #20867 ---- commit f9d1293991b34a80b4fa11a846812e3a79e1493f Author: bag_of_tricks <falbani@...> Date: 2018-03-20T22:46:55Z Solution to SPARK-23759 is to setHost before starting the connector Solution to SPARK-23759 is to setHost before starting the connector. I run few tests and was able to confirm the binding happens as expected. ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org