You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2015/11/06 15:29:27 UTC

[jira] [Commented] (LUCENE-6883) Getting exception _t.si (No such file or directory)

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

Michael McCandless commented on LUCENE-6883:
--------------------------------------------

4.2 is quite old by now; it's possible this is a bug that was already fixed?

Were these 3.x indices that you opened when you saw this exception?

> Getting exception _t.si (No such file or directory)
> ---------------------------------------------------
>
>                 Key: LUCENE-6883
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6883
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/index
>    Affects Versions: 4.2
>            Reporter: Tejas Jethva
>
> We are getting following exception when we are trying to update cache. Following are two scenario when we get this error
> scenario 1:
> 2015-11-03 06:45:18,213 [main] ERROR java.io.FileNotFoundException: /app/cache/index-persecurity/PERSECURITY_INDEX-QCH/_mb.si (No such file or directory)
> 	at java.io.RandomAccessFile.open(Native Method)
> 	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241)
> 	at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:193)
> 	at org.apache.lucene.codecs.lucene40.Lucene40SegmentInfoReader.read(Lucene40SegmentInfoReader.java:50)
> 	at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:301)
> 	at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:56)
> 	at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:783)
> 	at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:52)
> 	at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:65)
> 	.....
> 	
> scenario 2:
> java.io.FileNotFoundException: /app/1.0.5_loadtest/index-persecurity/PERSECURITY_INDEX-ITQ/_t.si (No such file or directory)
> 	at java.io.RandomAccessFile.open(Native Method)
> 	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241)
> 	at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:193)
> 	at org.apache.lucene.codecs.lucene40.Lucene40SegmentInfoReader.read(Lucene40SegmentInfoReader.java:50)
> 	at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:301)
> 	at org.apache.lucene.index.SegmentInfos$1.doBody(SegmentInfos.java:347)
> 	at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:783)
> 	at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:630)
> 	at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:343)
> 	at org.apache.lucene.index.StandardDirectoryReader.isCurrent(StandardDirectoryReader.java:326)
> 	at org.apache.lucene.index.StandardDirectoryReader.doOpenNoWriter(StandardDirectoryReader.java:284)
> 	at org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:247)
> 	at org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:235)
> 	at org.apache.lucene.index.DirectoryReader.openIfChanged(DirectoryReader.java:169)
> 	......
> 	
> 	
> What might be the possible reasons for this?	



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org