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

Jan Høydahl commented on SOLR-17168:
------------------------------------

Thanks for reporting this. Are you able to provide a Pull Request? It will 
likely not trigger an immediate 8.11.4 release, but if more things pile up then 
perhaps later?

The obvious workaround is of course to install the missing jar manually or to 
do a custom build from source.

> Netty epoll implementation not included in 8.11.3
> -------------------------------------------------
>
>                 Key: SOLR-17168
>                 URL: https://issues.apache.org/jira/browse/SOLR-17168
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 8.11.3
>            Reporter: Colvin Cowie
>            Priority: Minor
>
> Solr 8.11.3 updated netty from 4.1.69 to 4.1.99.
> While it still contains the [netty-transport-native-epoll 
> dependency,|https://github.com/apache/lucene-solr/blob/9ebfd2b0a584faa072685fff4956f05b52e60d7c/lucene/ivy-versions.properties#L120-L129]
>  the epoll implementation moved to a [separate 
> jar|https://mvnrepository.com/artifact/io.netty/netty-transport-classes-epoll]
>  in netty 4.1.70.
> That jar is included in Solr 9, but it's not been added to the ivy-versions 
> used in Solr 8.
> As a result, attemping to use Netty for SSL results in an exception:
> {quote}{{2024-02-20T09:53:17.350:out: Caused by: 
> java.lang.NoClassDefFoundError: io/netty/channel/epoll/Epoll
> 2024-02-20T09:53:17.352:out: at 
> org.apache.zookeeper.common.NettyUtils.newNioOrEpollEventLoopGroup(NettyUtils.java:74)
>  ~[zookeeper-3.6.2.jar:3.6.2]
> 2024-02-20T09:53:17.353:out: at 
> org.apache.zookeeper.ClientCnxnSocketNetty.<init>(ClientCnxnSocketNetty.java:86)
>  ~[zookeeper-3.6.2.jar:3.6.2]
> 2024-02-20T09:53:17.355:out: at 
> jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
> Method) ~[?:?]
> 2024-02-20T09:53:17.357:out: at 
> jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>  ~[?:?]
> 2024-02-20T09:53:17.358:out: at 
> jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>  ~[?:?]
> 2024-02-20T09:53:17.360:out: at 
> java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
> 2024-02-20T09:53:17.361:out: at 
> org.apache.zookeeper.ZooKeeper.getClientCnxnSocket(ZooKeeper.java:3404) 
> ~[zookeeper-3.6.2.jar:3.6.2]
> 2024-02-20T09:53:17.363:out: at 
> org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:1027) 
> ~[zookeeper-3.6.2.jar:3.6.2]
> 2024-02-20T09:53:17.364:out: at 
> org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:937) 
> ~[zookeeper-3.6.2.jar:3.6.2]
> 2024-02-20T09:53:17.366:out: at 
> org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:1108) 
> ~[zookeeper-3.6.2.jar:3.6.2]
> 2024-02-20T09:53:17.368:out: at 
> org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:818) 
> ~[zookeeper-3.6.2.jar:3.6.2]
> 2024-02-20T09:53:17.369:out: at 
> org.apache.solr.common.cloud.SolrZooKeeper.<init>(SolrZooKeeper.java:44) 
> ~[solr-solrj-8.11.3.jar:8.11.3 baa7c80af4278cc8951a344d8e9320386588d12d - 
> houstonputman - 2024-02-05 15:08:47]
> 2024-02-20T09:53:17.371:out: at 
> org.apache.solr.common.cloud.ZkClientConnectionStrategy.createSolrZooKeeper(ZkClientConnectionStrategy.java:109)
>  ~[solr-solrj-8.11.3.jar:8.11.3 baa7c80af4278cc8951a344d8e9320386588d12d - 
> houstonputman - 2024-02-05 15:08:47]
> 2024-02-20T09:53:17.372:out: at 
> org.apache.solr.common.cloud.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:37)
>  ~[solr-solrj-8.11.3.jar:8.11.3 baa7c80af4278cc8951a344d8e9320386588d12d - 
> houstonputman - 2024-02-05 15:08:47]
> 2024-02-20T09:53:17.374:out: at 
> org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:166) 
> ~[solr-solrj-8.11.3.jar:8.11.3 baa7c80af4278cc8951a344d8e9320386588d12d - 
> houstonputman - 2024-02-05 15:08:47]
> 2024-02-20T09:53:17.375:out: ... 7 more
> 2024-02-20T09:53:17.377:out: Caused by: java.lang.ClassNotFoundException: 
> io.netty.channel.epoll.Epoll
> 2024-02-20T09:53:17.379:out: at 
> jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) 
> ~[?:?]
> 2024-02-20T09:53:17.381:out: at 
> jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
>  ~[?:?]
> 2024-02-20T09:53:17.382:out: at 
> java.lang.ClassLoader.loadClass(ClassLoader.java:527) ~[?:?]
> 2024-02-20T09:53:17.384:out: at 
> org.apache.zookeeper.common.NettyUtils.newNioOrEpollEventLoopGroup(NettyUtils.java:74)
>  ~[zookeeper-3.6.2.jar:3.6.2]
> 2024-02-20T09:53:17.386:out: at 
> org.apache.zookeeper.ClientCnxnSocketNetty.<init>(ClientCnxnSocketNetty.java:86)
>  ~[zookeeper-3.6.2.jar:3.6.2]
> 2024-02-20T09:53:17.387:out: at 
> jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
> Method) ~[?:?]
> 2024-02-20T09:53:17.389:out: at 
> jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>  ~[?:?]
> 2024-02-20T09:53:17.391:out: at 
> jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>  ~[?:?]
> 2024-02-20T09:53:17.392:out: at 
> java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
> 2024-02-20T09:53:17.394:out: at 
> org.apache.zookeeper.ZooKeeper.getClientCnxnSocket(ZooKeeper.java:3404) 
> ~[zookeeper-3.6.2.jar:3.6.2]
> 2024-02-20T09:53:17.396:out: at 
> org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:1027) 
> ~[zookeeper-3.6.2.jar:3.6.2]
> 2024-02-20T09:53:17.397:out: at 
> org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:937) 
> ~[zookeeper-3.6.2.jar:3.6.2]
> 2024-02-20T09:53:17.399:out: at 
> org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:1108) 
> ~[zookeeper-3.6.2.jar:3.6.2]
> 2024-02-20T09:53:17.401:out: at 
> org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:818) 
> ~[zookeeper-3.6.2.jar:3.6.2]
> 2024-02-20T09:53:17.402:out: at 
> org.apache.solr.common.cloud.SolrZooKeeper.<init>(SolrZooKeeper.java:44) 
> ~[solr-solrj-8.11.3.jar:8.11.3 baa7c80af4278cc8951a344d8e9320386588d12d - 
> houstonputman - 2024-02-05 15:08:47]
> 2024-02-20T09:53:17.404:out: at 
> org.apache.solr.common.cloud.ZkClientConnectionStrategy.createSolrZooKeeper(ZkClientConnectionStrategy.java:109)
>  ~[solr-solrj-8.11.3.jar:8.11.3 baa7c80af4278cc8951a344d8e9320386588d12d - 
> houstonputman - 2024-02-05 15:08:47]
> 2024-02-20T09:53:17.406:out: at 
> org.apache.solr.common.cloud.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:37)
>  ~[solr-solrj-8.11.3.jar:8.11.3 baa7c80af4278cc8951a344d8e9320386588d12d - 
> houstonputman - 2024-02-05 15:08:47]
> 2024-02-20T09:53:17.407:out: at 
> org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:166) 
> ~[solr-solrj-8.11.3.jar:8.11.3 baa7c80af4278cc8951a344d8e9320386588d12d - 
> houstonputman - 2024-02-05 15:08:47]
> 2024-02-20T09:53:17.409:out: ... 7 more}}
> {quote}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to