Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22247#discussion_r213181568
  
    --- Diff: python/pyspark/worker.py ---
    @@ -364,8 +364,5 @@ def process():
         # Read information about how to connect back to the JVM from the 
environment.
         java_port = int(os.environ["PYTHON_WORKER_FACTORY_PORT"])
         auth_secret = os.environ["PYTHON_WORKER_FACTORY_SECRET"]
    -    sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    -    sock.connect(("127.0.0.1", java_port))
    -    sock_file = sock.makefile("rwb", 65536)
    --- End diff --
    
    I quickly tested and seems working fine. Please ignore this comment.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to