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 ]
        Hide
        Hoss Man added a comment -

        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)

        Show
        Hoss Man added a comment - 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)
        Robert Muir made changes -
        Fix Version/s 4.0 [ 12322551 ]
        Fix Version/s 4.0-BETA [ 12322455 ]
        Hide
        Robert Muir added a comment -

        rmuir20120906-bulk-40-change

        Show
        Robert Muir added a comment - rmuir20120906-bulk-40-change
        Hide
        Nagendra Nagarajayya added a comment -

        @Hoss, the problem does not occur in a Stock 3.6 as there is no NRT support in 3.6. The problem also does not occur with Realtime NRT enabled in 3.6. With Solr 4.0 (build 2012-03-19 and 4.0-ALPHA) the problem goes away if faceting method is facet.method=fcs. The problem may not be visible with soft commit as soft commit closes the SolrIndexSearcher object every 1000 seconds or so. Realtime NRT does not close the searcher object but passes a NRTIndexReader as a parameter to the IndexSearcher object. I can provide a patch of Realtime NRT implementation for 4.0-ALPHA ( I am submitting the Realtime NRT source to Solr 4.0 also )

        Show
        Nagendra Nagarajayya added a comment - @Hoss, the problem does not occur in a Stock 3.6 as there is no NRT support in 3.6. The problem also does not occur with Realtime NRT enabled in 3.6. With Solr 4.0 (build 2012-03-19 and 4.0-ALPHA) the problem goes away if faceting method is facet.method=fcs. The problem may not be visible with soft commit as soft commit closes the SolrIndexSearcher object every 1000 seconds or so. Realtime NRT does not close the searcher object but passes a NRTIndexReader as a parameter to the IndexSearcher object. I can provide a patch of Realtime NRT implementation for 4.0-ALPHA ( I am submitting the Realtime NRT source to Solr 4.0 also )
        Hoss Man made changes -
        Fix Version/s 4.0 [ 12322455 ]
        Fix Version/s 4.0-ALPHA [ 12314992 ]
        Hide
        Hoss Man added a comment -

        bulk fixing the version info for 4.0-ALPHA and 4.0 all affected issues have "hoss20120711-bulk-40-change" in comment

        Show
        Hoss Man added a comment - bulk fixing the version info for 4.0-ALPHA and 4.0 all affected issues have "hoss20120711-bulk-40-change" in comment
        Hide
        Hoss Man added a comment -

        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.

        Show
        Hoss Man added a comment - 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.
        Lyubov Romanchuk made changes -
        Attachment solrconfig.xml [ 12525007 ]
        Lyubov Romanchuk made changes -
        Attachment SOLR-3408-scenario_for_reproduction.txt [ 12525009 ]
        Attachment solrconfig.xml [ 12525010 ]
        Hide
        Lyubov Romanchuk added a comment - - edited

        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"/>

        Show
        Lyubov Romanchuk added a comment - - edited 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"/>
        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)
        Hide
        Hoss Man added a comment -

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

        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)
        
        Show
        Hoss Man added a comment - Moving the fullstack trace to a comment to minimize bulkiness of jira emails... 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)
        Hide
        Hoss Man added a comment -

        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)

        Show
        Hoss Man added a comment - 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)
        Hide
        Nagendra Nagarajayya added a comment -

        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

        Show
        Nagendra Nagarajayya added a comment - 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
        Hide
        Uwe Schindler added a comment -

        Erick: This definitely a bug, so opening the issue was really needed. But yes, we need more information to reproduce.

        Show
        Uwe Schindler added a comment - Erick: This definitely a bug, so opening the issue was really needed. But yes, we need more information to reproduce.
        Hide
        Erick Erickson added a comment -

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

        Show
        Erick Erickson added a comment - 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...
        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