hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject hbase git commit: Amend HBASE-12573 Backport HBASE-10591 Sanity check table configuration in createTable
Date Tue, 02 Dec 2014 04:10:41 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 b04d1e950 -> 0d7ddab0d


Amend HBASE-12573 Backport HBASE-10591 Sanity check table configuration in createTable

Fix test failures in TestThriftServer and TestThriftServerCmdLine


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

Branch: refs/heads/0.98
Commit: 0d7ddab0dac718c2c14a3d15680410c001f19a41
Parents: b04d1e9
Author: Andrew Purtell <apurtell@apache.org>
Authored: Mon Dec 1 23:09:11 2014 -0500
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Mon Dec 1 23:10:07 2014 -0500

----------------------------------------------------------------------
 .../test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/0d7ddab0/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java
----------------------------------------------------------------------
diff --git a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java
b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java
index 43cf37f..b59e967 100644
--- a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java
+++ b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java
@@ -227,7 +227,7 @@ public class TestThriftServer {
     assertEquals(handler.getTableNames().size(), 1);
     assertEquals(handler.getColumnDescriptors(tableAname).size(), 2);
     assertTrue(handler.isTableEnabled(tableAname));
-    handler.createTable(tableBname, new ArrayList<ColumnDescriptor>());
+    handler.createTable(tableBname, getColumnDescriptors());
     assertEquals(handler.getTableNames().size(), 2);
   }
 


Mime
View raw message