Skip to content

Commit

Permalink
Updated Hadoop version to 3.4.1 (#713)
Browse files Browse the repository at this point in the history
Now the installation default to 3.4.1
  • Loading branch information
Noobzik authored Oct 28, 2024
1 parent b7c95a1 commit 565e57f
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/main/scala/io/sdkman/changelogs/HadoopMigrations.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,26 @@ class HadoopMigrations {
).insert()

@ChangeSet(
order = "004",
id = "004-add_hadoop_3_3_5",
author = "sekikn"
order = "005",
id = "005-add_hadoop_3_4_1",
author = "noobzik"
)
def migration004(implicit db: MongoDatabase) = {
def migration005(implicit db: MongoDatabase) = {
val hadoopVersions = List(
"2.10.2",
"3.2.4",
"3.3.5"
"3.3.5",
"3.3.6",
"3.4.0",
"3.4.1"
)
hadoopVersions
.map { version =>
hadoopVersion(version)
}
.validate()
.insert()
setCandidateDefault("hadoop", "3.3.5")
setCandidateDefault("hadoop", "3.4.1")
}

private def hadoopVersion(
Expand Down

0 comments on commit 565e57f

Please sign in to comment.