lucene-solr icon indicating copy to clipboard operation
lucene-solr copied to clipboard

SOLR-15215: SolrJ: Remove Netty dependency

Open dsmiley opened this issue 4 years ago • 1 comments

Netty is an optional dependency of Zookeeper; one must opt-in to use it. Netty remains a solr-core dependency transitively via Hadoop/HDFS.

https://issues.apache.org/jira/browse/SOLR-15215

dsmiley avatar Mar 05 '21 15:03 dsmiley

I put them in https://issues.apache.org/jira/browse/SOLR-13665. And the reason was to enable secure connections with Zookeeper.

  • To be able to use secure solr-zk communication with SSL, netty libs are needed on client side
  • Solr hosts themselves use solrj to talk to zookeeper, so they need to be available on the host

See https://issues.apache.org/jira/browse/SOLR-7893 for plans to document how to enable this. If netty is not shipped with Solr, then this needs to be a plugin. Actually I think this would make a good candidate for a package "solrj-zk-netty", which would simply contain the needed jar files and make them available to solrj, which can then talk SSL with Zookeeper.

Problem with removing it before we have an alternative ready is that people already rely on it, see https://issues.apache.org/jira/browse/SOLR-14027 which is a bug report about Admin UI ZK screen not working when using SSL against Zookeeper.

janhoy avatar Mar 05 '21 15:03 janhoy

这是来自QQ邮箱的假期自动回复邮件。您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

itygh avatar Aug 02 '23 21:08 itygh