From ac6baf9173af22ebea7fc310e2c84d84ce8e88eb Mon Sep 17 00:00:00 2001 From: Jimmy Xiang Date: Mon, 6 Oct 2014 19:04:02 -0700 Subject: [PATCH] HBASE-11838 Enable PREFIX_TREE in integration tests --- .../hadoop/hbase/chaos/actions/ChangeEncodingAction.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/ChangeEncodingAction.java b/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/ChangeEncodingAction.java index 4833d701761..b18aba598c3 100644 --- a/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/ChangeEncodingAction.java +++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/ChangeEncodingAction.java @@ -58,10 +58,12 @@ public class ChangeEncodingAction extends Action { LOG.debug("Performing action: Changing encodings on " + tableName); // possible DataBlockEncoding id's - int[] possibleIds = {0, 2, 3, 4/*, 6*/}; + int[] possibleIds = {0, 2, 3, 4, 6}; for (HColumnDescriptor descriptor : columnDescriptors) { short id = (short) possibleIds[random.nextInt(possibleIds.length)]; descriptor.setDataBlockEncoding(DataBlockEncoding.getEncodingById(id)); + LOG.debug("Set encoding of column family " + descriptor.getNameAsString() + + " to: " + descriptor.getDataBlockEncoding()); } admin.modifyTable(tableName, tableDescriptor);