You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Nagendra Nagarajayya (JIRA)" <ji...@apache.org> on 2012/04/25 04:26:07 UTC

[jira] [Created] (SOLR-3408) org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")

Nagendra Nagarajayya created SOLR-3408:
------------------------------------------

             Summary: org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
                 Key: SOLR-3408
                 URL: https://issues.apache.org/jira/browse/SOLR-3408
             Project: Solr
          Issue Type: Bug
          Components: search
    Affects Versions: 4.0
         Environment: Linux Fedora 12 (2.6.32.16-141.fc12.x86_64 #1 SMP)
JDK 1.6.0_17-b04
            Reporter: Nagendra Nagarajayya
             Fix For: 4.0


Apr 21, 2012 2:22:22 PM org.apache.solr.core.SolrCore execute
INFO: [] webapp=/solr path=/select/ params={facet=true&debugQuery=true&start=0&q=*:*&facet.field=action_str&wt=xml&rows=10} hits=8136707 status=500 QTime=29339 
Apr 21, 2012 2:22:22 PM org.apache.solr.common.SolrException log
SEVERE: null:org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
	at org.apache.lucene.store.MMapDirectory$MMapIndexInput.getFilePointer(MMapDirectory.java:380)
	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader$SegmentDocsEnumBase.<init>(Lucene40PostingsReader.java:321)
	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader$AllDocsSegmentDocsEnum.<init>(Lucene40PostingsReader.java:501)
	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader.newDocsEnum(Lucene40PostingsReader.java:239)
	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader.docs(Lucene40PostingsReader.java:220)
	at org.apache.lucene.codecs.BlockTreeTermsReader$FieldReader$SegmentTermsEnum.docs(BlockTreeTermsReader.java:2123)
	at org.apache.lucene.index.MultiTermsEnum.docs(MultiTermsEnum.java:400)
	at org.apache.lucene.search.FieldCacheImpl$DocTermsIndexCache.createValue(FieldCacheImpl.java:1176)
	at org.apache.lucene.search.FieldCacheImpl$Cache.get(FieldCacheImpl.java:248)
	at org.apache.lucene.search.FieldCacheImpl.getTermsIndex(FieldCacheImpl.java:1081)
	at org.apache.lucene.search.FieldCacheImpl.getTermsIndex(FieldCacheImpl.java:1077)
	at org.apache.solr.request.SimpleFacets.getFieldCacheCounts(SimpleFacets.java:463)
	at org.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:310)
	at org.apache.solr.request.SimpleFacets.getFacetFieldCounts(SimpleFacets.java:396)
	at org.apache.solr.request.SimpleFacets.getFacetCounts(SimpleFacets.java:205)
	at org.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:81)
	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:212)
	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1541)
	at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:435)
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:256)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Issue Comment Edited] (SOLR-3408) org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")

Posted by "Lyubov Romanchuk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264502#comment-13264502 ] 

Lyubov Romanchuk edited comment on SOLR-3408 at 5/3/12 10:22 AM:
-----------------------------------------------------------------

