cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nate McCall (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-6419) Setting max_hint_window_in_ms explicitly to null causes problems with JMX view
Date Thu, 28 Nov 2013 17:14:35 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-6419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nate McCall updated CASSANDRA-6419:
-----------------------------------

    Reproduced In: 2.0.2, 1.2.12  (was: 1.2.12, 2.0.2)
    Fix Version/s: 2.0.3

> Setting max_hint_window_in_ms explicitly to null causes problems with JMX view
> ------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6419
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6419
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Config
>            Reporter: Nate McCall
>            Assignee: Nate McCall
>            Priority: Minor
>             Fix For: 1.2.13, 2.0.3
>
>         Attachments: 6419-1.2.patch, 6419-2.0.patch
>
>
> Setting max_hint_window_in_ms to null in cassandra.yaml makes the StorageProxy mbean
inaccessable. 
> Stack trace when trying to view the bean through MX4J:
> {code}
> Exception during http request
> javax.management.RuntimeMBeanException: java.lang.NullPointerException
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:852)
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:651)
> 	at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:678)
> 	at mx4j.tools.adaptor.http.MBeanCommandProcessor.createMBeanElement(MBeanCommandProcessor.java:119)
> 	at mx4j.tools.adaptor.http.MBeanCommandProcessor.executeRequest(MBeanCommandProcessor.java:56)
> 	at mx4j.tools.adaptor.http.HttpAdaptor$HttpClient.run(HttpAdaptor.java:980)
> Caused by: java.lang.NullPointerException
> 	at org.apache.cassandra.config.DatabaseDescriptor.getMaxHintWindow(DatabaseDescriptor.java:1161)
> 	at org.apache.cassandra.service.StorageProxy.getMaxHintWindow(StorageProxy.java:1506)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:75)
> 	at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:279)
> 	at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
> 	at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
> 	at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
> 	at com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.java:83)
> 	at com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(MBeanSupport.java:206)
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:647)
> 	... 4 more
> Exception during http request
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message