File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ OPT_SPARK_VERSION="--version=1.2"
6868OPT_PROJECT=" --project=${GCP_PROJECT} "
6969OPT_REGION=" --region=${REGION} "
7070OPT_JARS=" --jars=file:///usr/lib/spark/connector/spark-avro.jar,${GCS_STAGING_LOCATION} /${JAR_FILE} "
71- if [[ $OPT_SPARK_VERSION == * " =1.1" * ]]; then
72- echo " Dataproc Serverless Runtime 1.1 Detected"
71+ if [[ $OPT_SPARK_VERSION == * " =1.1" * || $JOB_TYPE == " CLUSTER " ]]; then
72+ echo " Dataproc Serverless Runtime 1.1 or CLUSTER Job Type Detected"
7373 OPT_JARS=" --jars=file:///usr/lib/spark/external/spark-avro.jar,${GCS_STAGING_LOCATION} /${JAR_FILE} "
7474fi
7575OPT_LABELS=" --labels=job_type=dataproc_template"
Original file line number Diff line number Diff line change 8686
8787 <!-- Spark Kafka Streaming Dependency. Aligned with Spark 3.5.1 -->
8888 <json4s .version>3.7.0-M11</json4s .version>
89- <commons .io.version>2.13 .0</commons .io.version>
89+ <commons .io.version>2.14 .0</commons .io.version>
9090
9191 <!-- Spark Cassandra Connector -->
9292 <spark .cassandra.connector.version>3.5.1</spark .cassandra.connector.version>
You can’t perform that action at this time.
0 commit comments