Skip to content

Commit

Permalink
Update HiveExternalCatalogVersionsSuite.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
AngersZhuuuu committed Nov 26, 2021
1 parent 599da40 commit 36fc3fe
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ class HiveExternalCatalogVersionsSuite extends SparkSubmitTestUtils {
mirrors.distinct :+ "https://archive.apache.org/dist" :+ PROCESS_TABLES.releaseMirror
logInfo(s"Trying to download Spark $version from $sites")
for (site <- sites) {
// TODO Change after rename hadoop profile.
val filename = if (version.startsWith("3")) {
val filename = if (version.startsWith("3.3")) {
s"spark-$version-bin-hadoop3.tgz"
} else if (version.startsWith("3")) {
s"spark-$version-bin-hadoop3.2.tgz"
} else {
s"spark-$version-bin-hadoop2.7.tgz"
Expand Down

0 comments on commit 36fc3fe

Please sign in to comment.