[
https://issues.apache.org/jira/browse/CONNECTORS-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16180310#comment-16180310
]
Karl Wright commented on CONNECTORS-1458:
-----------------------------------------
After making the obvious changes, we've still got a problem when running the
HSQLDB IT tests:
{code}
FATAL 2017-09-26T02:14:47,632 (Worker thread '17') - Error tossed:
org/apache/zookeeper/KeeperException$NoNodeException
java.lang.NoClassDefFoundError:
org/apache/zookeeper/KeeperException$NoNodeException
at
org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:644)
~[solr-solrj-7.0.0.jar:7.0.0 3ba304b29825a94249c5145b3f5061e87b87d8f8 - anshum
- 2017-09-08 13:21:09]
at
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:253)
~[solr-solrj-7.0.0.jar:7.0.0 3ba304b29825a94249c5145b3f5061e87b87d8f8 - anshum
- 2017-09-08 13:21:09]
at
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:242)
~[solr-solrj-7.0.0.jar:7.0.0 3ba304b29825a94249c5145b3f5061e87b87d8f8 - anshum
- 2017-09-08 13:21:09]
at
org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:178)
~[solr-solrj-7.0.0.jar:7.0.0 3ba304b29825a94249c5145b3f5061e87b87d8f8 - anshum
- 2017-09-08 13:21:09]
at
org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:195)
~[solr-solrj-7.0.0.jar:7.0.0 3ba304b29825a94249c5145b3f5061e87b87d8f8 - anshum
- 2017-09-08 13:21:09]
at
org.apache.manifoldcf.agents.output.solr.HttpPoster$IngestThread.run(HttpPoster.java:923)
~[classes/:?]
Caused by: java.lang.ClassNotFoundException:
org.apache.zookeeper.KeeperException$NoNodeException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
~[?:1.8.0_45]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_45]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
~[?:1.8.0_45]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_45]
... 6 more
{code}
I don't know why Zookeeper is not being picked up here; while it exists at the
root level, the test itself may need to explicitly reference it. Looking into
that next...
> Explore upgrading the Solr connector to SolrJ 7.0.0
> ---------------------------------------------------
>
> Key: CONNECTORS-1458
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1458
> Project: ManifoldCF
> Issue Type: Task
> Components: Lucene/SOLR connector
> Affects Versions: ManifoldCF 2.8.1
> Reporter: Karl Wright
> Assignee: Karl Wright
> Fix For: ManifoldCF 2.9
>
>
> We need to bring our SolrJ dependency up to date, since SolrJ 7.0.0 was just
> released.
> I did some preliminary dependency analysis using mvn dependency:tree and
> found that the following required dependencies are present:
> {code}
> [INFO] +- org.apache.solr:solr-solrj:jar:7.0.0:compile
> [INFO] | +- org.apache.commons:commons-math3:jar:3.4.1:compile
> [INFO] | +- org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
> [INFO] | +- org.codehaus.woodstox:woodstox-core-asl:jar:4.4.1:compile
> [INFO] | \- org.slf4j:jcl-over-slf4j:jar:1.7.7:compile
> {code}
> There is, however, no explicit dependency on httpcomponents/httpclient
> anymore, so I realized I'd better look at the optional dependencies, as
> listed here:
> https://mvnrepository.com/artifact/org.apache.solr/solr-solrj/7.0.0
> These include:
> httpcomponents/httpclient 4.4.1 (we're at 4.5.3 so we're good there)
> zookeeper 3.4.10 (need to update)
> woodstox-core-asl 4.4.1 (need to update)
> noggit 0.8 (need to update)
> slf4j-api 1.7.7 (need to update)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)