You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Earwin Burrfoot (JIRA)" <ji...@apache.org> on 2010/03/09 23:44:27 UTC
[jira] Created: (LUCENE-2307) Spurious exception in TestIndexWriter
Spurious exception in TestIndexWriter
-------------------------------------
Key: LUCENE-2307
URL: https://issues.apache.org/jira/browse/LUCENE-2307
Project: Lucene - Java
Issue Type: Bug
Affects Versions: 3.0.2
Environment: MacOS X, Java 6
Reporter: Earwin Burrfoot
Happened on trunk:
[junit] Testsuite: org.apache.lucene.index.TestIndexWriter
[junit] Tests run: 106, Failures: 1, Errors: 0, Time elapsed: 18.567 sec
[junit]
[junit] ------------- Standard Output ---------------
[junit] java.io.IOException: background merge hit exception: _0:c19 _1:c19 _2:c2 _3:c2 _4:c2 _5:c2 _6:c2 _7:c2 _8:c1 into _9 [optimize] [mergeDocStores]
[junit] at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:2341)
[junit] at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:2280)
[junit] at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:2250)
[junit] at org.apache.lucene.index.TestIndexWriter$CommitAndAddIndexes.doBody(TestIndexWriter.java:3759)
[junit] at org.apache.lucene.index.TestIndexWriter$RunAddIndexesThreads$1.run(TestIndexWriter.java:3708)
[junit] Caused by: org.apache.lucene.index.MergePolicy$MergeAbortedException: merge is aborted: _0:c19 _1:c19 _2:c2 _3:c2 _4:c2 _5:c2 _6:c2 _7:c2 _8:c1 into _9 [optimize] [mergeDocStores]
[junit] at org.apache.lucene.index.MergePolicy$OneMerge.checkAborted(MergePolicy.java:135)
[junit] at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4308)
[junit] at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3958)
[junit] at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:339)
[junit] at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:407)
[junit] ------------- ---------------- ---------------
[junit] Testcase: testAddIndexesWithClose(org.apache.lucene.index.TestIndexWriter): FAILED
[junit] null
[junit] junit.framework.AssertionFailedError: null
[junit] at org.apache.lucene.index.TestIndexWriter.testAddIndexesWithClose(TestIndexWriter.java:3835)
[junit] at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:252)
[junit]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-2307) Spurious exception in
TestIndexWriter
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12844004#action_12844004 ]
Michael McCandless commented on LUCENE-2307:
--------------------------------------------
This is odd -- that test calls close(true) on IW, meaning wait for all merges to complete. So offhand I don't know why a merge is being aborted... that should only happen if close(false) is called. Strange....
> Spurious exception in TestIndexWriter
> -------------------------------------
>
> Key: LUCENE-2307
> URL: https://issues.apache.org/jira/browse/LUCENE-2307
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: 3.0.2
> Environment: MacOS X, Java 6
> Reporter: Earwin Burrfoot
>
> Happened on trunk:
> [junit] Testsuite: org.apache.lucene.index.TestIndexWriter
> [junit] Tests run: 106, Failures: 1, Errors: 0, Time elapsed: 18.567 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] java.io.IOException: background merge hit exception: _0:c19 _1:c19 _2:c2 _3:c2 _4:c2 _5:c2 _6:c2 _7:c2 _8:c1 into _9 [optimize] [mergeDocStores]
> [junit] at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:2341)
> [junit] at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:2280)
> [junit] at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:2250)
> [junit] at org.apache.lucene.index.TestIndexWriter$CommitAndAddIndexes.doBody(TestIndexWriter.java:3759)
> [junit] at org.apache.lucene.index.TestIndexWriter$RunAddIndexesThreads$1.run(TestIndexWriter.java:3708)
> [junit] Caused by: org.apache.lucene.index.MergePolicy$MergeAbortedException: merge is aborted: _0:c19 _1:c19 _2:c2 _3:c2 _4:c2 _5:c2 _6:c2 _7:c2 _8:c1 into _9 [optimize] [mergeDocStores]
> [junit] at org.apache.lucene.index.MergePolicy$OneMerge.checkAborted(MergePolicy.java:135)
> [junit] at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4308)
> [junit] at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3958)
> [junit] at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:339)
> [junit] at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:407)
> [junit] ------------- ---------------- ---------------
> [junit] Testcase: testAddIndexesWithClose(org.apache.lucene.index.TestIndexWriter): FAILED
> [junit] null
> [junit] junit.framework.AssertionFailedError: null
> [junit] at org.apache.lucene.index.TestIndexWriter.testAddIndexesWithClose(TestIndexWriter.java:3835)
> [junit] at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:252)
> [junit]
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org