From d3c08af0125dcbb6474d87e07fa2297e2edbfcbc Mon Sep 17 00:00:00 2001 From: Elliott Clark Date: Fri, 30 Aug 2013 12:15:38 -0700 Subject: [PATCH] HBASE-9395 Disable Schema Change on 0.96 --- hbase-common/src/main/resources/hbase-default.xml | 2 +- .../hbase/chaos/factories/SlowDeterministicMonkeyFactory.java | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git hbase-common/src/main/resources/hbase-default.xml hbase-common/src/main/resources/hbase-default.xml index 3079fc8..2ccfdb5 100644 --- hbase-common/src/main/resources/hbase-default.xml +++ hbase-common/src/main/resources/hbase-default.xml @@ -848,7 +848,7 @@ possible configurations would overwhelm and obscure the important. hbase.online.schema.update.enable - true + false Set true to enable online schema changes. diff --git hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/factories/SlowDeterministicMonkeyFactory.java hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/factories/SlowDeterministicMonkeyFactory.java index af478cf..6c71a26 100644 --- hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/factories/SlowDeterministicMonkeyFactory.java +++ hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/factories/SlowDeterministicMonkeyFactory.java @@ -64,11 +64,7 @@ public class SlowDeterministicMonkeyFactory extends MonkeyFactory { Action[] actions2 = new Action[] { new SplitRandomRegionOfTableAction(tableName), new MergeRandomAdjacentRegionsOfTableAction(tableName), - new SnapshotTableAction(tableName), - new AddColumnAction(tableName), - new RemoveColumnAction(tableName, columnFamilies), - new ChangeEncodingAction(tableName), - new ChangeVersionsAction(tableName) + new SnapshotTableAction(tableName) }; // Destructive actions to mess things around. -- 1.7.10.2 (Apple Git-33)