HBASE-18759 Fix hbase-shaded-check-invariants failure
* relocate the commons-lang 2.y that comes in from hadoop * exclude some additional jetty / glassfish / javax.servlet from shaded mapreduce Signed-off-by: Apekshit Sharma <appy@apache.org>
This commit is contained in:
parent
79d9f7a734
commit
ade85d8e60
|
@ -97,6 +97,18 @@
|
|||
<artifactId>jersey-guice</artifactId>
|
||||
</exclusion>
|
||||
<!-- Jetty not used by our MR support -->
|
||||
<exclusion>
|
||||
<groupId>javax.servlet</groupId>
|
||||
<artifactId>javax.servlet-api</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-http</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-security</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-server</artifactId>
|
||||
|
@ -121,6 +133,10 @@
|
|||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-webapp</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.glassfish.web</groupId>
|
||||
<artifactId>javax.servlet.jsp</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.glassfish.jersey.containers</groupId>
|
||||
<artifactId>jersey-container-servlet-core</artifactId>
|
||||
|
|
|
@ -317,6 +317,10 @@
|
|||
<pattern>org.apache.commons.net</pattern>
|
||||
<shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.net</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.apache.commons.lang</pattern>
|
||||
<shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.lang</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.apache.commons.lang3</pattern>
|
||||
<shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.lang3</shadedPattern>
|
||||
|
|
Loading…
Reference in New Issue