diff options
author | Sean Owen <sowen@cloudera.com> | 2016-08-24 20:04:09 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-08-24 20:04:09 +0100 |
commit | 0b3a4be92ca6b38eef32ea5ca240d9f91f68aa65 (patch) | |
tree | fceae4d22e14f83548bd505535cd67e71b030b3d /yarn/src/test/scala/org | |
parent | 2fbdb606392631b1dff88ec86f388cc2559c28f5 (diff) | |
download | spark-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 'yarn/src/test/scala/org')
-rw-r--r-- | yarn/src/test/scala/org/apache/spark/deploy/yarn/YarnClusterSuite.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yarn/src/test/scala/org/apache/spark/deploy/yarn/YarnClusterSuite.scala b/yarn/src/test/scala/org/apache/spark/deploy/yarn/YarnClusterSuite.scala index fb7926f6a1..d245acf49a 100644 --- a/yarn/src/test/scala/org/apache/spark/deploy/yarn/YarnClusterSuite.scala +++ b/yarn/src/test/scala/org/apache/spark/deploy/yarn/YarnClusterSuite.scala @@ -242,7 +242,7 @@ class YarnClusterSuite extends BaseYarnClusterSuite { // needed locations. val sparkHome = sys.props("spark.test.home") val pythonPath = Seq( - s"$sparkHome/python/lib/py4j-0.10.1-src.zip", + s"$sparkHome/python/lib/py4j-0.10.3-src.zip", s"$sparkHome/python") val extraEnvVars = Map( "PYSPARK_ARCHIVES_PATH" -> pythonPath.map("local:" + _).mkString(File.pathSeparator), |