lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1305) Assertion error in TermsInfoWriter
Date Thu, 12 Jun 2008 17:02:45 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604576#action_12604576
] 

Michael McCandless commented on LUCENE-1305:
--------------------------------------------

bq. Had two versions of Lucene on my classpath (2.2.0 and 2.3.2), this doesn't work, nor should
it.

Hmm, I would have expected that this would just mean you get one or the other (ie 2.2.0 or
2.3.2), but, not the above exception.  Are you really sure the exception is gone?

bq. I noticed that jdk6 has many hotspot bugs that affect Lucene

Hmm, I had only known about this one (from LUCENE-1282):

    http://bugs.sun.com/bugdatabase/addVote.do?bug_id=6707044

Feel free to go vote for it!

Your case (a segfault) sounds like it could be something different.  If you can work that
down to an example, or provide some details, maybe we can open a different bug with sun.

> Assertion error in TermsInfoWriter
> ----------------------------------
>
>                 Key: LUCENE-1305
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1305
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 2.3.2
>            Reporter: Robert Newson
>            Assignee: Michael McCandless
>
> The test passes on my local machine but fails on machine in our lab. Both are using JDK
6 and Ubuntu 8.04. Another interesting difference is that the directory that my input files
are read from is an NFS share, but the index is written to a local disk. the indexing process
is single-threaded. This test completes successfully with lucene 2.2.0 but fails with 2.3.2
(pulled from the maven2 repository).
> indexEnron(bob.IndexingTest)  Time elapsed: 41.285 sec  <<< FAILURE!
> java.lang.AssertionError: Terms are out of order: field=B_contentid (number 7) lastField=B_contentid
(number 7) text=SHA_256  lastText=SHA_256 
> 	at org.apache.lucene.index.TermInfosWriter.add(TermInfosWriter.java:154)
> 	at org.apache.lucene.index.DocumentsWriter.appendPostings(DocumentsWriter.java:2320)
> 	at org.apache.lucene.index.DocumentsWriter.writeSegment(DocumentsWriter.java:2015)
> 	at org.apache.lucene.index.DocumentsWriter.flush(DocumentsWriter.java:552)
> 	at org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:2623)
> 	at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:2523)
> 	at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1484)
> 	at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1442)

-- 
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


Mime
View raw message