Failed to perform scheduled engine refresh (RefreshFailedEngineException)


(Jake Scott) #1

Hi ya,

We are seeing errors and wondering if there is any way to fix it. We are
running on 64-bit Windows 7.

We have the following Java version:

java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)

Cheers
Jake

[2013-10-16 16:31:52,211][INFO ][cluster.metadata ] [dev-jakes]
[postoffice] deleting index
[2013-10-16 16:31:52,336][INFO ][cluster.metadata ] [dev-jakes]
[postoffice] creating index, cause [api], shards [5]/[1], mappings []
[2013-10-16 16:31:52,578][INFO ][cluster.metadata ] [dev-jakes]
[postoffice] create_mapping [users]
[2013-10-16 16:31:53,355][INFO ][cluster.metadata ] [dev-jakes]
[postoffice] update_mapping [users] (dynamic)
[2013-10-16 16:31:53,387][WARN ][index.shard.service ] [dev-jakes]
[postoffice][0] Failed to perform scheduled engine refresh
org.elasticsearch.index.engine.RefreshFailedEngineException:
[postoffice][0] Refresh failed
at
org.elasticsearch.index.engine.robin.RobinEngine.refresh(RobinEngine.java:795)
at
org.elasticsearch.index.shard.service.InternalIndexShard.refresh(InternalIndexShard.java:426)
at
org.elasticsearch.index.shard.service.InternalIndexShard$EngineRefresher$1.run(InternalIndexShard.java:801)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Cannot overwrite:
C:\Projects\ElasticSearch\data\postoffice\nodes\0\indices\postoffice\0\index_0.cfs
at org.apache.lucene.store.FSDirectory.ensureCanWrite(FSDirectory.java:298)
at org.apache.lucene.store.FSDirectory.createOutput(FSDirectory.java:287)
at
org.apache.lucene.store.RateLimitedFSDirectory.createOutput(RateLimitedFSDirectory.java:41)
at
org.elasticsearch.index.store.Store$StoreDirectory.createOutput(Store.java:419)
at
org.elasticsearch.index.store.Store$StoreDirectory.createOutput(Store.java:409)
at
org.apache.lucene.store.TrackingDirectoryWrapper.createOutput(TrackingDirectoryWrapper.java:62)
at
org.apache.lucene.store.CompoundFileWriter.getOutput(CompoundFileWriter.java:103)
at
org.apache.lucene.store.CompoundFileWriter.createOutput(CompoundFileWriter.java:231)
at
org.apache.lucene.store.CompoundFileDirectory.createOutput(CompoundFileDirectory.java:332)
at org.apache.lucene.store.Directory.copy(Directory.java:201)
at org.elasticsearch.index.store.Store$StoreDirectory.copy(Store.java:338)
at
org.apache.lucene.store.TrackingDirectoryWrapper.copy(TrackingDirectoryWrapper.java:113)
at
org.apache.lucene.index.IndexWriter.createCompoundFile(IndexWriter.java:4292)
at
org.apache.lucene.index.DocumentsWriterPerThread.sealFlushedSegment(DocumentsWriterPerThread.java:574)
at
org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:541)
at org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:478)
at
org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:615)
at org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:365)
at
org.apache.lucene.index.StandardDirectoryReader.doOpenFromWriter(StandardDirectoryReader.java:275)
at
org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:250)
at
org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:240)
at
org.apache.lucene.index.DirectoryReader.openIfChanged(DirectoryReader.java:170)
at
org.apache.lucene.search.SearcherManager.refreshIfNeeded(SearcherManager.java:118)
at
org.apache.lucene.search.SearcherManager.refreshIfNeeded(SearcherManager.java:58)
at
org.apache.lucene.search.ReferenceManager.doMaybeRefresh(ReferenceManager.java:155)
at
org.apache.lucene.search.ReferenceManager.maybeRefresh(ReferenceManager.java:204)
at
org.elasticsearch.index.engine.robin.RobinEngine.refresh(RobinEngine.java:776)
... 5 more
Suppressed: java.io.IOException: Cannot overwrite:
C:\Projects\ElasticSearch\data\postoffice\nodes\0\indices\postoffice\0\index_0.cfs
at org.apache.lucene.store.FSDirectory.ensureCanWrite(FSDirectory.java:298)
at org.apache.lucene.store.FSDirectory.createOutput(FSDirectory.java:287)
at
org.apache.lucene.store.RateLimitedFSDirectory.createOutput(RateLimitedFSDirectory.java:41)
at
org.elasticsearch.index.store.Store$StoreDirectory.createOutput(Store.java:419)
at
org.elasticsearch.index.store.Store$StoreDirectory.createOutput(Store.java:409)
at
org.apache.lucene.store.TrackingDirectoryWrapper.createOutput(TrackingDirectoryWrapper.java:62)
at
org.apache.lucene.store.CompoundFileWriter.getOutput(CompoundFileWriter.java:103)
at
org.apache.lucene.store.CompoundFileWriter.close(CompoundFileWriter.java:147)
at
org.apache.lucene.store.CompoundFileDirectory.close(CompoundFileDirectory.java:256)
at
org.apache.lucene.util.IOUtils.closeWhileHandlingException(IOUtils.java:81)
at
org.apache.lucene.index.IndexWriter.createCompoundFile(IndexWriter.java:4300)
... 19 more

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Jake Scott) #2