The scenario to reproduce this issue is described in [^SOLR-3408-scenario_for_reproduction.txt](attached).
<fields>
   <field name="id"  type="long" indexed="true" stored="true"  required="true"/>
   <field name="type" type="int"    indexed="true" stored="false" required="true" /> 
   <field name="time" type="string" indexed="true" stored="false" required="false" omitTermFreqAndPositions="true"/>
   <field name="dst_ip_str"  type="string"  indexed="true"  stored="false" required="false" omitTermFreqAndPositions="true"/>
   <field name="dst_machine_name_str"  type="string"  indexed="true"  stored="false" required="false"  omitTermFreqAndPositions="true"/>
   <field name="dst_user_name_str"  type="string"  indexed="true"  stored="false" required="false"  omitTermFreqAndPositions="true"/>
   <field name="src_ip_str"  type="string"  indexed="true"  stored="false" required="false" omitTermFreqAndPositions="true"/>
   <field name="src_machine_name_str"  type="string"  indexed="true"  stored="false" required="false" omitTermFreqAndPositions="true"/>
   <field name="user_name_str"  type="string"  indexed="true"  stored="false" required="false" omitTermFreqAndPositions="true"/>
   <field name="interface_str"  type="string"  indexed="true"  stored="false" required="false" omitTermFreqAndPositions="true"/>
   <field name="origin_str"  type="string"  indexed="true"  stored="false" required="false" omitTermFreqAndPositions="true"/>
   <field name="rule_uid_str"  type="string"  indexed="true"  stored="false" required="false" omitTermFreqAndPositions="true"/>
   <field name="policy_name_str"  type="string"  indexed="true"  stored="false" required="false" omitTermFreqAndPositions="true"/>
   <field name="action_str"  type="string"  indexed="true"  stored="false" required="false" omitTermFreqAndPositions="true"/>
   <field name="appi_name_str"  type="string"  indexed="true"  stored="false" required="false" omitTermFreqAndPositions="true"/>
   <field name="service_name_str"  type="string"  indexed="true"  stored="false" required="false" omitTermFreqAndPositions="true"/>
   <field name="product_str"  type="string"  indexed="true"  stored="false" required="false" omitTermFreqAndPositions="true"/>
   <!-- must have this field -->
   <field name="_version_" type="long" indexed="true" stored="true"/>
 </fields>
 <uniqueKey>id</uniqueKey>
 <defaultSearchField>id</defaultSearchField>
 <solrQueryParser defaultOperator="OR"/>
                
      was (Author: lyuba):
    The scenario to reproduce this issue is described in [^SOLR-3408-scenario_for_reproduction.txt](attached).
                  
> org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3408
>                 URL: https://issues.apache.org/jira/browse/SOLR-3408
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.0
>         Environment: Linux Fedora 12 (2.6.32.16-141.fc12.x86_64 #1 SMP)
> JDK 1.6.0_17-b04
>            Reporter: Nagendra Nagarajayya
>              Labels: faceted-search, nrt,
>             Fix For: 4.0
>
>         Attachments: SOLR-3408-scenario_for_reproduction.txt, solrconfig.xml
>
>
> {noformat}
> Apr 21, 2012 2:22:22 PM org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/solr path=/select/ params={facet=true&debugQuery=true&start=0&q=*:*&facet.field=action_str&wt=xml&rows=10} hits=8136707 status=500 QTime=29339 
> Apr 21, 2012 2:22:22 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ...
> {noformat}
> (*EDIT*: see comments below for full stack trace)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Updated] (SOLR-3408) org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")

Posted by "Lyubov Romanchuk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lyubov Romanchuk updated SOLR-3408:
-----------------------------------

    Attachment: solrconfig.xml
                SOLR-3408-scenario_for_reproduction.txt

The scenario to reproduce this issue is described in SOLR-3408-scenario_for_reproduction.txt.
                
> org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3408
>                 URL: https://issues.apache.org/jira/browse/SOLR-3408
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.0
>         Environment: Linux Fedora 12 (2.6.32.16-141.fc12.x86_64 #1 SMP)
> JDK 1.6.0_17-b04
>            Reporter: Nagendra Nagarajayya
>              Labels: faceted-search, nrt,
>             Fix For: 4.0
>
>         Attachments: SOLR-3408-scenario_for_reproduction.txt, solrconfig.xml, solrconfig.xml
>
>
> {noformat}
> Apr 21, 2012 2:22:22 PM org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/solr path=/select/ params={facet=true&debugQuery=true&start=0&q=*:*&facet.field=action_str&wt=xml&rows=10} hits=8136707 status=500 QTime=29339 
> Apr 21, 2012 2:22:22 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ...
> {noformat}
> (*EDIT*: see comments below for full stack trace)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Updated] (SOLR-3408) org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")

Posted by "Lyubov Romanchuk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lyubov Romanchuk updated SOLR-3408:
-----------------------------------

    Attachment: solrconfig.xml
    
> org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3408
>                 URL: https://issues.apache.org/jira/browse/SOLR-3408
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.0
>         Environment: Linux Fedora 12 (2.6.32.16-141.fc12.x86_64 #1 SMP)
> JDK 1.6.0_17-b04
>            Reporter: Nagendra Nagarajayya
>              Labels: faceted-search, nrt,
>             Fix For: 4.0
>
>         Attachments: solrconfig.xml
>
>
> {noformat}
> Apr 21, 2012 2:22:22 PM org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/solr path=/select/ params={facet=true&debugQuery=true&start=0&q=*:*&facet.field=action_str&wt=xml&rows=10} hits=8136707 status=500 QTime=29339 
> Apr 21, 2012 2:22:22 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ...
> {noformat}
> (*EDIT*: see comments below for full stack trace)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Commented] (SOLR-3408) org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")

Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261581#comment-13261581 ] 

