[
https://issues.apache.org/jira/browse/SOLR-16557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rajesh Kumar C updated SOLR-16557:
----------------------------------
Affects Version/s: 9.0
> Solr 9.0.0 - Not able to install 3rd party DIH plugin
> -----------------------------------------------------
>
> 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
> Priority: Critical
>
> 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 stand alone version for quite some time. To
> upgrade, I have just installed Java 11 & Solr 9.0.0. As I know DIH removed
> from Solr 9, I tried to install
> "[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, getting below error
> when executing command provided in above 3rd party plugin.
> /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 has DIH JAR file upto Solr 8.10
> version, and does not have a DIH JAR file for Solr 9.0.0 version.
>
> So these are my questions.
>
> 1. How to install the above 3rd party DIH plugin in Solr 9.0.0 in "Stand
> alone mode"?
> 2. Does the above 3rd party plugin support Solr 9.0.0 version. If not, what
> is the workaround to use DIH in Solr 9.0.0?
> 3. Is there any other alternative (like 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]