You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bb...@apache.org on 2023/02/08 21:11:42 UTC

[hbase] branch branch-2 updated: HBASE-27534 Addendum fix branch-2 compile issue

This is an automated email from the ASF dual-hosted git repository.

bbeaudreault pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new 721f1b159a6 HBASE-27534 Addendum fix branch-2 compile issue
721f1b159a6 is described below

commit 721f1b159a61d6318d248d57ed032847caa82f53
Author: Bryan Beaudreault <bb...@hubspot.com>
AuthorDate: Wed Feb 8 16:10:37 2023 -0500

    HBASE-27534 Addendum fix branch-2 compile issue
---
 .../test/java/org/apache/hadoop/hbase/namequeues/TestTooLargeLog.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/namequeues/TestTooLargeLog.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/namequeues/TestTooLargeLog.java
index 7aaeecb95c3..d9d85ebbf73 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/namequeues/TestTooLargeLog.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/namequeues/TestTooLargeLog.java
@@ -86,7 +86,7 @@ public class TestTooLargeLog {
     // issues coming from that slow log entry. We will re-enable below.
     HRegionServer regionServer = TEST_UTIL.getHBaseCluster().getRegionServer(0);
     regionServer.getConfiguration().setBoolean(HConstants.SLOW_LOG_BUFFER_ENABLED_KEY, false);
-    regionServer.updateConfiguration();
+    regionServer.getRSRpcServices().onConfigurationChange(regionServer.getConfiguration());
 
     byte[] family = Bytes.toBytes("0");
     Table table = TEST_UTIL.createTable(TableName.valueOf("testLogLargeBlockBytesScanned"), family);
@@ -98,7 +98,7 @@ public class TestTooLargeLog {
 
     // Turn on slow log so we capture large scan below
     regionServer.getConfiguration().setBoolean(HConstants.SLOW_LOG_BUFFER_ENABLED_KEY, true);
-    regionServer.updateConfiguration();
+    regionServer.getRSRpcServices().onConfigurationChange(regionServer.getConfiguration());
 
     Scan scan = new Scan();
     scan.setCaching(1);