hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject hbase git commit: HBASE-13812 Deleting of last Column Family of a table should not be allowed (ADDENDUM for failing unit test)
Date Mon, 01 Jun 2015 18:55:40 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.0 dadd824dd -> 77740289a


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/77740289
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/77740289
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/77740289

Branch: refs/heads/branch-1.0
Commit: 77740289aadc646cdd95078a74aa96669d98ca2d
Parents: dadd824
Author: Enis Soztutar <enis@apache.org>
Authored: Mon Jun 1 11:43:37 2015 -0700
Committer: Enis Soztutar <enis@apache.org>
Committed: Mon Jun 1 11:51:31 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/77740289/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 ae78a3e..1889880 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
@@ -303,7 +303,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


Mime
View raw message