Skip to content

Commit

Permalink
Build - Move global Spark 2.4 dependency in version.props to Spark 2.…
Browse files Browse the repository at this point in the history
…4 subproject (apache#5759)
  • Loading branch information
kbendick authored Sep 15, 2022
1 parent 647ae1e commit e1f934c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 5 additions & 1 deletion spark/v2.4/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ def sparkProjects = [
]

configure(sparkProjects) {
project.ext {
sparkVersion = '2.4.8'
}

configurations {
all {
resolutionStrategy {
Expand Down Expand Up @@ -64,7 +68,7 @@ project(':iceberg-spark:iceberg-spark-2.4') {

compileOnly "com.google.errorprone:error_prone_annotations"
compileOnly "org.apache.avro:avro"
compileOnly("org.apache.spark:spark-hive_2.11") {
compileOnly("org.apache.spark:spark-hive_2.11:${sparkVersion}") {
exclude group: 'org.apache.avro', module: 'avro'
exclude group: 'org.roaringbitmap'
}
Expand Down
2 changes: 0 additions & 2 deletions versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ org.apache.hive:* = 2.3.8
org.apache.httpcomponents.client5:* = 5.1
org.apache.orc:* = 1.8.0
org.apache.parquet:* = 1.12.3
org.apache.spark:spark-hive_2.11 = 2.4.8
org.apache.spark:spark-avro_2.11 = 2.4.8
org.apache.pig:pig = 0.14.0
com.fasterxml.jackson.*:* = 2.11.4
com.google.errorprone:error_prone_annotations = 2.3.3
Expand Down

0 comments on commit e1f934c

Please sign in to comment.