Uwe Schindler commented on SOLR-3408:
-------------------------------------

Erick: This definitely a bug, so opening the issue was really needed. But yes, we need more information to reproduce.
                
> org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3408
>                 URL: https://issues.apache.org/jira/browse/SOLR-3408
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.0
>         Environment: Linux Fedora 12 (2.6.32.16-141.fc12.x86_64 #1 SMP)
> JDK 1.6.0_17-b04
>            Reporter: Nagendra Nagarajayya
>              Labels: faceted-search, nrt,
>             Fix For: 4.0
>
>
> Apr 21, 2012 2:22:22 PM org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/solr path=/select/ params={facet=true&debugQuery=true&start=0&q=*:*&facet.field=action_str&wt=xml&rows=10} hits=8136707 status=500 QTime=29339 
> Apr 21, 2012 2:22:22 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> 	at org.apache.lucene.store.MMapDirectory$MMapIndexInput.getFilePointer(MMapDirectory.java:380)
> 	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader$SegmentDocsEnumBase.<init>(Lucene40PostingsReader.java:321)
> 	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader$AllDocsSegmentDocsEnum.<init>(Lucene40PostingsReader.java:501)
> 	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader.newDocsEnum(Lucene40PostingsReader.java:239)
> 	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader.docs(Lucene40PostingsReader.java:220)
> 	at org.apache.lucene.codecs.BlockTreeTermsReader$FieldReader$SegmentTermsEnum.docs(BlockTreeTermsReader.java:2123)
> 	at org.apache.lucene.index.MultiTermsEnum.docs(MultiTermsEnum.java:400)
> 	at org.apache.lucene.search.FieldCacheImpl$DocTermsIndexCache.createValue(FieldCacheImpl.java:1176)
> 	at org.apache.lucene.search.FieldCacheImpl$Cache.get(FieldCacheImpl.java:248)
> 	at org.apache.lucene.search.FieldCacheImpl.getTermsIndex(FieldCacheImpl.java:1081)
> 	at org.apache.lucene.search.FieldCacheImpl.getTermsIndex(FieldCacheImpl.java:1077)
> 	at org.apache.solr.request.SimpleFacets.getFieldCacheCounts(SimpleFacets.java:463)
> 	at org.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:310)
> 	at org.apache.solr.request.SimpleFacets.getFacetFieldCounts(SimpleFacets.java:396)
> 	at org.apache.solr.request.SimpleFacets.getFacetCounts(SimpleFacets.java:205)
> 	at org.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:81)
> 	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:212)
> 	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1541)
> 	at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:435)
> 	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:256)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
> 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> 	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> 	at org.mortbay.jetty.Server.handle(Server.java:326)
> 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> 	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
> 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> 	at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
> 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Issue Comment Edited] (SOLR-3408) org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")

Posted by "Lyubov Romanchuk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264502#comment-13264502 ] 

Lyubov Romanchuk edited comment on SOLR-3408 at 4/29/12 11:19 AM:
------------------------------------------------------------------

The scenario to reproduce this issue is described in !SOLR-3408-scenario_for_reproduction.txt (attached).
                
      was (Author: lyuba):
    The scenario to reproduce this issue is described in SOLR-3408-scenario_for_reproduction.txt.
                  
> org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3408
>                 URL: https://issues.apache.org/jira/browse/SOLR-3408
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.0
>         Environment: Linux Fedora 12 (2.6.32.16-141.fc12.x86_64 #1 SMP)
> JDK 1.6.0_17-b04
>            Reporter: Nagendra Nagarajayya
>              Labels: faceted-search, nrt,
>             Fix For: 4.0
>
>         Attachments: SOLR-3408-scenario_for_reproduction.txt, solrconfig.xml
>
>
> {noformat}
> Apr 21, 2012 2:22:22 PM org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/solr path=/select/ params={facet=true&debugQuery=true&start=0&q=*:*&facet.field=action_str&wt=xml&rows=10} hits=8136707 status=500 QTime=29339 
> Apr 21, 2012 2:22:22 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ...
> {noformat}
> (*EDIT*: see comments below for full stack trace)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Updated] (SOLR-3408) org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")

Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man updated SOLR-3408:
---------------------------

    Fix Version/s:     (was: 4.0)

removing fixVersion=4.0 since there is no evidence that anyone is currently working on this issue.  (this can certainly be revisited if volunteers step forward)

                
> org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3408
>                 URL: https://issues.apache.org/jira/browse/SOLR-3408
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.0-ALPHA
>         Environment: Linux Fedora 12 (2.6.32.16-141.fc12.x86_64 #1 SMP)
> JDK 1.6.0_17-b04
>            Reporter: Nagendra Nagarajayya
>              Labels: faceted-search, nrt,
>         Attachments: SOLR-3408-scenario_for_reproduction.txt, solrconfig.xml
>
>
> {noformat}
> Apr 21, 2012 2:22:22 PM org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/solr path=/select/ params={facet=true&debugQuery=true&start=0&q=*:*&facet.field=action_str&wt=xml&rows=10} hits=8136707 status=500 QTime=29339 
> Apr 21, 2012 2:22:22 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ...
> {noformat}
> (*EDIT*: see comments below for full stack trace)

--
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: 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


[jira] [Updated] (SOLR-3408) org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")

Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man updated SOLR-3408:
---------------------------

    Description: 
{noformat}
Apr 21, 2012 2:22:22 PM org.apache.solr.core.SolrCore execute
INFO: [] webapp=/solr path=/select/ params={facet=true&debugQuery=true&start=0&q=*:*&facet.field=action_str&wt=xml&rows=10} hits=8136707 status=500 QTime=29339 
Apr 21, 2012 2:22:22 PM org.apache.solr.common.SolrException log
SEVERE: null:org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
...
{noformat}

(*EDIT*: see comments below for full stack trace)

  was:
Apr 21, 2012 2:22:22 PM org.apache.solr.core.SolrCore execute
INFO: [] webapp=/solr path=/select/ params={facet=true&debugQuery=true&start=0&q=*:*&facet.field=action_str&wt=xml&rows=10} hits=8136707 status=500 QTime=29339 
Apr 21, 2012 2:22:22 PM org.apache.solr.common.SolrException log
SEVERE: null:org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
	at org.apache.lucene.store.MMapDirectory$MMapIndexInput.getFilePointer(MMapDirectory.java:380)
	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader$SegmentDocsEnumBase.<init>(Lucene40PostingsReader.java:321)
	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader$AllDocsSegmentDocsEnum.<init>(Lucene40PostingsReader.java:501)
	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader.newDocsEnum(Lucene40PostingsReader.java:239)
	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader.docs(Lucene40PostingsReader.java:220)
	at org.apache.lucene.codecs.BlockTreeTermsReader$FieldReader$SegmentTermsEnum.docs(BlockTreeTermsReader.java:2123)
	at org.apache.lucene.index.MultiTermsEnum.docs(MultiTermsEnum.java:400)
	at org.apache.lucene.search.FieldCacheImpl$DocTermsIndexCache.createValue(FieldCacheImpl.java:1176)
	at org.apache.lucene.search.FieldCacheImpl$Cache.get(FieldCacheImpl.java:248)
	at org.apache.lucene.search.FieldCacheImpl.getTermsIndex(FieldCacheImpl.java:1081)
	at org.apache.lucene.search.FieldCacheImpl.getTermsIndex(FieldCacheImpl.java:1077)
	at org.apache.solr.request.SimpleFacets.getFieldCacheCounts(SimpleFacets.java:463)
	at org.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:310)
	at org.apache.solr.request.SimpleFacets.getFacetFieldCounts(SimpleFacets.java:396)
	at org.apache.solr.request.SimpleFacets.getFacetCounts(SimpleFacets.java:205)
	at org.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:81)
	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:212)
	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1541)
	at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:435)
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:256)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)




Moving the fullstack trace to a comment to minimize bulkiness of jira emails...

