We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48a9804 commit 7081291Copy full SHA for 7081291
bin/spark-class
@@ -71,6 +71,12 @@ fi
71
72
export _SPARK_ASSEMBLY="$SPARK_ASSEMBLY_JAR"
73
74
+# For tests
75
+if [[ -n "$SPARK_TESTING" ]]; then
76
+ unset YARN_CONF_DIR
77
+ unset HADOOP_CONF_DIR
78
+fi
79
+
80
# The launcher library will print arguments separated by a NULL character, to allow arguments with
81
# characters that would be otherwise interpreted by the shell. Read that in a while loop, populating
82
# an array that will be used to exec the final command.
0 commit comments