File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ if [ $DEPLOY_MODE == "client" ]; then
5353 # a key value pair delimited either by white space or "=" sign. All
5454 # spark.driver.* configs must be processed now before it's too late.
5555 if [ -f " $PROPERTIES_FILE " ]; then
56+ echo " Using properties file $PROPERTIES_FILE "
5657 DRIVER_EXTRA_JAVA_OPTS=" spark.driver.extraJavaOptions"
5758 DRIVER_EXTRA_CLASSPATH=" spark.driver.extraClassPath"
5859 DRIVER_EXTRA_LIBRARY_PATH=" spark.driver.extraLibraryPath"
@@ -66,6 +67,8 @@ if [ $DEPLOY_MODE == "client" ]; then
6667 export SPARK_SUBMIT_OPTS=" $SPARK_SUBMIT_OPTS $DRIVER_EXTRA_JAVA_OPTS "
6768 export SPARK_SUBMIT_CLASSPATH=" $SPARK_SUBMIT_CLASSPATH :$DRIVER_EXTRA_CLASSPATH "
6869 export SPARK_SUBMIT_LIBRARY_PATH=" $SPARK_SUBMIT_LIBRARY_PATH :$DRIVER_EXTRA_LIBRARY_PATH "
70+ else
71+ echo " Warning: properties file $PROPERTIES_FILE does not exist."
6972 fi
7073fi
7174
You can’t perform that action at this time.
0 commit comments