hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1506781 - /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/util/ChaosMonkey.java
Date Wed, 24 Jul 2013 23:40:11 GMT
Author: tedyu
Date: Wed Jul 24 23:40:11 2013
New Revision: 1506781

URL: http://svn.apache.org/r1506781
Log:
HBASE-9026 RestartRsHoldingRoot action in org.apache.hadoop.hbase.util.ChaosMonkey restarting
the server holding .META. instead of -ROOT- (Screenivasulu)


Modified:
    hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/util/ChaosMonkey.java

Modified: hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/util/ChaosMonkey.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/util/ChaosMonkey.java?rev=1506781&r1=1506780&r2=1506781&view=diff
==============================================================================
--- hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/util/ChaosMonkey.java (original)
+++ hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/util/ChaosMonkey.java Wed Jul
24 23:40:11 2013
@@ -266,7 +266,7 @@ public class ChaosMonkey extends Abstrac
     @Override
     public void perform() throws Exception {
       LOG.info("Performing action: Restart region server holding ROOT");
-      ServerName server = cluster.getServerHoldingMeta();
+      ServerName server = cluster.getServerHoldingRoot();
       if (server == null) {
         LOG.warn("No server is holding -ROOT- right now.");
         return;



Mime
View raw message