Rajesh Kumar C created SOLR-16557:
-------------------------------------
Summary: Solr 9.0.0 - DIH package cannot be installed
Key: SOLR-16557
URL: https://issues.apache.org/jira/browse/SOLR-16557
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Affects Versions: 9.0
Reporter: Rajesh Kumar C
Hi Team,
I have checked in IRC Channel & sent mail to User mailing list, as well. As
there is no update, creating a ticket here.
We were using the Solr 8.11.1 version for quite some time. We have planned to
upgrade to Solr 9.0.0, I have just installed Solr 9.0.0, and i know DIH is
removed from Solr 9.
But when I try to use "[https://github.com/rohitbemax/dataimporthandler]" 3rd
party plugin suggested by Solr, it has support to install it through Package
manager, but Package manager is not working in Solr Stand alone mode.
/opt/solr-9.0.0/bin/solr package add-repo data-import-handler
"https://raw.githubusercontent.com/rohitbemax/dataimporthandler/master/repo/"
Found 1 Solr nodes:
Solr process 31961 running on port 8983
org.apache.solr.common.SolrException: java.lang.NullPointerException
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:240)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:135)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:126)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:96)
at
org.apache.solr.packagemanager.PackageManager.<init>(PackageManager.java:82)
at org.apache.solr.util.PackageTool.runImpl(PackageTool.java:86)
at org.apache.solr.util.SolrCLI$ToolBase.runTool(SolrCLI.java:169)
at org.apache.solr.util.SolrCLI.main(SolrCLI.java:284)
Caused by: java.lang.NullPointerException
at
org.apache.zookeeper.client.ConnectStringParser.<init>(ConnectStringParser.java:54)
at
org.apache.zookeeper.ZooKeeper.createDefaultHostProvider(ZooKeeper.java:1135)
at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:734)
at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:448)
at org.apache.solr.common.cloud.SolrZooKeeper.<init>(SolrZooKeeper.java:43)
at
org.apache.solr.common.cloud.ZkClientConnectionStrategy.createSolrZooKeeper(ZkClientConnectionStrategy.java:115)
at
org.apache.solr.common.cloud.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:35)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:215)
... 7 more
ERROR: java.lang.NullPointerException
Also I have noticed that the above plugin does not have a JAR file for Solr
9.0.0. It has JAR file upto Solr 8.10 version.
So these are my questions.
1. How to install the above 3rd party DIH plugin in Solr 9.0.0 Stand alone mode?
2. Does the above plugin have Solr 8.10 DIH JAR file, which will support Solr
9.0.0 version?
3. Is there any other alternative for DIH, to import data from database to Solr?
Please advise on the above. Thank you.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]