Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/14016#discussion_r69341904
--- Diff: bin/pyspark ---
@@ -31,12 +31,7 @@ export _SPARK_CMD_USAGE="Usage: ./bin/pyspark [options]"
# and executor Python executables.
# Determine the Python executable to use if PYSPARK_PYTHON or
PYSPARK_DRIVER_PYTHON isn't set:
-if hash python2.7 2>/dev/null; then
- # Attempt to use Python 2.7, if installed:
- DEFAULT_PYTHON="python2.7"
-else
- DEFAULT_PYTHON="python"
-fi
+DEFAULT_PYTHON="python"
--- End diff --
Doesn't even need to be a variable anymore right?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]