{noformat}
Apr 21, 2012 2:22:22 PM org.apache.solr.core.SolrCore execute
INFO: [] webapp=/solr path=/select/ params={facet=true&debugQuery=true&start=0&q=*:*&facet.field=action_str&wt=xml&rows=10} hits=8136707 status=500 QTime=29339 
Apr 21, 2012 2:22:22 PM org.apache.solr.common.SolrException log
SEVERE: null:org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
	at org.apache.lucene.store.MMapDirectory$MMapIndexInput.getFilePointer(MMapDirectory.java:380)
	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader$SegmentDocsEnumBase.<init>(Lucene40PostingsReader.java:321)
	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader$AllDocsSegmentDocsEnum.<init>(Lucene40PostingsReader.java:501)
	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader.newDocsEnum(Lucene40PostingsReader.java:239)
	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader.docs(Lucene40PostingsReader.java:220)
	at org.apache.lucene.codecs.BlockTreeTermsReader$FieldReader$SegmentTermsEnum.docs(BlockTreeTermsReader.java:2123)
	at org.apache.lucene.index.MultiTermsEnum.docs(MultiTermsEnum.java:400)
	at org.apache.lucene.search.FieldCacheImpl$DocTermsIndexCache.createValue(FieldCacheImpl.java:1176)
	at org.apache.lucene.search.FieldCacheImpl$Cache.get(FieldCacheImpl.java:248)
	at org.apache.lucene.search.FieldCacheImpl.getTermsIndex(FieldCacheImpl.java:1081)
	at org.apache.lucene.search.FieldCacheImpl.getTermsIndex(FieldCacheImpl.java:1077)
	at org.apache.solr.request.SimpleFacets.getFieldCacheCounts(SimpleFacets.java:463)
	at org.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:310)
	at org.apache.solr.request.SimpleFacets.getFacetFieldCounts(SimpleFacets.java:396)
	at org.apache.solr.request.SimpleFacets.getFacetCounts(SimpleFacets.java:205)
	at org.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:81)
	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:212)
	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1541)
	at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:435)
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:256)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
{noformat}
                
> org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3408
>                 URL: https://issues.apache.org/jira/browse/SOLR-3408
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.0
>         Environment: Linux Fedora 12 (2.6.32.16-141.fc12.x86_64 #1 SMP)
> JDK 1.6.0_17-b04
>            Reporter: Nagendra Nagarajayya
>              Labels: faceted-search, nrt,
>             Fix For: 4.0
>
>
> {noformat}
> Apr 21, 2012 2:22:22 PM org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/solr path=/select/ params={facet=true&debugQuery=true&start=0&q=*:*&facet.field=action_str&wt=xml&rows=10} hits=8136707 status=500 QTime=29339 
> Apr 21, 2012 2:22:22 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ...
> {noformat}
> (*EDIT*: see comments below for full stack trace)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Commented] (SOLR-3408) org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")

Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263806#comment-13263806 ] 

Hoss Man commented on SOLR-3408:
--------------------------------

a) we need a *LOT* more context to understand what might have been happening at the time of this error ... can you please provide us with your configs, and more then just two lines of log output -- we need to try to get a grasp on what all was happening with your solr instance just before (and during) this error.

b) we need to know exactly what code you were running -- ie: you are clearly running code from trunk, but when from trunk?  what svn rev?  ... based on the path in the error, it seems like perhaps you are using http://solr-ra.tgels.com/ ... so perhaps the bug is there?

