This is an automated email from the ASF dual-hosted git repository.
cnauroth pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.3 by this push:
new d41e0a9cc30 HADOOP-18300. Upgrade Gson dependency to version 2.9.0
(#4454)
d41e0a9cc30 is described below
commit d41e0a9cc30c9dbf4ba311b3ed18a6942a160287
Author: Igor Dvorzhak <[email protected]>
AuthorDate: Wed Jun 22 16:37:22 2022 -0700
HADOOP-18300. Upgrade Gson dependency to version 2.9.0 (#4454)
Reviewed-by: Ayush Saxena <[email protected]>
Signed-off-by: Chris Nauroth <[email protected]>
(cherry picked from commit 77d1b194c77ec62dc31f89e15594bc1250d88de3)
---
LICENSE-binary | 2 +-
hadoop-client-modules/hadoop-client-minicluster/pom.xml | 6 ++++++
hadoop-client-modules/hadoop-client-runtime/pom.xml | 7 +++++++
hadoop-project/pom.xml | 2 +-
4 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/LICENSE-binary b/LICENSE-binary
index 03c42f4deca..7fb2ee180d7 100644
--- a/LICENSE-binary
+++ b/LICENSE-binary
@@ -232,7 +232,7 @@ com.google:guice-servlet:4.0
com.google.android:annotations:jar:4.1.1.4
com.google.api.grpc:proto-google-common-protos:1.12.0
com.google.code.findbugs:jsr305:3.0.2
-com.google.code.gson:gson:2.2.4
+com.google.code.gson:gson:2.9.0
com.google.errorprone:error_prone_annotations:2.3.3
com.google.j2objc:j2objc-annotations:1.1
com.google.json-simple:json-simple:1.1.1
diff --git a/hadoop-client-modules/hadoop-client-minicluster/pom.xml
b/hadoop-client-modules/hadoop-client-minicluster/pom.xml
index e8e58e6b915..76a2ebf0365 100644
--- a/hadoop-client-modules/hadoop-client-minicluster/pom.xml
+++ b/hadoop-client-modules/hadoop-client-minicluster/pom.xml
@@ -747,6 +747,12 @@
<exclude>META-INF/versions/9/module-info.class</exclude>
</excludes>
</filter>
+ <filter>
+ <artifact>com.google.code.gson:gson</artifact>
+ <excludes>
+
<exclude>META-INF/versions/9/module-info.class</exclude>
+ </excludes>
+ </filter>
<!-- Mockito tries to include its own unrelocated copy of
hamcrest. :( -->
<filter>
diff --git a/hadoop-client-modules/hadoop-client-runtime/pom.xml
b/hadoop-client-modules/hadoop-client-runtime/pom.xml
index 99bb298f8ec..6f17134b94f 100644
--- a/hadoop-client-modules/hadoop-client-runtime/pom.xml
+++ b/hadoop-client-modules/hadoop-client-runtime/pom.xml
@@ -249,6 +249,13 @@
<exclude>META-INF/versions/9/module-info.class</exclude>
</excludes>
</filter>
+ <filter>
+ <artifact>com.google.code.gson:gson</artifact>
+ <excludes>
+
<exclude>META-INF/versions/9/module-info.class</exclude>
+ </excludes>
+ </filter>
+
</filters>
<relocations>
<relocation>
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index bcb7d97fdee..8dc1862ed57 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -141,7 +141,7 @@
<jdom.version>1.1</jdom.version>
<jna.version>5.2.0</jna.version>
<grizzly.version>2.2.21</grizzly.version>
- <gson.version>2.8.9</gson.version>
+ <gson.version>2.9.0</gson.version>
<metrics.version>3.2.4</metrics.version>
<netty3.version>3.10.6.Final</netty3.version>
<netty4.version>4.1.68.Final</netty4.version>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]