From 3a1dc8ec824bd03ebc75940671e33dcdbe9c828a Mon Sep 17 00:00:00 2001 From: zhangduo Date: Sun, 21 Apr 2019 18:36:15 +0800 Subject: [PATCH] HBASE-22278 RawAsyncHBaseAdmin should not use cached region location --- .../java/org/apache/hadoop/hbase/client/RawAsyncHBaseAdmin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RawAsyncHBaseAdmin.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RawAsyncHBaseAdmin.java index 24614f5e979..67b0c050194 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RawAsyncHBaseAdmin.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RawAsyncHBaseAdmin.java @@ -1346,7 +1346,7 @@ class RawAsyncHBaseAdmin implements AsyncAdmin { if (splitPoint == null) { return failedFuture(new IllegalArgumentException("splitPoint can not be null.")); } - addListener(connection.getRegionLocator(tableName).getRegionLocation(splitPoint), + addListener(connection.getRegionLocator(tableName).getRegionLocation(splitPoint, true), (loc, err) -> { if (err != null) { result.completeExceptionally(err);