You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by en...@apache.org on 2015/06/01 20:44:04 UTC

hbase git commit: HBASE-13812 Deleting of last Column Family of a table should not be allowed (ADDENDUM for failing unit test)

Repository: hbase
Updated Branches:
  refs/heads/master 9a4ae799c -> 1895f99fa


HBASE-13812 Deleting of last Column Family of a table should not be allowed (ADDENDUM for failing unit test)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/1895f99f
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/1895f99f
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/1895f99f

Branch: refs/heads/master
Commit: 1895f99faf83c317cc22619a792ca176af1695a0
Parents: 9a4ae79
Author: Enis Soztutar <en...@apache.org>
Authored: Mon Jun 1 11:43:37 2015 -0700
Committer: Enis Soztutar <en...@apache.org>
Committed: Mon Jun 1 11:43:47 2015 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/backup/TestHFileArchiving.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/1895f99f/hbase-server/src/test/java/org/apache/hadoop/hbase/backup/TestHFileArchiving.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/backup/TestHFileArchiving.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/backup/TestHFileArchiving.java
index 6d5933a..e30d719 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/backup/TestHFileArchiving.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/backup/TestHFileArchiving.java
@@ -306,7 +306,7 @@ public class TestHFileArchiving {
   public void testArchiveOnTableFamilyDelete() throws Exception {
     TableName TABLE_NAME =
         TableName.valueOf("testArchiveOnTableFamilyDelete");
-    UTIL.createTable(TABLE_NAME, TEST_FAM);
+    UTIL.createTable(TABLE_NAME, new byte[][] {TEST_FAM, Bytes.toBytes("fam2")});
 
     List<HRegion> servingRegions = UTIL.getHBaseCluster().getRegions(TABLE_NAME);
     // make sure we only have 1 region serving this table