hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-18875 Thrift server supports read-only mode - addendum fixes compilation of TestThriftHBaseServiceHandlerWithReadOnly
Date Tue, 26 Sep 2017 01:42:33 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.4 9a940be13 -> 1af5bf110


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

Branch: refs/heads/branch-1.4
Commit: 1af5bf110544e369c8da50404862a6e527008e62
Parents: 9a940be
Author: tedyu <yuzhihong@gmail.com>
Authored: Mon Sep 25 18:42:27 2017 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Mon Sep 25 18:42:27 2017 -0700

----------------------------------------------------------------------
 .../hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/1af5bf11/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
+}


Mime
View raw message