You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bb...@apache.org on 2022/12/15 17:04:35 UTC
[hbase] 55/91: Fix client bundle metrics dep issues (#14)
This is an automated email from the ASF dual-hosted git repository.
bbeaudreault pushed a commit to branch hubspot-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
commit 23239e7eefbacd0c05d0f4a2b3f11e8e52862de3
Author: Bri Augenreich <bb...@vt.edu>
AuthorDate: Thu Jun 16 16:58:17 2022 -0400
Fix client bundle metrics dep issues (#14)
Co-authored-by: Briana Augenreich <ba...@hubspot.com>
---
hubspot-client-bundles/hbase-client-bundle/pom.xml | 3 +++
hubspot-client-bundles/pom.xml | 4 ++++
2 files changed, 7 insertions(+)
diff --git a/hubspot-client-bundles/hbase-client-bundle/pom.xml b/hubspot-client-bundles/hbase-client-bundle/pom.xml
index 1c7b3fe4c5c..2cbb4e8f01c 100644
--- a/hubspot-client-bundles/hbase-client-bundle/pom.xml
+++ b/hubspot-client-bundles/hbase-client-bundle/pom.xml
@@ -85,6 +85,9 @@
<include>org.apache.hbase:hbase-endpoint</include>
<include>com.google.protobuf:protobuf-java</include>
+
+ <!-- For client metrics we need to include so the metrics package can be shaded to prevent issues with our parent pom -->
+ <include>io.dropwizard.metrics:metrics-core</include>
</includes>
</artifactSet>
<filters>
diff --git a/hubspot-client-bundles/pom.xml b/hubspot-client-bundles/pom.xml
index 9be717c2602..8c32bdbcf42 100644
--- a/hubspot-client-bundles/pom.xml
+++ b/hubspot-client-bundles/pom.xml
@@ -74,6 +74,10 @@
<pattern>com.google.protobuf</pattern>
<shadedPattern>${shade.prefix}.com.google.protobuf</shadedPattern>
</relocation>
+ <relocation>
+ <pattern>com.codahale.metrics</pattern>
+ <shadedPattern>${shade.prefix}.com.codahale.metrics</shadedPattern>
+ </relocation>
<!--
This is a little brittle, but as far as I can tell this class list hasn't
really changed much. The core problem this solves is that our hadoop jobs