kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpe...@apache.org
Subject kudu git commit: KUDU-2479 Flume sink should properly shade its dependencies that are incompatible with flume
Date Tue, 19 Jun 2018 22:01:59 GMT
Repository: kudu
Updated Branches:
  refs/heads/master 4ea99dd07 -> 06e0f4b0f


KUDU-2479 Flume sink should properly shade its dependencies
that are incompatible with flume

Adding relocation to maven shade plugin configuration

Change-Id: I107a119ecebecac377587037491716116263eff2
Reviewed-on: http://gerrit.cloudera.org:8080/10753
Tested-by: Kudu Jenkins
Reviewed-by: Grant Henke <granthenke@apache.org>
Reviewed-by: Mike Percy <mpercy@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/06e0f4b0
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/06e0f4b0
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/06e0f4b0

Branch: refs/heads/master
Commit: 06e0f4b0ff7d7c072b64450a578b9e403b57c96c
Parents: 4ea99dd
Author: Ferenc Szabó <szaboferee@apache.org>
Authored: Tue Jun 19 15:35:06 2018 +0200
Committer: Mike Percy <mpercy@apache.org>
Committed: Tue Jun 19 21:46:29 2018 +0000

----------------------------------------------------------------------
 java/kudu-flume-sink/pom.xml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/06e0f4b0/java/kudu-flume-sink/pom.xml
----------------------------------------------------------------------
diff --git a/java/kudu-flume-sink/pom.xml b/java/kudu-flume-sink/pom.xml
index 6f585da..aa8a859 100644
--- a/java/kudu-flume-sink/pom.xml
+++ b/java/kudu-flume-sink/pom.xml
@@ -99,6 +99,20 @@
               <include>com.stumbleupon:async</include>
             </includes>
           </artifactSet>
+          <relocations>
+            <relocation>
+              <pattern>com.google.common</pattern>
+              <shadedPattern>org.apache.kudu.shaded.com.google.common</shadedPattern>
+            </relocation>
+            <relocation>
+              <pattern>com.google.protobuf</pattern>
+              <shadedPattern>org.apache.kudu.shaded.com.google.protobuf</shadedPattern>
+            </relocation>
+            <relocation>
+              <pattern>com.google.thirdparty</pattern>
+              <shadedPattern>org.apache.kudu.shaded.com.google.thirdparty</shadedPattern>
+            </relocation>
+          </relocations>
         </configuration>
       </plugin>
       <plugin>


Mime
View raw message