Skip to content

Commit 9351e3e

Browse files
committed
Revert "[SPARK-29991][INFRA] Support test-hive1.2 in PR Builder"
This reverts commit dde0d2f.
1 parent 43556e4 commit 9351e3e

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

dev/run-tests.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -283,16 +283,12 @@ def get_hadoop_profiles(hadoop_version):
283283
"""
284284

285285
sbt_maven_hadoop_profiles = {
286-
"hadoop2.7": ["-Phadoop-2.7"],
287-
"hadoop3.2": ["-Phadoop-3.2"],
286+
"hadoop2.7": ["-Phadoop-2.7", "-Phive-1.2"],
287+
"hadoop3.2": ["-Phadoop-3.2", "-Phive-2.3"],
288288
}
289289

290290
if hadoop_version in sbt_maven_hadoop_profiles:
291-
if ("ghprbPullTitle" in os.environ and
292-
"test-hive1.2" in os.environ["ghprbPullTitle"].lower()):
293-
return sbt_maven_hadoop_profiles[hadoop_version] + ["-Phive-1.2"]
294-
else:
295-
return sbt_maven_hadoop_profiles[hadoop_version]
291+
return sbt_maven_hadoop_profiles[hadoop_version]
296292
else:
297293
print("[error] Could not find", hadoop_version, "in the list. Valid options",
298294
" are", sbt_maven_hadoop_profiles.keys())

0 commit comments

Comments
 (0)