Hello,

 

I have a problem with DIH in SolrCloud. I don't understand why, so I need
your help.

 

Solr 6.6 in Cloud.

 

##############################

COMMAND:

curl http://srv-formation-solr:8983/solr/test_dih?command=full-import

 

RESULT:

<html>

  <head>

    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>

    <title>Error 404 Not Found</title>

  </head>

  <body><h2>HTTP ERROR 404</h2>

    <p>Problem accessing /solr/test_dih. Reason:

  <pre>    Not Found</pre></p>

  </body>

</html>

 

 

##############################

CONFIG:

1.      I have create with the command the .system collection

2.      I have post in the blob the DataImportHandler jar file and the MySQL
connector jar

3.      I have add data-import-handler and mysql-connector-java runtimeLib
on the configoverlay.json file with the API

4.      I have create the DIH folder on the cloud with zkcli.sh script

5.      I have push with zkcli the DIH .xml configuration file

 

CONFIGOVERLAY CONTENT :

{

  "runtimeLib":{

    "mysql-connector-java":{

      "name":"mysql-connector-java",

      "version":1},

    "data-import-handler":{

      "name":"data-import-handler",

      "version":1}},

  "requestHandler":{"/test_dih":{

      "name":"/test_dih",

      "class":"org.apache.solr.handler.dataimport.DataImportHandler",

      "runtimeLib":true,

      "version":1,

 
"defaults":{"config":"/configs/arguments_test/DIH/indexation_events.xml"}}}

}

 

 

Thanks for your help

Reply via email to