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

Hoss Man commented on LUCENE-5121:
----------------------------------

FWIW, the original stack trace reported by the user on IRC...

{noformat}
Caused by: org.apache.lucene.index.CorruptIndexException: invalid type: 65, 
resource=MMapIndexInput(path="/storage/solrdata/index/_fd_Disk_0.dvdm")
        at 
org.apache.lucene.codecs.diskdv.DiskDocValuesProducer.readFields(DiskDocValuesProducer.java:159)
        at 
org.apache.lucene.codecs.diskdv.DiskDocValuesProducer.<init>(DiskDocValuesProducer.java:72)
        at 
org.apache.lucene.codecs.diskdv.DiskDocValuesFormat.fieldsProducer(DiskDocValuesFormat.java:49)
        at 
org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsReader.<init>(PerFieldDocValuesFormat.java:213)
        at 
org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat.fieldsProducer(PerFieldDocValuesFormat.java:282)
        at 
org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:134)
        at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:56)
        at 
org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:62)
        at 
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:812)
        at 
org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:52)
        at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:88)
        at 
org.apache.solr.core.StandardIndexReaderFactory.newReader(StandardIndexReaderFactory.java:34)
        at 
org.apache.solr.search.SolrIndexSearcher.getReader(SolrIndexSearcher.java:174)
        ... 18 more

{noformat}
                
> 4.4 RC0 can not read indexes created with 4.2.1 using Disk based docvals
> ------------------------------------------------------------------------
>
>                 Key: LUCENE-5121
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5121
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Hoss Man
>            Priority: Blocker
>             Fix For: 4.4
>
>         Attachments: disk_docvals_bug.tgz
>
>
> On the #solr irc channel, user adityab reported a problem trying to upgrade 
> an existing solr instance from 4.2.1 to the 4.4 RC0 code.  The specific error 
> he reported was a "CorruptIndexException: invalid type: 65" from 
> DiskDocValuesProducer.readFields using an MMapIndexInput.  While waiting for 
> more details from adityab on reproducible configs, i attempted to do a 
> trivial test using simple solr configs based on the docvals test configs, and 
> was able to trigger a slightly different error in which 
> DiskDocValuesProducer.readFields caused an EOFException.
> The problem reproduces on both solr init, and when using CheckIndex -- 
> details to reproduce to follow in an attachment/comment

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to