I also forgot to mention I am running the 0.90.5 version of ES

On Wednesday, October 16, 2013 5:07:39 PM UTC+13, Jake Scott wrote:

Hi ya,

We are seeing errors and wondering if there is any way to fix it. We are
running on 64-bit Windows 7.

We have the following Java version:

java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)

Cheers
Jake

[2013-10-16 16:31:52,211][INFO ][cluster.metadata ] [dev-jakes]
[postoffice] deleting index
[2013-10-16 16:31:52,336][INFO ][cluster.metadata ] [dev-jakes]
[postoffice] creating index, cause [api], shards [5]/[1], mappings []
[2013-10-16 16:31:52,578][INFO ][cluster.metadata ] [dev-jakes]
[postoffice] create_mapping [users]
[2013-10-16 16:31:53,355][INFO ][cluster.metadata ] [dev-jakes]
[postoffice] update_mapping [users] (dynamic)
[2013-10-16 16:31:53,387][WARN ][index.shard.service ] [dev-jakes]
[postoffice][0] Failed to perform scheduled engine refresh
org.elasticsearch.index.engine.RefreshFailedEngineException:
[postoffice][0] Refresh failed
at
org.elasticsearch.index.engine.robin.RobinEngine.refresh(RobinEngine.java:795)
at
org.elasticsearch.index.shard.service.InternalIndexShard.refresh(InternalIndexShard.java:426)
at
org.elasticsearch.index.shard.service.InternalIndexShard$EngineRefresher$1.run(InternalIndexShard.java:801)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Cannot overwrite:
C:\Projects\ElasticSearch\data\postoffice\nodes\0\indices\postoffice\0\index_0.cfs
at org.apache.lucene.store.FSDirectory.ensureCanWrite(FSDirectory.java:298)
at org.apache.lucene.store.FSDirectory.createOutput(FSDirectory.java:287)
at
org.apache.lucene.store.RateLimitedFSDirectory.createOutput(RateLimitedFSDirectory.java:41)
at
org.elasticsearch.index.store.Store$StoreDirectory.createOutput(Store.java:419)
at
org.elasticsearch.index.store.Store$StoreDirectory.createOutput(Store.java:409)
at
org.apache.lucene.store.TrackingDirectoryWrapper.createOutput(TrackingDirectoryWrapper.java:62)
at
org.apache.lucene.store.CompoundFileWriter.getOutput(CompoundFileWriter.java:103)
at
org.apache.lucene.store.CompoundFileWriter.createOutput(CompoundFileWriter.java:231)
at
org.apache.lucene.store.CompoundFileDirectory.createOutput(CompoundFileDirectory.java:332)
at org.apache.lucene.store.Directory.copy(Directory.java:201)
at org.elasticsearch.index.store.Store$StoreDirectory.copy(Store.java:338)
at
org.apache.lucene.store.TrackingDirectoryWrapper.copy(TrackingDirectoryWrapper.java:113)
at
org.apache.lucene.index.IndexWriter.createCompoundFile(IndexWriter.java:4292)
at
org.apache.lucene.index.DocumentsWriterPerThread.sealFlushedSegment(DocumentsWriterPerThread.java:574)
at
org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:541)
at
org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:478)
at
org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:615)
at org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:365)
at
org.apache.lucene.index.StandardDirectoryReader.doOpenFromWriter(StandardDirectoryReader.java:275)
at
org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:250)
at
org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:240)
at
org.apache.lucene.index.DirectoryReader.openIfChanged(DirectoryReader.java:170)
at
org.apache.lucene.search.SearcherManager.refreshIfNeeded(SearcherManager.java:118)
at
org.apache.lucene.search.SearcherManager.refreshIfNeeded(SearcherManager.java:58)
at
org.apache.lucene.search.ReferenceManager.doMaybeRefresh(ReferenceManager.java:155)
at
org.apache.lucene.search.ReferenceManager.maybeRefresh(ReferenceManager.java:204)
at
org.elasticsearch.index.engine.robin.RobinEngine.refresh(RobinEngine.java:776)
... 5 more
Suppressed: java.io.IOException: Cannot overwrite:
C:\Projects\ElasticSearch\data\postoffice\nodes\0\indices\postoffice\0\index_0.cfs
at org.apache.lucene.store.FSDirectory.ensureCanWrite(FSDirectory.java:298)
at org.apache.lucene.store.FSDirectory.createOutput(FSDirectory.java:287)
at
org.apache.lucene.store.RateLimitedFSDirectory.createOutput(RateLimitedFSDirectory.java:41)
at
org.elasticsearch.index.store.Store$StoreDirectory.createOutput(Store.java:419)
at
org.elasticsearch.index.store.Store$StoreDirectory.createOutput(Store.java:409)
at
org.apache.lucene.store.TrackingDirectoryWrapper.createOutput(TrackingDirectoryWrapper.java:62)
at
org.apache.lucene.store.CompoundFileWriter.getOutput(CompoundFileWriter.java:103)
at
org.apache.lucene.store.CompoundFileWriter.close(CompoundFileWriter.java:147)
at
org.apache.lucene.store.CompoundFileDirectory.close(CompoundFileDirectory.java:256)
at
org.apache.lucene.util.IOUtils.closeWhileHandlingException(IOUtils.java:81)
at
org.apache.lucene.index.IndexWriter.createCompoundFile(IndexWriter.java:4300)
... 19 more

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3