We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b004150 commit 36e1243Copy full SHA for 36e1243
bin/compute-classpath.sh
@@ -25,7 +25,11 @@ FWDIR="$(cd "`dirname "$0"`"/..; pwd)"
25
26
. "$FWDIR"/bin/load-spark-env.sh
27
28
-CLASSPATH="$SPARK_CLASSPATH:$SPARK_SUBMIT_CLASSPATH"
+if [ -n "$SPARK_CLASSPATH" ]; then
29
+ CLASSPATH="$SPARK_CLASSPATH:$SPARK_SUBMIT_CLASSPATH"
30
+else
31
+ CLASSPATH="$SPARK_SUBMIT_CLASSPATH"
32
+fi
33
34
# Build up classpath
35
if [ -n "$SPARK_CONF_DIR" ]; then
0 commit comments