You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by me...@apache.org on 2020/05/15 04:06:05 UTC

[hbase] branch branch-2.3 updated: HBASE-24364 [Chaos Monkey] Invalid data block encoding in ChangeEncodingAction (#1707)

This is an automated email from the ASF dual-hosted git repository.

meiyi pushed a commit to branch branch-2.3
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.3 by this push:
     new 9b64ab0  HBASE-24364 [Chaos Monkey] Invalid data block encoding in ChangeEncodingAction (#1707)
9b64ab0 is described below

commit 9b64ab029cafc81a08b073029a0663aa00702962
Author: meiyi <my...@gmail.com>
AuthorDate: Fri May 15 11:30:44 2020 +0800

    HBASE-24364 [Chaos Monkey] Invalid data block encoding in ChangeEncodingAction (#1707)
    
    Signed-off-by: Jan Hentschel <ja...@apache.org>
---
 .../org/apache/hadoop/hbase/chaos/actions/ChangeEncodingAction.java     | 2 +-
 1 file changed, 1 insertion(+), 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 0ff81d9..afa8a25 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
@@ -46,7 +46,7 @@ public class ChangeEncodingAction extends Action {
   public void perform() throws IOException {
     getLogger().debug("Performing action: Changing encodings on " + tableName);
     // possible DataBlockEncoding id's
-    final int[] possibleIds = {0, 2, 3, 4, 6};
+    final int[] possibleIds = {0, 2, 3, 4, 7};
 
     modifyAllTableColumns(tableName, (columnName, columnBuilder) -> {
       short id = (short) possibleIds[random.nextInt(possibleIds.length)];