Skip to content

Commit 729f983

Browse files
zjffdusrowen
authored andcommitted
[SPARK-11342][TESTS] Allow to set hadoop profile when running dev/ru…
…n_tests Author: Jeff Zhang <[email protected]> Closes #9295 from zjffdu/SPARK-11342.
1 parent 40c77fb commit 729f983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/run-tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ def main():
486486
else:
487487
# else we're running locally and can use local settings
488488
build_tool = "sbt"
489-
hadoop_version = "hadoop2.3"
489+
hadoop_version = os.environ.get("HADOOP_PROFILE", "hadoop2.3")
490490
test_env = "local"
491491

492492
print("[info] Using build tool", build_tool, "with Hadoop profile", hadoop_version,

0 commit comments

Comments
 (0)