lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Lucene Test Case Failure: org.apache.lucene.index.TestIndexWriter.testThreadInterruptDeadlock (from TestIndexWriter)
Date Wed, 28 Jul 2010 00:05:10 GMT
Well that was fast... I'll try to repro.  Can already hear the beer
flowing.... better get a backup CO2 tank.

Mike

On Tue, Jul 27, 2010 at 7:56 PM, Mark Miller <markrmiller@gmail.com> wrote:
> FYI - Here is a test failure I just got:
>
> org.apache.lucene.index.TestIndexWriter.testThreadInterruptDeadlock
> (from TestIndexWriter)
>
> Failing for the past 1 build (Since #10 )
> Took 5.6 sec.
> add description
> Error Message
>
> ConcurrentMergeScheduler hit unhandled exceptions
> Stacktrace
>
> junit.framework.AssertionFailedError: ConcurrentMergeScheduler hit
> unhandled exceptions
>        at org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:195)
>        at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:328)
> Standard Output
>
> NOTE: random codec of testcase 'testThreadInterruptDeadlock' was: PreFlex
> Standard Error
>
> Exception in thread "Lucene Merge Thread #3"
> org.apache.lucene.index.MergePolicy$MergeException:
> java.lang.IllegalStateException: sub-readers have different
> BytesRef.Comparators:
> org.apache.lucene.util.BytesRef$UTF8SortedAsUnicodeComparator@535f2c97
> vs org.apache.lucene.util.BytesRef$UTF8SortedAsUTF16Comparator@d689844;
> cannot merge
>        at
> org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(ConcurrentMergeScheduler.java:471)
>        at
> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:435)
> Caused by: java.lang.IllegalStateException: sub-readers have different
> BytesRef.Comparators:
> org.apache.lucene.util.BytesRef$UTF8SortedAsUnicodeComparator@535f2c97
> vs org.apache.lucene.util.BytesRef$UTF8SortedAsUTF16Comparator@d689844;
> cannot merge
>        at org.apache.lucene.index.MultiTermsEnum.reset(MultiTermsEnum.java:119)
>        at org.apache.lucene.index.MultiFieldsEnum.terms(MultiFieldsEnum.java:112)
>        at
> org.apache.lucene.index.codecs.FieldsConsumer.merge(FieldsConsumer.java:49)
>        at org.apache.lucene.index.SegmentMerger.mergeTerms(SegmentMerger.java:657)
>        at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:154)
>        at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4024)
>        at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3618)
>        at
> org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:339)
>        at
> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:407)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message