Skip to content
Snippets Groups Projects
Commit 70812918 authored by Jeff Zhang's avatar Jeff Zhang Committed by Sean Owen
Browse files

[SPARK-12166][TEST] Unset hadoop related environment in testing

Author: Jeff Zhang <zjffdu@apache.org>

Closes #10172 from zjffdu/SPARK-12166.
parent 48a9804b
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,12 @@ fi
export _SPARK_ASSEMBLY="$SPARK_ASSEMBLY_JAR"
# For tests
if [[ -n "$SPARK_TESTING" ]]; then
unset YARN_CONF_DIR
unset HADOOP_CONF_DIR
fi
# The launcher library will print arguments separated by a NULL character, to allow arguments with
# characters that would be otherwise interpreted by the shell. Read that in a while loop, populating
# an array that will be used to exec the final command.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment