[
https://issues.apache.org/jira/browse/YARN-9057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16708496#comment-16708496
]
Steve Loughran commented on YARN-9057:
--------------------------------------
bq. it it seems to create more problems than the ones it fixed.
Afraid so.
General practise in hadoop-*: unshaded in all our cross references, moving to
shaded for public artifacts (which we still need to do for the object stores).
And we dream of a java9-only world...
> CSI jar file should not bundle third party dependencies
> -------------------------------------------------------
>
> Key: YARN-9057
> URL: https://issues.apache.org/jira/browse/YARN-9057
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: build
> Affects Versions: 3.3.0
> Reporter: Eric Yang
> Assignee: Weiwei Yang
> Priority: Blocker
>
> hadoop-yarn-csi-3.3.0-SNAPSHOT.jar bundles all third party classes like a
> shaded jar instead of CSI only classes. This is generating error messages
> for YARN cli:
> {code}
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/usr/local/hadoop-3.3.0-SNAPSHOT/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/usr/local/hadoop-3.3.0-SNAPSHOT/share/hadoop/yarn/hadoop-yarn-csi-3.3.0-SNAPSHOT.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]