Yet another minor exception: AlreadyClosedException


(Karussell) #1

What could be the cause?

Regards,
Peter.

[tp]-pool-1-thread-59] WARN
org.elasticsearch.index.cache.bloom.simple - [Artemis] [twindex]
failed to load bloom filter for [_uid]
org.apache.lucene.store.AlreadyClosedException: this IndexReader is
closed
at
org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:177)
at
org.apache.lucene.index.SegmentReader.termDocs(SegmentReader.java:962)
at org.elasticsearch.index.cache.bloom.simple.SimpleBloomCache
$BloomFilterLoader.run(SimpleBloomCache.java:181)
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)


(Shay Banon) #2

Thats ok, the bloom filter was getting async loaded, and the shard got closed on it. I pushed a fix not to log this failure.
On Tuesday, February 15, 2011 at 4:37 PM, Karussell wrote:

What could be the cause?

Regards,
Peter.

[tp]-pool-1-thread-59] WARN
org.elasticsearch.index.cache.bloom.simple - [Artemis] [twindex]
failed to load bloom filter for [_uid]
org.apache.lucene.store.AlreadyClosedException: this IndexReader is
closed
at
org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:177)
at
org.apache.lucene.index.SegmentReader.termDocs(SegmentReader.java:962)
at org.elasticsearch.index.cache.bloom.simple.SimpleBloomCache
$BloomFilterLoader.run(SimpleBloomCache.java:181)
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)


(system) #3