Skip to content

Commit

Permalink
Revert "[SPARK-29991][INFRA] Support test-hive1.2 in PR Builder"
Browse files Browse the repository at this point in the history
This reverts commit dde0d2f.
  • Loading branch information
HyukjinKwon committed Nov 29, 2019
1 parent 43556e4 commit 9351e3e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions dev/run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,16 +283,12 @@ def get_hadoop_profiles(hadoop_version):
"""

sbt_maven_hadoop_profiles = {
"hadoop2.7": ["-Phadoop-2.7"],
"hadoop3.2": ["-Phadoop-3.2"],
"hadoop2.7": ["-Phadoop-2.7", "-Phive-1.2"],
"hadoop3.2": ["-Phadoop-3.2", "-Phive-2.3"],
}

if hadoop_version in sbt_maven_hadoop_profiles:
if ("ghprbPullTitle" in os.environ and
"test-hive1.2" in os.environ["ghprbPullTitle"].lower()):
return sbt_maven_hadoop_profiles[hadoop_version] + ["-Phive-1.2"]
else:
return sbt_maven_hadoop_profiles[hadoop_version]
return sbt_maven_hadoop_profiles[hadoop_version]
else:
print("[error] Could not find", hadoop_version, "in the list. Valid options",
" are", sbt_maven_hadoop_profiles.keys())
Expand Down

0 comments on commit 9351e3e

Please sign in to comment.