You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexandre Rafalovitch (JIRA)" <ji...@apache.org> on 2018/07/05 17:37:00 UTC
[jira] [Closed] (SOLR-12179) ZKPropertiesWriter error DIH
[ https://issues.apache.org/jira/browse/SOLR-12179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexandre Rafalovitch closed SOLR-12179.
----------------------------------------
> ZKPropertiesWriter error DIH
> ----------------------------
>
> Key: SOLR-12179
> URL: https://issues.apache.org/jira/browse/SOLR-12179
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: contrib - DataImportHandler
> Affects Versions: 6.6.1
> Environment: Debian
> Solr Cloud
> Reporter: Maxence SAUNIER
> Priority: Major
>
> Hello,
> I use Solr Cloud and I test DIH system in cloud, but I have this error :
> {quote}
> Full Import failed:org.apache.solr.handler.dataimport.DataImportHandlerException: Unable to PropertyWriter implementation:ZKPropertiesWriter
> at org.apache.solr.handler.dataimport.DataImporter.createPropertyWriter(DataImporter.java:330)
> at org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:411)
> at org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:474)
> at org.apache.solr.handler.dataimport.DataImporter.lambda$runAsync$0(DataImporter.java:457)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.NullPointerException
> at org.apache.solr.handler.dataimport.DocBuilder.loadClass(DocBuilder.java:935)
> at org.apache.solr.handler.dataimport.DataImporter.createPropertyWriter(DataImporter.java:326)
> ... 4 more
> {quote}
> My DIH definition on the cloud
> {quote}
> <dataConfig>
> <dataSource name="Gesloc" type="JdbcDataSource" driver="com.mysql.jdbc.Driver" url="jdbc:mysql://srv-gesloc-sql/TRANSACTIONCITYANEWLOCATION" user="ics" password="IcsPerms"
> runtimeLib="true" version="1"/>
> <document>
> <entity name="Advertisements_Gesloc" dataSource="Gesloc" pk="id" transformer="TemplateTransformer"
> query="SELECT id,origin FROM view_indexation_advertisements" >
> <field column="id" name="id"/>
> <field column="origin" name="origin"/>
> </entity>
> </document>
> </dataConfig>
> {quote}
> Call response :
> http://localhost:8983/solr/advertisements2/full-advertisements?command=full-import&clean=false&commit=true
> {quote}
> <response>
> <lst name="responseHeader">
> <int name="status">0</int>
> <int name="QTime">2</int>
> </lst>
> <lst name="initArgs">
> <bool name="runtimeLib">true</bool>
> <long name="version">1</long>
> <lst name="defaults">
> <str name="config">DIH/advertisements.xml</str>
> </lst>
> </lst>
> <str name="command">full-import</str>
> <str name="status">idle</str>
> <str name="importResponse"/>
> <lst name="statusMessages"/>
> </response>
> {quote}
> I don't understand why I have this error. Can you help me ?
> Thanks you.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org