(it's very likely that this is in fact some core bug in Lucene/Solr, but we need to understand what tickled the bug ... it's trivial to see that a simple faceting on a field doesn't cause this problem in most situations -- so we need to understand what was happening in your system at this moment that caused this problem)
                
> org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3408
>                 URL: https://issues.apache.org/jira/browse/SOLR-3408
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.0
>         Environment: Linux Fedora 12 (2.6.32.16-141.fc12.x86_64 #1 SMP)
> JDK 1.6.0_17-b04
>            Reporter: Nagendra Nagarajayya
>              Labels: faceted-search, nrt,
>             Fix For: 4.0
>
>
> Apr 21, 2012 2:22:22 PM org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/solr path=/select/ params={facet=true&debugQuery=true&start=0&q=*:*&facet.field=action_str&wt=xml&rows=10} hits=8136707 status=500 QTime=29339 
> Apr 21, 2012 2:22:22 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> 	at org.apache.lucene.store.MMapDirectory$MMapIndexInput.getFilePointer(MMapDirectory.java:380)
> 	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader$SegmentDocsEnumBase.<init>(Lucene40PostingsReader.java:321)
> 	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader$AllDocsSegmentDocsEnum.<init>(Lucene40PostingsReader.java:501)
> 	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader.newDocsEnum(Lucene40PostingsReader.java:239)
> 	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader.docs(Lucene40PostingsReader.java:220)
> 	at org.apache.lucene.codecs.BlockTreeTermsReader$FieldReader$SegmentTermsEnum.docs(BlockTreeTermsReader.java:2123)
> 	at org.apache.lucene.index.MultiTermsEnum.docs(MultiTermsEnum.java:400)
> 	at org.apache.lucene.search.FieldCacheImpl$DocTermsIndexCache.createValue(FieldCacheImpl.java:1176)
> 	at org.apache.lucene.search.FieldCacheImpl$Cache.get(FieldCacheImpl.java:248)
> 	at org.apache.lucene.search.FieldCacheImpl.getTermsIndex(FieldCacheImpl.java:1081)
> 	at org.apache.lucene.search.FieldCacheImpl.getTermsIndex(FieldCacheImpl.java:1077)
> 	at org.apache.solr.request.SimpleFacets.getFieldCacheCounts(SimpleFacets.java:463)
> 	at org.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:310)
> 	at org.apache.solr.request.SimpleFacets.getFacetFieldCounts(SimpleFacets.java:396)
> 	at org.apache.solr.request.SimpleFacets.getFacetCounts(SimpleFacets.java:205)
> 	at org.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:81)
> 	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:212)
> 	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1541)
> 	at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:435)
> 	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:256)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
> 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> 	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> 	at org.mortbay.jetty.Server.handle(Server.java:326)
> 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> 	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
> 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> 	at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
> 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Commented] (SOLR-3408) org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")

Posted by "Nagendra Nagarajayya (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263639#comment-13263639 ] 

Nagendra Nagarajayya commented on SOLR-3408:
--------------------------------------------

The exception gets thrown when doing a faceted search with document inserts (in NRT). The query is part of the exception shown:

facet=true&debugQuery=true&start=0&q=*:*&facet.field=action_str&wt=xml&rows=10 
                
> org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3408
>                 URL: https://issues.apache.org/jira/browse/SOLR-3408
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.0
>         Environment: Linux Fedora 12 (2.6.32.16-141.fc12.x86_64 #1 SMP)
> JDK 1.6.0_17-b04
>            Reporter: Nagendra Nagarajayya
>              Labels: faceted-search, nrt,
>             Fix For: 4.0
>
>
> Apr 21, 2012 2:22:22 PM org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/solr path=/select/ params={facet=true&debugQuery=true&start=0&q=*:*&facet.field=action_str&wt=xml&rows=10} hits=8136707 status=500 QTime=29339 
> Apr 21, 2012 2:22:22 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> 	at org.apache.lucene.store.MMapDirectory$MMapIndexInput.getFilePointer(MMapDirectory.java:380)
> 	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader$SegmentDocsEnumBase.<init>(Lucene40PostingsReader.java:321)
> 	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader$AllDocsSegmentDocsEnum.<init>(Lucene40PostingsReader.java:501)
> 	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader.newDocsEnum(Lucene40PostingsReader.java:239)
> 	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader.docs(Lucene40PostingsReader.java:220)
> 	at org.apache.lucene.codecs.BlockTreeTermsReader$FieldReader$SegmentTermsEnum.docs(BlockTreeTermsReader.java:2123)
> 	at org.apache.lucene.index.MultiTermsEnum.docs(MultiTermsEnum.java:400)
> 	at org.apache.lucene.search.FieldCacheImpl$DocTermsIndexCache.createValue(FieldCacheImpl.java:1176)
> 	at org.apache.lucene.search.FieldCacheImpl$Cache.get(FieldCacheImpl.java:248)
> 	at org.apache.lucene.search.FieldCacheImpl.getTermsIndex(FieldCacheImpl.java:1081)
> 	at org.apache.lucene.search.FieldCacheImpl.getTermsIndex(FieldCacheImpl.java:1077)
> 	at org.apache.solr.request.SimpleFacets.getFieldCacheCounts(SimpleFacets.java:463)
> 	at org.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:310)
> 	at org.apache.solr.request.SimpleFacets.getFacetFieldCounts(SimpleFacets.java:396)
> 	at org.apache.solr.request.SimpleFacets.getFacetCounts(SimpleFacets.java:205)
> 	at org.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:81)
> 	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:212)
> 	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1541)
> 	at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:435)
> 	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:256)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
> 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> 	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> 	at org.mortbay.jetty.Server.handle(Server.java:326)
> 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> 	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
> 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> 	at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
> 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Issue Comment Edited] (SOLR-3408) org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")

