Skip to content

Commit

Permalink
Add Hadoop libraries as runtimeOnly dependeny in transportable-udfs-t…
Browse files Browse the repository at this point in the history
…est-hive/generic/trino (#154)

* Add Hadoop libraries as runtimeOnly dependeny in transportable-udfs-test-hive/trino/generic
Co-authored-by: Yiqiang Ding <yiqding@linkedin.com>
  • Loading branch information
yiqiangin authored Jun 8, 2023
1 parent 9e80b20 commit 1adf4f4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ dependencies {
implementation('org.apache.commons:commons-io:1.3.2')
testImplementation('io.airlift:aircompressor:0.21')
testImplementation('org.junit.jupiter:junit-jupiter-api:5.9.2')
testImplementation 'org.apache.hadoop:hadoop-common:2.7.4'
testImplementation 'org.apache.hadoop:hadoop-mapreduce-client-core:2.7.4'
}

// As the tasks of trinoDistThinJar and trinoTrinJar are from Transport plugin which is built by Gradle 7.5.1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ dependencies {
implementation 'org.testng:testng:6.11'
compileOnly 'org.apache.hadoop:hadoop-common:2.7.4'
compileOnly 'org.apache.hadoop:hadoop-mapreduce-client-core:2.7.4'
runtimeOnly 'org.apache.hadoop:hadoop-common:2.7.4'
runtimeOnly 'org.apache.hadoop:hadoop-mapreduce-client-core:2.7.4'
testImplementation 'org.apache.hadoop:hadoop-common:2.7.4'
testImplementation 'org.apache.hadoop:hadoop-mapreduce-client-core:2.7.4'
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ dependencies {
implementation ('org.apache.hive:hive-service:1.2.2') {
exclude group: 'org.apache.hive', module: 'hive-exec'
}
runtimeOnly 'org.apache.hadoop:hadoop-common:2.7.4'
runtimeOnly 'org.apache.hadoop:hadoop-mapreduce-client-core:2.7.4'
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ dependencies {
// If not specified, an older version is picked up transitively from another dependency
implementation(group: 'io.airlift', name: 'slice', version: project.ext.'airlift-slice-version')
implementation(group: 'org.assertj', name: 'assertj-core', version: '3.24.2')
runtimeOnly 'org.apache.hadoop:hadoop-common:2.7.4'
runtimeOnly 'org.apache.hadoop:hadoop-mapreduce-client-core:2.7.4'
}

0 comments on commit 1adf4f4

Please sign in to comment.