hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject hbase git commit: HBASE-17425 Fixed deprecated calls in TestUpdateConfiguration
Date Sat, 09 Dec 2017 13:44:28 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-2 62ccc340f -> aec558188


HBASE-17425 Fixed deprecated calls in TestUpdateConfiguration


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

Branch: refs/heads/branch-2
Commit: aec558188518f95456e2732ce454ea87619d16c6
Parents: 62ccc34
Author: Jan Hentschel <jan.hentschel@ultratendency.com>
Authored: Wed Jan 4 22:13:39 2017 +0100
Committer: Jan Hentschel <jan.hentschel@ultratendency.com>
Committed: Sat Dec 9 14:44:06 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/aec55818/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 731e02f..d54cb53 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.getHBaseAdmin();
+    Admin admin = TEST_UTIL.getAdmin();
     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.getHBaseAdmin();
+    Admin admin = TEST_UTIL.getAdmin();
     ServerName server = TEST_UTIL.getHBaseCluster().getMaster().getServerName();
     admin.updateConfiguration(server);
     Configuration conf = TEST_UTIL.getMiniHBaseCluster().getMaster().getConfiguration();


Mime
View raw message