-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathp01.patch
33 lines (32 loc) · 1.19 KB
/
p01.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
diff --git a/pom.xml b/pom.xml
index 7c60f8f99b..bf5aa668c2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -184,7 +184,7 @@
<!-- org.apache.commons/commons-pool2/-->
<commons-pool2.version>2.6.2</commons-pool2.version>
<datanucleus-core.version>4.1.17</datanucleus-core.version>
- <guava.version>14.0.1</guava.version>
+ <guava.version>27.0-jre</guava.version>
<janino.version>3.0.16</janino.version>
<jersey.version>2.30</jersey.version>
<joda.version>2.10.5</joda.version>
diff --git a/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/entrypoint.sh b/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/entrypoint.sh
index 8218c2982c..d89a6fb8cb 100755
--- a/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/entrypoint.sh
+++ b/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/entrypoint.sh
@@ -67,6 +67,15 @@ if ! [ -z ${HADOOP_CONF_DIR+x} ]; then
fi
case "$1" in
+ driver-py)
+ shift 1
+ CMD=(
+ "$SPARK_HOME/bin/spark-submit"
+ --conf "spark.driver.bindAddress=$SPARK_DRIVER_BIND_ADDRESS"
+ --deploy-mode client
+ "$@" $PYSPARK_PRIMARY $PYSPARK_APP_ARGS
+ )
+ ;;
driver)
shift 1
CMD=(