[HUDI-1180] Upgrade HBase to 2.4.9 (#5004)
Co-authored-by: Sagar Sumit <sagarsumit09@gmail.com>
This commit is contained in:
@@ -155,6 +155,8 @@
|
||||
<exclude>META-INF/*.DSA</exclude>
|
||||
<exclude>META-INF/*.RSA</exclude>
|
||||
<exclude>META-INF/services/javax.*</exclude>
|
||||
<exclude>**/*.proto</exclude>
|
||||
<exclude>hbase-webapps/**</exclude>
|
||||
</excludes>
|
||||
</filter>
|
||||
</filters>
|
||||
@@ -198,17 +200,114 @@
|
||||
<include>com.fasterxml.jackson.core:jackson-annotations</include>
|
||||
<include>com.fasterxml.jackson.core:jackson-core</include>
|
||||
<include>com.fasterxml.jackson.core:jackson-databind</include>
|
||||
<include>org.apache.htrace:htrace-core</include>
|
||||
<include>org.apache.hbase:hbase-common</include>
|
||||
<include>org.apache.hbase:hbase-client</include>
|
||||
<include>org.apache.hbase:hbase-protocol</include>
|
||||
<include>org.apache.hbase:hbase-hadoop-compat</include>
|
||||
<include>org.apache.hbase:hbase-hadoop2-compat</include>
|
||||
<include>org.apache.hbase:hbase-metrics</include>
|
||||
<include>org.apache.hbase:hbase-metrics-api</include>
|
||||
<include>org.apache.hbase:hbase-protocol-shaded</include>
|
||||
<include>org.apache.hbase:hbase-server</include>
|
||||
<include>org.apache.hbase.thirdparty:hbase-shaded-miscellaneous</include>
|
||||
<include>org.apache.hbase.thirdparty:hbase-shaded-netty</include>
|
||||
<include>org.apache.hbase.thirdparty:hbase-shaded-protobuf</include>
|
||||
<include>org.apache.htrace:htrace-core4</include>
|
||||
<include>com.esotericsoftware:kryo-shaded</include>
|
||||
<include>com.esotericsoftware:minlog</include>
|
||||
<include>commons-io:commons-io</include>
|
||||
<include>log4j:log4j</include>
|
||||
<include>org.objenesis:objenesis</include>
|
||||
</includes>
|
||||
</artifactSet>
|
||||
<relocations>
|
||||
<relocation>
|
||||
<pattern>org.apache.commons.io.</pattern>
|
||||
<shadedPattern>org.apache.hudi.org.apache.commons.io.</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.apache.hadoop.hbase.</pattern>
|
||||
<shadedPattern>org.apache.hudi.org.apache.hadoop.hbase.</shadedPattern>
|
||||
<excludes>
|
||||
<exclude>org.apache.hadoop.hbase.KeyValue$KeyComparator</exclude>
|
||||
</excludes>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.apache.hbase.</pattern>
|
||||
<shadedPattern>org.apache.hudi.org.apache.hbase.</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.apache.htrace.</pattern>
|
||||
<shadedPattern>org.apache.hudi.org.apache.htrace.</shadedPattern>
|
||||
</relocation>
|
||||
<!-- The classes below in org.apache.hadoop.metrics2 package come from
|
||||
hbase-hadoop-compat and hbase-hadoop2-compat, which have to be shaded one by one,
|
||||
instead of shading all classes under org.apache.hadoop.metrics2 including ones
|
||||
from hadoop. -->
|
||||
<relocation>
|
||||
<pattern>org.apache.hadoop.metrics2.MetricHistogram</pattern>
|
||||
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.MetricHistogram
|
||||
</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.apache.hadoop.metrics2.MetricsExecutor</pattern>
|
||||
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.MetricsExecutor
|
||||
</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.apache.hadoop.metrics2.impl.JmxCacheBuster</pattern>
|
||||
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.impl.JmxCacheBuster</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.apache.hadoop.metrics2.lib.DefaultMetricsSystemHelper</pattern>
|
||||
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.lib.DefaultMetricsSystemHelper
|
||||
</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.apache.hadoop.metrics2.lib.DynamicMetricsRegistry</pattern>
|
||||
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.lib.DynamicMetricsRegistry
|
||||
</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.apache.hadoop.metrics2.lib.MetricsExecutorImpl</pattern>
|
||||
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.lib.MetricsExecutorImpl
|
||||
</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.apache.hadoop.metrics2.lib.MutableFastCounter</pattern>
|
||||
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.lib.MutableFastCounter
|
||||
</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.apache.hadoop.metrics2.lib.MutableHistogram</pattern>
|
||||
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.lib.MutableHistogram
|
||||
</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.apache.hadoop.metrics2.lib.MutableRangeHistogram</pattern>
|
||||
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.lib.MutableRangeHistogram
|
||||
</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.apache.hadoop.metrics2.lib.MutableSizeHistogram</pattern>
|
||||
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.lib.MutableSizeHistogram
|
||||
</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.apache.hadoop.metrics2.lib.MutableTimeHistogram</pattern>
|
||||
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.lib.MutableTimeHistogram
|
||||
</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.apache.hadoop.metrics2.util.MetricQuantile</pattern>
|
||||
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.util.MetricQuantile
|
||||
</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>org.apache.hadoop.metrics2.util.MetricSampleQuantiles</pattern>
|
||||
<shadedPattern>org.apache.hudi.org.apache.hadoop.metrics2.util.MetricSampleQuantiles
|
||||
</shadedPattern>
|
||||
</relocation>
|
||||
</relocations>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
|
||||
Reference in New Issue
Block a user