Hello,

Solr replicas go down when I index text files using the default extracting
request handler.

curl '
http://localhost:8983/solr/myCollection/update/extract?literal.id=someId&commit=true'
-F "myfile=/data/file1.txt"

I'm using Solr (solrcloud) version 5.5.2 with an external zookeeper cluster
of five nodes. I'm trying to index around 500K text files, committing after
indexing 500 files but all replicas go down after indexing around 20K
files, and I see lots of errors like: "ClusterState says we are the
leader,​ but locally we don't think so"

I also tried using SolrCloud in a single node (heap size is 5g, collection
has 2 shards and 0 replicas) and indexed the files using the /bin/post
script to send the text files to Solr but the shards went down with the
same error message.

Below are the error messages in my logs:

- ERROR null DistributedUpdateProcessor ClusterState says we are the
leader,​ but locally we don't think so

- ERROR null SolrCmdDistributor forwarding update to
http://127.0.0.1:8983/solr/myCollection_shard2_replica1/ failed - retrying
... retries: 22 add{,​id=com.app-1}
params:update.chain=add-unknown-fields-to-the-schema&update.distrib=TOLEADER&distrib.from=
http://127.0.0.1:8983/solr/myCollection_shard1_replica1/
rsp:503:org.apache.solr.common.SolrException: Service Unavailable

- ERROR null StreamingSolrClients error

- ERROR null NIOServerCnxn Unexpected Exception

Restarting solr will allow indexing files for a few minutes but replicas
will go down again.

I greatly appreciate any help. Thanks!

Reply via email to