[ https://issues.apache.org/jira/browse/CASSANDRA-19902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18009512#comment-18009512 ]
Stefan Miklosovic commented on CASSANDRA-19902: ----------------------------------------------- I think it is correct that it returns STARTING instead of JOINING. There is TCM in place in trunk which treats theses things a little bit differently, because the server indeed has not been initialized yet. It would return JOINING if it was in BOOT_REPLACING or BOOTSTRAPPING. cc [~marcuse] would you give it a quick look? (1) https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/service/StorageService.java#L3681-L3682 > 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 > Fix For: 5.0.x, 5.x > > Time Spent: 1h 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: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org