Posted by "Lyubov Romanchuk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264502#comment-13264502 ] 

Lyubov Romanchuk edited comment on SOLR-3408 at 4/29/12 11:22 AM:
------------------------------------------------------------------

The scenario to reproduce this issue is described in {noformat}SOLR-3408-scenario_for_reproduction.txt{noformat}  (attached).
                
      was (Author: lyuba):
    The scenario to reproduce this issue is described in !SOLR-3408-scenario_for_reproduction.txt (attached).
                  
> org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3408
>                 URL: https://issues.apache.org/jira/browse/SOLR-3408
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.0
>         Environment: Linux Fedora 12 (2.6.32.16-141.fc12.x86_64 #1 SMP)
> JDK 1.6.0_17-b04
>            Reporter: Nagendra Nagarajayya
>              Labels: faceted-search, nrt,
>             Fix For: 4.0
>
>         Attachments: SOLR-3408-scenario_for_reproduction.txt, solrconfig.xml
>
>
> {noformat}
> Apr 21, 2012 2:22:22 PM org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/solr path=/select/ params={facet=true&debugQuery=true&start=0&q=*:*&facet.field=action_str&wt=xml&rows=10} hits=8136707 status=500 QTime=29339 
> Apr 21, 2012 2:22:22 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ...
> {noformat}
> (*EDIT*: see comments below for full stack trace)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Commented] (SOLR-3408) org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")

Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13291352#comment-13291352 ] 

Hoss Man commented on SOLR-3408:
--------------------------------

Nagendra & Lyubov: can you please try these same steps using a stock Solr 3.6, or trunk (using softCommits if you'd like to test out the NRT) and report back which version/build you tested and wether you can reproduce the same problems?

Given that all of the exceptions you've mentioned seem to relate to the IndexInput or IndexReaders already being closed, i'm suspicious that perhaps the solr-ra add-on code is improperly/prematurely closing something. 
                
> org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3408
>                 URL: https://issues.apache.org/jira/browse/SOLR-3408
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.0
>         Environment: Linux Fedora 12 (2.6.32.16-141.fc12.x86_64 #1 SMP)
> JDK 1.6.0_17-b04
>            Reporter: Nagendra Nagarajayya
>              Labels: faceted-search, nrt,
>             Fix For: 4.0
>
>         Attachments: SOLR-3408-scenario_for_reproduction.txt, solrconfig.xml
>
>
> {noformat}
> Apr 21, 2012 2:22:22 PM org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/solr path=/select/ params={facet=true&debugQuery=true&start=0&q=*:*&facet.field=action_str&wt=xml&rows=10} hits=8136707 status=500 QTime=29339 
> Apr 21, 2012 2:22:22 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ...
> {noformat}
> (*EDIT*: see comments below for full stack trace)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Commented] (SOLR-3408) org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")

Posted by "Erick Erickson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261476#comment-13261476 ] 

Erick Erickson commented on SOLR-3408:
--------------------------------------

Please provide some context around what you were doing when this occurred. As it is, there's little chance we can reproduce this or even know where to start.

Note that it's usually a good idea to chat about this a bit on the user or dev list before opening a JIRA, just in case it's a known issue...
                
> org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3408
>                 URL: https://issues.apache.org/jira/browse/SOLR-3408
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.0
>         Environment: Linux Fedora 12 (2.6.32.16-141.fc12.x86_64 #1 SMP)
> JDK 1.6.0_17-b04
>            Reporter: Nagendra Nagarajayya
>              Labels: faceted-search, nrt,
>             Fix For: 4.0
>
>
> Apr 21, 2012 2:22:22 PM org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/solr path=/select/ params={facet=true&debugQuery=true&start=0&q=*:*&facet.field=action_str&wt=xml&rows=10} hits=8136707 status=500 QTime=29339 
> Apr 21, 2012 2:22:22 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> 	at org.apache.lucene.store.MMapDirectory$MMapIndexInput.getFilePointer(MMapDirectory.java:380)
> 	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader$SegmentDocsEnumBase.<init>(Lucene40PostingsReader.java:321)
> 	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader$AllDocsSegmentDocsEnum.<init>(Lucene40PostingsReader.java:501)
> 	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader.newDocsEnum(Lucene40PostingsReader.java:239)
> 	at org.apache.lucene.codecs.lucene40.Lucene40PostingsReader.docs(Lucene40PostingsReader.java:220)
> 	at org.apache.lucene.codecs.BlockTreeTermsReader$FieldReader$SegmentTermsEnum.docs(BlockTreeTermsReader.java:2123)
> 	at org.apache.lucene.index.MultiTermsEnum.docs(MultiTermsEnum.java:400)
> 	at org.apache.lucene.search.FieldCacheImpl$DocTermsIndexCache.createValue(FieldCacheImpl.java:1176)
> 	at org.apache.lucene.search.FieldCacheImpl$Cache.get(FieldCacheImpl.java:248)
> 	at org.apache.lucene.search.FieldCacheImpl.getTermsIndex(FieldCacheImpl.java:1081)
> 	at org.apache.lucene.search.FieldCacheImpl.getTermsIndex(FieldCacheImpl.java:1077)
> 	at org.apache.solr.request.SimpleFacets.getFieldCacheCounts(SimpleFacets.java:463)
> 	at org.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:310)
> 	at org.apache.solr.request.SimpleFacets.getFacetFieldCounts(SimpleFacets.java:396)
> 	at org.apache.solr.request.SimpleFacets.getFacetCounts(SimpleFacets.java:205)
> 	at org.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:81)
> 	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:212)
> 	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1541)
> 	at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:435)
> 	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:256)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
> 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> 	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> 	at org.mortbay.jetty.Server.handle(Server.java:326)
> 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> 	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
> 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> 	at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
> 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Updated] (SOLR-3408) org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")

