You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Timothy Potter <th...@gmail.com> on 2015/01/06 20:13:01 UTC

Tons of WARN's when shutting down distributed SolrCloud tests

I'm seeing tons of this warning when distributed SolrCloud tests are
shutting down ... seems like we should handle this better during core
unload?

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

Re: Tons of WARN's when shutting down distributed SolrCloud tests

Posted by Timothy Potter <th...@gmail.com>.
Thanks Erick! Created - https://issues.apache.org/jira/browse/SOLR-6918 ...
patch only logs the WARN if the cause is not a Lucene
AlreadyClosedException, which I think is safe since the core is shutting
down.

On Tue, Jan 6, 2015 at 12:15 PM, Erick Erickson <er...@gmail.com>
wrote:

> big +1, all those messages are really annoying when looking at logs...
>
>
>
> On Tue, Jan 6, 2015 at 11:13 AM, Timothy Potter <th...@gmail.com>
> wrote:
>
>> I'm seeing tons of this warning when distributed SolrCloud tests are
>> shutting down ... seems like we should handle this better during core
>> unload?
>>
>>    [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)
>>
>>
>

Re: Tons of WARN's when shutting down distributed SolrCloud tests

Posted by Erick Erickson <er...@gmail.com>.
big +1, all those messages are really annoying when looking at logs...



On Tue, Jan 6, 2015 at 11:13 AM, Timothy Potter <th...@gmail.com>
wrote:

> I'm seeing tons of this warning when distributed SolrCloud tests are
> shutting down ... seems like we should handle this better during core
> unload?
>
>    [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)
>
>