Reply
Highlighted
New Contributor
Posts: 3
Registered: ‎01-16-2017

auto commit error: openNewSearcher called on closed core

hi there, I have some problem.

 

I'm updating documents by hbase-indexer-NRT to solrcloud in 4.10.3-cdh5.7.1

 

below appeared when error message, I can't update document.

 

increasing tlog but don't increase numdoc.

 

I allocated jvm 2g.

 

when I restart solrcloud, can increase numdoc
but I guess lost data because tlog size 35GB but increase data a few numdoc.

 

Do you know how to solve this problem?

 

Thaks.

 

ERROR org.apache.solr.update.CommitTracker: auto commit error...:org.apache.solr.common.SolrException: openNewSearcher called on closed core
at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1490)
at org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:618)
at org.apache.solr.update.CommitTracker.run(CommitTracker.java:216)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

 

 

 

 

ClusterState says we are the leader (http://xxx:8983/solr/yyy), but locally we don't think so. Request came from null
at org.apache.solr.update.processor.DistributedUpdateProcessor.doDefensiveChecks(DistributedUpdateProcessor.java:611)