hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From la...@apache.org
Subject svn commit: r1541328 - /hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/
Date Wed, 13 Nov 2013 00:00:17 GMT
Author: larsh
Date: Wed Nov 13 00:00:17 2013
New Revision: 1541328

URL: http://svn.apache.org/r1541328
Log:
HBASE-9138 getHaseIntegrationTestingUtility() is misspelled

Modified:
    hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/Action.java
    hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/AddColumnAction.java
    hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/ChangeEncodingAction.java
    hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/ChangeVersionsAction.java
    hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/CompactRandomRegionOfTableAction.java
    hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/CompactTableAction.java
    hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/FlushRandomRegionOfTableAction.java
    hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/FlushTableAction.java
    hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MergeRandomAdjacentRegionsOfTableAction.java
    hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRandomRegionOfTableAction.java
    hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRegionsOfTableAction.java
    hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/RemoveColumnAction.java
    hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/RestartRsHoldingTableAction.java
    hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/SnapshotTableAction.java
    hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/SplitRandomRegionOfTableAction.java

Modified: hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/Action.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/Action.java?rev=1541328&r1=1541327&r2=1541328&view=diff
==============================================================================
--- hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/Action.java (original)
+++ hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/Action.java Wed
Nov 13 00:00:17 2013
@@ -114,7 +114,7 @@ public class Action {
 
     LOG.info("Moving " + victimRegions.size() + " regions from " + fromServers.size()
         + " servers to " + toServers.size() + " different servers");
-    HBaseAdmin admin = this.context.getHaseIntegrationTestingUtility().getHBaseAdmin();
+    HBaseAdmin admin = this.context.getHBaseIntegrationTestingUtility().getHBaseAdmin();
     for (byte[] victimRegion : victimRegions) {
       int targetIx = RandomUtils.nextInt(toServers.size());
       admin.move(victimRegion, Bytes.toBytes(toServers.get(targetIx).getServerName()));
@@ -122,7 +122,7 @@ public class Action {
   }
 
   protected void forceBalancer() throws Exception {
-    HBaseAdmin admin = this.context.getHaseIntegrationTestingUtility().getHBaseAdmin();
+    HBaseAdmin admin = this.context.getHBaseIntegrationTestingUtility().getHBaseAdmin();
     boolean result = admin.balancer();
     if (!result) {
       LOG.error("Balancer didn't succeed");
@@ -139,7 +139,7 @@ public class Action {
       this.util = util;
     }
 
-    public IntegrationTestingUtility getHaseIntegrationTestingUtility() {
+    public IntegrationTestingUtility getHBaseIntegrationTestingUtility() {
       return util;
     }
 

Modified: hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/AddColumnAction.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/AddColumnAction.java?rev=1541328&r1=1541327&r2=1541328&view=diff
==============================================================================
--- hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/AddColumnAction.java
(original)
+++ hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/AddColumnAction.java
Wed Nov 13 00:00:17 2013
@@ -42,7 +42,7 @@ public class AddColumnAction extends Act
   @Override
   public void init(ActionContext context) throws IOException {
     super.init(context);
-    this.admin = context.getHaseIntegrationTestingUtility().getHBaseAdmin();
+    this.admin = context.getHBaseIntegrationTestingUtility().getHBaseAdmin();
   }
 
   @Override

Modified: hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/ChangeEncodingAction.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/ChangeEncodingAction.java?rev=1541328&r1=1541327&r2=1541328&view=diff
==============================================================================
--- hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/ChangeEncodingAction.java
(original)
+++ hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/ChangeEncodingAction.java
Wed Nov 13 00:00:17 2013
@@ -46,7 +46,7 @@ public class ChangeEncodingAction extend
   @Override
   public void init(ActionContext context) throws IOException {
     super.init(context);
-    this.admin = context.getHaseIntegrationTestingUtility().getHBaseAdmin();
+    this.admin = context.getHBaseIntegrationTestingUtility().getHBaseAdmin();
   }
 
   @Override

Modified: hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/ChangeVersionsAction.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/ChangeVersionsAction.java?rev=1541328&r1=1541327&r2=1541328&view=diff
==============================================================================
--- hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/ChangeVersionsAction.java
(original)
+++ hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/ChangeVersionsAction.java
Wed Nov 13 00:00:17 2013
@@ -47,7 +47,7 @@ public class ChangeVersionsAction extend
   @Override
   public void init(ActionContext context) throws IOException {
     super.init(context);
-    this.admin = context.getHaseIntegrationTestingUtility().getHBaseAdmin();
+    this.admin = context.getHBaseIntegrationTestingUtility().getHBaseAdmin();
   }
 
   @Override

Modified: hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/CompactRandomRegionOfTableAction.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/CompactRandomRegionOfTableAction.java?rev=1541328&r1=1541327&r2=1541328&view=diff
==============================================================================
--- hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/CompactRandomRegionOfTableAction.java
(original)
+++ hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/CompactRandomRegionOfTableAction.java
Wed Nov 13 00:00:17 2013
@@ -51,7 +51,7 @@ public class CompactRandomRegionOfTableA
 
   @Override
   public void perform() throws Exception {
-    HBaseTestingUtility util = context.getHaseIntegrationTestingUtility();
+    HBaseTestingUtility util = context.getHBaseIntegrationTestingUtility();
     HBaseAdmin admin = util.getHBaseAdmin();
     boolean major = RandomUtils.nextInt(100) < majorRatio;
 

Modified: hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/CompactTableAction.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/CompactTableAction.java?rev=1541328&r1=1541327&r2=1541328&view=diff
==============================================================================
--- hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/CompactTableAction.java
(original)
+++ hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/CompactTableAction.java
Wed Nov 13 00:00:17 2013
@@ -46,7 +46,7 @@ public class CompactTableAction extends 
 
   @Override
   public void perform() throws Exception {
-    HBaseTestingUtility util = context.getHaseIntegrationTestingUtility();
+    HBaseTestingUtility util = context.getHBaseIntegrationTestingUtility();
     HBaseAdmin admin = util.getHBaseAdmin();
     boolean major = RandomUtils.nextInt(100) < majorRatio;
 

Modified: hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/FlushRandomRegionOfTableAction.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/FlushRandomRegionOfTableAction.java?rev=1541328&r1=1541327&r2=1541328&view=diff
==============================================================================
--- hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/FlushRandomRegionOfTableAction.java
(original)
+++ hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/FlushRandomRegionOfTableAction.java
Wed Nov 13 00:00:17 2013
@@ -46,7 +46,7 @@ public class FlushRandomRegionOfTableAct
 
   @Override
   public void perform() throws Exception {
-    HBaseTestingUtility util = context.getHaseIntegrationTestingUtility();
+    HBaseTestingUtility util = context.getHBaseIntegrationTestingUtility();
     HBaseAdmin admin = util.getHBaseAdmin();
 
     LOG.info("Performing action: Flush random region of table " + tableName);

Modified: hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/FlushTableAction.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/FlushTableAction.java?rev=1541328&r1=1541327&r2=1541328&view=diff
==============================================================================
--- hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/FlushTableAction.java
(original)
+++ hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/FlushTableAction.java
Wed Nov 13 00:00:17 2013
@@ -42,7 +42,7 @@ public class FlushTableAction extends Ac
 
   @Override
   public void perform() throws Exception {
-    HBaseTestingUtility util = context.getHaseIntegrationTestingUtility();
+    HBaseTestingUtility util = context.getHBaseIntegrationTestingUtility();
     HBaseAdmin admin = util.getHBaseAdmin();
 
     LOG.info("Performing action: Flush table " + tableName);

Modified: hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MergeRandomAdjacentRegionsOfTableAction.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MergeRandomAdjacentRegionsOfTableAction.java?rev=1541328&r1=1541327&r2=1541328&view=diff
==============================================================================
--- hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MergeRandomAdjacentRegionsOfTableAction.java
(original)
+++ hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MergeRandomAdjacentRegionsOfTableAction.java
Wed Nov 13 00:00:17 2013
@@ -46,7 +46,7 @@ public class MergeRandomAdjacentRegionsO
 
   @Override
   public void perform() throws Exception {
-    HBaseTestingUtility util = context.getHaseIntegrationTestingUtility();
+    HBaseTestingUtility util = context.getHBaseIntegrationTestingUtility();
     HBaseAdmin admin = util.getHBaseAdmin();
 
     LOG.info("Performing action: Merge random adjacent regions of table " + tableName);

Modified: hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRandomRegionOfTableAction.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRandomRegionOfTableAction.java?rev=1541328&r1=1541327&r2=1541328&view=diff
==============================================================================
--- hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRandomRegionOfTableAction.java
(original)
+++ hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRandomRegionOfTableAction.java
Wed Nov 13 00:00:17 2013
@@ -50,7 +50,7 @@ public class MoveRandomRegionOfTableActi
       Thread.sleep(sleepTime);
     }
 
-    HBaseTestingUtility util = context.getHaseIntegrationTestingUtility();
+    HBaseTestingUtility util = context.getHBaseIntegrationTestingUtility();
     HBaseAdmin admin = util.getHBaseAdmin();
 
     LOG.info("Performing action: Move random region of table " + tableName);

Modified: hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRegionsOfTableAction.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRegionsOfTableAction.java?rev=1541328&r1=1541327&r2=1541328&view=diff
==============================================================================
--- hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRegionsOfTableAction.java
(original)
+++ hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/MoveRegionsOfTableAction.java
Wed Nov 13 00:00:17 2013
@@ -54,7 +54,7 @@ public class MoveRegionsOfTableAction ex
       Thread.sleep(sleepTime);
     }
 
-    HBaseAdmin admin = this.context.getHaseIntegrationTestingUtility().getHBaseAdmin();
+    HBaseAdmin admin = this.context.getHBaseIntegrationTestingUtility().getHBaseAdmin();
     Collection<ServerName> serversList = admin.getClusterStatus().getServers();
     ServerName[] servers = serversList.toArray(new ServerName[serversList.size()]);
 

Modified: hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/RemoveColumnAction.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/RemoveColumnAction.java?rev=1541328&r1=1541327&r2=1541328&view=diff
==============================================================================
--- hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/RemoveColumnAction.java
(original)
+++ hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/RemoveColumnAction.java
Wed Nov 13 00:00:17 2013
@@ -47,7 +47,7 @@ public class RemoveColumnAction extends 
   @Override
   public void init(ActionContext context) throws IOException {
     super.init(context);
-    this.admin = context.getHaseIntegrationTestingUtility().getHBaseAdmin();
+    this.admin = context.getHBaseIntegrationTestingUtility().getHBaseAdmin();
   }
 
   @Override

Modified: hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/RestartRsHoldingTableAction.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/RestartRsHoldingTableAction.java?rev=1541328&r1=1541327&r2=1541328&view=diff
==============================================================================
--- hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/RestartRsHoldingTableAction.java
(original)
+++ hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/RestartRsHoldingTableAction.java
Wed Nov 13 00:00:17 2013
@@ -42,7 +42,7 @@ public class RestartRsHoldingTableAction
   public void perform() throws Exception {
     HTable table = null;
     try {
-      Configuration conf = context.getHaseIntegrationTestingUtility().getConfiguration();
+      Configuration conf = context.getHBaseIntegrationTestingUtility().getConfiguration();
       table = new HTable(conf, tableName);
     } catch (IOException e) {
       LOG.debug("Error creating HTable used to get list of region locations.", e);

Modified: hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/SnapshotTableAction.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/SnapshotTableAction.java?rev=1541328&r1=1541327&r2=1541328&view=diff
==============================================================================
--- hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/SnapshotTableAction.java
(original)
+++ hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/SnapshotTableAction.java
Wed Nov 13 00:00:17 2013
@@ -39,7 +39,7 @@ public class SnapshotTableAction extends
 
   @Override
   public void perform() throws Exception {
-    HBaseTestingUtility util = context.getHaseIntegrationTestingUtility();
+    HBaseTestingUtility util = context.getHBaseIntegrationTestingUtility();
     String snapshotName = tableName + "-it-" + System.currentTimeMillis();
     HBaseAdmin admin = util.getHBaseAdmin();
 

Modified: hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/SplitRandomRegionOfTableAction.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/SplitRandomRegionOfTableAction.java?rev=1541328&r1=1541327&r2=1541328&view=diff
==============================================================================
--- hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/SplitRandomRegionOfTableAction.java
(original)
+++ hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/SplitRandomRegionOfTableAction.java
Wed Nov 13 00:00:17 2013
@@ -46,7 +46,7 @@ public class SplitRandomRegionOfTableAct
 
   @Override
   public void perform() throws Exception {
-    HBaseTestingUtility util = context.getHaseIntegrationTestingUtility();
+    HBaseTestingUtility util = context.getHBaseIntegrationTestingUtility();
     HBaseAdmin admin = util.getHBaseAdmin();
 
     LOG.info("Performing action: Split random region of table " + tableName);



Mime
View raw message