lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-6918) No need to log exceptions (as warn) generated when creating MBean stats if the core is shutting down
Date Wed, 07 Jan 2015 17:35:36 GMT

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

ASF subversion and git services commented on SOLR-6918:
-------------------------------------------------------

Commit 1650123 from [~thelabdude] in branch 'dev/trunk'
[ https://svn.apache.org/r1650123 ]

SOLR-6918: No need to log exceptions (as warn) generated when creating MBean stats if core
is shutting down

> No need to log exceptions (as warn) generated when creating MBean stats if the core is
shutting down
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-6918
>                 URL: https://issues.apache.org/jira/browse/SOLR-6918
>             Project: Solr
>          Issue Type: Improvement
>          Components: JMX
>            Reporter: Timothy Potter
>            Assignee: Timothy Potter
>            Priority: Minor
>         Attachments: SOLR-6918.patch, SOLR-6918.patch
>
>
> I'm seeing tons of this warning when distributed SolrCloud tests are shutting down ...

> I don't think we should log a WARN message if the exception is AlreadyClosedException
since the core is closing
>    [junit4]   2> 31971 T37 oasc.JmxMonitoredMap$SolrDynamicMBean.getMBeanInfo WARN
Could not getStatistics on info bean org.apache.solr.handler.ReplicationHandler org.apache.solr.common.SolrException:
openNewSearcher called on closed core
>    [junit4]   2>     at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1498)
>    [junit4]   2>     at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1736)
>    [junit4]   2>     at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1481)
>    [junit4]   2>     at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1416)
>    [junit4]   2>     at org.apache.solr.handler.ReplicationHandler.getIndexVersion(ReplicationHandler.java:558)
>    [junit4]   2>     at org.apache.solr.handler.ReplicationHandler.getStatistics(ReplicationHandler.java:575)
>    [junit4]   2>     at org.apache.solr.core.JmxMonitoredMap$SolrDynamicMBean.getMBeanInfo(JmxMonitoredMap.java:257)
>    [junit4]   2>     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassName(DefaultMBeanServerInterceptor.java:1804)
>    [junit4]   2>     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.safeGetClassName(DefaultMBeanServerInterceptor.java:1595)
>    [junit4]   2>     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.objectInstancesFromFilteredNamedObjects(DefaultMBeanServerInterceptor.java:1556)
>    [junit4]   2>     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.queryMBeansImpl(DefaultMBeanServerInterceptor.java:513)
>    [junit4]   2>     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.queryNames(DefaultMBeanServerInterceptor.java:526)
>    [junit4]   2>     at com.sun.jmx.mbeanserver.JmxMBeanServer.queryNames(JmxMBeanServer.java:619)
>    [junit4]   2>     at org.apache.solr.core.JmxMonitoredMap.clear(JmxMonitoredMap.java:120)
>    [junit4]   2>     at org.apache.solr.core.SolrCore.close(SolrCore.java:1161)
>    [junit4]   2>     at org.apache.solr.core.CoreContainer.unload(CoreContainer.java:691)
>    [junit4]   2>     at org.apache.solr.handler.admin.CoreAdminHandler.handleUnloadAction(CoreAdminHandler.java:676)
>    [junit4]   2>     at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestInternal(CoreAdminHandler.java:209)
>    [junit4]   2>     at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:188)
>    [junit4]   2>     at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:144)
>    [junit4]   2>     at org.apache.solr.servlet.SolrDispatchFilter.handleAdminRequest(SolrDispatchFilter.java:738)
>    [junit4]   2>     at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:254)
>    [junit4]   2>     at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:201)



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