File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed
test/scala/spark/jobserver/python Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ RUN sbt update
24
24
# add the rest of the code
25
25
COPY . .
26
26
27
- ENV SPARK_HOME /tmp/spark-2.0.1 -bin-hadoop2.7
27
+ ENV SPARK_HOME /tmp/spark-2.1.0 -bin-hadoop2.7
28
28
ENV JAVA_OPTIONS "-Xmx1500m -XX:MaxPermSize=512m -Dakka.test.timefactor=3"
29
29
30
30
CMD ["/usr/src/app/run_tests.sh"]
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
set -e
3
- curl -L -o /tmp/spark.tgz http://d3kbcqa49mib13.cloudfront.net/spark-2.0.1 -bin-hadoop2.7.tgz
3
+ curl -L -o /tmp/spark.tgz http://d3kbcqa49mib13.cloudfront.net/spark-2.1.0 -bin-hadoop2.7.tgz
4
4
tar -xvzf /tmp/spark.tgz -C /tmp
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ object PythonSparkContextFactorySpec {
74
74
lazy val jobServerAPIExamplePath = jobServerPaths.find(_.getAbsolutePath.contains(" examples" ))
75
75
76
76
lazy val pysparkPath = sys.env.get(" SPARK_HOME" ).map(d => s " $d/python/lib/pyspark.zip " )
77
- lazy val py4jPath = sys.env.get(" SPARK_HOME" ).map(d => s " $d/python/lib/py4j-0.10.3 -src.zip " )
77
+ lazy val py4jPath = sys.env.get(" SPARK_HOME" ).map(d => s " $d/python/lib/py4j-0.10.4 -src.zip " )
78
78
lazy val originalPythonPath = sys.env.get(" PYTHONPATH" )
79
79
80
80
case object DummyJobCache extends JobCache {
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
- PYTHONPATH=.:$SPARK_HOME /python/lib/pyspark.zip:$SPARK_HOME /python/lib/py4j-0.10.3 -src.zip:$PYTHONPATH python test/apitests.py
2
+ PYTHONPATH=.:$SPARK_HOME /python/lib/pyspark.zip:$SPARK_HOME /python/lib/py4j-0.10.4 -src.zip:$PYTHONPATH python test/apitests.py
3
3
exitCode=$?
4
4
# This sleep is here so that all of Spark's shutdown stdout if written before we exit,
5
5
# so that we return cleanly to the command prompt.
Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ object SubprocessSpec {
34
34
lazy val jobServerPath = getPythonDir(" src/python" )
35
35
36
36
lazy val pysparkPath = sys.env.get(" SPARK_HOME" ).map(d => s " $d/python/lib/pyspark.zip " )
37
- lazy val py4jPath = sys.env.get(" SPARK_HOME" ).map(d => s " $d/python/lib/py4j-0.10.3 -src.zip " )
37
+ lazy val py4jPath = sys.env.get(" SPARK_HOME" ).map(d => s " $d/python/lib/py4j-0.10.4 -src.zip " )
38
38
lazy val sparkPaths = sys.env.get(" SPARK_HOME" ).map{sh =>
39
39
val pysparkPath = s " $sh/python/lib/pyspark.zip "
40
- val py4jPath = s " $sh/python/lib/py4j-0.10.3 -src.zip "
40
+ val py4jPath = s " $sh/python/lib/py4j-0.10.4 -src.zip "
41
41
Seq (pysparkPath, py4jPath)
42
42
}.getOrElse(Seq ())
43
43
lazy val originalPythonPath = sys.env.get(" PYTHONPATH" )
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ object Versions {
17
17
lazy val metrics = " 2.2.0"
18
18
lazy val netty = " 4.0.42.Final"
19
19
lazy val postgres = " 9.4.1209"
20
- lazy val py4j = " 0.10.3 "
20
+ lazy val py4j = " 0.10.4 "
21
21
lazy val scalaTest = " 2.2.6"
22
22
lazy val scalatic = " 2.2.6"
23
23
lazy val shiro = " 1.2.4"
You can’t perform that action at this time.
0 commit comments