aboutsummaryrefslogtreecommitdiff
path: root/dev/run-tests.py
diff options
context:
space:
mode:
authorJeff Zhang <zjffdu@apache.org>2015-10-30 18:50:12 +0000
committerSean Owen <sowen@cloudera.com>2015-10-30 18:50:12 +0000
commit729f983e66cf65da2e8f48c463ccde2b355240c4 (patch)
tree7b1cbde10fe2776cb95a4cfa82fa45855a747677 /dev/run-tests.py
parent40c77fb23a1ee0a4e69d735ee6247f83b7e13b92 (diff)
downloadspark-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.
Diffstat (limited to 'dev/run-tests.py')
-rwxr-xr-xdev/run-tests.py2
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,