File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -49,9 +49,11 @@ if [ -z "$SPARK_SCALA_VERSION" ]; then
4949
5050 ASSEMBLY_DIR_1=" ${SPARK_HOME} /assembly/target/scala-${SCALA_VERSION_1} "
5151 ASSEMBLY_DIR_2=" ${SPARK_HOME} /assembly/target/scala-${SCALA_VERSION_2} "
52+ ENV_VARIABLE_DOC=" https://spark.apache.org/docs/latest/configuration.html#environment-variables"
5253 if [[ -d " $ASSEMBLY_DIR_1 " && -d " $ASSEMBLY_DIR_2 " ]]; then
5354 echo " Presence of build for multiple Scala versions detected ($ASSEMBLY_DIR_1 and $ASSEMBLY_DIR_2 )." 1>&2
5455 echo " Remove one of them or, export SPARK_SCALA_VERSION=$SCALA_VERSION_1 in ${SPARK_ENV_SH} ." 1>&2
56+ echo " Visit ${ENV_VARIABLE_DOC} for more details about setting environment variables in spark-env.sh." 1>&2
5557 exit 1
5658 fi
5759
You can’t perform that action at this time.
0 commit comments