dongjoon-hyun commented on code in PR #58053:
URL: https://github.com/apache/spark/pull/58053#discussion_r3804862872


##########
docs/building-spark.md:
##########
@@ -271,6 +271,15 @@ or
 
     ./build/sbt -Pdocker-integration-tests docker-integration-tests/test
 
+## Local network binding
+
+On a machine with multiple network interfaces (for example a VPN), Spark may 
bind to a
+non-loopback address, causing local tests to fail with errors such as
+`RemoteClassLoaderError` or Netty `Connection reset by peer`. Forcing the 
loopback
+interface usually resolves this:
+
+    export SPARK_LOCAL_IP=127.0.0.1

Review Comment:
   ```suggestion
       export SPARK_LOCAL_IP=localhost
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to