lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 周建二 <>
Subject Some problems when upload data to index in cloud environment
Date Sat, 19 Dec 2015 01:16:16 GMT

Hello everyone:

I am building a solr cloud production environment. My solr version is 5.3.1. The environment
consists three nodes running CentOS 6.5. First I build the zookeeper environment by the three
nodes, and then run solr on the three nodes, and at last build a collection consists of three
shards and each shard has two replicas. After that we can see that cloud structure on the
Solr Admin page.

However, when I try to add data to index using this command:
bin/post -c cloud-test example/exampledocs/sample.html  -p 8987 
Some error happen:

java -classpath /usr/local/solr-5.3.1/dist/solr-core-5.3.1.jar -Dauto=yes -Dport=8987 -Dc=cloud-test
-Ddata=files org.apache.solr.util.SimplePostTool example/exampledocs/sample.html

SimplePostTool version 5.0.0

Posting files to [base] url http://localhost:8987/solr/cloud-test/update...

Entering auto mode. File endings considered are xml,json,csv,pdf,doc,docx,ppt,pptx,xls,xlsx,odt,odp,ods,ott,otp,ots,rtf,htm,html,txt,log

POSTing file sample.html (text/html) to [base]/extract

SimplePostTool: WARNING: Solr returned an error #404 (Not Found) for url: http://localhost:8987/solr/cloud-test/update/extract?

SimplePostTool: WARNING: Response: <html>


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

<title>Error 404 Not Found</title>


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

<p>Problem accessing /solr/cloud-test/update/extract. Reason:

<pre>    Not Found</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/>



SimplePostTool: WARNING: IOException while reading response:

1 files indexed.

COMMITting Solr index changes to http://localhost:8987/solr/cloud-test/update...

Time spent: 0:00:00.050

Would anyone help me to solve this problem? Thanks.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message