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

Mingchun Zhao commented on CONNECTORS-1740:
-------------------------------------------

Hi [~kwri...@metacarta.com] [~julienFL] ,

I’ve tried to modified the source code for using Zookeeper `3.5.6` and 
migrating Java from 8 to `11`, and the test run-tests-framework was OK. 
Attached the patch [^CONNECTORS-1740.patch] I used in my test.

Also, I tried various other Zookeeper versions(3.6.2, 3.7.0, 3.7.2, 3.8.0, 
3.8.1), but all of them failed in the test run-tests-framework due to an error 
as below.

```
[junit] [reader] INFO org.apache.zookeeper.ZooKeeper - Initiating client 
connection, connectString=localhost:8348 sessionTimeout=2000 
watcher=org.apache.manifoldcf.core.lockmanager.ZooKeeperConnection$ZooKeeperWatcher@b647be3
 
[junit] [reader] INFO org.apache.zookeeper.ClientCnxnSocket - jute.maxbuffer 
value is 1048575 Bytes 
[junit] [reader] INFO org.apache.zookeeper.ClientCnxn - 
zookeeper.request.timeout value is 0. feature enabled=false 
[junit] [reader-SendThread(localhost:8348)] INFO 
org.apache.zookeeper.ClientCnxn - Opening socket connection to server 
localhost/0:0:0:0:0:0:0:1:8348. 
[junit] [reader-SendThread(localhost:8348)] INFO 
org.apache.zookeeper.ClientCnxn - SASL config status: Will not attempt to 
authenticate using SASL (unknown error) 
[junit] [reader-SendThread(localhost:8348)] WARN 
org.apache.zookeeper.ClientCnxn - Session 0x0 for sever 
localhost/0:0:0:0:0:0:0:1:8348, Closing socket connection. Attempting reconnect 
except it is a SessionExpiredException. 
[junit] java.net.ConnectException: Connection refused 
[junit] at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) 
[junit] at 
java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:777)
 
[junit] at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:344)
 
[junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1280)
```

> Solr 9 output connector
> -----------------------
>
>                 Key: CONNECTORS-1740
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1740
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: Lucene/SOLR connector
>    Affects Versions: ManifoldCF 2.23
>            Reporter: Julien Massiera
>            Assignee: Julien Massiera
>            Priority: Major
>         Attachments: CONNECTORS-1740.patch
>
>
> The current Solr output connector is not compatible with Solr 9.x
> We need to update the connector with SolrJ 9 and make sure that the custom 
> code (multipart post requests, basic/preemptive auth) is still required, and, 
> in case it is, port it ! 



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

Reply via email to