diff options
author | Jeff Zhang <zjffdu@apache.org> | 2015-10-30 18:50:12 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-10-30 18:50:12 +0000 |
commit | 729f983e66cf65da2e8f48c463ccde2b355240c4 (patch) | |
tree | 7b1cbde10fe2776cb95a4cfa82fa45855a747677 | |
parent | 40c77fb23a1ee0a4e69d735ee6247f83b7e13b92 (diff) | |
download | spark-729f983e66cf65da2e8f48c463ccde2b355240c4.tar.gz spark-729f983e66cf65da2e8f48c463ccde2b355240c4.tar.bz2 spark-729f983e66cf65da2e8f48c463ccde2b355240c4.zip |
[SPARK-11342][TESTS] Allow to set hadoop profile when running dev/ru…
…n_tests
Author: Jeff Zhang <zjffdu@apache.org>
Closes #9295 from zjffdu/SPARK-11342.
-rwxr-xr-x | dev/run-tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/run-tests.py b/dev/run-tests.py index 6b4b710734..9e1abb0697 100755 --- a/dev/run-tests.py +++ b/dev/run-tests.py @@ -486,7 +486,7 @@ def main(): else: # else we're running locally and can use local settings build_tool = "sbt" - hadoop_version = "hadoop2.3" + hadoop_version = os.environ.get("HADOOP_PROFILE", "hadoop2.3") test_env = "local" print("[info] Using build tool", build_tool, "with Hadoop profile", hadoop_version, |