Solr
  1. Solr
  2. 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")

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: None
    • Component/s: search
    • Environment:

      Linux Fedora 12 (2.6.32.16-141.fc12.x86_64 #1 SMP)
      JDK 1.6.0_17-b04

      Description

      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")
      ...
      

      (EDIT: see comments below for full stack trace)

      1. solrconfig.xml
        64 kB
        Lyubov Romanchuk
      2. SOLR-3408-scenario_for_reproduction.txt
        13 kB
        Lyubov Romanchuk

        Activity

        Hoss Man made changes -
        Fix Version/s 4.0 [ 12322551 ]
        Robert Muir made changes -
        Fix Version/s 4.0 [ 12322551 ]
        Fix Version/s 4.0-BETA [ 12322455 ]
        Hoss Man made changes -
        Fix Version/s 4.0 [ 12322455 ]
        Fix Version/s 4.0-ALPHA [ 12314992 ]
        Lyubov Romanchuk made changes -
        Attachment solrconfig.xml [ 12525007 ]
        Lyubov Romanchuk made changes -
        Attachment SOLR-3408-scenario_for_reproduction.txt [ 12525009 ]
        Attachment solrconfig.xml [ 12525010 ]
        Lyubov Romanchuk made changes -
        Attachment solrconfig.xml [ 12525007 ]
        Hoss Man made changes -
        Field Original Value New Value
        Description 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}
        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)
        Nagendra Nagarajayya created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Nagendra Nagarajayya
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development