hbase git commit: HBASE-18875 Thrift server supports read-only mode - addendum fixes compilation of TestThriftHBaseServiceHandlerWithReadOnly

2017-09-25 Thread tedyu
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 
Authored: Mon Sep 25 18:42:27 2017 -0700
Committer: tedyu 
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
+}



hbase git commit: HBASE-18875 Thrift server supports read-only mode - addendum fixes compilation of TestThriftHBaseServiceHandlerWithReadOnly

2017-09-25 Thread tedyu
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 
Authored: Mon Sep 25 18:41:55 2017 -0700
Committer: tedyu 
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
+}