HBASE-23007 UnsatisfiedLinkError when using hbase-shaded packages under linux (#604)

* Relocation rule "net" has been changed to "net/" because "netty"
matches the former rule.
* Added jackson dependencies for WebHdfs.

Signed-off-by: Sean Busbey <busbey@apache.org>
(cherry picked from commit 63db1d69a1)
This commit is contained in:
Balazs Meszaros 2019-09-10 19:24:38 +02:00 committed by Sean Busbey
parent ee08bb8d52
commit 492a66da0a
2 changed files with 4 additions and 4 deletions

View File

@ -133,9 +133,9 @@
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<artifactId>jackson-jaxrs</artifactId>
<version>1.9.13</version>
<scope>test</scope>
<scope>compile</scope>
</dependency>
<dependency>

View File

@ -437,8 +437,8 @@
<!-- top level net-->
<relocation>
<pattern>net</pattern>
<shadedPattern>${shaded.prefix}.net</shadedPattern>
<pattern>net/</pattern>
<shadedPattern>${shaded.prefix}.net.</shadedPattern>
</relocation>
</relocations>