lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "l0co (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3422) IndeIndexWriter.optimize() throws FileNotFoundException and IOException
Date Fri, 19 Jul 2013 20:12:49 GMT


l0co commented on LUCENE-3422:

Unfortunately I currently have the same problem with SerialMergeScheduler, but I've done a
lot of changes to the Hibernate Search because it didn't fit my requirements (but the Reporter
probably didn't). Within few days I need to debug this, so I'm gonna put the feedback here.
I currently have the detailed log of operations. Everything behaves like I said before, after
few index updates some files dissapear and then I always have FNFE. I'm putting the log into
> IndeIndexWriter.optimize() throws FileNotFoundException and IOException
> -----------------------------------------------------------------------
>                 Key: LUCENE-3422
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Elizabeth Nisha
> I am using lucene 3.0.2 search APIs for my application. 
> Indexed data is about 350MB and time taken for indexing is 25 hrs. Search indexing and
Optimization runs in two different threads. Optimization runs for every 1 hour and it doesn't
run while indexing is going on and vice versa. When optimization is going on using IndexWriter.optimize(),
FileNotFoundException and IOException are seen in my log and the index file is getting corrupted,
log says
> 1. No sub-file with id _5r8.fdt found 
> [The file name in this message changes over time (_5r8.fdt, _6fa.fdt, _6uh.fdt, ...,
_emv.fdt) ]
> 2. /local/groups/necim/index_5.3/index/_bdx.cfs (No such
file or directory)  
> 3. /local/groups/necim/index_5.3/index/_hkq.cfs (No such
file or directory)
> 	Stack trace: background merge hit exception: _hkp:c100->_hkp
_hkq:c100->_hkp _hkr:c100->_hkr _hks:c100->_hkr _hxb:c5500 _hx5:c1000 _hxc:c198
> 84 into _hxd [optimize] [mergeDocStores]
>        at org.apache.lucene.index.IndexWriter.optimize(
>        at org.apache.lucene.index.IndexWriter.optimize(
>        at org.apache.lucene.index.IndexWriter.optimize(
>        at
>        at$
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>        at java.util.concurrent.ThreadPoolExecutor$
>        at
> Caused by: /local/groups/necim/index_5.3/index/_hkq.cfs
(No such file or directory)
>        at Method)
>        at<init>(
>        at$SimpleFSIndexInput$Descriptor.<init>(
>        at$SimpleFSIndexInput.<init>(
>        at$NIOFSIndexInput.<init>(
>        at
>        at org.apache.lucene.index.CompoundFileReader.<init>(
>        at org.apache.lucene.index.SegmentReader$CoreReaders.<init>(
>        at org.apache.lucene.index.SegmentReader.get(
>        at org.apache.lucene.index.IndexWriter$ReaderPool.get(
>        at org.apache.lucene.index.IndexWriter.mergeMiddle(
>        at org.apache.lucene.index.IndexWriter.merge(
>        at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(
>        at org.apache.lucene.index.ConcurrentMergeScheduler$

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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message