Skip to content
Permalink
Browse files
[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 <myui@apache.org>

Closes #239 from myui/relocate_kryo.
  • Loading branch information
myui committed Apr 23, 2021
1 parent 782c6e6 commit 9aa277cdc864c19add1d08920e9c7275960e5b87
Showing 1 changed file with 12 additions and 0 deletions.
@@ -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">

0 comments on commit 9aa277c

Please sign in to comment.