[ 
https://issues.apache.org/jira/browse/SOLR-16557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Høydahl resolved SOLR-16557.
--------------------------------
      Assignee:     (was: Ishan Chattopadhyaya)
    Resolution: Cannot Reproduce

Closing as cannot reproduce. I tested locally and I could install the repo. 
However could not install the package on Solr 9.x as the package explicitly 
says in its manifest that it is for solr 8.x only.

The NPE you are experiencing is due to a bad or missing Zookeeper connection 
string (ZK_HOST). We'd need more detailed instructions on how you ended up 
there to reproduce it.

WRT Data Import Handler, please contact that project to request support for 
newer versions of Solr, but don't have your hopes too high, 2 yrs since last 
activity...

> 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
>    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: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to