spark-instrumented-optimizer/bin
Josh Rosen 4e9b551a0b [SPARK-3772] Allow ipython to be used by Pyspark workers; IPython support improvements:
This pull request addresses a few issues related to PySpark's IPython support:

- Fix the remaining uses of the '-u' flag, which IPython doesn't support (see SPARK-3772).
- Change PYSPARK_PYTHON_OPTS to PYSPARK_DRIVER_PYTHON_OPTS, so that the old name is reserved in case we ever want to allow the worker Python options to be customized (this variable was introduced in #2554 and hasn't landed in a release yet, so this doesn't break any compatibility).
- Introduce a PYSPARK_DRIVER_PYTHON option that allows the driver to use `ipython` while the workers use a different Python version.
- Attempt to use Python 2.7 by default if PYSPARK_PYTHON is not specified.
- Retain the old semantics for IPYTHON=1 and IPYTHON_OPTS (to avoid breaking existing example programs).

There are more details in a block comment in `bin/pyspark`.

Author: Josh Rosen <joshrosen@apache.org>

Closes #2651 from JoshRosen/SPARK-3772 and squashes the following commits:

7b8eb86 [Josh Rosen] More changes to PySpark python executable configuration:
c4f5778 [Josh Rosen] [SPARK-3772] Allow ipython to be used by Pyspark workers; IPython fixes:
2014-10-09 16:08:07 -07:00
..
beeline SPARK-3337 Paranoid quoting in shell to allow install dirs with spaces within. 2014-09-08 10:24:15 -07:00
compute-classpath.cmd [SPARK-3808] PySpark fails to start in Windows 2014-10-07 11:53:22 -07:00
compute-classpath.sh SPARK-2058: Overriding SPARK_HOME/conf with SPARK_CONF_DIR 2014-10-03 10:03:15 -07:00
load-spark-env.sh SPARK-3337 Paranoid quoting in shell to allow install dirs with spaces within. 2014-09-08 10:24:15 -07:00
pyspark [SPARK-3772] Allow ipython to be used by Pyspark workers; IPython support improvements: 2014-10-09 16:08:07 -07:00
pyspark.cmd moved user scripts to bin folder 2013-09-23 12:46:48 +08:00
pyspark2.cmd [SPARK-3775] Not suitable error message in spark-shell.cmd 2014-10-03 13:09:48 -07:00
run-example SPARK-3337 Paranoid quoting in shell to allow install dirs with spaces within. 2014-09-08 10:24:15 -07:00
run-example.cmd moved user scripts to bin folder 2013-09-23 12:46:48 +08:00
run-example2.cmd [SPARK-3775] Not suitable error message in spark-shell.cmd 2014-10-03 13:09:48 -07:00
spark-class [SPARK-3775] Not suitable error message in spark-shell.cmd 2014-10-03 13:09:48 -07:00
spark-class.cmd sbin/spark-class* -> bin/spark-class* 2014-01-03 15:08:01 +05:30
spark-class2.cmd [SPARK-3775] Not suitable error message in spark-shell.cmd 2014-10-03 13:09:48 -07:00
spark-shell SPARK-3337 Paranoid quoting in shell to allow install dirs with spaces within. 2014-09-08 10:24:15 -07:00
spark-shell.cmd [SPARK-3006] Failed to execute spark-shell in Windows OS 2014-08-13 22:17:07 -07:00
spark-sql [SPARK-3658][SQL] Start thrift server as a daemon 2014-10-01 15:15:24 -07:00
spark-submit SPARK-3337 Paranoid quoting in shell to allow install dirs with spaces within. 2014-09-08 10:24:15 -07:00
spark-submit.cmd [SPARK-3167] Handle special driver configs in Windows 2014-08-26 22:52:16 -07:00
utils.sh [SPARK-3774] typo comment in bin/utils.sh 2014-10-03 13:12:37 -07:00