hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-15939) Filter overlapping objenesis class in hadoop-client-minicluster
Date Fri, 16 Nov 2018 18:27:00 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-15939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xiaoyu Yao updated HADOOP-15939:
--------------------------------
    Description: 
As mentioned here and found in with latest Jenkins shadedclient.

Jenkins does not provide a detailed output file for the failure though. But it can be reproed
with the following cmd:
{code:java}
mvn verify -fae --batch-mode -am -pl hadoop-client-modules/hadoop-client-check-invariants
-pl hadoop-client-modules/hadoop-client-check-test-invariants -pl hadoop-client-modules/hadoop-client-integration-tests
-Dtest=NoUnitTests -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Dfindbugs.skip=true

{code}
Error Message:
{code:java}
[WARNING] objenesis-1.0.jar, mockito-all-1.8.5.jar define 30 overlapping classes: 

[WARNING]   - org.objenesis.ObjenesisBase

[WARNING]   - org.objenesis.instantiator.gcj.GCJInstantiator

[WARNING]   - org.objenesis.ObjenesisHelper

[WARNING]   - org.objenesis.instantiator.jrockit.JRockitLegacyInstantiator

[WARNING]   - org.objenesis.instantiator.sun.SunReflectionFactoryInstantiator

[WARNING]   - org.objenesis.instantiator.ObjectInstantiator

[WARNING]   - org.objenesis.instantiator.gcj.GCJInstantiatorBase$DummyStream

[WARNING]   - org.objenesis.instantiator.basic.ObjectStreamClassInstantiator

[WARNING]   - org.objenesis.ObjenesisException

[WARNING]   - org.objenesis.Objenesis

[WARNING]   - 20 more...

[WARNING] maven-shade-plugin has detected that some class files are

[WARNING] present in two or more JARs. When this happens, only one

[WARNING] single version of the class is copied to the uber jar.

[WARNING] Usually this is not harmful and you can skip these warnings,

[WARNING] otherwise try to manually exclude artifacts based on

[WARNING] mvn dependency:tree -Ddetail=true and the above output.

[WARNING] See [http://maven.apache.org/plugins/maven-shade-plugin/]

[INFO] Replacing original artifact with shaded artifact.

{code}
 

  was:
As mentioned here and found in with latest Jenkins [shadedclient|https://issues.apache.org/jira/browse/HDDS-9?focusedCommentId=16689177&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16689177].

Jenkins does not provide a detailed output file for the failure though. But it can be reproed
with the following cmd:

{code}

mvn verify -fae --batch-mode -am -pl hadoop-client-modules/hadoop-client-check-invariants
-pl hadoop-client-modules/hadoop-client-check-test-invariants -pl hadoop-client-modules/hadoop-client-integration-tests
-Dtest=NoUnitTests -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Dfindbugs.skip=true

{code}

Error Message:

{code}

[WARNING] objenesis-1.0.jar, mockito-all-1.8.5.jar define 30 overlapping classes: 

[WARNING]   - org.objenesis.ObjenesisBase

[WARNING]   - org.objenesis.instantiator.gcj.GCJInstantiator

[WARNING]   - org.objenesis.ObjenesisHelper

[WARNING]   - org.objenesis.instantiator.jrockit.JRockitLegacyInstantiator

[WARNING]   - org.objenesis.instantiator.sun.SunReflectionFactoryInstantiator

[WARNING]   - org.objenesis.instantiator.ObjectInstantiator

[WARNING]   - org.objenesis.instantiator.gcj.GCJInstantiatorBase$DummyStream

[WARNING]   - org.objenesis.instantiator.basic.ObjectStreamClassInstantiator

[WARNING]   - org.objenesis.ObjenesisException

[WARNING]   - org.objenesis.Objenesis

[WARNING]   - 20 more...

[WARNING] maven-shade-plugin has detected that some class files are

[WARNING] present in two or more JARs. When this happens, only one

[WARNING] single version of the class is copied to the uber jar.

[WARNING] Usually this is not harmful and you can skip these warnings,

[WARNING] otherwise try to manually exclude artifacts based on

[WARNING] mvn dependency:tree -Ddetail=true and the above output.

[WARNING] See [http://maven.apache.org/plugins/maven-shade-plugin/]

[INFO] Replacing original artifact with shaded artifact.

{code}

 


> Filter overlapping objenesis class in hadoop-client-minicluster 
> ----------------------------------------------------------------
>
>                 Key: HADOOP-15939
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15939
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Xiaoyu Yao
>            Assignee: Xiaoyu Yao
>            Priority: Major
>         Attachments: HADOOP-15939.001.patch
>
>
> As mentioned here and found in with latest Jenkins shadedclient.
> Jenkins does not provide a detailed output file for the failure though. But it can be
reproed with the following cmd:
> {code:java}
> mvn verify -fae --batch-mode -am -pl hadoop-client-modules/hadoop-client-check-invariants
-pl hadoop-client-modules/hadoop-client-check-test-invariants -pl hadoop-client-modules/hadoop-client-integration-tests
-Dtest=NoUnitTests -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Dfindbugs.skip=true
> {code}
> Error Message:
> {code:java}
> [WARNING] objenesis-1.0.jar, mockito-all-1.8.5.jar define 30 overlapping classes: 
> [WARNING]   - org.objenesis.ObjenesisBase
> [WARNING]   - org.objenesis.instantiator.gcj.GCJInstantiator
> [WARNING]   - org.objenesis.ObjenesisHelper
> [WARNING]   - org.objenesis.instantiator.jrockit.JRockitLegacyInstantiator
> [WARNING]   - org.objenesis.instantiator.sun.SunReflectionFactoryInstantiator
> [WARNING]   - org.objenesis.instantiator.ObjectInstantiator
> [WARNING]   - org.objenesis.instantiator.gcj.GCJInstantiatorBase$DummyStream
> [WARNING]   - org.objenesis.instantiator.basic.ObjectStreamClassInstantiator
> [WARNING]   - org.objenesis.ObjenesisException
> [WARNING]   - org.objenesis.Objenesis
> [WARNING]   - 20 more...
> [WARNING] maven-shade-plugin has detected that some class files are
> [WARNING] present in two or more JARs. When this happens, only one
> [WARNING] single version of the class is copied to the uber jar.
> [WARNING] Usually this is not harmful and you can skip these warnings,
> [WARNING] otherwise try to manually exclude artifacts based on
> [WARNING] mvn dependency:tree -Ddetail=true and the above output.
> [WARNING] See [http://maven.apache.org/plugins/maven-shade-plugin/]
> [INFO] Replacing original artifact with shaded artifact.
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message