PS, I have found that there lots of segment in index directory, and most of
them is empty, like . totoal file number is 35314 in  index directory.
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3n.fdx
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3o.fdt
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3o.fdx
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3p.fdt
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3p.fdx
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3q.fdt
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3q.fdx
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3r.fdt
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3r.fdx
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3s.fdt
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3s.fdx
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3t.fdt
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3t.fdx
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3u.fdt
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3u.fdx
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3v.fdt
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3v.fdx
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3w.fdt
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3w.fdx
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3x.fdt
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3x.fdx
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3y.fdt
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3y.fdx
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3z.fdt
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k3z.fdx
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k40.fdt
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k40.fdx
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k41.fdt
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k41.fdx
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k42.fdt
-rw-rw-r-- 1 admin systems     0 Oct 14 11:37 _k42.fdx




2012/10/15 Jun Wang <wangjun...@gmail.com>

> I have encounter the a FileNotFoundException exception occasionally when
> indexing, it's not occur every time. Anyone have some clue? Here is
> the traceback:
>
> 2012-10-14 11:37:28,105 ERROR core.SolrCore -
> java.io.FileNotFoundException:
> /home/admin/run/deploy/solr/core_p_shard2/data/index/_cwo.fnm (No such file
> or directory)
>         at java.io.RandomAccessFile.open(Native Method)
>         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:216)
>         at
> org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:218)
>         at
> org.apache.lucene.store.NRTCachingDirectory.openInput(NRTCachingDirectory.java:232)
>         at
> org.apache.lucene.codecs.lucene40.Lucene40FieldInfosReader.read(Lucene40FieldInfosReader.java:47)
>         at
> org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:101)
>         at
> org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:55)
>         at
> org.apache.lucene.index.ReadersAndLiveDocs.getReader(ReadersAndLiveDocs.java:120)
>         at
> org.apache.lucene.index.BufferedDeletesStream.applyDeletes(BufferedDeletesStream.java:267)
>         at
> org.apache.lucene.index.IndexWriter.applyAllDeletes(IndexWriter.java:2928)
>         at
> org.apache.lucene.index.DocumentsWriter.applyAllDeletes(DocumentsWriter.java:180)
>         at
> org.apache.lucene.index.DocumentsWriter.postUpdate(DocumentsWriter.java:310)
>         at
> org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:386)
>         at
> org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1430)
>         at
> org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:210)
>         at
> org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:61)
>         at
> org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(UpdateRequestProcessor.java:51)
>         at
> org.apache.solr.update.processor.DistributedUpdateProcessor.versionAdd(DistributedUpdateProcessor.java:432)
>         at
> org.apache.solr.update.processor.DistributedUpdateProcessor.processAdd(DistributedUpdateProcessor.java:315)
>         at
> org.apache.solr.handler.loader.XMLLoader.processUpdate(XMLLoader.java:230)
>         at
> org.apache.solr.handler.loader.XMLLoader.load(XMLLoader.java:157)
>         at
> org.apache.solr.handler.UpdateRequestHandler$1.load(UpdateRequestHandler.java:92)
>         at
> org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:74)
>         at
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
>         at org.apache.solr.core.SolrCore.execute(SolrCore.java:1656)
>         at
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:454)
>         at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:275)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
>
>
>


-- 
from Jun Wang

Reply via email to