Repository: hbase Updated Branches: refs/heads/branch-1 9485835e5 -> d6d62a546
HBASE-18875 Thrift server supports read-only mode - addendum fixes compilation of TestThriftHBaseServiceHandlerWithReadOnly Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/d6d62a54 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/d6d62a54 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/d6d62a54 Branch: refs/heads/branch-1 Commit: d6d62a546724672acaff71b5acc4c687a4df119e Parents: 9485835 Author: tedyu <yuzhih...@gmail.com> Authored: Mon Sep 25 18:41:55 2017 -0700 Committer: tedyu <yuzhih...@gmail.com> Committed: Mon Sep 25 18:41:55 2017 -0700 ---------------------------------------------------------------------- .../hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/d6d62a54/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java ---------------------------------------------------------------------- diff --git a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java index d9a6c3c..bc7bea3 100644 --- a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java +++ b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java @@ -85,7 +85,7 @@ public class TestThriftHBaseServiceHandlerWithReadOnly { UTIL.getConfiguration().setBoolean("hbase.thrift.readonly", true); UTIL.getConfiguration().set("hbase.client.retries.number", "3"); UTIL.startMiniCluster(); - Admin admin = UTIL.getAdmin(); + Admin admin = UTIL.getHBaseAdmin(); HTableDescriptor tableDescriptor = new HTableDescriptor(TableName.valueOf(tableAname)); for (HColumnDescriptor family : families) { tableDescriptor.addFamily(family); @@ -464,4 +464,4 @@ public class TestThriftHBaseServiceHandlerWithReadOnly { assertFalse(exceptionCaught); } } -} \ No newline at end of file +}