lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Morera (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SOLR-4146) Error handling 'status' action, cannot access GUI
Date Tue, 26 Apr 2016 21:57:13 GMT

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

Xavier Morera edited comment on SOLR-4146 at 4/26/16 9:56 PM:
--------------------------------------------------------------

I have been able to reproduce this error consistently with Solr 5.5. I have not yet isolated
it, but I can try to put together a simple example if someone wants to take a look. 

Here are my repro steps:
* Start Solr 5.5
* Create a core called courses
* In SolrConfig.xml Change  to <schemaFactory class="ClassicIndexSchemaFactory"/> and
comment the other schemaFactory
* Rename managed-schema to schema.xml
* In SolrConfig.xml comment out  <processor class="solr.AddSchemaFieldsUpdateProcessorFactory">
* Add a field called description that is set to required true

{noformat}
<field name="description" type="text_general" indexed="true" stored="true" required="true"
multiValued="false" />
{noformat}

* Now index multiple documents, of which one of them does not have a description but it does
have the other fields.

At this point the Admin UI freezes and I get the following error message in the logs

{noformat}
null:org.apache.solr.common.SolrException: Error handling 'status' action
{noformat}

>From the Admin UI Logging
!2016-04-26_1547.png!

For now, restarting seems to be my only way to fix it.




was (Author: xavier-morera):
I have been able to reproduce this error consistently with Solr 5.5. I have not yet isolated
it, but I can try to put together a simple example if someone wants to take a look. 

Here are my repro steps:
* Start Solr 5.5
* Create a core called courses
* In SolrConfig.xml Change  to <schemaFactory class="ClassicIndexSchemaFactory"/> and
comment the other schemaFactory
* Rename managed-schema to schema.xml
* In SolrConfig.xml comment out  <processor class="solr.AddSchemaFieldsUpdateProcessorFactory">
* Add a field called description that is set to required true

{noformat}
<field name="description" type="text_general" indexed="true" stored="true" required="true"
multiValued="false" />
{noformat}

* Now index multiple documents, of which does not have a description but it does the other
fields

At this point the Admin UI freezes and I get the following error message in the logs

{noformat}
null:org.apache.solr.common.SolrException: Error handling 'status' action
{noformat}

>From the Admin UI Logging
!2016-04-26_1547.png!

For now, restarting seems to be my only way to fix it.



> Error handling 'status' action, cannot access GUI
> -------------------------------------------------
>
>                 Key: SOLR-4146
>                 URL: https://issues.apache.org/jira/browse/SOLR-4146
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud, web gui
>    Affects Versions: master
>            Reporter: Markus Jelsma
>             Fix For: master
>
>         Attachments: 2016-04-26_1547.png, solr.png
>
>
> We sometimes see a node not responding to GUI requests. It then generates the stack trace
below. It does respond to search requests.
> {code}
> 2012-12-05 15:53:24,329 ERROR [solr.core.SolrCore] - [http-8080-exec-7] - : org.apache.solr.common.SolrException:
Error handling 'status' action 
>         at org.apache.solr.handler.admin.CoreAdminHandler.handleStatusAction(CoreAdminHandler.java:725)
>         at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:158)
>         at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:144)
>         at org.apache.solr.servlet.SolrDispatchFilter.handleAdminRequest(SolrDispatchFilter.java:372)
>         at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:181)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
>         at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
>         at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:744)
>         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.solr.common.SolrException: java.util.concurrent.RejectedExecutionException
>         at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1674)
>         at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1330)
>         at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1265)
>         at org.apache.solr.handler.admin.CoreAdminHandler.getCoreStatus(CoreAdminHandler.java:997)
>         at org.apache.solr.handler.admin.CoreAdminHandler.handleStatusAction(CoreAdminHandler.java:711)
>         ... 18 more
> Caused by: java.util.concurrent.RejectedExecutionException
>         at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1768)
>         at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767)
>         at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:658)
>         at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:92)
>         at java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:603)
>         at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1605)
>         ... 22 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message