You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Uma Maheswara Rao G (Jira)" <ji...@apache.org> on 2020/10/01 22:25:00 UTC

[jira] [Created] (HDDS-4302) Shade the org.apache.common.lang3 package as this is coming from other hadoop packages as well.

Uma Maheswara Rao G created HDDS-4302:
-----------------------------------------

             Summary: Shade the org.apache.common.lang3 package as this is coming from other hadoop packages as well.
                 Key: HDDS-4302
                 URL: https://issues.apache.org/jira/browse/HDDS-4302
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
    Affects Versions: 1.0.0
            Reporter: Uma Maheswara Rao G
            Assignee: Uma Maheswara Rao G


In one of our duplicate classes tests, we noticed the duplicate classes because of commons-lang3. To avoid class collisions, it's good to shade the common-lang3 package as well.

java.lang.Exception: Duplicate class 'org.apache.commons.lang3.arch.Processor$Arch.class' detected in '/Users/umagangumalla/Work/repos/Gerrit/xxx/xxx/target/xxx-client-x2.3-dependencies/hadoop-ozone-filesystem-hadoop3-xxxx.jar', class is already present in '/Users/umagangumalla/Work/repos/Gerrit/xxx/xxx/target/xxx-client-xxx-dependencies/commons-lang3-3.9.jar'



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org