jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-1948) Lucene index doesn't work on Mongo
Date Thu, 03 Jul 2014 21:38:34 GMT
Alex Parvulescu created OAK-1948:
------------------------------------

             Summary: Lucene index doesn't work on Mongo
                 Key: OAK-1948
                 URL: https://issues.apache.org/jira/browse/OAK-1948
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: mongomk
            Reporter: Alex Parvulescu


I'm experiencing some errors in the logs running the latest and greatest (master, not branch
1.0) related to the lucene index: there are a lot of _CorruptIndexException: codec header
mismatch_ errors.

I'm not yet sure why this happens or when it started happening.

{code}
03.07.2014 23:33:13.305 *ERROR* [OsgiInstallerImpl] org.apache.jackrabbit.oak.plugins.index.lucene.IndexTracker
Could not access the Lucene index at /
org.apache.lucene.index.CorruptIndexException: codec header mismatch: actual header=33622070
vs expected header=1071082519 (resource: SlicedIndexInput(SlicedIndexInput(_f.fnm in _f.cfs)
in _f.cfs slice=133234:147711))
	at org.apache.lucene.codecs.CodecUtil.checkHeader(CodecUtil.java:128)
	at org.apache.lucene.codecs.lucene46.Lucene46FieldInfosReader.read(Lucene46FieldInfosReader.java:56)
	at org.apache.lucene.index.SegmentReader.readFieldInfos(SegmentReader.java:215)
	at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:95)
	at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:62)
	at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:843)
	at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:52)
	at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:66)
	at org.apache.jackrabbit.oak.plugins.index.lucene.IndexNode.<init>(IndexNode.java:88)
	at org.apache.jackrabbit.oak.plugins.index.lucene.IndexNode.open(IndexNode.java:56)
	at org.apache.jackrabbit.oak.plugins.index.lucene.IndexTracker.findIndexNode(IndexTracker.java:156)
	at org.apache.jackrabbit.oak.plugins.index.lucene.IndexTracker.acquireIndexNode(IndexTracker.java:128)
	at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndex.getCost(LuceneIndex.java:180)
	at org.apache.jackrabbit.oak.plugins.index.aggregate.AggregateIndex.getCost(AggregateIndex.java:69)
	at org.apache.jackrabbit.oak.query.QueryImpl.getBestSelectorExecutionPlan(QueryImpl.java:817)
	at org.apache.jackrabbit.oak.query.QueryImpl.getBestSelectorExecutionPlan(QueryImpl.java:751)
	at org.apache.jackrabbit.oak.query.ast.SelectorImpl.prepare(SelectorImpl.java:278)
	at org.apache.jackrabbit.oak.query.QueryImpl.prepare(QueryImpl.java:531)
	at org.apache.jackrabbit.oak.query.QueryEngineImpl.executeQuery(QueryEngineImpl.java:167)
	at org.apache.jackrabbit.oak.security.user.UserProvider.getAuthorizableByPrincipal(UserProvider.java:213)
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message