You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by av...@apache.org on 2018/08/08 17:30:15 UTC

[ambari] branch trunk updated: [AMBARI-23112] Some libraries are not relocated in ambari-metrics-common jar. (#1985)

This is an automated email from the ASF dual-hosted git repository.

avijayan pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 642fd44  [AMBARI-23112] Some libraries are not relocated in ambari-metrics-common jar. (#1985)
642fd44 is described below

commit 642fd44dc2f3462b9b98fce41495b1a83a280ef1
Author: avijayanhwx <av...@hortonworks.com>
AuthorDate: Wed Aug 8 10:30:13 2018 -0700

    [AMBARI-23112] Some libraries are not relocated in ambari-metrics-common jar. (#1985)
---
 ambari-metrics/ambari-metrics-common/pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/ambari-metrics/ambari-metrics-common/pom.xml b/ambari-metrics/ambari-metrics-common/pom.xml
index d6f1fe0..1c092dc 100644
--- a/ambari-metrics/ambari-metrics-common/pom.xml
+++ b/ambari-metrics/ambari-metrics-common/pom.xml
@@ -82,6 +82,14 @@
                   <shadedPattern>org.apache.ambari.metrics.relocated.commons.lang</shadedPattern>
                 </relocation>
                 <relocation>
+                  <pattern>org.apache.commons.math3</pattern>
+                  <shadedPattern>org.apache.ambari.metrics.relocated.commons.math3</shadedPattern>
+                </relocation>
+                <relocation>
+                  <pattern>org.apache.commons.codec</pattern>
+                  <shadedPattern>org.apache.ambari.metrics.relocated.commons.codec</shadedPattern>
+                </relocation>
+                <relocation>
                   <pattern>org.apache.curator</pattern>
                   <shadedPattern>org.apache.ambari.metrics.sink.relocated.curator</shadedPattern>
                 </relocation>