@@ -348,7 +348,7 @@ project(':iceberg-core') {
348348 implementation libs. jackson. databind
349349 implementation libs. caffeine
350350 implementation libs. roaringbitmap
351- compileOnly(libs. hadoop2 . client) {
351+ compileOnly(libs. hadoop3 . client) {
352352 exclude group : ' org.apache.avro' , module : ' avro'
353353 exclude group : ' org.slf4j' , module : ' slf4j-log4j12'
354354 }
@@ -373,7 +373,7 @@ project(':iceberg-data') {
373373 implementation project(' :iceberg-core' )
374374 compileOnly project(' :iceberg-parquet' )
375375 compileOnly project(' :iceberg-orc' )
376- compileOnly(libs. hadoop2 . common) {
376+ compileOnly(libs. hadoop3 . common) {
377377 exclude group : ' commons-beanutils'
378378 exclude group : ' org.apache.avro' , module : ' avro'
379379 exclude group : ' org.slf4j' , module : ' slf4j-log4j12'
@@ -396,7 +396,7 @@ project(':iceberg-data') {
396396
397397 compileOnly libs. avro. avro
398398
399- testImplementation(libs. hadoop2 . client) {
399+ testImplementation(libs. hadoop3 . client) {
400400 exclude group : ' org.apache.avro' , module : ' avro'
401401 exclude group : ' org.slf4j' , module : ' slf4j-log4j12'
402402 }
@@ -427,7 +427,7 @@ project(':iceberg-aliyun') {
427427 compileOnly libs. jaxb. api
428428 compileOnly libs. activation
429429 compileOnly libs. jaxb. runtime
430- compileOnly(libs. hadoop2 . common) {
430+ compileOnly(libs. hadoop3 . common) {
431431 exclude group : ' org.apache.avro' , module : ' avro'
432432 exclude group : ' org.slf4j' , module : ' slf4j-log4j12'
433433 exclude group : ' javax.servlet' , module : ' servlet-api'
@@ -470,7 +470,7 @@ project(':iceberg-aws') {
470470 compileOnly(" software.amazon.awssdk:dynamodb" )
471471 compileOnly(" software.amazon.awssdk:lakeformation" )
472472
473- compileOnly(libs. hadoop2 . common) {
473+ compileOnly(libs. hadoop3 . common) {
474474 exclude group : ' org.apache.avro' , module : ' avro'
475475 exclude group : ' org.slf4j' , module : ' slf4j-log4j12'
476476 exclude group : ' javax.servlet' , module : ' servlet-api'
@@ -572,7 +572,7 @@ project(':iceberg-delta-lake') {
572572
573573 compileOnly " io.delta:delta-standalone_${ scalaVersion} :${ libs.versions.delta.standalone.get()} "
574574
575- compileOnly(libs. hadoop2 . common) {
575+ compileOnly(libs. hadoop3 . common) {
576576 exclude group : ' org.apache.avro' , module : ' avro'
577577 exclude group : ' org.slf4j' , module : ' slf4j-log4j12'
578578 exclude group : ' javax.servlet' , module : ' servlet-api'
@@ -584,7 +584,7 @@ project(':iceberg-delta-lake') {
584584 if (sparkVersions. contains(" 3.5" )) {
585585 integrationImplementation " io.delta:delta-spark_${ scalaVersion} :${ libs.versions.delta.spark.get()} "
586586 integrationImplementation project(path : " :iceberg-spark:iceberg-spark-3.5_${ scalaVersion} " )
587- integrationImplementation(libs. hadoop2 . minicluster) {
587+ integrationImplementation(libs. hadoop3 . minicluster) {
588588 exclude group : ' org.apache.avro' , module : ' avro'
589589 // to make sure netty libs only come from project(':iceberg-arrow')
590590 exclude group : ' io.netty' , module : ' netty-buffer'
@@ -645,7 +645,7 @@ project(':iceberg-gcp') {
645645 testImplementation project(path : ' :iceberg-api' , configuration : ' testArtifacts' )
646646 testImplementation project(path : ' :iceberg-core' , configuration : ' testArtifacts' )
647647
648- testImplementation(libs. hadoop2 . common) {
648+ testImplementation(libs. hadoop3 . common) {
649649 exclude group : ' org.apache.avro' , module : ' avro'
650650 exclude group : ' org.slf4j' , module : ' slf4j-log4j12'
651651 exclude group : ' javax.servlet' , module : ' servlet-api'
@@ -722,7 +722,7 @@ project(':iceberg-hive-metastore') {
722722 exclude group : ' com.zaxxer' , module : ' HikariCP'
723723 }
724724
725- compileOnly(libs. hadoop2 . client) {
725+ compileOnly(libs. hadoop3 . client) {
726726 exclude group : ' org.apache.avro' , module : ' avro'
727727 exclude group : ' org.slf4j' , module : ' slf4j-log4j12'
728728 }
@@ -754,12 +754,12 @@ project(':iceberg-orc') {
754754 exclude group : ' org.apache.hive' , module : ' hive-storage-api'
755755 }
756756
757- compileOnly(libs. hadoop2 . common) {
757+ compileOnly(libs. hadoop3 . common) {
758758 exclude group : ' commons-beanutils'
759759 exclude group : ' org.apache.avro' , module : ' avro'
760760 exclude group : ' org.slf4j' , module : ' slf4j-log4j12'
761761 }
762- compileOnly(libs. hadoop2 . client) {
762+ compileOnly(libs. hadoop3 . client) {
763763 exclude group : ' org.apache.avro' , module : ' avro'
764764 }
765765
@@ -788,7 +788,7 @@ project(':iceberg-parquet') {
788788 }
789789
790790 compileOnly libs. avro. avro
791- compileOnly(libs. hadoop2 . client) {
791+ compileOnly(libs. hadoop3 . client) {
792792 exclude group : ' org.apache.avro' , module : ' avro'
793793 }
794794
@@ -832,8 +832,8 @@ project(':iceberg-arrow') {
832832 // We import :netty-common through :arrow-memory-netty
833833 // so that the same version as used by the :arrow-memory-netty module is picked.
834834 testImplementation libs. arrow. memory. netty
835- testImplementation libs. hadoop2 . common
836- testImplementation libs. hadoop2 . mapreduce. client. core
835+ testImplementation libs. hadoop3 . common
836+ testImplementation libs. hadoop3 . mapreduce. client. core
837837 }
838838}
839839
@@ -854,7 +854,7 @@ project(':iceberg-nessie') {
854854 implementation libs. jackson. core
855855 implementation libs. jackson. databind
856856
857- compileOnly libs. hadoop2 . common
857+ compileOnly libs. hadoop3 . common
858858 // Only there to prevent "warning: unknown enum constant SchemaType.OBJECT" compile messages
859859 compileOnly libs. microprofile. openapi. api
860860
0 commit comments