[ https://issues.apache.org/jira/browse/DRILL-7841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vitalii Diravka updated DRILL-7841: ----------------------------------- Priority: Minor (was: Trivial) > 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)