根据本指南,我已经在一台机器上部署了具有 2 个阴影和 2 个切片的 solr 云设置:http: //outerthought.org/blog/491-ot.html
当同时从 2 个客户端提交 500 多个文档时,solr 云会抛出此异常。任何形式的帮助表示赞赏。谢谢。
SEVERE: shard update error StdNode:
http://newscheduler:8900/solr/core_collection1_slice1_shard2/:org.apache.solr.common.SolrException:
Server at http://newscheduler:8900/solr/core_collection1_slice1_shard2 returned non ok status:500,
message:Server Error
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:403)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:209)
at org.apache.solr.update.SolrCmdDistributor$1.call(SolrCmdDistributor.java:320)
at org.apache.solr.update.SolrCmdDistributor$1.call(SolrCmdDistributor.java:301)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)