Posted by "Lyubov Romanchuk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lyubov Romanchuk updated SOLR-3408:
-----------------------------------

    Attachment:     (was: solrconfig.xml)
    
> org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3408
>                 URL: https://issues.apache.org/jira/browse/SOLR-3408
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.0
>         Environment: Linux Fedora 12 (2.6.32.16-141.fc12.x86_64 #1 SMP)
> JDK 1.6.0_17-b04
>            Reporter: Nagendra Nagarajayya
>              Labels: faceted-search, nrt,
>             Fix For: 4.0
>
>         Attachments: SOLR-3408-scenario_for_reproduction.txt, solrconfig.xml
>
>
> {noformat}
> Apr 21, 2012 2:22:22 PM org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/solr path=/select/ params={facet=true&debugQuery=true&start=0&q=*:*&facet.field=action_str&wt=xml&rows=10} hits=8136707 status=500 QTime=29339 
> Apr 21, 2012 2:22:22 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ...
> {noformat}
> (*EDIT*: see comments below for full stack trace)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Issue Comment Edited] (SOLR-3408) org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")

Posted by "Lyubov Romanchuk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264502#comment-13264502 ] 

Lyubov Romanchuk edited comment on SOLR-3408 at 4/29/12 11:25 AM:
------------------------------------------------------------------

The scenario to reproduce this issue is described in [^SOLR-3408-scenario_for_reproduction.txt](attached).
                
      was (Author: lyuba):
    The scenario to reproduce this issue is described in {noformat}SOLR-3408-scenario_for_reproduction.txt{noformat}  (attached).
                  
> org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3408
>                 URL: https://issues.apache.org/jira/browse/SOLR-3408
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.0
>         Environment: Linux Fedora 12 (2.6.32.16-141.fc12.x86_64 #1 SMP)
> JDK 1.6.0_17-b04
>            Reporter: Nagendra Nagarajayya
>              Labels: faceted-search, nrt,
>             Fix For: 4.0
>
>         Attachments: SOLR-3408-scenario_for_reproduction.txt, solrconfig.xml
>
>
> {noformat}
> Apr 21, 2012 2:22:22 PM org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/solr path=/select/ params={facet=true&debugQuery=true&start=0&q=*:*&facet.field=action_str&wt=xml&rows=10} hits=8136707 status=500 QTime=29339 
> Apr 21, 2012 2:22:22 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path="/eneeds/fs/apache-solr-ra-4.0/example/solr/data/index/_5e9_0.frq")
> ...
> {noformat}
> (*EDIT*: see comments below for full stack trace)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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