lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Dyer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-4112) Dataimporting with SolrCloud Fails
Date Wed, 28 Nov 2012 18:38:58 GMT

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

James Dyer commented on SOLR-4112:
----------------------------------

It looks like all we need for this now is a unit test for ZKPropertiesWriter, which I do not
think has any test coverage?  (After breaking a bunch of things in the DIH included with Solr
3.6, I'm really trying to improve the test situation with DIH.  But I don't know how to write
a good test for SolrCloud stuff...)
                
> Dataimporting with SolrCloud Fails
> ----------------------------------
>
>                 Key: SOLR-4112
>                 URL: https://issues.apache.org/jira/browse/SOLR-4112
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.0
>            Reporter: Deniz Durmus
>            Assignee: James Dyer
>             Fix For: 4.1, 5.0
>
>         Attachments: SOLR-4112.patch
>
>
> While trying to import data from db on cloud, it shows this in logs:
> SEVERE: Full Import failed:org.apache.solr.handler.dataimport.DataImportHandlerException:
Unable to PropertyWriter implementation:ZKPropertiesWriter 
>         at org.apache.solr.handler.dataimport.DataImporter.createPropertyWriter(DataImporter.java:336)

>         at org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:418)

>         at org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:487)

>         at org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:468)

> Caused by: org.apache.solr.common.cloud.ZooKeeperException: ZkSolrResourceLoader does
not support getConfigDir() - likely, what you are trying to do is not supported in ZooKeeper
mode 
>         at org.apache.solr.cloud.ZkSolrResourceLoader.getConfigDir(ZkSolrResourceLoader.java:100)

>         at org.apache.solr.handler.dataimport.SimplePropertiesWriter.init(SimplePropertiesWriter.java:91)

>         at org.apache.solr.handler.dataimport.ZKPropertiesWriter.init(ZKPropertiesWriter.java:45)

>         at org.apache.solr.handler.dataimport.DataImporter.createPropertyWriter(DataImporter.java:334)

>         ... 3 more 
> Exception in thread "Thread-306" java.lang.NullPointerException 
>         at org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:427)

>         at org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:487)

>         at org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:468)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message