You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/02/11 00:16:00 UTC
[jira] [Commented] (DRILL-7841) Need to exclude or shade netty lib
to avoid [WARNING]
[ https://issues.apache.org/jira/browse/DRILL-7841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17282793#comment-17282793 ]
ASF GitHub Bot commented on DRILL-7841:
---------------------------------------
mkusnir opened a new pull request #2165:
URL: https://github.com/apache/drill/pull/2165
# [DRILL-7841](https://issues.apache.org/jira/browse/DRILL-7841): Need to exclude or shade netty lib to avoid [WARNING]
## Description
Exclude io.netty:netty-transport-native-epoll:* and io.netty:netty-transport-native-unix-common:* from shade plugin in drill-jdbc-all to avoid some build warnings
## Documentation
N/A
## Testing
Relevant errors not present in build, change does not cause additional Maven tests to fail
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
> Need to exclude or shade netty lib to avoid [WARNING]
> ------------------------------------------------------
>
> Key: DRILL-7841
> URL: https://issues.apache.org/jira/browse/DRILL-7841
> Project: Apache Drill
> Issue Type: Bug
> Components: Storage - JDBC, Tools, Build & Test
> Affects Versions: 1.18.0
> Reporter: Vitalii Diravka
> Priority: Minor
> Fix For: Future
>
>
> *[Very minor, but can be good for newcomers]*
> In process of _mvn clean install -DskipTests_ the folowwing WARNING is happened:
> * org.apache.drill.exec:drill-jdbc-all:jar:1.19.0-SNAPSHOT
> ** shade
> *** netty-transport-native-epoll-4.0.48.Final-linux-x86_64.jar, netty-transport-native-epoll-4.1.45.Final.jar define 46 overlapping classes:
> {code:java}
> [WARNING] netty-transport-native-epoll-4.0.48.Final-linux-x86_64.jar, netty-transport-native-epoll-4.1.45.Final.jar define 46 overlapping classes:
> netty-transport-native-epoll-4.0.48.Final-linux-x86_64.jar, netty-transport-native-epoll-4.1.45.Final.jar define 46 overlapping classes:
> - io.netty.channel.epoll.AbstractEpollStreamChannel$2
> - io.netty.channel.epoll.AbstractEpollServerChannel$EpollServerSocketUnsafe
> - io.netty.channel.epoll.EpollDatagramChannel
> - io.netty.channel.epoll.AbstractEpollStreamChannel$SpliceInChannelTask
> - io.netty.channel.epoll.NativeDatagramPacketArray
> - io.netty.channel.epoll.EpollSocketChannelConfig
> - io.netty.channel.epoll.EpollTcpInfo
> - io.netty.channel.epoll.EpollEventArray
> - io.netty.channel.epoll.EpollEventLoop
> - io.netty.channel.epoll.EpollSocketChannel
> - 36 more...
> netty-transport-native-epoll-4.0.48.Final-linux-x86_64.jar, netty-transport-native-unix-common-4.1.45.Final.jar define 15 overlapping classes:
> - io.netty.channel.unix.Errors$NativeConnectException
> - io.netty.channel.unix.ServerDomainSocketChannel
> - io.netty.channel.unix.DomainSocketAddress
> - io.netty.channel.unix.Socket
> - io.netty.channel.unix.NativeInetAddress
> - io.netty.channel.unix.DomainSocketChannelConfig
> - io.netty.channel.unix.Errors$NativeIoException
> - io.netty.channel.unix.DomainSocketReadMode
> - io.netty.channel.unix.ErrorsStaticallyReferencedJniMethods
> - io.netty.channel.unix.UnixChannel
> - 5 more...
> maven-shade-plugin has detected that some class files are
> present in two or more JARs. When this happens, only one
> single version of the class is copied to the uber jar.
> Usually this is not harmful and you can skip these warnings,
> otherwise try to manually exclude artifacts based on
> mvn dependency:tree -Ddetail=true and the above output.
> See http://maven.apache.org/plugins/maven-shade-plugin/
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)