You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2010/09/29 08:04:32 UTC
[jira] Created: (LUCENE-2676) TestIndexWriter failes for
SimpleTextCodec
TestIndexWriter failes for SimpleTextCodec
------------------------------------------
Key: LUCENE-2676
URL: https://issues.apache.org/jira/browse/LUCENE-2676
Project: Lucene - Java
Issue Type: Test
Components: Index
Reporter: Simon Willnauer
Priority: Minor
Fix For: 4.0
I just ran into this failure since SimpleText obviously takes a lot of disk space though.
{noformat}
[junit] Testsuite: org.apache.lucene.index.TestIndexWriter
[junit] Testcase: testCommitOnCloseDiskUsage(org.apache.lucene.index.TestIndexWriter): FAILED
[junit] writer used too much space while adding documents: mid=608162 start=5293 end=634214
[junit] junit.framework.AssertionFailedError: writer used too much space while adding documents: mid=608162 start=5293 end=634214
[junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
[junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
[junit] at org.apache.lucene.index.TestIndexWriter.testCommitOnCloseDiskUsage(TestIndexWriter.java:1047)
[junit]
[junit]
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 3.281 sec
[junit]
[junit] ------------- Standard Output ---------------
[junit] NOTE: reproduce with: ant test -Dtestcase=TestIndexWriter -Dtestmethod=testCommitOnCloseDiskUsage -Dtests.seed=-7526585723238322940:-1609544650150801239
[junit] NOTE: test params are: codec=SimpleText, locale=th_TH, timezone=UCT
[junit] ------------- ---------------- ---------------
[junit] Test org.apache.lucene.index.TestIndexWriter FAILED
{noformat}
I did not look into SimpleText but I guess we need either change the threshold for this test or exclude SimpleText from it.
any ideas?
--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Updated: (LUCENE-2676) TestIndexWriter failes for
SimpleTextCodec
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless updated LUCENE-2676:
---------------------------------------
Fix Version/s: 3.1
> TestIndexWriter failes for SimpleTextCodec
> ------------------------------------------
>
> Key: LUCENE-2676
> URL: https://issues.apache.org/jira/browse/LUCENE-2676
> Project: Lucene - Java
> Issue Type: Test
> Components: Index
> Reporter: Simon Willnauer
> Assignee: Michael McCandless
> Priority: Minor
> Fix For: 3.1, 4.0
>
>
> I just ran into this failure since SimpleText obviously takes a lot of disk space though.
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestIndexWriter
> [junit] Testcase: testCommitOnCloseDiskUsage(org.apache.lucene.index.TestIndexWriter): FAILED
> [junit] writer used too much space while adding documents: mid=608162 start=5293 end=634214
> [junit] junit.framework.AssertionFailedError: writer used too much space while adding documents: mid=608162 start=5293 end=634214
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
> [junit] at org.apache.lucene.index.TestIndexWriter.testCommitOnCloseDiskUsage(TestIndexWriter.java:1047)
> [junit]
> [junit]
> [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 3.281 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestIndexWriter -Dtestmethod=testCommitOnCloseDiskUsage -Dtests.seed=-7526585723238322940:-1609544650150801239
> [junit] NOTE: test params are: codec=SimpleText, locale=th_TH, timezone=UCT
> [junit] ------------- ---------------- ---------------
> [junit] Test org.apache.lucene.index.TestIndexWriter FAILED
> {noformat}
> I did not look into SimpleText but I guess we need either change the threshold for this test or exclude SimpleText from it.
> any ideas?
--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Commented: (LUCENE-2676) TestIndexWriter failes for
SimpleTextCodec
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917171#action_12917171 ]
Michael McCandless commented on LUCENE-2676:
--------------------------------------------
The solution was to make sure RIWC did not enable reader pooling, because that can cause IW to use (at peak) more than the expected amount of disk space.
> TestIndexWriter failes for SimpleTextCodec
> ------------------------------------------
>
> Key: LUCENE-2676
> URL: https://issues.apache.org/jira/browse/LUCENE-2676
> Project: Lucene - Java
> Issue Type: Test
> Components: Index
> Reporter: Simon Willnauer
> Assignee: Michael McCandless
> Priority: Minor
> Fix For: 3.1, 4.0
>
>
> I just ran into this failure since SimpleText obviously takes a lot of disk space though.
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestIndexWriter
> [junit] Testcase: testCommitOnCloseDiskUsage(org.apache.lucene.index.TestIndexWriter): FAILED
> [junit] writer used too much space while adding documents: mid=608162 start=5293 end=634214
> [junit] junit.framework.AssertionFailedError: writer used too much space while adding documents: mid=608162 start=5293 end=634214
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
> [junit] at org.apache.lucene.index.TestIndexWriter.testCommitOnCloseDiskUsage(TestIndexWriter.java:1047)
> [junit]
> [junit]
> [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 3.281 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestIndexWriter -Dtestmethod=testCommitOnCloseDiskUsage -Dtests.seed=-7526585723238322940:-1609544650150801239
> [junit] NOTE: test params are: codec=SimpleText, locale=th_TH, timezone=UCT
> [junit] ------------- ---------------- ---------------
> [junit] Test org.apache.lucene.index.TestIndexWriter FAILED
> {noformat}
> I did not look into SimpleText but I guess we need either change the threshold for this test or exclude SimpleText from it.
> any ideas?
--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Assigned: (LUCENE-2676) TestIndexWriter failes for
SimpleTextCodec
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless reassigned LUCENE-2676:
------------------------------------------
Assignee: Michael McCandless
> TestIndexWriter failes for SimpleTextCodec
> ------------------------------------------
>
> Key: LUCENE-2676
> URL: https://issues.apache.org/jira/browse/LUCENE-2676
> Project: Lucene - Java
> Issue Type: Test
> Components: Index
> Reporter: Simon Willnauer
> Assignee: Michael McCandless
> Priority: Minor
> Fix For: 4.0
>
>
> I just ran into this failure since SimpleText obviously takes a lot of disk space though.
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestIndexWriter
> [junit] Testcase: testCommitOnCloseDiskUsage(org.apache.lucene.index.TestIndexWriter): FAILED
> [junit] writer used too much space while adding documents: mid=608162 start=5293 end=634214
> [junit] junit.framework.AssertionFailedError: writer used too much space while adding documents: mid=608162 start=5293 end=634214
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
> [junit] at org.apache.lucene.index.TestIndexWriter.testCommitOnCloseDiskUsage(TestIndexWriter.java:1047)
> [junit]
> [junit]
> [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 3.281 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestIndexWriter -Dtestmethod=testCommitOnCloseDiskUsage -Dtests.seed=-7526585723238322940:-1609544650150801239
> [junit] NOTE: test params are: codec=SimpleText, locale=th_TH, timezone=UCT
> [junit] ------------- ---------------- ---------------
> [junit] Test org.apache.lucene.index.TestIndexWriter FAILED
> {noformat}
> I did not look into SimpleText but I guess we need either change the threshold for this test or exclude SimpleText from it.
> any ideas?
--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Commented: (LUCENE-2676) TestIndexWriter failes for
SimpleTextCodec
Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917163#action_12917163 ]
Simon Willnauer commented on LUCENE-2676:
-----------------------------------------
mike what was the solution to this?
> TestIndexWriter failes for SimpleTextCodec
> ------------------------------------------
>
> Key: LUCENE-2676
> URL: https://issues.apache.org/jira/browse/LUCENE-2676
> Project: Lucene - Java
> Issue Type: Test
> Components: Index
> Reporter: Simon Willnauer
> Assignee: Michael McCandless
> Priority: Minor
> Fix For: 3.1, 4.0
>
>
> I just ran into this failure since SimpleText obviously takes a lot of disk space though.
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestIndexWriter
> [junit] Testcase: testCommitOnCloseDiskUsage(org.apache.lucene.index.TestIndexWriter): FAILED
> [junit] writer used too much space while adding documents: mid=608162 start=5293 end=634214
> [junit] junit.framework.AssertionFailedError: writer used too much space while adding documents: mid=608162 start=5293 end=634214
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
> [junit] at org.apache.lucene.index.TestIndexWriter.testCommitOnCloseDiskUsage(TestIndexWriter.java:1047)
> [junit]
> [junit]
> [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 3.281 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestIndexWriter -Dtestmethod=testCommitOnCloseDiskUsage -Dtests.seed=-7526585723238322940:-1609544650150801239
> [junit] NOTE: test params are: codec=SimpleText, locale=th_TH, timezone=UCT
> [junit] ------------- ---------------- ---------------
> [junit] Test org.apache.lucene.index.TestIndexWriter FAILED
> {noformat}
> I did not look into SimpleText but I guess we need either change the threshold for this test or exclude SimpleText from it.
> any ideas?
--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Commented: (LUCENE-2676) TestIndexWriter failes for
SimpleTextCodec
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916088#action_12916088 ]
Michael McCandless commented on LUCENE-2676:
--------------------------------------------
Fun fun... yes SimpleText uses MUCH more disk space than Standard ;)
Though, this test tries to be relative, ie it's comparing disk usage of SimpleText before and after... I'll dig...
> TestIndexWriter failes for SimpleTextCodec
> ------------------------------------------
>
> Key: LUCENE-2676
> URL: https://issues.apache.org/jira/browse/LUCENE-2676
> Project: Lucene - Java
> Issue Type: Test
> Components: Index
> Reporter: Simon Willnauer
> Assignee: Michael McCandless
> Priority: Minor
> Fix For: 4.0
>
>
> I just ran into this failure since SimpleText obviously takes a lot of disk space though.
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestIndexWriter
> [junit] Testcase: testCommitOnCloseDiskUsage(org.apache.lucene.index.TestIndexWriter): FAILED
> [junit] writer used too much space while adding documents: mid=608162 start=5293 end=634214
> [junit] junit.framework.AssertionFailedError: writer used too much space while adding documents: mid=608162 start=5293 end=634214
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
> [junit] at org.apache.lucene.index.TestIndexWriter.testCommitOnCloseDiskUsage(TestIndexWriter.java:1047)
> [junit]
> [junit]
> [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 3.281 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestIndexWriter -Dtestmethod=testCommitOnCloseDiskUsage -Dtests.seed=-7526585723238322940:-1609544650150801239
> [junit] NOTE: test params are: codec=SimpleText, locale=th_TH, timezone=UCT
> [junit] ------------- ---------------- ---------------
> [junit] Test org.apache.lucene.index.TestIndexWriter FAILED
> {noformat}
> I did not look into SimpleText but I guess we need either change the threshold for this test or exclude SimpleText from it.
> any ideas?
--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Resolved: (LUCENE-2676) TestIndexWriter failes for
SimpleTextCodec
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless resolved LUCENE-2676.
----------------------------------------
Resolution: Fixed
> TestIndexWriter failes for SimpleTextCodec
> ------------------------------------------
>
> Key: LUCENE-2676
> URL: https://issues.apache.org/jira/browse/LUCENE-2676
> Project: Lucene - Java
> Issue Type: Test
> Components: Index
> Reporter: Simon Willnauer
> Assignee: Michael McCandless
> Priority: Minor
> Fix For: 4.0
>
>
> I just ran into this failure since SimpleText obviously takes a lot of disk space though.
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestIndexWriter
> [junit] Testcase: testCommitOnCloseDiskUsage(org.apache.lucene.index.TestIndexWriter): FAILED
> [junit] writer used too much space while adding documents: mid=608162 start=5293 end=634214
> [junit] junit.framework.AssertionFailedError: writer used too much space while adding documents: mid=608162 start=5293 end=634214
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
> [junit] at org.apache.lucene.index.TestIndexWriter.testCommitOnCloseDiskUsage(TestIndexWriter.java:1047)
> [junit]
> [junit]
> [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 3.281 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestIndexWriter -Dtestmethod=testCommitOnCloseDiskUsage -Dtests.seed=-7526585723238322940:-1609544650150801239
> [junit] NOTE: test params are: codec=SimpleText, locale=th_TH, timezone=UCT
> [junit] ------------- ---------------- ---------------
> [junit] Test org.apache.lucene.index.TestIndexWriter FAILED
> {noformat}
> I did not look into SimpleText but I guess we need either change the threshold for this test or exclude SimpleText from it.
> any ideas?
--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org