You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by gi...@apache.org on 2020/12/04 20:19:08 UTC
[hbase-site] branch asf-site updated: Published site at
b26395f3bb9c9ddc809f434ac653b157cee0db9b.
This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hbase-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 7455446 Published site at b26395f3bb9c9ddc809f434ac653b157cee0db9b.
7455446 is described below
commit 7455446ebc7bc358560161f09c9810a52b6459af
Author: jenkins <bu...@apache.org>
AuthorDate: Fri Dec 4 20:18:40 2020 +0000
Published site at b26395f3bb9c9ddc809f434ac653b157cee0db9b.
---
acid-semantics.html | 2 +-
apache_hbase_reference_guide.pdf | 4 +-
.../hbase/client/AsyncTableRegionLocator.html | 39 +--
.../hbase/client/AsyncTableRegionLocator.html | 278 ++++++++++-----------
book.html | 2 +-
bulk-loads.html | 2 +-
checkstyle-aggregate.html | 2 +-
coc.html | 2 +-
dependencies.html | 2 +-
dependency-convergence.html | 2 +-
dependency-info.html | 2 +-
dependency-management.html | 2 +-
.../hbase/client/AsyncTableRegionLocator.html | 39 +--
.../hbase/client/AsyncTableRegionLocator.html | 278 ++++++++++-----------
downloads.html | 2 +-
export_control.html | 2 +-
index.html | 2 +-
issue-tracking.html | 2 +-
mail-lists.html | 2 +-
metrics.html | 2 +-
old_news.html | 2 +-
plugin-management.html | 2 +-
plugins.html | 2 +-
poweredbyhbase.html | 2 +-
project-info.html | 2 +-
project-reports.html | 2 +-
project-summary.html | 2 +-
pseudo-distributed.html | 2 +-
replication.html | 2 +-
resources.html | 2 +-
source-repository.html | 2 +-
sponsors.html | 2 +-
supportingprojects.html | 2 +-
team-list.html | 2 +-
34 files changed, 329 insertions(+), 367 deletions(-)
diff --git a/acid-semantics.html b/acid-semantics.html
index a388b97..9ca2411 100644
--- a/acid-semantics.html
+++ b/acid-semantics.html
@@ -467,7 +467,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/apache_hbase_reference_guide.pdf b/apache_hbase_reference_guide.pdf
index f69197d..1915f0c 100644
--- a/apache_hbase_reference_guide.pdf
+++ b/apache_hbase_reference_guide.pdf
@@ -5,8 +5,8 @@
/Author (Apache HBase Team)
/Creator (Asciidoctor PDF 1.5.3, based on Prawn 2.2.2)
/Producer (Apache HBase Team)
-/ModDate (D:20201203200459+00'00')
-/CreationDate (D:20201203201536+00'00')
+/ModDate (D:20201204200527+00'00')
+/CreationDate (D:20201204201645+00'00')
>>
endobj
2 0 obj
diff --git a/apidocs/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html b/apidocs/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html
index 97c15d2..3f039d0 100644
--- a/apidocs/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html
+++ b/apidocs/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html
@@ -102,7 +102,7 @@ var activeTableTab = "activeTableTab";
<hr>
<br>
<pre>@InterfaceAudience.Public
-public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.37">AsyncTableRegionLocator</a></pre>
+public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.36">AsyncTableRegionLocator</a></pre>
<div class="block">The asynchronous version of RegionLocator.
<p>
Usually the implementations will not throw any exception directly, you need to get the exception
@@ -227,7 +227,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
-<pre><a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.42">getName</a>()</pre>
+<pre><a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.41">getName</a>()</pre>
<div class="block">Gets the fully qualified table name instance of the table whose region we want to locate.</div>
</li>
</ul>
@@ -237,7 +237,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getRegionLocation</h4>
-<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.50">getRegionLocation</a>(byte[] row)</pre>
+<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.49">getRegionLocation</a>(byte[] row)</pre>
<div class="block">Finds the region on which the given row is being served. Does not reload the cache.
<p/>
Returns the location of the region to which the row belongs.</div>
@@ -253,7 +253,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getRegionLocation</h4>
-<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.61">getRegionLocation</a>(byte[] row,
+<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.60">getRegionLocation</a>(byte[] row,
boolean reload)</pre>
<div class="block">Finds the region on which the given row is being served.
<p/>
@@ -271,7 +271,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getRegionLocation</h4>
-<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.73">getRegionLocation</a>(byte[] row,
+<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.72">getRegionLocation</a>(byte[] row,
int replicaId)</pre>
<div class="block">Finds the region with the given <code>replicaId</code> on which the given row is being served.
<p/>
@@ -290,7 +290,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getRegionLocation</h4>
-<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.86">getRegionLocation</a>(byte[] row,
+<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.85">getRegionLocation</a>(byte[] row,
int replicaId,
boolean reload)</pre>
<div class="block">Finds the region with the given <code>replicaId</code> on which the given row is being served.
@@ -311,15 +311,13 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getRegionLocations</h4>
-<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>>> [...]
+<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>>> [...]
<div class="block">Find all the replicas for the region on which the given row is being served.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - Row to find.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Locations for all the replicas of the row.</dd>
-<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs</dd>
</dl>
</li>
</ul>
@@ -329,7 +327,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getRegionLocations</h4>
-<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>>> <a href="../. [...]
+<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>>> <a href="../. [...]
boolean reload)</pre>
<div class="block">Find all the replicas for the region on which the given row is being served.</div>
<dl>
@@ -338,8 +336,6 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<dd><code>reload</code> - true to reload information or false to use cached information</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Locations for all the replicas of the row.</dd>
-<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs</dd>
</dl>
</li>
</ul>
@@ -349,7 +345,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getAllRegionLocations</h4>
-<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>>> <a href="../. [...]
+<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>>> <a href="../. [...]
<div class="block">Retrieves all of the regions associated with this table.
<p/>
Usually we will go to meta table directly in this method so there is no <code>reload</code>
@@ -368,16 +364,13 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getStartKeys</h4>
-<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.125">getStartKeys</a>()
- throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.121">getStartKeys</a>()</pre>
<div class="block">Gets the starting row key for every region in the currently open table.
<p>
This is mainly useful for the MapReduce integration.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Array of region starting row keys</dd>
-<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs</dd>
</dl>
</li>
</ul>
@@ -387,16 +380,13 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getEndKeys</h4>
-<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.137">getEndKeys</a>()
- throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.132">getEndKeys</a>()</pre>
<div class="block">Gets the ending row key for every region in the currently open table.
<p>
This is mainly useful for the MapReduce integration.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Array of region ending row keys</dd>
-<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs</dd>
</dl>
</li>
</ul>
@@ -406,16 +396,13 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getStartEndKeys</h4>
-<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><byte[],byte[]>>& [...]
- throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><byte[],byte[]>>& [...]
<div class="block">Gets the starting and ending row keys for every region in the currently open table.
<p>
This is mainly useful for the MapReduce integration.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Pair of arrays of region starting and ending row keys</dd>
-<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs</dd>
</dl>
</li>
</ul>
@@ -425,7 +412,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockListLast">
<li class="blockList">
<h4>clearRegionLocationCache</h4>
-<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.161">clearRegionLocationCache</a>()</pre>
+<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.155">clearRegionLocationCache</a>()</pre>
<div class="block">Clear all the entries in the region location cache.
<p/>
This may cause performance issue so use it with caution.</div>
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html b/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html
index 7598d47..35e22e2 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html
@@ -25,149 +25,143 @@
<span class="sourceLineNo">017</span> */<a name="line.17"></a>
<span class="sourceLineNo">018</span>package org.apache.hadoop.hbase.client;<a name="line.18"></a>
<span class="sourceLineNo">019</span><a name="line.19"></a>
-<span class="sourceLineNo">020</span>import java.io.IOException;<a name="line.20"></a>
-<span class="sourceLineNo">021</span>import java.util.List;<a name="line.21"></a>
-<span class="sourceLineNo">022</span>import java.util.concurrent.CompletableFuture;<a name="line.22"></a>
-<span class="sourceLineNo">023</span>import java.util.stream.Collectors;<a name="line.23"></a>
-<span class="sourceLineNo">024</span>import org.apache.hadoop.hbase.HRegionLocation;<a name="line.24"></a>
-<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.TableName;<a name="line.25"></a>
-<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.util.Pair;<a name="line.26"></a>
-<span class="sourceLineNo">027</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.27"></a>
-<span class="sourceLineNo">028</span><a name="line.28"></a>
-<span class="sourceLineNo">029</span>/**<a name="line.29"></a>
-<span class="sourceLineNo">030</span> * The asynchronous version of RegionLocator.<a name="line.30"></a>
-<span class="sourceLineNo">031</span> * <p><a name="line.31"></a>
-<span class="sourceLineNo">032</span> * Usually the implementations will not throw any exception directly, you need to get the exception<a name="line.32"></a>
-<span class="sourceLineNo">033</span> * from the returned {@link CompletableFuture}.<a name="line.33"></a>
-<span class="sourceLineNo">034</span> * @since 2.0.0<a name="line.34"></a>
-<span class="sourceLineNo">035</span> */<a name="line.35"></a>
-<span class="sourceLineNo">036</span>@InterfaceAudience.Public<a name="line.36"></a>
-<span class="sourceLineNo">037</span>public interface AsyncTableRegionLocator {<a name="line.37"></a>
-<span class="sourceLineNo">038</span><a name="line.38"></a>
-<span class="sourceLineNo">039</span> /**<a name="line.39"></a>
-<span class="sourceLineNo">040</span> * Gets the fully qualified table name instance of the table whose region we want to locate.<a name="line.40"></a>
-<span class="sourceLineNo">041</span> */<a name="line.41"></a>
-<span class="sourceLineNo">042</span> TableName getName();<a name="line.42"></a>
-<span class="sourceLineNo">043</span><a name="line.43"></a>
-<span class="sourceLineNo">044</span> /**<a name="line.44"></a>
-<span class="sourceLineNo">045</span> * Finds the region on which the given row is being served. Does not reload the cache.<a name="line.45"></a>
-<span class="sourceLineNo">046</span> * <p/><a name="line.46"></a>
-<span class="sourceLineNo">047</span> * Returns the location of the region to which the row belongs.<a name="line.47"></a>
-<span class="sourceLineNo">048</span> * @param row Row to find.<a name="line.48"></a>
-<span class="sourceLineNo">049</span> */<a name="line.49"></a>
-<span class="sourceLineNo">050</span> default CompletableFuture<HRegionLocation> getRegionLocation(byte[] row) {<a name="line.50"></a>
-<span class="sourceLineNo">051</span> return getRegionLocation(row, false);<a name="line.51"></a>
-<span class="sourceLineNo">052</span> }<a name="line.52"></a>
-<span class="sourceLineNo">053</span><a name="line.53"></a>
-<span class="sourceLineNo">054</span> /**<a name="line.54"></a>
-<span class="sourceLineNo">055</span> * Finds the region on which the given row is being served.<a name="line.55"></a>
-<span class="sourceLineNo">056</span> * <p/><a name="line.56"></a>
-<span class="sourceLineNo">057</span> * Returns the location of the region to which the row belongs.<a name="line.57"></a>
-<span class="sourceLineNo">058</span> * @param row Row to find.<a name="line.58"></a>
-<span class="sourceLineNo">059</span> * @param reload true to reload information or false to use cached information<a name="line.59"></a>
-<span class="sourceLineNo">060</span> */<a name="line.60"></a>
-<span class="sourceLineNo">061</span> default CompletableFuture<HRegionLocation> getRegionLocation(byte[] row, boolean reload) {<a name="line.61"></a>
-<span class="sourceLineNo">062</span> return getRegionLocation(row, RegionInfo.DEFAULT_REPLICA_ID, reload);<a name="line.62"></a>
-<span class="sourceLineNo">063</span> }<a name="line.63"></a>
-<span class="sourceLineNo">064</span><a name="line.64"></a>
-<span class="sourceLineNo">065</span> /**<a name="line.65"></a>
-<span class="sourceLineNo">066</span> * Finds the region with the given <code>replicaId</code> on which the given row is being served.<a name="line.66"></a>
-<span class="sourceLineNo">067</span> * <p/><a name="line.67"></a>
-<span class="sourceLineNo">068</span> * Returns the location of the region with the given <code>replicaId</code> to which the row<a name="line.68"></a>
-<span class="sourceLineNo">069</span> * belongs.<a name="line.69"></a>
-<span class="sourceLineNo">070</span> * @param row Row to find.<a name="line.70"></a>
-<span class="sourceLineNo">071</span> * @param replicaId the replica id of the region<a name="line.71"></a>
-<span class="sourceLineNo">072</span> */<a name="line.72"></a>
-<span class="sourceLineNo">073</span> default CompletableFuture<HRegionLocation> getRegionLocation(byte[] row, int replicaId) {<a name="line.73"></a>
-<span class="sourceLineNo">074</span> return getRegionLocation(row, replicaId, false);<a name="line.74"></a>
-<span class="sourceLineNo">075</span> }<a name="line.75"></a>
-<span class="sourceLineNo">076</span><a name="line.76"></a>
-<span class="sourceLineNo">077</span> /**<a name="line.77"></a>
-<span class="sourceLineNo">078</span> * Finds the region with the given <code>replicaId</code> on which the given row is being served.<a name="line.78"></a>
-<span class="sourceLineNo">079</span> * <p/><a name="line.79"></a>
-<span class="sourceLineNo">080</span> * Returns the location of the region with the given <code>replicaId</code> to which the row<a name="line.80"></a>
-<span class="sourceLineNo">081</span> * belongs.<a name="line.81"></a>
-<span class="sourceLineNo">082</span> * @param row Row to find.<a name="line.82"></a>
-<span class="sourceLineNo">083</span> * @param replicaId the replica id of the region<a name="line.83"></a>
-<span class="sourceLineNo">084</span> * @param reload true to reload information or false to use cached information<a name="line.84"></a>
-<span class="sourceLineNo">085</span> */<a name="line.85"></a>
-<span class="sourceLineNo">086</span> CompletableFuture<HRegionLocation> getRegionLocation(byte[] row, int replicaId, boolean reload);<a name="line.86"></a>
-<span class="sourceLineNo">087</span><a name="line.87"></a>
-<span class="sourceLineNo">088</span> /**<a name="line.88"></a>
-<span class="sourceLineNo">089</span> * Find all the replicas for the region on which the given row is being served.<a name="line.89"></a>
-<span class="sourceLineNo">090</span> * @param row Row to find.<a name="line.90"></a>
-<span class="sourceLineNo">091</span> * @return Locations for all the replicas of the row.<a name="line.91"></a>
-<span class="sourceLineNo">092</span> * @throws IOException if a remote or network exception occurs<a name="line.92"></a>
-<span class="sourceLineNo">093</span> */<a name="line.93"></a>
-<span class="sourceLineNo">094</span> default CompletableFuture<List<HRegionLocation>> getRegionLocations(byte[] row) {<a name="line.94"></a>
-<span class="sourceLineNo">095</span> return getRegionLocations(row, false);<a name="line.95"></a>
-<span class="sourceLineNo">096</span> }<a name="line.96"></a>
-<span class="sourceLineNo">097</span><a name="line.97"></a>
-<span class="sourceLineNo">098</span> /**<a name="line.98"></a>
-<span class="sourceLineNo">099</span> * Find all the replicas for the region on which the given row is being served.<a name="line.99"></a>
-<span class="sourceLineNo">100</span> * @param row Row to find.<a name="line.100"></a>
-<span class="sourceLineNo">101</span> * @param reload true to reload information or false to use cached information<a name="line.101"></a>
-<span class="sourceLineNo">102</span> * @return Locations for all the replicas of the row.<a name="line.102"></a>
-<span class="sourceLineNo">103</span> * @throws IOException if a remote or network exception occurs<a name="line.103"></a>
-<span class="sourceLineNo">104</span> */<a name="line.104"></a>
-<span class="sourceLineNo">105</span> CompletableFuture<List<HRegionLocation>> getRegionLocations(byte[] row, boolean reload);<a name="line.105"></a>
-<span class="sourceLineNo">106</span><a name="line.106"></a>
-<span class="sourceLineNo">107</span> /**<a name="line.107"></a>
-<span class="sourceLineNo">108</span> * Retrieves all of the regions associated with this table.<a name="line.108"></a>
+<span class="sourceLineNo">020</span>import java.util.List;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import java.util.concurrent.CompletableFuture;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import java.util.stream.Collectors;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import org.apache.hadoop.hbase.HRegionLocation;<a name="line.23"></a>
+<span class="sourceLineNo">024</span>import org.apache.hadoop.hbase.TableName;<a name="line.24"></a>
+<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.util.Pair;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.26"></a>
+<span class="sourceLineNo">027</span><a name="line.27"></a>
+<span class="sourceLineNo">028</span>/**<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * The asynchronous version of RegionLocator.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * <p><a name="line.30"></a>
+<span class="sourceLineNo">031</span> * Usually the implementations will not throw any exception directly, you need to get the exception<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * from the returned {@link CompletableFuture}.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * @since 2.0.0<a name="line.33"></a>
+<span class="sourceLineNo">034</span> */<a name="line.34"></a>
+<span class="sourceLineNo">035</span>@InterfaceAudience.Public<a name="line.35"></a>
+<span class="sourceLineNo">036</span>public interface AsyncTableRegionLocator {<a name="line.36"></a>
+<span class="sourceLineNo">037</span><a name="line.37"></a>
+<span class="sourceLineNo">038</span> /**<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * Gets the fully qualified table name instance of the table whose region we want to locate.<a name="line.39"></a>
+<span class="sourceLineNo">040</span> */<a name="line.40"></a>
+<span class="sourceLineNo">041</span> TableName getName();<a name="line.41"></a>
+<span class="sourceLineNo">042</span><a name="line.42"></a>
+<span class="sourceLineNo">043</span> /**<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * Finds the region on which the given row is being served. Does not reload the cache.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * <p/><a name="line.45"></a>
+<span class="sourceLineNo">046</span> * Returns the location of the region to which the row belongs.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * @param row Row to find.<a name="line.47"></a>
+<span class="sourceLineNo">048</span> */<a name="line.48"></a>
+<span class="sourceLineNo">049</span> default CompletableFuture<HRegionLocation> getRegionLocation(byte[] row) {<a name="line.49"></a>
+<span class="sourceLineNo">050</span> return getRegionLocation(row, false);<a name="line.50"></a>
+<span class="sourceLineNo">051</span> }<a name="line.51"></a>
+<span class="sourceLineNo">052</span><a name="line.52"></a>
+<span class="sourceLineNo">053</span> /**<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * Finds the region on which the given row is being served.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * <p/><a name="line.55"></a>
+<span class="sourceLineNo">056</span> * Returns the location of the region to which the row belongs.<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * @param row Row to find.<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * @param reload true to reload information or false to use cached information<a name="line.58"></a>
+<span class="sourceLineNo">059</span> */<a name="line.59"></a>
+<span class="sourceLineNo">060</span> default CompletableFuture<HRegionLocation> getRegionLocation(byte[] row, boolean reload) {<a name="line.60"></a>
+<span class="sourceLineNo">061</span> return getRegionLocation(row, RegionInfo.DEFAULT_REPLICA_ID, reload);<a name="line.61"></a>
+<span class="sourceLineNo">062</span> }<a name="line.62"></a>
+<span class="sourceLineNo">063</span><a name="line.63"></a>
+<span class="sourceLineNo">064</span> /**<a name="line.64"></a>
+<span class="sourceLineNo">065</span> * Finds the region with the given <code>replicaId</code> on which the given row is being served.<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * <p/><a name="line.66"></a>
+<span class="sourceLineNo">067</span> * Returns the location of the region with the given <code>replicaId</code> to which the row<a name="line.67"></a>
+<span class="sourceLineNo">068</span> * belongs.<a name="line.68"></a>
+<span class="sourceLineNo">069</span> * @param row Row to find.<a name="line.69"></a>
+<span class="sourceLineNo">070</span> * @param replicaId the replica id of the region<a name="line.70"></a>
+<span class="sourceLineNo">071</span> */<a name="line.71"></a>
+<span class="sourceLineNo">072</span> default CompletableFuture<HRegionLocation> getRegionLocation(byte[] row, int replicaId) {<a name="line.72"></a>
+<span class="sourceLineNo">073</span> return getRegionLocation(row, replicaId, false);<a name="line.73"></a>
+<span class="sourceLineNo">074</span> }<a name="line.74"></a>
+<span class="sourceLineNo">075</span><a name="line.75"></a>
+<span class="sourceLineNo">076</span> /**<a name="line.76"></a>
+<span class="sourceLineNo">077</span> * Finds the region with the given <code>replicaId</code> on which the given row is being served.<a name="line.77"></a>
+<span class="sourceLineNo">078</span> * <p/><a name="line.78"></a>
+<span class="sourceLineNo">079</span> * Returns the location of the region with the given <code>replicaId</code> to which the row<a name="line.79"></a>
+<span class="sourceLineNo">080</span> * belongs.<a name="line.80"></a>
+<span class="sourceLineNo">081</span> * @param row Row to find.<a name="line.81"></a>
+<span class="sourceLineNo">082</span> * @param replicaId the replica id of the region<a name="line.82"></a>
+<span class="sourceLineNo">083</span> * @param reload true to reload information or false to use cached information<a name="line.83"></a>
+<span class="sourceLineNo">084</span> */<a name="line.84"></a>
+<span class="sourceLineNo">085</span> CompletableFuture<HRegionLocation> getRegionLocation(byte[] row, int replicaId, boolean reload);<a name="line.85"></a>
+<span class="sourceLineNo">086</span><a name="line.86"></a>
+<span class="sourceLineNo">087</span> /**<a name="line.87"></a>
+<span class="sourceLineNo">088</span> * Find all the replicas for the region on which the given row is being served.<a name="line.88"></a>
+<span class="sourceLineNo">089</span> * @param row Row to find.<a name="line.89"></a>
+<span class="sourceLineNo">090</span> * @return Locations for all the replicas of the row.<a name="line.90"></a>
+<span class="sourceLineNo">091</span> */<a name="line.91"></a>
+<span class="sourceLineNo">092</span> default CompletableFuture<List<HRegionLocation>> getRegionLocations(byte[] row) {<a name="line.92"></a>
+<span class="sourceLineNo">093</span> return getRegionLocations(row, false);<a name="line.93"></a>
+<span class="sourceLineNo">094</span> }<a name="line.94"></a>
+<span class="sourceLineNo">095</span><a name="line.95"></a>
+<span class="sourceLineNo">096</span> /**<a name="line.96"></a>
+<span class="sourceLineNo">097</span> * Find all the replicas for the region on which the given row is being served.<a name="line.97"></a>
+<span class="sourceLineNo">098</span> * @param row Row to find.<a name="line.98"></a>
+<span class="sourceLineNo">099</span> * @param reload true to reload information or false to use cached information<a name="line.99"></a>
+<span class="sourceLineNo">100</span> * @return Locations for all the replicas of the row.<a name="line.100"></a>
+<span class="sourceLineNo">101</span> */<a name="line.101"></a>
+<span class="sourceLineNo">102</span> CompletableFuture<List<HRegionLocation>> getRegionLocations(byte[] row, boolean reload);<a name="line.102"></a>
+<span class="sourceLineNo">103</span><a name="line.103"></a>
+<span class="sourceLineNo">104</span> /**<a name="line.104"></a>
+<span class="sourceLineNo">105</span> * Retrieves all of the regions associated with this table.<a name="line.105"></a>
+<span class="sourceLineNo">106</span> * <p/><a name="line.106"></a>
+<span class="sourceLineNo">107</span> * Usually we will go to meta table directly in this method so there is no {@code reload}<a name="line.107"></a>
+<span class="sourceLineNo">108</span> * parameter.<a name="line.108"></a>
<span class="sourceLineNo">109</span> * <p/><a name="line.109"></a>
-<span class="sourceLineNo">110</span> * Usually we will go to meta table directly in this method so there is no {@code reload}<a name="line.110"></a>
-<span class="sourceLineNo">111</span> * parameter.<a name="line.111"></a>
-<span class="sourceLineNo">112</span> * <p/><a name="line.112"></a>
-<span class="sourceLineNo">113</span> * Notice that the location for region replicas other than the default replica are also returned.<a name="line.113"></a>
-<span class="sourceLineNo">114</span> * @return a {@link List} of all regions associated with this table.<a name="line.114"></a>
-<span class="sourceLineNo">115</span> */<a name="line.115"></a>
-<span class="sourceLineNo">116</span> CompletableFuture<List<HRegionLocation>> getAllRegionLocations();<a name="line.116"></a>
-<span class="sourceLineNo">117</span><a name="line.117"></a>
-<span class="sourceLineNo">118</span> /**<a name="line.118"></a>
-<span class="sourceLineNo">119</span> * Gets the starting row key for every region in the currently open table.<a name="line.119"></a>
-<span class="sourceLineNo">120</span> * <p><a name="line.120"></a>
-<span class="sourceLineNo">121</span> * This is mainly useful for the MapReduce integration.<a name="line.121"></a>
-<span class="sourceLineNo">122</span> * @return Array of region starting row keys<a name="line.122"></a>
-<span class="sourceLineNo">123</span> * @throws IOException if a remote or network exception occurs<a name="line.123"></a>
-<span class="sourceLineNo">124</span> */<a name="line.124"></a>
-<span class="sourceLineNo">125</span> default CompletableFuture<List<byte[]>> getStartKeys() throws IOException {<a name="line.125"></a>
-<span class="sourceLineNo">126</span> return getStartEndKeys().thenApply(<a name="line.126"></a>
-<span class="sourceLineNo">127</span> startEndKeys -> startEndKeys.stream().map(Pair::getFirst).collect(Collectors.toList()));<a name="line.127"></a>
-<span class="sourceLineNo">128</span> }<a name="line.128"></a>
-<span class="sourceLineNo">129</span><a name="line.129"></a>
-<span class="sourceLineNo">130</span> /**<a name="line.130"></a>
-<span class="sourceLineNo">131</span> * Gets the ending row key for every region in the currently open table.<a name="line.131"></a>
-<span class="sourceLineNo">132</span> * <p><a name="line.132"></a>
-<span class="sourceLineNo">133</span> * This is mainly useful for the MapReduce integration.<a name="line.133"></a>
-<span class="sourceLineNo">134</span> * @return Array of region ending row keys<a name="line.134"></a>
-<span class="sourceLineNo">135</span> * @throws IOException if a remote or network exception occurs<a name="line.135"></a>
-<span class="sourceLineNo">136</span> */<a name="line.136"></a>
-<span class="sourceLineNo">137</span> default CompletableFuture<List<byte[]>> getEndKeys() throws IOException {<a name="line.137"></a>
-<span class="sourceLineNo">138</span> return getStartEndKeys().thenApply(<a name="line.138"></a>
-<span class="sourceLineNo">139</span> startEndKeys -> startEndKeys.stream().map(Pair::getSecond).collect(Collectors.toList()));<a name="line.139"></a>
-<span class="sourceLineNo">140</span> }<a name="line.140"></a>
-<span class="sourceLineNo">141</span><a name="line.141"></a>
-<span class="sourceLineNo">142</span> /**<a name="line.142"></a>
-<span class="sourceLineNo">143</span> * Gets the starting and ending row keys for every region in the currently open table.<a name="line.143"></a>
-<span class="sourceLineNo">144</span> * <p><a name="line.144"></a>
-<span class="sourceLineNo">145</span> * This is mainly useful for the MapReduce integration.<a name="line.145"></a>
-<span class="sourceLineNo">146</span> * @return Pair of arrays of region starting and ending row keys<a name="line.146"></a>
-<span class="sourceLineNo">147</span> * @throws IOException if a remote or network exception occurs<a name="line.147"></a>
-<span class="sourceLineNo">148</span> */<a name="line.148"></a>
-<span class="sourceLineNo">149</span> default CompletableFuture<List<Pair<byte[], byte[]>>> getStartEndKeys() throws IOException {<a name="line.149"></a>
-<span class="sourceLineNo">150</span> return getAllRegionLocations().thenApply(<a name="line.150"></a>
-<span class="sourceLineNo">151</span> locs -> locs.stream().filter(loc -> RegionReplicaUtil.isDefaultReplica(loc.getRegion()))<a name="line.151"></a>
-<span class="sourceLineNo">152</span> .map(HRegionLocation::getRegion).map(r -> Pair.newPair(r.getStartKey(), r.getEndKey()))<a name="line.152"></a>
-<span class="sourceLineNo">153</span> .collect(Collectors.toList()));<a name="line.153"></a>
-<span class="sourceLineNo">154</span> }<a name="line.154"></a>
-<span class="sourceLineNo">155</span><a name="line.155"></a>
-<span class="sourceLineNo">156</span> /**<a name="line.156"></a>
-<span class="sourceLineNo">157</span> * Clear all the entries in the region location cache.<a name="line.157"></a>
-<span class="sourceLineNo">158</span> * <p/><a name="line.158"></a>
-<span class="sourceLineNo">159</span> * This may cause performance issue so use it with caution.<a name="line.159"></a>
-<span class="sourceLineNo">160</span> */<a name="line.160"></a>
-<span class="sourceLineNo">161</span> void clearRegionLocationCache();<a name="line.161"></a>
-<span class="sourceLineNo">162</span>}<a name="line.162"></a>
+<span class="sourceLineNo">110</span> * Notice that the location for region replicas other than the default replica are also returned.<a name="line.110"></a>
+<span class="sourceLineNo">111</span> * @return a {@link List} of all regions associated with this table.<a name="line.111"></a>
+<span class="sourceLineNo">112</span> */<a name="line.112"></a>
+<span class="sourceLineNo">113</span> CompletableFuture<List<HRegionLocation>> getAllRegionLocations();<a name="line.113"></a>
+<span class="sourceLineNo">114</span><a name="line.114"></a>
+<span class="sourceLineNo">115</span> /**<a name="line.115"></a>
+<span class="sourceLineNo">116</span> * Gets the starting row key for every region in the currently open table.<a name="line.116"></a>
+<span class="sourceLineNo">117</span> * <p><a name="line.117"></a>
+<span class="sourceLineNo">118</span> * This is mainly useful for the MapReduce integration.<a name="line.118"></a>
+<span class="sourceLineNo">119</span> * @return Array of region starting row keys<a name="line.119"></a>
+<span class="sourceLineNo">120</span> */<a name="line.120"></a>
+<span class="sourceLineNo">121</span> default CompletableFuture<List<byte[]>> getStartKeys() {<a name="line.121"></a>
+<span class="sourceLineNo">122</span> return getStartEndKeys().thenApply(<a name="line.122"></a>
+<span class="sourceLineNo">123</span> startEndKeys -> startEndKeys.stream().map(Pair::getFirst).collect(Collectors.toList()));<a name="line.123"></a>
+<span class="sourceLineNo">124</span> }<a name="line.124"></a>
+<span class="sourceLineNo">125</span><a name="line.125"></a>
+<span class="sourceLineNo">126</span> /**<a name="line.126"></a>
+<span class="sourceLineNo">127</span> * Gets the ending row key for every region in the currently open table.<a name="line.127"></a>
+<span class="sourceLineNo">128</span> * <p><a name="line.128"></a>
+<span class="sourceLineNo">129</span> * This is mainly useful for the MapReduce integration.<a name="line.129"></a>
+<span class="sourceLineNo">130</span> * @return Array of region ending row keys<a name="line.130"></a>
+<span class="sourceLineNo">131</span> */<a name="line.131"></a>
+<span class="sourceLineNo">132</span> default CompletableFuture<List<byte[]>> getEndKeys() {<a name="line.132"></a>
+<span class="sourceLineNo">133</span> return getStartEndKeys().thenApply(<a name="line.133"></a>
+<span class="sourceLineNo">134</span> startEndKeys -> startEndKeys.stream().map(Pair::getSecond).collect(Collectors.toList()));<a name="line.134"></a>
+<span class="sourceLineNo">135</span> }<a name="line.135"></a>
+<span class="sourceLineNo">136</span><a name="line.136"></a>
+<span class="sourceLineNo">137</span> /**<a name="line.137"></a>
+<span class="sourceLineNo">138</span> * Gets the starting and ending row keys for every region in the currently open table.<a name="line.138"></a>
+<span class="sourceLineNo">139</span> * <p><a name="line.139"></a>
+<span class="sourceLineNo">140</span> * This is mainly useful for the MapReduce integration.<a name="line.140"></a>
+<span class="sourceLineNo">141</span> * @return Pair of arrays of region starting and ending row keys<a name="line.141"></a>
+<span class="sourceLineNo">142</span> */<a name="line.142"></a>
+<span class="sourceLineNo">143</span> default CompletableFuture<List<Pair<byte[], byte[]>>> getStartEndKeys() {<a name="line.143"></a>
+<span class="sourceLineNo">144</span> return getAllRegionLocations().thenApply(<a name="line.144"></a>
+<span class="sourceLineNo">145</span> locs -> locs.stream().filter(loc -> RegionReplicaUtil.isDefaultReplica(loc.getRegion()))<a name="line.145"></a>
+<span class="sourceLineNo">146</span> .map(HRegionLocation::getRegion).map(r -> Pair.newPair(r.getStartKey(), r.getEndKey()))<a name="line.146"></a>
+<span class="sourceLineNo">147</span> .collect(Collectors.toList()));<a name="line.147"></a>
+<span class="sourceLineNo">148</span> }<a name="line.148"></a>
+<span class="sourceLineNo">149</span><a name="line.149"></a>
+<span class="sourceLineNo">150</span> /**<a name="line.150"></a>
+<span class="sourceLineNo">151</span> * Clear all the entries in the region location cache.<a name="line.151"></a>
+<span class="sourceLineNo">152</span> * <p/><a name="line.152"></a>
+<span class="sourceLineNo">153</span> * This may cause performance issue so use it with caution.<a name="line.153"></a>
+<span class="sourceLineNo">154</span> */<a name="line.154"></a>
+<span class="sourceLineNo">155</span> void clearRegionLocationCache();<a name="line.155"></a>
+<span class="sourceLineNo">156</span>}<a name="line.156"></a>
diff --git a/book.html b/book.html
index 5add3ee..03d1810 100644
--- a/book.html
+++ b/book.html
@@ -46199,7 +46199,7 @@ org/apache/hadoop/hbase/security/access/AccessControlClient.revoke:(Lorg/apache/
<div id="footer">
<div id="footer-text">
Version 3.0.0-SNAPSHOT<br>
-Last updated 2020-12-03 20:04:59 UTC
+Last updated 2020-12-04 20:05:27 UTC
</div>
</div>
<link rel="stylesheet" href="./coderay-asciidoctor.css">
diff --git a/bulk-loads.html b/bulk-loads.html
index b737d86..463e8dd 100644
--- a/bulk-loads.html
+++ b/bulk-loads.html
@@ -172,7 +172,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/checkstyle-aggregate.html b/checkstyle-aggregate.html
index c716a25..551846c 100644
--- a/checkstyle-aggregate.html
+++ b/checkstyle-aggregate.html
@@ -75615,7 +75615,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/coc.html b/coc.html
index c5638d0..100169b 100644
--- a/coc.html
+++ b/coc.html
@@ -241,7 +241,7 @@ email to <a class="externalLink" href="mailto:private@hbase.apache.org">the priv
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/dependencies.html b/dependencies.html
index 311e6cd..1647a20 100644
--- a/dependencies.html
+++ b/dependencies.html
@@ -313,7 +313,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/dependency-convergence.html b/dependency-convergence.html
index 3835c86..8127fa3 100644
--- a/dependency-convergence.html
+++ b/dependency-convergence.html
@@ -824,7 +824,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/dependency-info.html b/dependency-info.html
index f61832e..43a987d 100644
--- a/dependency-info.html
+++ b/dependency-info.html
@@ -194,7 +194,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/dependency-management.html b/dependency-management.html
index 64376be..2980c08 100644
--- a/dependency-management.html
+++ b/dependency-management.html
@@ -1019,7 +1019,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/devapidocs/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html b/devapidocs/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html
index 2da47fb..12014ef 100644
--- a/devapidocs/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html
+++ b/devapidocs/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html
@@ -106,7 +106,7 @@ var activeTableTab = "activeTableTab";
<hr>
<br>
<pre>@InterfaceAudience.Public
-public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.37">AsyncTableRegionLocator</a></pre>
+public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.36">AsyncTableRegionLocator</a></pre>
<div class="block">The asynchronous version of RegionLocator.
<p>
Usually the implementations will not throw any exception directly, you need to get the exception
@@ -231,7 +231,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
-<pre><a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.42">getName</a>()</pre>
+<pre><a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.41">getName</a>()</pre>
<div class="block">Gets the fully qualified table name instance of the table whose region we want to locate.</div>
</li>
</ul>
@@ -241,7 +241,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getRegionLocation</h4>
-<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.50">getRegionLocation</a>(byte[] row)</pre>
+<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.49">getRegionLocation</a>(byte[] row)</pre>
<div class="block">Finds the region on which the given row is being served. Does not reload the cache.
<p/>
Returns the location of the region to which the row belongs.</div>
@@ -257,7 +257,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getRegionLocation</h4>
-<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.61">getRegionLocation</a>(byte[] row,
+<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.60">getRegionLocation</a>(byte[] row,
boolean reload)</pre>
<div class="block">Finds the region on which the given row is being served.
<p/>
@@ -275,7 +275,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getRegionLocation</h4>
-<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.73">getRegionLocation</a>(byte[] row,
+<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.72">getRegionLocation</a>(byte[] row,
int replicaId)</pre>
<div class="block">Finds the region with the given <code>replicaId</code> on which the given row is being served.
<p/>
@@ -294,7 +294,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getRegionLocation</h4>
-<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.86">getRegionLocation</a>(byte[] row,
+<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.85">getRegionLocation</a>(byte[] row,
int replicaId,
boolean reload)</pre>
<div class="block">Finds the region with the given <code>replicaId</code> on which the given row is being served.
@@ -315,15 +315,13 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getRegionLocations</h4>
-<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>>> [...]
+<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>>> [...]
<div class="block">Find all the replicas for the region on which the given row is being served.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>row</code> - Row to find.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Locations for all the replicas of the row.</dd>
-<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs</dd>
</dl>
</li>
</ul>
@@ -333,7 +331,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getRegionLocations</h4>
-<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>>> <a href="../. [...]
+<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>>> <a href="../. [...]
boolean reload)</pre>
<div class="block">Find all the replicas for the region on which the given row is being served.</div>
<dl>
@@ -342,8 +340,6 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<dd><code>reload</code> - true to reload information or false to use cached information</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Locations for all the replicas of the row.</dd>
-<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs</dd>
</dl>
</li>
</ul>
@@ -353,7 +349,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getAllRegionLocations</h4>
-<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>>> <a href="../. [...]
+<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/HRegionLocation.html" title="class in org.apache.hadoop.hbase">HRegionLocation</a>>> <a href="../. [...]
<div class="block">Retrieves all of the regions associated with this table.
<p/>
Usually we will go to meta table directly in this method so there is no <code>reload</code>
@@ -372,16 +368,13 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getStartKeys</h4>
-<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.125">getStartKeys</a>()
- throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.121">getStartKeys</a>()</pre>
<div class="block">Gets the starting row key for every region in the currently open table.
<p>
This is mainly useful for the MapReduce integration.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Array of region starting row keys</dd>
-<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs</dd>
</dl>
</li>
</ul>
@@ -391,16 +384,13 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getEndKeys</h4>
-<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.137">getEndKeys</a>()
- throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><byte[]>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.132">getEndKeys</a>()</pre>
<div class="block">Gets the ending row key for every region in the currently open table.
<p>
This is mainly useful for the MapReduce integration.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Array of region ending row keys</dd>
-<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs</dd>
</dl>
</li>
</ul>
@@ -410,16 +400,13 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockList">
<li class="blockList">
<h4>getStartEndKeys</h4>
-<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><byte[],byte[]>>& [...]
- throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<pre>default <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/util/Pair.html" title="class in org.apache.hadoop.hbase.util">Pair</a><byte[],byte[]>>& [...]
<div class="block">Gets the starting and ending row keys for every region in the currently open table.
<p>
This is mainly useful for the MapReduce integration.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Pair of arrays of region starting and ending row keys</dd>
-<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs</dd>
</dl>
</li>
</ul>
@@ -429,7 +416,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client
<ul class="blockListLast">
<li class="blockList">
<h4>clearRegionLocationCache</h4>
-<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.161">clearRegionLocationCache</a>()</pre>
+<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html#line.155">clearRegionLocationCache</a>()</pre>
<div class="block">Clear all the entries in the region location cache.
<p/>
This may cause performance issue so use it with caution.</div>
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html b/devapidocs/src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html
index 7598d47..35e22e2 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html
@@ -25,149 +25,143 @@
<span class="sourceLineNo">017</span> */<a name="line.17"></a>
<span class="sourceLineNo">018</span>package org.apache.hadoop.hbase.client;<a name="line.18"></a>
<span class="sourceLineNo">019</span><a name="line.19"></a>
-<span class="sourceLineNo">020</span>import java.io.IOException;<a name="line.20"></a>
-<span class="sourceLineNo">021</span>import java.util.List;<a name="line.21"></a>
-<span class="sourceLineNo">022</span>import java.util.concurrent.CompletableFuture;<a name="line.22"></a>
-<span class="sourceLineNo">023</span>import java.util.stream.Collectors;<a name="line.23"></a>
-<span class="sourceLineNo">024</span>import org.apache.hadoop.hbase.HRegionLocation;<a name="line.24"></a>
-<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.TableName;<a name="line.25"></a>
-<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.util.Pair;<a name="line.26"></a>
-<span class="sourceLineNo">027</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.27"></a>
-<span class="sourceLineNo">028</span><a name="line.28"></a>
-<span class="sourceLineNo">029</span>/**<a name="line.29"></a>
-<span class="sourceLineNo">030</span> * The asynchronous version of RegionLocator.<a name="line.30"></a>
-<span class="sourceLineNo">031</span> * <p><a name="line.31"></a>
-<span class="sourceLineNo">032</span> * Usually the implementations will not throw any exception directly, you need to get the exception<a name="line.32"></a>
-<span class="sourceLineNo">033</span> * from the returned {@link CompletableFuture}.<a name="line.33"></a>
-<span class="sourceLineNo">034</span> * @since 2.0.0<a name="line.34"></a>
-<span class="sourceLineNo">035</span> */<a name="line.35"></a>
-<span class="sourceLineNo">036</span>@InterfaceAudience.Public<a name="line.36"></a>
-<span class="sourceLineNo">037</span>public interface AsyncTableRegionLocator {<a name="line.37"></a>
-<span class="sourceLineNo">038</span><a name="line.38"></a>
-<span class="sourceLineNo">039</span> /**<a name="line.39"></a>
-<span class="sourceLineNo">040</span> * Gets the fully qualified table name instance of the table whose region we want to locate.<a name="line.40"></a>
-<span class="sourceLineNo">041</span> */<a name="line.41"></a>
-<span class="sourceLineNo">042</span> TableName getName();<a name="line.42"></a>
-<span class="sourceLineNo">043</span><a name="line.43"></a>
-<span class="sourceLineNo">044</span> /**<a name="line.44"></a>
-<span class="sourceLineNo">045</span> * Finds the region on which the given row is being served. Does not reload the cache.<a name="line.45"></a>
-<span class="sourceLineNo">046</span> * <p/><a name="line.46"></a>
-<span class="sourceLineNo">047</span> * Returns the location of the region to which the row belongs.<a name="line.47"></a>
-<span class="sourceLineNo">048</span> * @param row Row to find.<a name="line.48"></a>
-<span class="sourceLineNo">049</span> */<a name="line.49"></a>
-<span class="sourceLineNo">050</span> default CompletableFuture<HRegionLocation> getRegionLocation(byte[] row) {<a name="line.50"></a>
-<span class="sourceLineNo">051</span> return getRegionLocation(row, false);<a name="line.51"></a>
-<span class="sourceLineNo">052</span> }<a name="line.52"></a>
-<span class="sourceLineNo">053</span><a name="line.53"></a>
-<span class="sourceLineNo">054</span> /**<a name="line.54"></a>
-<span class="sourceLineNo">055</span> * Finds the region on which the given row is being served.<a name="line.55"></a>
-<span class="sourceLineNo">056</span> * <p/><a name="line.56"></a>
-<span class="sourceLineNo">057</span> * Returns the location of the region to which the row belongs.<a name="line.57"></a>
-<span class="sourceLineNo">058</span> * @param row Row to find.<a name="line.58"></a>
-<span class="sourceLineNo">059</span> * @param reload true to reload information or false to use cached information<a name="line.59"></a>
-<span class="sourceLineNo">060</span> */<a name="line.60"></a>
-<span class="sourceLineNo">061</span> default CompletableFuture<HRegionLocation> getRegionLocation(byte[] row, boolean reload) {<a name="line.61"></a>
-<span class="sourceLineNo">062</span> return getRegionLocation(row, RegionInfo.DEFAULT_REPLICA_ID, reload);<a name="line.62"></a>
-<span class="sourceLineNo">063</span> }<a name="line.63"></a>
-<span class="sourceLineNo">064</span><a name="line.64"></a>
-<span class="sourceLineNo">065</span> /**<a name="line.65"></a>
-<span class="sourceLineNo">066</span> * Finds the region with the given <code>replicaId</code> on which the given row is being served.<a name="line.66"></a>
-<span class="sourceLineNo">067</span> * <p/><a name="line.67"></a>
-<span class="sourceLineNo">068</span> * Returns the location of the region with the given <code>replicaId</code> to which the row<a name="line.68"></a>
-<span class="sourceLineNo">069</span> * belongs.<a name="line.69"></a>
-<span class="sourceLineNo">070</span> * @param row Row to find.<a name="line.70"></a>
-<span class="sourceLineNo">071</span> * @param replicaId the replica id of the region<a name="line.71"></a>
-<span class="sourceLineNo">072</span> */<a name="line.72"></a>
-<span class="sourceLineNo">073</span> default CompletableFuture<HRegionLocation> getRegionLocation(byte[] row, int replicaId) {<a name="line.73"></a>
-<span class="sourceLineNo">074</span> return getRegionLocation(row, replicaId, false);<a name="line.74"></a>
-<span class="sourceLineNo">075</span> }<a name="line.75"></a>
-<span class="sourceLineNo">076</span><a name="line.76"></a>
-<span class="sourceLineNo">077</span> /**<a name="line.77"></a>
-<span class="sourceLineNo">078</span> * Finds the region with the given <code>replicaId</code> on which the given row is being served.<a name="line.78"></a>
-<span class="sourceLineNo">079</span> * <p/><a name="line.79"></a>
-<span class="sourceLineNo">080</span> * Returns the location of the region with the given <code>replicaId</code> to which the row<a name="line.80"></a>
-<span class="sourceLineNo">081</span> * belongs.<a name="line.81"></a>
-<span class="sourceLineNo">082</span> * @param row Row to find.<a name="line.82"></a>
-<span class="sourceLineNo">083</span> * @param replicaId the replica id of the region<a name="line.83"></a>
-<span class="sourceLineNo">084</span> * @param reload true to reload information or false to use cached information<a name="line.84"></a>
-<span class="sourceLineNo">085</span> */<a name="line.85"></a>
-<span class="sourceLineNo">086</span> CompletableFuture<HRegionLocation> getRegionLocation(byte[] row, int replicaId, boolean reload);<a name="line.86"></a>
-<span class="sourceLineNo">087</span><a name="line.87"></a>
-<span class="sourceLineNo">088</span> /**<a name="line.88"></a>
-<span class="sourceLineNo">089</span> * Find all the replicas for the region on which the given row is being served.<a name="line.89"></a>
-<span class="sourceLineNo">090</span> * @param row Row to find.<a name="line.90"></a>
-<span class="sourceLineNo">091</span> * @return Locations for all the replicas of the row.<a name="line.91"></a>
-<span class="sourceLineNo">092</span> * @throws IOException if a remote or network exception occurs<a name="line.92"></a>
-<span class="sourceLineNo">093</span> */<a name="line.93"></a>
-<span class="sourceLineNo">094</span> default CompletableFuture<List<HRegionLocation>> getRegionLocations(byte[] row) {<a name="line.94"></a>
-<span class="sourceLineNo">095</span> return getRegionLocations(row, false);<a name="line.95"></a>
-<span class="sourceLineNo">096</span> }<a name="line.96"></a>
-<span class="sourceLineNo">097</span><a name="line.97"></a>
-<span class="sourceLineNo">098</span> /**<a name="line.98"></a>
-<span class="sourceLineNo">099</span> * Find all the replicas for the region on which the given row is being served.<a name="line.99"></a>
-<span class="sourceLineNo">100</span> * @param row Row to find.<a name="line.100"></a>
-<span class="sourceLineNo">101</span> * @param reload true to reload information or false to use cached information<a name="line.101"></a>
-<span class="sourceLineNo">102</span> * @return Locations for all the replicas of the row.<a name="line.102"></a>
-<span class="sourceLineNo">103</span> * @throws IOException if a remote or network exception occurs<a name="line.103"></a>
-<span class="sourceLineNo">104</span> */<a name="line.104"></a>
-<span class="sourceLineNo">105</span> CompletableFuture<List<HRegionLocation>> getRegionLocations(byte[] row, boolean reload);<a name="line.105"></a>
-<span class="sourceLineNo">106</span><a name="line.106"></a>
-<span class="sourceLineNo">107</span> /**<a name="line.107"></a>
-<span class="sourceLineNo">108</span> * Retrieves all of the regions associated with this table.<a name="line.108"></a>
+<span class="sourceLineNo">020</span>import java.util.List;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import java.util.concurrent.CompletableFuture;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import java.util.stream.Collectors;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import org.apache.hadoop.hbase.HRegionLocation;<a name="line.23"></a>
+<span class="sourceLineNo">024</span>import org.apache.hadoop.hbase.TableName;<a name="line.24"></a>
+<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.util.Pair;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.26"></a>
+<span class="sourceLineNo">027</span><a name="line.27"></a>
+<span class="sourceLineNo">028</span>/**<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * The asynchronous version of RegionLocator.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * <p><a name="line.30"></a>
+<span class="sourceLineNo">031</span> * Usually the implementations will not throw any exception directly, you need to get the exception<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * from the returned {@link CompletableFuture}.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * @since 2.0.0<a name="line.33"></a>
+<span class="sourceLineNo">034</span> */<a name="line.34"></a>
+<span class="sourceLineNo">035</span>@InterfaceAudience.Public<a name="line.35"></a>
+<span class="sourceLineNo">036</span>public interface AsyncTableRegionLocator {<a name="line.36"></a>
+<span class="sourceLineNo">037</span><a name="line.37"></a>
+<span class="sourceLineNo">038</span> /**<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * Gets the fully qualified table name instance of the table whose region we want to locate.<a name="line.39"></a>
+<span class="sourceLineNo">040</span> */<a name="line.40"></a>
+<span class="sourceLineNo">041</span> TableName getName();<a name="line.41"></a>
+<span class="sourceLineNo">042</span><a name="line.42"></a>
+<span class="sourceLineNo">043</span> /**<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * Finds the region on which the given row is being served. Does not reload the cache.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * <p/><a name="line.45"></a>
+<span class="sourceLineNo">046</span> * Returns the location of the region to which the row belongs.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * @param row Row to find.<a name="line.47"></a>
+<span class="sourceLineNo">048</span> */<a name="line.48"></a>
+<span class="sourceLineNo">049</span> default CompletableFuture<HRegionLocation> getRegionLocation(byte[] row) {<a name="line.49"></a>
+<span class="sourceLineNo">050</span> return getRegionLocation(row, false);<a name="line.50"></a>
+<span class="sourceLineNo">051</span> }<a name="line.51"></a>
+<span class="sourceLineNo">052</span><a name="line.52"></a>
+<span class="sourceLineNo">053</span> /**<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * Finds the region on which the given row is being served.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * <p/><a name="line.55"></a>
+<span class="sourceLineNo">056</span> * Returns the location of the region to which the row belongs.<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * @param row Row to find.<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * @param reload true to reload information or false to use cached information<a name="line.58"></a>
+<span class="sourceLineNo">059</span> */<a name="line.59"></a>
+<span class="sourceLineNo">060</span> default CompletableFuture<HRegionLocation> getRegionLocation(byte[] row, boolean reload) {<a name="line.60"></a>
+<span class="sourceLineNo">061</span> return getRegionLocation(row, RegionInfo.DEFAULT_REPLICA_ID, reload);<a name="line.61"></a>
+<span class="sourceLineNo">062</span> }<a name="line.62"></a>
+<span class="sourceLineNo">063</span><a name="line.63"></a>
+<span class="sourceLineNo">064</span> /**<a name="line.64"></a>
+<span class="sourceLineNo">065</span> * Finds the region with the given <code>replicaId</code> on which the given row is being served.<a name="line.65"></a>
+<span class="sourceLineNo">066</span> * <p/><a name="line.66"></a>
+<span class="sourceLineNo">067</span> * Returns the location of the region with the given <code>replicaId</code> to which the row<a name="line.67"></a>
+<span class="sourceLineNo">068</span> * belongs.<a name="line.68"></a>
+<span class="sourceLineNo">069</span> * @param row Row to find.<a name="line.69"></a>
+<span class="sourceLineNo">070</span> * @param replicaId the replica id of the region<a name="line.70"></a>
+<span class="sourceLineNo">071</span> */<a name="line.71"></a>
+<span class="sourceLineNo">072</span> default CompletableFuture<HRegionLocation> getRegionLocation(byte[] row, int replicaId) {<a name="line.72"></a>
+<span class="sourceLineNo">073</span> return getRegionLocation(row, replicaId, false);<a name="line.73"></a>
+<span class="sourceLineNo">074</span> }<a name="line.74"></a>
+<span class="sourceLineNo">075</span><a name="line.75"></a>
+<span class="sourceLineNo">076</span> /**<a name="line.76"></a>
+<span class="sourceLineNo">077</span> * Finds the region with the given <code>replicaId</code> on which the given row is being served.<a name="line.77"></a>
+<span class="sourceLineNo">078</span> * <p/><a name="line.78"></a>
+<span class="sourceLineNo">079</span> * Returns the location of the region with the given <code>replicaId</code> to which the row<a name="line.79"></a>
+<span class="sourceLineNo">080</span> * belongs.<a name="line.80"></a>
+<span class="sourceLineNo">081</span> * @param row Row to find.<a name="line.81"></a>
+<span class="sourceLineNo">082</span> * @param replicaId the replica id of the region<a name="line.82"></a>
+<span class="sourceLineNo">083</span> * @param reload true to reload information or false to use cached information<a name="line.83"></a>
+<span class="sourceLineNo">084</span> */<a name="line.84"></a>
+<span class="sourceLineNo">085</span> CompletableFuture<HRegionLocation> getRegionLocation(byte[] row, int replicaId, boolean reload);<a name="line.85"></a>
+<span class="sourceLineNo">086</span><a name="line.86"></a>
+<span class="sourceLineNo">087</span> /**<a name="line.87"></a>
+<span class="sourceLineNo">088</span> * Find all the replicas for the region on which the given row is being served.<a name="line.88"></a>
+<span class="sourceLineNo">089</span> * @param row Row to find.<a name="line.89"></a>
+<span class="sourceLineNo">090</span> * @return Locations for all the replicas of the row.<a name="line.90"></a>
+<span class="sourceLineNo">091</span> */<a name="line.91"></a>
+<span class="sourceLineNo">092</span> default CompletableFuture<List<HRegionLocation>> getRegionLocations(byte[] row) {<a name="line.92"></a>
+<span class="sourceLineNo">093</span> return getRegionLocations(row, false);<a name="line.93"></a>
+<span class="sourceLineNo">094</span> }<a name="line.94"></a>
+<span class="sourceLineNo">095</span><a name="line.95"></a>
+<span class="sourceLineNo">096</span> /**<a name="line.96"></a>
+<span class="sourceLineNo">097</span> * Find all the replicas for the region on which the given row is being served.<a name="line.97"></a>
+<span class="sourceLineNo">098</span> * @param row Row to find.<a name="line.98"></a>
+<span class="sourceLineNo">099</span> * @param reload true to reload information or false to use cached information<a name="line.99"></a>
+<span class="sourceLineNo">100</span> * @return Locations for all the replicas of the row.<a name="line.100"></a>
+<span class="sourceLineNo">101</span> */<a name="line.101"></a>
+<span class="sourceLineNo">102</span> CompletableFuture<List<HRegionLocation>> getRegionLocations(byte[] row, boolean reload);<a name="line.102"></a>
+<span class="sourceLineNo">103</span><a name="line.103"></a>
+<span class="sourceLineNo">104</span> /**<a name="line.104"></a>
+<span class="sourceLineNo">105</span> * Retrieves all of the regions associated with this table.<a name="line.105"></a>
+<span class="sourceLineNo">106</span> * <p/><a name="line.106"></a>
+<span class="sourceLineNo">107</span> * Usually we will go to meta table directly in this method so there is no {@code reload}<a name="line.107"></a>
+<span class="sourceLineNo">108</span> * parameter.<a name="line.108"></a>
<span class="sourceLineNo">109</span> * <p/><a name="line.109"></a>
-<span class="sourceLineNo">110</span> * Usually we will go to meta table directly in this method so there is no {@code reload}<a name="line.110"></a>
-<span class="sourceLineNo">111</span> * parameter.<a name="line.111"></a>
-<span class="sourceLineNo">112</span> * <p/><a name="line.112"></a>
-<span class="sourceLineNo">113</span> * Notice that the location for region replicas other than the default replica are also returned.<a name="line.113"></a>
-<span class="sourceLineNo">114</span> * @return a {@link List} of all regions associated with this table.<a name="line.114"></a>
-<span class="sourceLineNo">115</span> */<a name="line.115"></a>
-<span class="sourceLineNo">116</span> CompletableFuture<List<HRegionLocation>> getAllRegionLocations();<a name="line.116"></a>
-<span class="sourceLineNo">117</span><a name="line.117"></a>
-<span class="sourceLineNo">118</span> /**<a name="line.118"></a>
-<span class="sourceLineNo">119</span> * Gets the starting row key for every region in the currently open table.<a name="line.119"></a>
-<span class="sourceLineNo">120</span> * <p><a name="line.120"></a>
-<span class="sourceLineNo">121</span> * This is mainly useful for the MapReduce integration.<a name="line.121"></a>
-<span class="sourceLineNo">122</span> * @return Array of region starting row keys<a name="line.122"></a>
-<span class="sourceLineNo">123</span> * @throws IOException if a remote or network exception occurs<a name="line.123"></a>
-<span class="sourceLineNo">124</span> */<a name="line.124"></a>
-<span class="sourceLineNo">125</span> default CompletableFuture<List<byte[]>> getStartKeys() throws IOException {<a name="line.125"></a>
-<span class="sourceLineNo">126</span> return getStartEndKeys().thenApply(<a name="line.126"></a>
-<span class="sourceLineNo">127</span> startEndKeys -> startEndKeys.stream().map(Pair::getFirst).collect(Collectors.toList()));<a name="line.127"></a>
-<span class="sourceLineNo">128</span> }<a name="line.128"></a>
-<span class="sourceLineNo">129</span><a name="line.129"></a>
-<span class="sourceLineNo">130</span> /**<a name="line.130"></a>
-<span class="sourceLineNo">131</span> * Gets the ending row key for every region in the currently open table.<a name="line.131"></a>
-<span class="sourceLineNo">132</span> * <p><a name="line.132"></a>
-<span class="sourceLineNo">133</span> * This is mainly useful for the MapReduce integration.<a name="line.133"></a>
-<span class="sourceLineNo">134</span> * @return Array of region ending row keys<a name="line.134"></a>
-<span class="sourceLineNo">135</span> * @throws IOException if a remote or network exception occurs<a name="line.135"></a>
-<span class="sourceLineNo">136</span> */<a name="line.136"></a>
-<span class="sourceLineNo">137</span> default CompletableFuture<List<byte[]>> getEndKeys() throws IOException {<a name="line.137"></a>
-<span class="sourceLineNo">138</span> return getStartEndKeys().thenApply(<a name="line.138"></a>
-<span class="sourceLineNo">139</span> startEndKeys -> startEndKeys.stream().map(Pair::getSecond).collect(Collectors.toList()));<a name="line.139"></a>
-<span class="sourceLineNo">140</span> }<a name="line.140"></a>
-<span class="sourceLineNo">141</span><a name="line.141"></a>
-<span class="sourceLineNo">142</span> /**<a name="line.142"></a>
-<span class="sourceLineNo">143</span> * Gets the starting and ending row keys for every region in the currently open table.<a name="line.143"></a>
-<span class="sourceLineNo">144</span> * <p><a name="line.144"></a>
-<span class="sourceLineNo">145</span> * This is mainly useful for the MapReduce integration.<a name="line.145"></a>
-<span class="sourceLineNo">146</span> * @return Pair of arrays of region starting and ending row keys<a name="line.146"></a>
-<span class="sourceLineNo">147</span> * @throws IOException if a remote or network exception occurs<a name="line.147"></a>
-<span class="sourceLineNo">148</span> */<a name="line.148"></a>
-<span class="sourceLineNo">149</span> default CompletableFuture<List<Pair<byte[], byte[]>>> getStartEndKeys() throws IOException {<a name="line.149"></a>
-<span class="sourceLineNo">150</span> return getAllRegionLocations().thenApply(<a name="line.150"></a>
-<span class="sourceLineNo">151</span> locs -> locs.stream().filter(loc -> RegionReplicaUtil.isDefaultReplica(loc.getRegion()))<a name="line.151"></a>
-<span class="sourceLineNo">152</span> .map(HRegionLocation::getRegion).map(r -> Pair.newPair(r.getStartKey(), r.getEndKey()))<a name="line.152"></a>
-<span class="sourceLineNo">153</span> .collect(Collectors.toList()));<a name="line.153"></a>
-<span class="sourceLineNo">154</span> }<a name="line.154"></a>
-<span class="sourceLineNo">155</span><a name="line.155"></a>
-<span class="sourceLineNo">156</span> /**<a name="line.156"></a>
-<span class="sourceLineNo">157</span> * Clear all the entries in the region location cache.<a name="line.157"></a>
-<span class="sourceLineNo">158</span> * <p/><a name="line.158"></a>
-<span class="sourceLineNo">159</span> * This may cause performance issue so use it with caution.<a name="line.159"></a>
-<span class="sourceLineNo">160</span> */<a name="line.160"></a>
-<span class="sourceLineNo">161</span> void clearRegionLocationCache();<a name="line.161"></a>
-<span class="sourceLineNo">162</span>}<a name="line.162"></a>
+<span class="sourceLineNo">110</span> * Notice that the location for region replicas other than the default replica are also returned.<a name="line.110"></a>
+<span class="sourceLineNo">111</span> * @return a {@link List} of all regions associated with this table.<a name="line.111"></a>
+<span class="sourceLineNo">112</span> */<a name="line.112"></a>
+<span class="sourceLineNo">113</span> CompletableFuture<List<HRegionLocation>> getAllRegionLocations();<a name="line.113"></a>
+<span class="sourceLineNo">114</span><a name="line.114"></a>
+<span class="sourceLineNo">115</span> /**<a name="line.115"></a>
+<span class="sourceLineNo">116</span> * Gets the starting row key for every region in the currently open table.<a name="line.116"></a>
+<span class="sourceLineNo">117</span> * <p><a name="line.117"></a>
+<span class="sourceLineNo">118</span> * This is mainly useful for the MapReduce integration.<a name="line.118"></a>
+<span class="sourceLineNo">119</span> * @return Array of region starting row keys<a name="line.119"></a>
+<span class="sourceLineNo">120</span> */<a name="line.120"></a>
+<span class="sourceLineNo">121</span> default CompletableFuture<List<byte[]>> getStartKeys() {<a name="line.121"></a>
+<span class="sourceLineNo">122</span> return getStartEndKeys().thenApply(<a name="line.122"></a>
+<span class="sourceLineNo">123</span> startEndKeys -> startEndKeys.stream().map(Pair::getFirst).collect(Collectors.toList()));<a name="line.123"></a>
+<span class="sourceLineNo">124</span> }<a name="line.124"></a>
+<span class="sourceLineNo">125</span><a name="line.125"></a>
+<span class="sourceLineNo">126</span> /**<a name="line.126"></a>
+<span class="sourceLineNo">127</span> * Gets the ending row key for every region in the currently open table.<a name="line.127"></a>
+<span class="sourceLineNo">128</span> * <p><a name="line.128"></a>
+<span class="sourceLineNo">129</span> * This is mainly useful for the MapReduce integration.<a name="line.129"></a>
+<span class="sourceLineNo">130</span> * @return Array of region ending row keys<a name="line.130"></a>
+<span class="sourceLineNo">131</span> */<a name="line.131"></a>
+<span class="sourceLineNo">132</span> default CompletableFuture<List<byte[]>> getEndKeys() {<a name="line.132"></a>
+<span class="sourceLineNo">133</span> return getStartEndKeys().thenApply(<a name="line.133"></a>
+<span class="sourceLineNo">134</span> startEndKeys -> startEndKeys.stream().map(Pair::getSecond).collect(Collectors.toList()));<a name="line.134"></a>
+<span class="sourceLineNo">135</span> }<a name="line.135"></a>
+<span class="sourceLineNo">136</span><a name="line.136"></a>
+<span class="sourceLineNo">137</span> /**<a name="line.137"></a>
+<span class="sourceLineNo">138</span> * Gets the starting and ending row keys for every region in the currently open table.<a name="line.138"></a>
+<span class="sourceLineNo">139</span> * <p><a name="line.139"></a>
+<span class="sourceLineNo">140</span> * This is mainly useful for the MapReduce integration.<a name="line.140"></a>
+<span class="sourceLineNo">141</span> * @return Pair of arrays of region starting and ending row keys<a name="line.141"></a>
+<span class="sourceLineNo">142</span> */<a name="line.142"></a>
+<span class="sourceLineNo">143</span> default CompletableFuture<List<Pair<byte[], byte[]>>> getStartEndKeys() {<a name="line.143"></a>
+<span class="sourceLineNo">144</span> return getAllRegionLocations().thenApply(<a name="line.144"></a>
+<span class="sourceLineNo">145</span> locs -> locs.stream().filter(loc -> RegionReplicaUtil.isDefaultReplica(loc.getRegion()))<a name="line.145"></a>
+<span class="sourceLineNo">146</span> .map(HRegionLocation::getRegion).map(r -> Pair.newPair(r.getStartKey(), r.getEndKey()))<a name="line.146"></a>
+<span class="sourceLineNo">147</span> .collect(Collectors.toList()));<a name="line.147"></a>
+<span class="sourceLineNo">148</span> }<a name="line.148"></a>
+<span class="sourceLineNo">149</span><a name="line.149"></a>
+<span class="sourceLineNo">150</span> /**<a name="line.150"></a>
+<span class="sourceLineNo">151</span> * Clear all the entries in the region location cache.<a name="line.151"></a>
+<span class="sourceLineNo">152</span> * <p/><a name="line.152"></a>
+<span class="sourceLineNo">153</span> * This may cause performance issue so use it with caution.<a name="line.153"></a>
+<span class="sourceLineNo">154</span> */<a name="line.154"></a>
+<span class="sourceLineNo">155</span> void clearRegionLocationCache();<a name="line.155"></a>
+<span class="sourceLineNo">156</span>}<a name="line.156"></a>
diff --git a/downloads.html b/downloads.html
index e5a814a..0fc67a2 100644
--- a/downloads.html
+++ b/downloads.html
@@ -433,7 +433,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/export_control.html b/export_control.html
index 038be05..a0cb1ff 100644
--- a/export_control.html
+++ b/export_control.html
@@ -197,7 +197,7 @@ for more details.</p>
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/index.html b/index.html
index 825e7dd..53901dc 100644
--- a/index.html
+++ b/index.html
@@ -275,7 +275,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/issue-tracking.html b/issue-tracking.html
index fd2b59c..1a2289f 100644
--- a/issue-tracking.html
+++ b/issue-tracking.html
@@ -169,7 +169,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/mail-lists.html b/mail-lists.html
index b61f331..fa4e3f5 100644
--- a/mail-lists.html
+++ b/mail-lists.html
@@ -229,7 +229,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/metrics.html b/metrics.html
index 65898ae..0e4d2d9 100644
--- a/metrics.html
+++ b/metrics.html
@@ -325,7 +325,7 @@ export HBASE_REGIONSERVER_OPTS="$HBASE_JMX_OPTS -Dcom.sun.management.jmxrem
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/old_news.html b/old_news.html
index b1ff376..2948a04 100644
--- a/old_news.html
+++ b/old_news.html
@@ -316,7 +316,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/plugin-management.html b/plugin-management.html
index ba6e27c..77b1c66 100644
--- a/plugin-management.html
+++ b/plugin-management.html
@@ -321,7 +321,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/plugins.html b/plugins.html
index 479cefd..a342117 100644
--- a/plugins.html
+++ b/plugins.html
@@ -248,7 +248,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/poweredbyhbase.html b/poweredbyhbase.html
index 0b50b81..d652fe2 100644
--- a/poweredbyhbase.html
+++ b/poweredbyhbase.html
@@ -650,7 +650,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/project-info.html b/project-info.html
index 3281343..6392c33 100644
--- a/project-info.html
+++ b/project-info.html
@@ -210,7 +210,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/project-reports.html b/project-reports.html
index 4d8dfbe..5a70d2a 100644
--- a/project-reports.html
+++ b/project-reports.html
@@ -186,7 +186,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/project-summary.html b/project-summary.html
index 1598360..3424ce4 100644
--- a/project-summary.html
+++ b/project-summary.html
@@ -212,7 +212,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/pseudo-distributed.html b/pseudo-distributed.html
index 6380248..63fbdd6 100644
--- a/pseudo-distributed.html
+++ b/pseudo-distributed.html
@@ -174,7 +174,7 @@ Running Apache HBase (TM) in pseudo-distributed mode
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/replication.html b/replication.html
index d809c3f..6af45a8 100644
--- a/replication.html
+++ b/replication.html
@@ -169,7 +169,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/resources.html b/resources.html
index fd3b5c5..7feb503 100644
--- a/resources.html
+++ b/resources.html
@@ -197,7 +197,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/source-repository.html b/source-repository.html
index cb057b5..c1fdf8e 100644
--- a/source-repository.html
+++ b/source-repository.html
@@ -180,7 +180,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/sponsors.html b/sponsors.html
index db704d0..f67c10f 100644
--- a/sponsors.html
+++ b/sponsors.html
@@ -199,7 +199,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/supportingprojects.html b/supportingprojects.html
index 21b34e3..8ccef7c 100644
--- a/supportingprojects.html
+++ b/supportingprojects.html
@@ -390,7 +390,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/team-list.html b/team-list.html
index 2fed6df..edf889c 100644
--- a/team-list.html
+++ b/team-list.html
@@ -707,7 +707,7 @@
<div class="row">
<p>Copyright ©2007–2020
<a href="https://www.apache.org/">The Apache Software Foundation</a>.
-All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-03</li>
+All rights reserved. <li id="publishDate" class="pull-right">Last Published: 2020-12-04</li>
</p>
</div>
<p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>