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:
Jonathan Ellis 2009-04-14 15:47:49 +00:00
parent 31e3033afd
commit 137a28fc07
2 changed files with 2 additions and 2 deletions

View File

@ -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)
{

View File

@ -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)
{