Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12179

ZKPropertiesWriter error DIH

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 6.6.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Debian
      Solr Cloud

      Description

      Hello,
      I use Solr Cloud and I test DIH system in cloud, but I have this error :

      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

      My DIH definition on the cloud

      <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>

      Call response :
      http://localhost:8983/solr/advertisements2/full-advertisements?command=full-import&clean=false&commit=true

      <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>

      I don't understand why I have this error. Can you help me ?
      Thanks you.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Moltroon Maxence SAUNIER
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: