aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorSean Owen <sowen@cloudera.com>2016-08-24 20:04:09 +0100
committerSean Owen <sowen@cloudera.com>2016-08-24 20:04:09 +0100
commit0b3a4be92ca6b38eef32ea5ca240d9f91f68aa65 (patch)
treefceae4d22e14f83548bd505535cd67e71b030b3d /sbin
parent2fbdb606392631b1dff88ec86f388cc2559c28f5 (diff)
downloadspark-0b3a4be92ca6b38eef32ea5ca240d9f91f68aa65.tar.gz
spark-0b3a4be92ca6b38eef32ea5ca240d9f91f68aa65.tar.bz2
spark-0b3a4be92ca6b38eef32ea5ca240d9f91f68aa65.zip
[SPARK-16781][PYSPARK] java launched by PySpark as gateway may not be the same java used in the spark environment
## What changes were proposed in this pull request? Update to py4j 0.10.3 to enable JAVA_HOME support ## How was this patch tested? Pyspark tests Author: Sean Owen <sowen@cloudera.com> Closes #14748 from srowen/SPARK-16781.
Diffstat (limited to 'sbin')
-rwxr-xr-xsbin/spark-config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/spark-config.sh b/sbin/spark-config.sh
index 5f7bf41caf..a7a44cdde6 100755
--- a/sbin/spark-config.sh
+++ b/sbin/spark-config.sh
@@ -27,4 +27,4 @@ fi
export SPARK_CONF_DIR="${SPARK_CONF_DIR:-"${SPARK_HOME}/conf"}"
# Add the PySpark classes to the PYTHONPATH:
export PYTHONPATH="${SPARK_HOME}/python:${PYTHONPATH}"
-export PYTHONPATH="${SPARK_HOME}/python/lib/py4j-0.10.1-src.zip:${PYTHONPATH}"
+export PYTHONPATH="${SPARK_HOME}/python/lib/py4j-0.10.3-src.zip:${PYTHONPATH}"