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

Paulo Motta commented on CASSANDRA-19902:
-----------------------------------------

5.0 CI is nearly good, except the test I added 
{{testStorageServiceMBeanIsPublishedOnJMXDuringBootstrap}} 
[failed|https://ci-cassandra.apache.org/job/Cassandra-devbranch-5/91/testReport/org.apache.cassandra.distributed.test.ring/BootstrapTest/Tests___jvm_dtest_jdk11_9_12___testStorageServiceMBeanIsPublishedOnJMXDuringBootstrap__jdk11_x86_64/]
 due to the use of {{MBeanWrapper.getMBeanWrapper}} instead of 
{{MbeanWrapper.instance}} to implement JMX registration idempotency on 
[9af38|https://github.com/pauloricardomg/cassandra/commit/9af38834d62636568593c78f7d349b09c85b8f9c].

I fixed 
[here|https://github.com/pauloricardomg/cassandra/commit/830dfa0c08c0bd988c76b2b34d418d2c01df2ebc]
 and resubmitted for 5.0: 
[https://ci-cassandra.apache.org/job/Cassandra-devbranch-5/93/]

Looks like this introduced a couple of 
[failures|https://ci-cassandra.apache.org/job/Cassandra-devbranch-5/92/testReport/]
 on DecommissionTest on trunk - will cancel the patch while I look into it.

> StorageService JMX mbean is not available during bootstrap
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-19902
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19902
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Tool/nodetool
>            Reporter: Paulo Motta
>            Assignee: Paulo Motta
>            Priority: Normal
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Looks like the seemingly harmless cosmetic patch from CASSANDRA-11537 causes 
> the StorageServiceMBean to not be available during bootstrap. This causes 
> commands like "nodetool nestats/status/etc" to not be available on the 
> boostrapping node with the following error:
> {code:none}
> - StackTrace --
> javax.management.InstanceNotFoundException: 
> org.apache.cassandra.db:type=StorageService
>         at 
> java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1083)
>         at 
> java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:637)
> {code}
> This ticket is just to revert CASSANDRA-11537, we can re-add the improvement 
> of that ticket later.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to