mirror of https://github.com/apache/cassandra
jmx resource names to reflect the move to apache
This is primarily a cosmetic change. If the Facebook folks have existing tools which use these names, and they can not easily be updated, then this changeset can safely be omitted. patch by Eric Evans; reviewed by jbellis for #75 for your changes. git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@764842 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
31e3033afd
commit
137a28fc07
|
|
@ -85,7 +85,7 @@ public class FailureDetector implements IFailureDetector, FailureDetectorMBean
|
|||
try
|
||||
{
|
||||
MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
|
||||
mbs.registerMBean(this, new ObjectName("com.facebook.infrastructure.gms:type=FailureDetector"));
|
||||
mbs.registerMBean(this, new ObjectName("org.apache.cassandra.gms:type=FailureDetector"));
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -293,7 +293,7 @@ public final class StorageService implements IEndPointStateChangeSubscriber, Sto
|
|||
{
|
||||
MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
|
||||
mbs.registerMBean(this, new ObjectName(
|
||||
"com.facebook.infrastructure.service:type=StorageService"));
|
||||
"org.apache.cassandra.service:type=StorageService"));
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue