lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tom liu (JIRA)" <j...@apache.org>
Subject [jira] Created: (SOLR-2247) ClosedChannelException throws on Linux
Date Mon, 22 Nov 2010 08:48:13 GMT
ClosedChannelException throws on Linux
--------------------------------------

                 Key: SOLR-2247
                 URL: https://issues.apache.org/jira/browse/SOLR-2247
             Project: Solr
          Issue Type: Bug
          Components: search
         Environment: JDK1.6/Tomcat6
            Reporter: tom liu


i use distributed query, but found ClosedChannelException. 
{noformat}
Caused by: java.nio.channels.ClosedChannelException
        at sun.nio.ch.FileChannelImpl.ensureOpen(FileChannelImpl.java:88)
        at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:613)
        at org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.readInternal(NIOFSDirectory.java:161)
        at org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java:139)
        at org.apache.lucene.index.CompoundFileReader$CSIndexInput.readInternal(CompoundFileReader.java:285)
        at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:160)
        at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:39)
        at org.apache.lucene.store.DataInput.readVInt(DataInput.java:86)
        at org.apache.lucene.index.codecs.DeltaBytesReader.read(DeltaBytesReader.java:40)
        at org.apache.lucene.index.codecs.PrefixCodedTermsReader$FieldReader$SegmentTermsEnum.next(PrefixCodedTermsReader.java:469)
        at org.apache.lucene.index.codecs.PrefixCodedTermsReader$FieldReader$SegmentTermsEnum.seek(PrefixCodedTermsReader.java:385)
        at org.apache.lucene.index.TermsEnum.seek(TermsEnum.java:68)
        at org.apache.lucene.index.Terms.docFreq(Terms.java:53)
        at org.apache.lucene.index.SegmentReader.docFreq(SegmentReader.java:898)
        at org.apache.lucene.index.IndexReader.docFreq(IndexReader.java:882)
        at org.apache.lucene.index.DirectoryReader.docFreq(DirectoryReader.java:687)
        at org.apache.solr.search.SolrIndexReader.docFreq(SolrIndexReader.java:305)
        at org.apache.lucene.search.IndexSearcher.docFreq(IndexSearcher.java:136)
        at org.apache.lucene.search.Similarity.idfExplain(Similarity.java:804)
        at org.apache.lucene.search.PhraseQuery$PhraseWeight.<init>(PhraseQuery.java:150)
        at org.apache.lucene.search.PhraseQuery.createWeight(PhraseQuery.java:321)
        at org.apache.lucene.search.Query.weight(Query.java:101)
        at org.apache.lucene.search.Searcher.createWeight(Searcher.java:147)
        at org.apache.lucene.search.Searcher.search(Searcher.java:88)
        at org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.java:1388)
        at org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:1284)
        at org.apache.solr.search.SolrIndexSearcher.search(SolrIndexSearcher.java:343)
        at org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:
        ...
{noformat}

with lucene-2239, i found NIOFs would throw ClosedChannelException.
see https://issues.apache.org/jira/browse/LUCENE-2239 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message