Skip to content

Commit

Permalink
Upgrade dependencies (#4047)
Browse files Browse the repository at this point in the history
* Upgrading dependencies for hadoop and aws-java-sdk

Signed-off-by: Vacha Shah <[email protected]>

* Fixing precommit

Signed-off-by: Vacha Shah <[email protected]>

* Upgrading transitive dependencies

Signed-off-by: Vacha Shah <[email protected]>

* Excluding transitive dependencies

Signed-off-by: Vacha Shah <[email protected]>
(cherry picked from commit 88f5537)
  • Loading branch information
VachaShah authored and kartg committed Aug 8, 2022
1 parent 95a1938 commit 7d92565
Show file tree
Hide file tree
Showing 23 changed files with 326 additions and 17 deletions.
2 changes: 2 additions & 0 deletions buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ dependencies {
api 'commons-io:commons-io:2.7'
api "net.java.dev.jna:jna:5.11.0"
api 'gradle.plugin.com.github.johnrengelman:shadow:7.1.2'
api 'org.jdom:jdom2:2.0.6.1'
api 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10'
api 'de.thetaphi:forbiddenapis:3.3'
api 'com.avast.gradle:gradle-docker-compose-plugin:0.14.12'
api 'org.apache.maven:maven-model:3.6.2'
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/version.properties
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ commonslogging = 1.2
commonscodec = 1.13

# plugin dependencies
aws = 1.12.247
aws = 1.12.270

# when updating this version, you need to ensure compatibility with:
# - plugins/ingest-attachment (transitive dependency, check the upstream POM)
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8f0cc2cc1b41c51e2117f5b1ce6530febf99d4ba

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6d0ce44b33006e163c25f394f869e6b3a51aefc5
10 changes: 4 additions & 6 deletions plugins/repository-hdfs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ opensearchplugin {
}

versions << [
'hadoop3': '3.3.1'
'hadoop3': '3.3.3'
]

testFixtures.useFixture ":test:fixtures:krb5kdc-fixture", "hdfs"
Expand All @@ -60,7 +60,9 @@ configurations {
dependencies {
api "org.apache.hadoop:hadoop-client-api:${versions.hadoop3}"
runtimeOnly "org.apache.hadoop:hadoop-client-runtime:${versions.hadoop3}"
api "org.apache.hadoop:hadoop-hdfs:${versions.hadoop3}"
api("org.apache.hadoop:hadoop-hdfs:${versions.hadoop3}") {
exclude module: 'jetty-server'
}
api 'org.apache.htrace:htrace-core4:4.2.0-incubating'
api "org.apache.logging.log4j:log4j-core:${versions.log4j}"
api 'org.apache.avro:avro:1.10.2'
Expand Down Expand Up @@ -438,10 +440,6 @@ thirdPartyAudit {
'org.apache.hadoop.shaded.org.apache.curator.shaded.com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper',
'org.apache.hadoop.shaded.org.apache.curator.shaded.com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper$1',
'org.apache.hadoop.shaded.org.xbill.DNS.spi.DNSJavaNameServiceDescriptor',
'org.apache.hadoop.shaded.org.xerial.snappy.pure.PureJavaSnappy',
'org.apache.hadoop.shaded.org.xerial.snappy.pure.SnappyRawCompressor',
'org.apache.hadoop.shaded.org.xerial.snappy.pure.SnappyRawDecompressor',
'org.apache.hadoop.shaded.org.xerial.snappy.pure.UnsafeUtil',

'org.apache.avro.reflect.FieldAccessUnsafe',
'org.apache.avro.reflect.FieldAccessUnsafe$UnsafeBooleanField',
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d0593aed2d4df9bcee507550913d29d589ebd84a

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
52619ecfb0225d7ae67b15264521064824ac57ca

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d4d199760c11d47f90e12fe3882e2b24c77e4eb5

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8f0cc2cc1b41c51e2117f5b1ce6530febf99d4ba

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2901cdd72a7f0d940b2bd4e1bcdb606d5d33736f

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aeffa3e8d9471377adf1108e21dab92f4f13edb3

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5bd3e1976e3b3b94c30e4868af9a5bfc4221e24a
Loading

0 comments on commit 7d92565

Please sign in to comment.