allisonwang-db commented on code in PR #49221: URL: https://github.com/apache/spark/pull/49221#discussion_r1891551660
########## python/docs/source/development/testing.rst: ########## @@ -38,6 +38,27 @@ After that, the PySpark test cases can be run via using ``python/run-tests``. Fo Note that you may set ``OBJC_DISABLE_INITIALIZE_FORK_SAFETY`` environment variable to ``YES`` if you are running tests on Mac OS. +.. note:: + + If the Spark driver is unavailable, you can resolve the issue using the following methods: + + **Set SPARK_LOCAL_IP**: + + Configure the environment variable ``SPARK_LOCAL_IP`` to bind to the local address ``127.0.0.1``:: + + export SPARK_LOCAL_IP=127.0.0.1 Review Comment: Yea adding this to debugging.rst would be better, and we have a reference link mentioned in the testing guide. -- 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]
