You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hivemall.apache.org by my...@apache.org on 2021/04/23 12:22:38 UTC
[incubator-hivemall] branch master updated: [HIVEMALL-308] Relocate
kryo packages in shaded jar
This is an automated email from the ASF dual-hosted git repository.
myui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hivemall.git
The following commit(s) were added to refs/heads/master by this push:
new 9aa277c [HIVEMALL-308] Relocate kryo packages in shaded jar
9aa277c is described below
commit 9aa277cdc864c19add1d08920e9c7275960e5b87
Author: Makoto Yui <my...@apache.org>
AuthorDate: Fri Apr 23 21:22:30 2021 +0900
[HIVEMALL-308] Relocate kryo packages in shaded jar
## What changes were proposed in this pull request?
Relocate Kryo packages in fat jar to avoid conflicts
## What type of PR is it?
Hot Fix
## What is the Jira issue?
https://issues.apache.org/jira/browse/HIVEMALL-308
## How was this patch tested?
manual tests on EMR
## Checklist
- [x] Did you apply source code formatter, i.e., `./bin/format_code.sh`, for your commit?
- [x] Did you run system tests on Hive (or Spark)?
Author: Makoto Yui <my...@apache.org>
Closes #239 from myui/relocate_kryo.
---
dist/pom.xml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/dist/pom.xml b/dist/pom.xml
index f70b6fe..fc8a7c3 100644
--- a/dist/pom.xml
+++ b/dist/pom.xml
@@ -146,6 +146,18 @@
<pattern>org.apache.hive.hcatalog</pattern>
<shadedPattern>hivemall.hcatalog</shadedPattern>
</relocation>
+ <relocation>
+ <pattern>com.esotericsoftware.kryo</pattern>
+ <shadedPattern>hivemall.kryo</shadedPattern>
+ </relocation>
+ <relocation>
+ <pattern>com.esotericsoftware.minlog</pattern>
+ <shadedPattern>hivemall.kryo.minlog</shadedPattern>
+ </relocation>
+ <relocation>
+ <pattern>com.esotericsoftware.reflectasm</pattern>
+ <shadedPattern>hivemall.kryo.reflectasm</shadedPattern>
+ </relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">