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

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

OK, the only issue I could think of was when reading 3.x segments, but that's 
not happening here.

bq. If it is fixed, on which version we can check?

Not sure if it's fixed since we don't quite know what you are hitting.

But it's entirely possible whatever you're hitting is fixed: there have been 
many fixes since 4.2.  Why not upgrade to the latest (5.3.1 as of now)?

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to