File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed
operator-binary/src/history Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -483,7 +483,12 @@ impl SparkApplication {
483
483
format!( "--conf spark.kubernetes.executor.container.image={}" , spark_image. to_string( ) ) ,
484
484
format!( "--conf spark.kubernetes.authenticate.driver.serviceAccountName={}" , serviceaccount_name) ,
485
485
format!( "--conf spark.driver.defaultJavaOptions=-Dlog4j.configurationFile={VOLUME_MOUNT_PATH_LOG_CONFIG}/{LOG4J2_CONFIG_FILE}" ) ,
486
- format!( "--conf spark.executor.defaultJavaOptions=-Dlog4j.configurationFile={VOLUME_MOUNT_PATH_LOG_CONFIG}/{LOG4J2_CONFIG_FILE}" )
486
+ format!( "--conf spark.driver.extraClassPath=/stackable/spark/extra-jars/*" ) ,
487
+ //"--conf spark.driver.userClassPathFirst=true".to_string(),
488
+ "--conf spark.driver.userClassPathFirst=true" . to_string( ) ,
489
+ format!( "--conf spark.executor.defaultJavaOptions=-Dlog4j.configurationFile={VOLUME_MOUNT_PATH_LOG_CONFIG}/{LOG4J2_CONFIG_FILE}" ) ,
490
+ format!( "--conf spark.executor.extraClassPath=/stackable/spark/extra-jars/*" ) ,
491
+ //"--conf spark.executor.userClassPathFirst=true".to_string(),
487
492
] ) ;
488
493
489
494
// See https://spark.apache.org/docs/latest/running-on-kubernetes.html#dependency-management
Original file line number Diff line number Diff line change @@ -671,6 +671,11 @@ fn env_vars(s3logdir: &S3LogDir) -> Vec<EnvVar> {
671
671
value : Some ( "true" . into ( ) ) ,
672
672
value_from : None ,
673
673
} ) ;
674
+ vars. push ( EnvVar {
675
+ name : "SPARK_DAEMON_CLASSPATH" . to_string ( ) ,
676
+ value : Some ( "/stackable/spark/extra-jars/*" . into ( ) ) ,
677
+ value_from : None ,
678
+ } ) ;
674
679
675
680
let mut history_opts = vec ! [
676
681
format!( "-Dlog4j.configurationFile={VOLUME_MOUNT_PATH_LOG_CONFIG}/{LOG4J2_CONFIG_FILE}" ) ,
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ dimensions:
6
6
- name : spark
7
7
values :
8
8
# - 3.4.1
9
- # - 3.5.0
9
+ - 3.5.0
10
10
# Alternatively, if you want to use a custom image, append a comma and the full image name to the product version
11
11
# as in the example below.
12
- - 3.4.1,docker.stackable.tech/sandbox/spark-k8s:3.4.1-stackable0.0.0-dev
13
- - 3.5.0,docker.stackable.tech/sandbox/spark-k8s:3.5.0-stackable0.0.0-dev
12
+ # - 3.4.1,docker.stackable.tech/sandbox/spark-k8s:3.4.1-stackable0.0.0-dev
13
+ # - 3.5.0,docker.stackable.tech/sandbox/spark-k8s:3.5.0-stackable0.0.0-dev
14
14
- name : spark-delta
15
15
values :
16
16
# - 3.5.0
You can’t perform that action at this time.
0 commit comments