Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Lucene, mail # user - Indexer crashes with "hit exception during merge"


Copy link to this message
-
Re: Indexer crashes with "hit exception during merge"
Shai Erera 2009-08-13, 12:08
I noticed the exception is "Caused by: java.io.FileNotFoundException:
/SYS$SYSDEVICE/RISHI/melon_1600/_61.cfs (i/o error (errno:5))"

I searched for i/o error (errno:5) and found some information which
associates it w/ a more native IO problem, like corrupt file due to system
crash etc.

Did you experience that? Can you try to create the index somewhere else, or
on another drive?

Shai

On Thu, Aug 13, 2009 at 3:00 PM, rishisinghal <[EMAIL PROTECTED]>wrote:

>
> It is a local file system.
>
> We are using lucene 2.4 and java 1.5
>
> Regards,
> Rishi
>
>
> Shai Erera wrote:
> >
> > Is that a local file system, or a network share?
> >
> > On Thu, Aug 13, 2009 at 1:07 PM, rishisinghal
> > <[EMAIL PROTECTED]>wrote:
> >
> >>
> >> >>Is there any chance that two writers are open on this directory?
> >> No, thats not true.
> >>
> >> >>something external to Lucene is removing files from the directory.
> >> No this also has rare chances as I am the owner of these files and other
> >> then me no one can delete the, :-)
> >>
> >> Here are all the files in the index directory:
> >> segments.gen;1      segments_1.;1       segments_2.;1       _0.fdt;1
> >> _0.fdx;1            _37.cfs;1           _4c.cfs;1           _61.cfs;1
> >> _9e.cfs;1           _ay.cfs;1           _az.cfs;1           _b0.cfs;1
> >> _b2.tis;1           _b3.fdt;1           _b4.fdt;1
> >>
> >> I see _37 present.
> >>
> >> Regards,
> >> Rishi
> >>
> >>
> >> Michael McCandless-2 wrote:
> >> >
> >> > Is there any chance that two writers are open on this directory?  Or,
> >> > something external to Lucene is removing files from the directory.
> >> >
> >> > It looks like there were at least two missing files (_37
> >> >
> >> > On Thu, Aug 13, 2009 at 5:19 AM, rishisinghal<[EMAIL PROTECTED]
> >
> >> > wrote:
> >> >>
> >> >> Hi,
> >> >>
> >> >> I am trying to index documents and when all is complete and optimize
> >> is
> >> >> called I get
> >> >>
> >> >> IFD [main]: setInfoStream
> >> >>
> >>
> deletionPolicy=org.apache.lucene.index.KeepOnlyLastCommitDeletionPolicy@4fced0
> >> >> IW 0 [main]: setInfoStream:
> >> >>
> >> dir=org.apache.lucene.store.FSDirectory@/SYS$SYSDEVICE/RISHI/melon_1600
> >> >> autoCommit=false mergePolicy=org
> >> >> .apache.lucene.index.LogByteSizeMergePolicy@92cb49
> >> >>
> mergeScheduler=org.apache.lucene.index.ConcurrentMergeScheduler@6038e4
> >> >> ramBufferS
> >> >> izeMB=16.0 maxBufferedDocs=5 maxBuffereDeleteTerms=-1
> >> >> maxFieldLength=10000
> >> >> index=_37:c465->_0 _4c:c165->_0 _61:c245->_0 _9e:c485->_0
> >> >>  _ay:c225->_0 _az:c5->_0 _b0:c5->_0
> >> >> IW 0 [main]: optimize: index now _37:c465->_0 _4c:c165->_0
> >> _61:c245->_0
> >> >> _9e:c485->_0 _ay:c225->_0 _az:c5->_0 _b0:c5->_0
> >> >> IW 0 [main]:   flush: segment=null docStoreSegment=null
> >> docStoreOffset=0
> >> >> flushDocs=false flushDeletes=true flushDocStores=false numD
> >> >> ocs=0 numBufDelTerms=0
> >> >> IW 0 [main]:   index before flush _37:c465->_0 _4c:c165->_0
> >> _61:c245->_0
> >> >> _9e:c485->_0 _ay:c225->_0 _az:c5->_0 _b0:c5->_0
> >> >> IW 0 [main]: add merge to pendingMerges: _61:c245->_0 _9e:c485->_0
> >> >> _ay:c225->_0 _az:c5->_0 _b0:c5->_0 [optimize] [total 1 pending]
> >> >> IW 0 [main]: CMS: now merge
> >> >> IW 0 [main]: CMS:   index: _37:c465->_0 _4c:c165->_0 _61:c245->_0
> >> >> _9e:c485->_0 _ay:c225->_0 _az:c5->_0 _b0:c5->_0
> >> >> IW 0 [main]: CMS:   consider merge _61:c245->_0 _9e:c485->_0
> >> _ay:c225->_0
> >> >> _az:c5->_0 _b0:c5->_0 into _b5 [optimize]
> >> >> IW 0 [main]: CMS:     launch new thread [Lucene Merge Thread #73]
> >> >> IW 0 [main]: CMS:   no more merges pending; now return
> >> >> IW 0 [Lucene Merge Thread #73]: CMS:   merge thread: start
> >> >> IW 0 [Lucene Merge Thread #73]: now merge
> >> >>  merge=_61:c245->_0 _9e:c485->_0 _ay:c225->_0 _az:c5->_0 _b0:c5->_0
> >> into
> >> >> _b5 [optimize]