hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-9057) CSI jar file should not bundle third party dependencies
Date Tue, 04 Dec 2018 11:30:00 GMT

    [ https://issues.apache.org/jira/browse/YARN-9057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16708581#comment-16708581
] 

Weiwei Yang commented on YARN-9057:
-----------------------------------

Attached patch to remove the shading code, and yarn-csi copies its dependencies to share/hadoop/yarn/csi/lib,
so this is self-contained. This will run with its own classpath, I have tried to use AUX service
to launch the service, it works fine.

[~sunilg], [~stevel@apache.org], [~eyang], pls help to review.

Thanks.

> 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
>         Attachments: YARN-9057.001.patch
>
>
> 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message