lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Miller <markrmil...@gmail.com>
Subject Re: Exception on getMBeanInfo
Date Thu, 03 Jan 2013 00:16:16 GMT
Solr 4.0?

I think there is a JIRA and fix for this in for 4.1.

- Mark

On Dec 28, 2012, at 7:20 AM, Marcin Rzewucki <mrzewucki@gmail.com> wrote:

> Hi,
> 
> I found in logs that sometimes the following error (more lines at the end
> of this mail) occurs on Solr startup or core reload:
> 
> Dec 28, 2012 8:42:01 AM
> org.apache.solr.core.JmxMonitoredMap$SolrDynamicMBean getMBeanInfo
> WARNING: Could not getStatistics on info bean
> org.apache.solr.handler.ReplicationHandler
> java.lang.IllegalArgumentException: /solr/cores/my_core/data/index does not
> exist
> 
> Indeed, this directory does not exist. However, there
> is /solr/cores/my_core/data/index.20121228091226651
> There's also "index.properties" file with the name of index directory.
> Generally, there is no other issue with that - querying and indexing works.
> Does it mean that getMBeanInfo is not using this file and always looks for
> .../data/index ? Or maybe this is typical for some issue with Solr
> configuration (I use SolrCloud4x) ? If so, how to avoid it ?
> 
> Dec 28, 2012 8:42:01 AM
> org.apache.solr.core.JmxMonitoredMap$SolrDynamicMBean getMBeanInfo
> WARNING: Could not getStatistics on info bean
> org.apache.solr.handler.ReplicationHandler
> java.lang.IllegalArgumentException: /solr/cores/my_core/data/index does not
> exist
>        at
> org.apache.commons.io.FileUtils.sizeOfDirectory(FileUtils.java:2074)
>        at
> org.apache.solr.handler.ReplicationHandler.getIndexSize(ReplicationHandler.java:477)
>        at
> org.apache.solr.handler.ReplicationHandler.getStatistics(ReplicationHandler.java:525)
>        at
> org.apache.solr.core.JmxMonitoredMap$SolrDynamicMBean.getMBeanInfo(JmxMonitoredMap.java:231)
>        at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getNewMBeanClassName(Unknown
> Source)
>        at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(Unknown
> Source)
>        at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(Unknown
> Source)
>        at
> org.apache.solr.core.JmxMonitoredMap.put(JmxMonitoredMap.java:140)
>        at org.apache.solr.core.JmxMonitoredMap.put(JmxMonitoredMap.java:51)
>        at
> org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:633)
>        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:736)
>        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:566)
>        at org.apache.solr.core.CoreContainer.create(CoreContainer.java:850)
>        at org.apache.solr.core.CoreContainer.load(CoreContainer.java:534)
>        at org.apache.solr.core.CoreContainer.load(CoreContainer.java:356)
>        at
> org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:308)
>        at
> org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:107)
>        at
> org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:114)
>        at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
>        at
> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:754)
>        at
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:258)
>        at
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1221)
>        at
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699)
>        at
> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
>        at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
>        at
> org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36)
>        at
> org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:183)
>        at
> org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:491)
>        at
> org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:138)
>        at
> org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:142)
>        at
> org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:53)
>        at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:604)
>        at
> org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:535)
>        at org.eclipse.jetty.util.Scanner.scan(Scanner.java:398)
>        at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:332)
>        at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
>        at
> org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:118)
>        at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
>        at
> org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:552)
>        at
> org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:227)
>        at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
>        at
> org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:63)
>        at
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:53)
>        at
> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:91)
>        at org.eclipse.jetty.server.Server.doStart(Server.java:263)
>        at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
>        at
> org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1215)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at
> org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1138)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        at org.eclipse.jetty.start.Main.invokeMain(Main.java:457)
>        at org.eclipse.jetty.start.Main.start(Main.java:602)
>        at org.eclipse.jetty.start.Main.main(Main.java:82)
> 
> Regards.


Mime
View raw message