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] Commented: (SOLR-2247) ClosedChannelException throws on Linux
Date Sat, 12 Feb 2011 01:35:57 GMT

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

tom liu commented on SOLR-2247:
-------------------------------

yes,after i use JAVA_OPTS="$JAVA_OPTS -Dsolr.directoryFactory=solr.MMapDirectoryFactory",
i do not catch the CCE.

thx

> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message