[
https://issues.apache.org/jira/browse/HBASE-12573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14230939#comment-14230939
]
Andrew Purtell commented on HBASE-12573:
----------------------------------------
A dumb one line change:
{code}
diff --git a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThrif
index 43cf37f..b59e967 100644
--- a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer
+++ b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer
@@ -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);
}
{code}
> Backport HBASE-10591 Sanity check table configuration in createTable
> --------------------------------------------------------------------
>
> Key: HBASE-12573
> URL: https://issues.apache.org/jira/browse/HBASE-12573
> Project: HBase
> Issue Type: Sub-task
> Reporter: Enis Soztutar
> Assignee: Enis Soztutar
> Fix For: 0.98.9
>
> Attachments: hbase-10591_v5-0.98.patch
>
>
> In parent jira, it seems that we will be better off backporting HBASE-10591.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)