You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Greg Preston <gp...@marinsoftware.com> on 2013/08/27 18:39:12 UTC

Shard splitting error: cannot uncache file="_1.nvm"

I haven't been able to successfully split a shard with Solr 4.4.0

If I have an empty index, or all documents would go to one side of the
split, I hit SOLR-5144.  But if I avoid that case, I consistently get
this error:

290391 [qtp243983770-60] INFO
org.apache.solr.update.processor.LogUpdateProcessor  –
[marin_shard1_1_replica1] webapp=/solr path=/update
params={waitSearcher=true&openSearcher=false&commit=true&wt=javabin&commit_end_point=true&version=2&softCommit=false}
{} 0 2
290392 [qtp243983770-60] ERROR org.apache.solr.core.SolrCore  –
java.io.IOException: cannot uncache file="_1.nvm": it was separately
also created in the delegate directory
        at org.apache.lucene.store.NRTCachingDirectory.unCache(NRTCachingDirectory.java:297)
        at org.apache.lucene.store.NRTCachingDirectory.sync(NRTCachingDirectory.java:216)
        at org.apache.lucene.index.IndexWriter.startCommit(IndexWriter.java:4109)
        at org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:2809)
        at org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2897)
        at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:2872)
        at org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:549)
        at org.apache.solr.update.processor.RunUpdateProcessor.processCommit(RunUpdateProcessorFactory.java:95)
        at org.apache.solr.update.processor.UpdateRequestProcessor.processCommit(UpdateRequestProcessor.java:64)


I've seen LUCENE-4238, but that was closed as a test error.


-Greg

Re: Shard splitting error: cannot uncache file="_1.nvm"

Posted by prem1980 <pr...@gmail.com>.
Did you guys were able to fix this issue?





--
View this message in context: http://lucene.472066.n3.nabble.com/Shard-splitting-error-cannot-uncache-file-1-nvm-tp4086863p4140598.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Shard splitting error: cannot uncache file="_1.nvm"

Posted by rafal janik <ra...@softwaremind.pl>.
Greg Preston wrote
>  [qtp243983770-60] ERROR org.apache.solr.core.SolrCore  –
> java.io.IOException: cannot uncache file="_1.nvm": it was separately
> also created in the delegate directory
>         at
> org.apache.lucene.store.NRTCachingDirectory.unCache(NRTCachingDirectory.java:297)
>         at
> org.apache.lucene.store.NRTCachingDirectory.sync(NRTCachingDirectory.java:216)

Hi Greg, have you figured it out. I have the same problem...

rafal  



--
View this message in context: http://lucene.472066.n3.nabble.com/Shard-splitting-error-cannot-uncache-file-1-nvm-tp4086863p4110414.html
Sent from the Solr - User mailing list archive at Nabble.com.