From 8207886d07d0f69ef58961f3133fc21df4a826cd 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 8f29f808250..a5b0ef97aac 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 @@ -1289,7 +1289,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);