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
49
49
50
50
ASSEMBLY_DIR_1=" ${SPARK_HOME} /assembly/target/scala-${SCALA_VERSION_1} "
51
51
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"
52
53
if [[ -d " $ASSEMBLY_DIR_1 " && -d " $ASSEMBLY_DIR_2 " ]]; then
53
54
echo " Presence of build for multiple Scala versions detected ($ASSEMBLY_DIR_1 and $ASSEMBLY_DIR_2 )." 1>&2
54
55
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
55
57
exit 1
56
58
fi
57
59
You can’t perform that action at this time.
0 commit comments