hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject hbase git commit: Revert "HBASE-17425 Fixed deprecated calls in TestUpdateConfiguration"
Date Mon, 11 Dec 2017 21:59:32 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 c434cab5d -> b3167a0e5


Revert "HBASE-17425 Fixed deprecated calls in TestUpdateConfiguration"

This reverts commit c434cab5d1e45be8aff018d1b6c91e2994154ea5.


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

Branch: refs/heads/branch-1
Commit: b3167a0e50d85a838dc702f6d32002a205c7e3ae
Parents: c434cab
Author: Jan Hentschel <jan.hentschel@ultratendency.com>
Authored: Mon Dec 11 22:56:33 2017 +0100
Committer: Jan Hentschel <jan.hentschel@ultratendency.com>
Committed: Mon Dec 11 22:56:33 2017 +0100

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/client/TestUpdateConfiguration.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/b3167a0e/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestUpdateConfiguration.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestUpdateConfiguration.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestUpdateConfiguration.java
index 89931ae..226c9e7 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestUpdateConfiguration.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestUpdateConfiguration.java
@@ -49,7 +49,7 @@ public class TestUpdateConfiguration {
   @Test
   public void testOnlineConfigChange() throws IOException {
     LOG.debug("Starting the test");
-    Admin admin = TEST_UTIL.getAdmin();
+    Admin admin = TEST_UTIL.getHBaseAdmin();
     ServerName server = TEST_UTIL.getHBaseCluster().getRegionServer(0).getServerName();
     admin.updateConfiguration(server);
   }
@@ -65,7 +65,7 @@ public class TestUpdateConfiguration {
     // update hbase-site.xml by overwriting it
     Files.copy(cnf2Path, cnfPath, StandardCopyOption.REPLACE_EXISTING);
 
-    Admin admin = TEST_UTIL.getAdmin();
+    Admin admin = TEST_UTIL.getHBaseAdmin();
     ServerName server = TEST_UTIL.getHBaseCluster().getMaster().getServerName();
     admin.updateConfiguration(server);
     Configuration conf = TEST_UTIL.getMiniHBaseCluster().getMaster().getConfiguration();


Mime
View raw message