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>
This commit is contained in:
Balazs Meszaros 2019-09-10 19:24:38 +02:00 committed by Sean Busbey
parent 4ca760fe9d
commit 63db1d69a1
2 changed files with 4 additions and 4 deletions

View File

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

View File

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