[ https://issues.apache.org/jira/browse/HIVE-18955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rui Li updated HIVE-18955: -------------------------- Attachment: HIVE-18955.1.patch > HoS: Unable to create Channel from class NioServerSocketChannel > --------------------------------------------------------------- > > Key: HIVE-18955 > URL: https://issues.apache.org/jira/browse/HIVE-18955 > Project: Hive > Issue Type: Bug > Components: Spark > Reporter: Rui Li > Assignee: Rui Li > Priority: Blocker > Attachments: HIVE-18955.1.patch, HIVE-18955.1.patch > > > Hit the issue when trying launch spark job. Stack trace: > {noformat} > Caused by: java.lang.NoSuchMethodError: > io.netty.channel.DefaultChannelId.newInstance()Lio/netty/channel/DefaultChannelId; > at io.netty.channel.AbstractChannel.newId(AbstractChannel.java:111) > ~[netty-all-4.1.17.Final.jar:4.1.17.Final] > at io.netty.channel.AbstractChannel.<init>(AbstractChannel.java:83) > ~[netty-all-4.1.17.Final.jar:4.1.17.Final] > at > io.netty.channel.nio.AbstractNioChannel.<init>(AbstractNioChannel.java:84) > ~[netty-all-4.1.17.Final.jar:4.1.17.Final] > at > io.netty.channel.nio.AbstractNioMessageChannel.<init>(AbstractNioMessageChannel.java:42) > ~[netty-all-4.1.17.Final.jar:4.1.17.Final] > at > io.netty.channel.socket.nio.NioServerSocketChannel.<init>(NioServerSocketChannel.java:86) > ~[netty-all-4.1.17.Final.jar:4.1.17.Final] > at > io.netty.channel.socket.nio.NioServerSocketChannel.<init>(NioServerSocketChannel.java:72) > ~[netty-all-4.1.17.Final.jar:4.1.17.Final] > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) ~[?:1.8.0_151] > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > ~[?:1.8.0_151] > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > ~[?:1.8.0_151] > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) > ~[?:1.8.0_151] > at > io.netty.channel.ReflectiveChannelFactory.newChannel(ReflectiveChannelFactory.java:38) > ~[netty-all-4.1.17.Final.jar:4.1.17.Final] > ... 32 more > {noformat} > It seems we have conflicts versions of class > {{io.netty.channel.DefaultChannelId}} from async-http-client.jar and > netty-all.jar -- This message was sent by Atlassian JIRA (v7.6.3#76005)