You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by ki...@apache.org on 2023/01/04 08:29:47 UTC

[incubator-seatunnel] branch dev updated: [Improve][Shade][Hadoop] Improve hadoop shade by including classes in package com.google.common.cache.* (#3855) (#3858)

This is an automated email from the ASF dual-hosted git repository.

kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new f69af2a7e  [Improve][Shade][Hadoop] Improve hadoop shade by including classes in package com.google.common.cache.* (#3855) (#3858)
f69af2a7e is described below

commit f69af2a7ee222531d87ac185eea82360dbce1825
Author: wendongdi <49...@users.noreply.github.com>
AuthorDate: Wed Jan 4 16:29:39 2023 +0800

     [Improve][Shade][Hadoop] Improve hadoop shade by including classes in package com.google.common.cache.* (#3855) (#3858)
---
 seatunnel-shade/seatunnel-hadoop3-3.1.4-uber/pom.xml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/seatunnel-shade/seatunnel-hadoop3-3.1.4-uber/pom.xml b/seatunnel-shade/seatunnel-hadoop3-3.1.4-uber/pom.xml
index 7f4a9f5bc..dce8748e6 100644
--- a/seatunnel-shade/seatunnel-hadoop3-3.1.4-uber/pom.xml
+++ b/seatunnel-shade/seatunnel-hadoop3-3.1.4-uber/pom.xml
@@ -83,8 +83,12 @@
                                     <shadedPattern>shade.org.apache.commons.io</shadedPattern>
                                 </relocation>
                                 <relocation>
-                                    <pattern>com.google.common.base</pattern>
-                                    <shadedPattern>${seatunnel.shade.package}.hadoop.com.google.common.base</shadedPattern>
+                                    <pattern>com.google.common</pattern>
+                                    <shadedPattern>${seatunnel.shade.package}.hadoop.com.google.common</shadedPattern>
+                                    <includes>
+                                        <include>com.google.common.base.*</include>
+                                        <include>com.google.common.cache.*</include>
+                                    </includes>
                                 </relocation>
                                 <relocation>
                                     <pattern>com.fasterxml.jackson</pattern>