It looks like your original path had a double / in it that was causing problems.
It looks like the below is a bug. Could you please file a JIRA issue?
As a workaround, try explicitly setting the directory to write the properties file in with
the "directory" param. You should be able to set it to anything, as it should not be used.
The ZkPropertiesWriter will work with ZooKeeper instead.
- Mark
On Nov 26, 2012, at 3:18 AM, deniz <denizdurmus87@gmail.com> wrote:
> okay, after changing it to db-config from the full path above, i am able to
> see dataimport page, but still data import is failing... i see this in the
> 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)
>
>
>
> and i cant import anything at all... any ideas?
>
>
>
> -----
> Zeki ama calismiyor... Calissa yapar...
> --
> View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-Fails-to-read-db-config-file-tp4022299p4022307.html
> Sent from the Solr - User mailing list archive at Nabble.com.
|