Published site at 59cfe2e31ba626421678a3a862f889c0c574867d.
authorjenkins <builds@apache.org>
Mon, 3 Dec 2018 14:52:24 +0000 (14:52 +0000)
committerjenkins <builds@apache.org>
Mon, 3 Dec 2018 14:52:24 +0000 (14:52 +0000)
70 files changed:
acid-semantics.html
apache_hbase_reference_guide.pdf
book.html
bulk-loads.html
checkstyle-aggregate.html
coc.html
dependencies.html
dependency-convergence.html
dependency-info.html
dependency-management.html
devapidocs/constant-values.html
devapidocs/src-html/org/apache/hadoop/hbase/Version.html
downloads.html
export_control.html
index.html
integration.html
issue-tracking.html
license.html
mail-lists.html
metrics.html
old_news.html
plugin-management.html
plugins.html
poweredbyhbase.html
project-info.html
project-reports.html
project-summary.html
pseudo-distributed.html
replication.html
resources.html
source-repository.html
sponsors.html
supportingprojects.html
team-list.html
testdevapidocs/index-all.html
testdevapidocs/org/apache/hadoop/hbase/master/assignment/TestAMAssignWithRandExec.html
testdevapidocs/org/apache/hadoop/hbase/master/assignment/TestAMServerFailedOpen.html
testdevapidocs/org/apache/hadoop/hbase/master/assignment/TestAssignmentManager.html
testdevapidocs/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.FaultyRsExecutor.html
testdevapidocs/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.GoodRsExecutor.html
testdevapidocs/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangOnCloseThenRSCrashExecutor.html
testdevapidocs/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangThenRSCrashExecutor.html
testdevapidocs/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangThenRSRestartExecutor.html
testdevapidocs/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSExecutor.html
testdevapidocs/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.MockRemoteCall.html
testdevapidocs/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.html
testdevapidocs/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.NoopRsExecutor.html
testdevapidocs/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.RandRsExecutor.html
testdevapidocs/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.ServerNotYetRunningRsExecutor.html
testdevapidocs/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.SocketTimeoutRsExecutor.html
testdevapidocs/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html
testdevapidocs/org/apache/hadoop/hbase/package-tree.html
testdevapidocs/org/apache/hadoop/hbase/procedure/package-tree.html
testdevapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
testdevapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
testdevapidocs/org/apache/hadoop/hbase/test/package-tree.html
testdevapidocs/org/apache/hadoop/hbase/wal/package-tree.html
testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.FaultyRsExecutor.html
testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.GoodRsExecutor.html
testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangOnCloseThenRSCrashExecutor.html
testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangThenRSCrashExecutor.html
testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangThenRSRestartExecutor.html
testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSExecutor.html
testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.MockRemoteCall.html
testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.html
testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.NoopRsExecutor.html
testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.RandRsExecutor.html
testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.ServerNotYetRunningRsExecutor.html
testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.SocketTimeoutRsExecutor.html
testdevapidocs/src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html

index 39e269e..203b0a1 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013;  
       Apache HBase (TM) ACID Properties
@@ -611,7 +611,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index e9035fa..22b95a4 100644 (file)
@@ -5,8 +5,8 @@
 /Author (Apache HBase Team)
 /Creator (Asciidoctor PDF 1.5.0.alpha.15, based on Prawn 2.2.2)
 /Producer (Apache HBase Team)
-/ModDate (D:20181201143234+00'00')
-/CreationDate (D:20181201144915+00'00')
+/ModDate (D:20181203143314+00'00')
+/CreationDate (D:20181203144906+00'00')
 >>
 endobj
 2 0 obj
index df5c0b7..4410536 100644 (file)
--- a/book.html
+++ b/book.html
@@ -41318,7 +41318,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 2018-12-01 14:32:34 UTC
+Last updated 2018-12-03 14:33:14 UTC
 </div>
 </div>
 </body>
index 262092b..7b8d261 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013;  
       Bulk Loads in Apache HBase (TM)
@@ -316,7 +316,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index 0245364..e1d46ba 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Checkstyle Results</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index a7e02db..5f9e984 100644 (file)
--- a/coc.html
+++ b/coc.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; 
       Code of Conduct Policy
@@ -385,7 +385,7 @@ email to <a class="externalLink" href="mailto:private@hbase.apache.org">the priv
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index 9e2d83a..5da6a60 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Dependencies</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index d4a1675..d5278d1 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Reactor Dependency Convergence</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index 0a72b8d..c9d26d1 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Dependency Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index 85b8a21..ed71234 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Dependency Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index e0108a3..975521e 100644 (file)
 <!--   -->
 </a><code>public&nbsp;static&nbsp;final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td><code><a href="org/apache/hadoop/hbase/Version.html#date">date</a></code></td>
-<td class="colLast"><code>"Sat Dec  1 14:43:40 UTC 2018"</code></td>
+<td class="colLast"><code>"Mon Dec  3 14:44:16 UTC 2018"</code></td>
 </tr>
 <tr class="rowColor">
 <td class="colFirst"><a name="org.apache.hadoop.hbase.Version.revision">
index e4f5830..320dc8e 100644 (file)
@@ -18,7 +18,7 @@
 <span class="sourceLineNo">010</span>  public static final String version = "3.0.0-SNAPSHOT";<a name="line.10"></a>
 <span class="sourceLineNo">011</span>  public static final String revision = "";<a name="line.11"></a>
 <span class="sourceLineNo">012</span>  public static final String user = "jenkins";<a name="line.12"></a>
-<span class="sourceLineNo">013</span>  public static final String date = "Sat Dec  1 14:43:40 UTC 2018";<a name="line.13"></a>
+<span class="sourceLineNo">013</span>  public static final String date = "Mon Dec  3 14:44:16 UTC 2018";<a name="line.13"></a>
 <span class="sourceLineNo">014</span>  public static final String url = "git://jenkins-websites1.apache.org/home/jenkins/jenkins-slave/workspace/hbase_generate_website/hbase";<a name="line.14"></a>
 <span class="sourceLineNo">015</span>  public static final String srcChecksum = "6b524fd5dc892868017c9a7a944df62c";<a name="line.15"></a>
 <span class="sourceLineNo">016</span>}<a name="line.16"></a>
index 0e270ce..71fe924 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Apache HBase Downloads</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
@@ -358,28 +358,28 @@ under the License. -->
 <tr class="a">
       
 <td style="test-align: left">
-        2.0.2
+        2.0.3
       </td>
       
 <td style="test-align: left">
-        2018/06/19
+        2018/12/02
       </td>
       
 <td style="test-align: left">
-        <a class="externalLink" href="https://apache.org/dist/hbase/2.0.2/compatibility_report_2.0.1_2.0.2.html">2.0.1 vs 2.0.2</a>
+        <a class="externalLink" href="https://apache.org/dist/hbase/2.0.3/compat-check-report-2.0.2-vs-2.0.3.html">2.0.2 vs 2.0.3</a>
       </td>
       
 <td style="test-align: left">
-        <a class="externalLink" href="https://apache.org/dist/hbase/2.0.2/CHANGES.md">Changes</a>
+        <a class="externalLink" href="https://apache.org/dist/hbase/2.0.3/CHANGES.md">Changes</a>
       </td>
       
 <td style="test-align: left">
-        <a class="externalLink" href="https://apache.org/dist/hbase/2.0.2/RELEASENOTES.md">Release Notes</a>
+        <a class="externalLink" href="https://apache.org/dist/hbase/2.0.3/RELEASENOTES.md">Release Notes</a>
       </td>
       
 <td style="test-align: left">
-        <a class="externalLink" href="https://www.apache.org/dyn/closer.lua/hbase/2.0.2/hbase-2.0.2-src.tar.gz">src</a> (<a class="externalLink" href="https://apache.org/dist/hbase/2.0.2/hbase-2.0.2-src.tar.gz.sha512">sha512</a> <a class="externalLink" href="https://apache.org/dist/hbase/2.0.2/hbase-2.0.2-src.tar.gz.asc">asc</a>) <br />
-        <a class="externalLink" href="https://www.apache.org/dyn/closer.lua/hbase/2.0.2/hbase-2.0.2-bin.tar.gz">bin</a> (<a class="externalLink" href="https://apache.org/dist/hbase/2.0.2/hbase-2.0.2-bin.tar.gz.sha512">sha512</a> <a class="externalLink" href="https://apache.org/dist/hbase/2.0.2/hbase-2.0.2-bin.tar.gz.asc">asc</a>)
+        <a class="externalLink" href="https://apache.org/dist/hbase/2.0.3/hbase-2.0.3-src.tar.gz">src</a> (<a class="externalLink" href="https://apache.org/dist/hbase/2.0.3/hbase-2.0.3-src.tar.gz.sha512">sha512</a> <a class="externalLink" href="https://apache.org/dist/hbase/2.0.3/hbase-2.0.3-src.tar.gz.asc">asc</a>) <br />
+        <a class="externalLink" href="https://apache.org/dist/hbase/2.0.3/hbase-2.0.3-bin.tar.gz">bin</a> (<a class="externalLink" href="https://apache.org/dist/hbase/2.0.3/hbase-2.0.3-src.tar.gz.sha512">sha512</a> <a class="externalLink" href="https://apache.org/dist/hbase/2.0.3/hbase-2.0.3-src.tar.gz.asc">asc</a>)
       </td>
     </tr>
     
@@ -461,7 +461,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index 5be5f3f..5638890 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; 
       Export Control
@@ -341,7 +341,7 @@ for more details.</p>
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index 59ea667..5b804ea 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Apache HBaseâ„¢ Home</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
@@ -421,7 +421,7 @@ Apache HBase is an open-source, distributed, versioned, non-relational database
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index 638cb1c..488a312 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; CI Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index 62556cb..0f0326a 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Issue Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index d7f7f8a..081e1ee 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Licenses</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index 287a766..bc62c2b 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Mailing Lists</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index d05e913..07e5c8f 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013;  
       Apache HBase (TM) Metrics
@@ -469,7 +469,7 @@ export HBASE_REGIONSERVER_OPTS=&quot;$HBASE_JMX_OPTS -Dcom.sun.management.jmxrem
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index 231c706..52b5431 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; 
       Old Apache HBase (TM) News
@@ -450,7 +450,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index 58735c9..abfecab 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Plugin Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index 080a7dd..93aeb5e 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Plugins</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index 3d80b30..5f600cb 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Powered By Apache HBase\99</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
@@ -779,7 +779,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index c250f7f..0ebde0d 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index f8db376..8c99cba 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Generated Reports</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index fff2bf2..4e425b9 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Summary</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index f16a538..e9777de 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013;  
 Running Apache HBase (TM) in pseudo-distributed mode
@@ -318,7 +318,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index 60cc064..cac0283 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; 
       Apache HBase (TM) Replication
@@ -313,7 +313,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index 5a84f37..61a5ce7 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Other Apache HBase (TM) Resources</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
@@ -341,7 +341,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index fad4547..036cdb8 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Source Code Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index 824fe49..3382d11 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Apache HBase\99 Sponsors</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
@@ -343,7 +343,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index 993bb89..2942175 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Supporting Projects</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
@@ -530,7 +530,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index 3ea4d41..ca6a85d 100644 (file)
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20181201" />
+    <meta name="Date-Revision-yyyymmdd" content="20181203" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Team</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" />
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-12-01</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-12-03</li>
             </p>
                 </div>
 
index 9a8fe12..552429f 100644 (file)
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/TestInvalidMutationDurabilityException.html#newPutWithSkipWAL--">newPutWithSkipWAL()</a></span> - Method in class org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/TestInvalidMutationDurabilityException.html" title="class in org.apache.hadoop.hbase.client">TestInvalidMutationDurabilityException</a></dt>
 <dd>&nbsp;</dd>
+<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#newRsAdded">newRsAdded</a></span> - Variable in class org.apache.hadoop.hbase.master.assignment.<a href="org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html" title="class in org.apache.hadoop.hbase.master.assignment">TestAssignmentManagerBase</a></dt>
+<dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/regionserver/wal/AbstractTestFSWAL.html#newSlowWAL-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-java.lang.String-java.lang.String-org.apache.hadoop.conf.Configuration-java.util.List-boolean-java.lang.String-java.lang.String-java.lang.Runnable-">newSlowWAL(FileSystem, Path, String, String, Configuration, List&lt;WALActionsListener&gt;, boolean, String, String, Runnable)</a></span> - Method in class org.apache.hadoop.hbase.regionserver.wal.<a href="org/apache/hadoop/hbase/regionserver/wal/AbstractTestFSWAL.html" title="class in org.apache.hadoop.hbase.regionserver.wal">AbstractTestFSWAL</a></dt>
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/regionserver/wal/TestAsyncFSWAL.html#newSlowWAL-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-java.lang.String-java.lang.String-org.apache.hadoop.conf.Configuration-java.util.List-boolean-java.lang.String-java.lang.String-java.lang.Runnable-">newSlowWAL(FileSystem, Path, String, String, Configuration, List&lt;WALActionsListener&gt;, boolean, String, String, Runnable)</a></span> - Method in class org.apache.hadoop.hbase.regionserver.wal.<a href="org/apache/hadoop/hbase/regionserver/wal/TestAsyncFSWAL.html" title="class in org.apache.hadoop.hbase.regionserver.wal">TestAsyncFSWAL</a></dt>
index 1591253..2b96096 100644 (file)
@@ -163,7 +163,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <!--   -->
 </a>
 <h3>Fields inherited from class&nbsp;org.apache.hadoop.hbase.master.assignment.<a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html" title="class in org.apache.hadoop.hbase.master.assignment">TestAssignmentManagerBase</a></h3>
-<code><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#am">am</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#assignFailedCount">assignFailedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#assignProcMetrics">assignProcMetrics</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#assignSubmittedCount">assignSubmittedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#exception">exception</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#executor">executor</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#master">master</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#name">name</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#NREGIONS">NREGIONS</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#NSERVERS">NSERVERS</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#PROC_NTHREADS">PROC_NTHREADS</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#regionsToRegionServers">regionsToRegionServers</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#rsDispatcher">rsDispatcher</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignFailedCount">unassignFailedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignProcMetrics">unassignProcMetrics</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignSubmittedCount">unassignSubmittedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#util">util</a></code></li>
+<code><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#am">am</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#assignFailedCount">assignFailedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#assignProcMetrics">assignProcMetrics</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#assignSubmittedCount">assignSubmittedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#exception">exception</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#executor">executor</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#master">master</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#name">name</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#newRsAdded">newRsAdded</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#NREGIONS">NREGIONS</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#NSERVERS">NSERVERS</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#PROC_NTHREADS">PROC_NTHREADS</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#regionsToRegionServers">regionsToRegionServers</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#rsDispatcher">rsDispatcher</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignFailedCount">unassignFailedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignProcMetrics">unassignProcMetrics</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignSubmittedCount">unassignSubmittedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#util">util</a></code></li>
 </ul>
 </li>
 </ul>
index 7091b38..afda066 100644 (file)
@@ -163,7 +163,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <!--   -->
 </a>
 <h3>Fields inherited from class&nbsp;org.apache.hadoop.hbase.master.assignment.<a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html" title="class in org.apache.hadoop.hbase.master.assignment">TestAssignmentManagerBase</a></h3>
-<code><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#am">am</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#assignFailedCount">assignFailedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#assignProcMetrics">assignProcMetrics</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#assignSubmittedCount">assignSubmittedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#exception">exception</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#executor">executor</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#master">master</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#name">name</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#NREGIONS">NREGIONS</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#NSERVERS">NSERVERS</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#PROC_NTHREADS">PROC_NTHREADS</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#regionsToRegionServers">regionsToRegionServers</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#rsDispatcher">rsDispatcher</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignFailedCount">unassignFailedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignProcMetrics">unassignProcMetrics</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignSubmittedCount">unassignSubmittedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#util">util</a></code></li>
+<code><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#am">am</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#assignFailedCount">assignFailedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#assignProcMetrics">assignProcMetrics</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#assignSubmittedCount">assignSubmittedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#exception">exception</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#executor">executor</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#master">master</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#name">name</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#newRsAdded">newRsAdded</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#NREGIONS">NREGIONS</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#NSERVERS">NSERVERS</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#PROC_NTHREADS">PROC_NTHREADS</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#regionsToRegionServers">regionsToRegionServers</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#rsDispatcher">rsDispatcher</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignFailedCount">unassignFailedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignProcMetrics">unassignProcMetrics</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignSubmittedCount">unassignSubmittedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#util">util</a></code></li>
 </ul>
 </li>
 </ul>
index 505d17d..ff4ead4 100644 (file)
@@ -163,7 +163,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <!--   -->
 </a>
 <h3>Fields inherited from class&nbsp;org.apache.hadoop.hbase.master.assignment.<a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html" title="class in org.apache.hadoop.hbase.master.assignment">TestAssignmentManagerBase</a></h3>
-<code><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#am">am</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#assignFailedCount">assignFailedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#assignProcMetrics">assignProcMetrics</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#assignSubmittedCount">assignSubmittedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#exception">exception</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#executor">executor</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#master">master</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#name">name</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#NREGIONS">NREGIONS</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#NSERVERS">NSERVERS</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#PROC_NTHREADS">PROC_NTHREADS</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#regionsToRegionServers">regionsToRegionServers</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#rsDispatcher">rsDispatcher</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignFailedCount">unassignFailedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignProcMetrics">unassignProcMetrics</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignSubmittedCount">unassignSubmittedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#util">util</a></code></li>
+<code><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#am">am</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#assignFailedCount">assignFailedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#assignProcMetrics">assignProcMetrics</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#assignSubmittedCount">assignSubmittedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#exception">exception</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#executor">executor</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#master">master</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#name">name</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#newRsAdded">newRsAdded</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#NREGIONS">NREGIONS</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#NSERVERS">NSERVERS</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#PROC_NTHREADS">PROC_NTHREADS</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#regionsToRegionServers">regionsToRegionServers</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#rsDispatcher">rsDispatcher</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignFailedCount">unassignFailedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignProcMetrics">unassignProcMetrics</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignSubmittedCount">unassignSubmittedCount</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#util">util</a></code></li>
 </ul>
 </li>
 </ul>
index 06026c3..811bf5c 100644 (file)
@@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>protected static class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.339">TestAssignmentManagerBase.FaultyRsExecutor</a>
+<pre>protected static class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.344">TestAssignmentManagerBase.FaultyRsExecutor</a>
 extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
 implements <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSExecutor.html" title="interface in org.apache.hadoop.hbase.master.assignment">TestAssignmentManagerBase.MockRSExecutor</a></pre>
 </li>
@@ -207,7 +207,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/
 <ul class="blockListLast">
 <li class="blockList">
 <h4>exception</h4>
-<pre>private final&nbsp;<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> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.FaultyRsExecutor.html#line.340">exception</a></pre>
+<pre>private final&nbsp;<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> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.FaultyRsExecutor.html#line.345">exception</a></pre>
 </li>
 </ul>
 </li>
@@ -224,7 +224,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/
 <ul class="blockListLast">
 <li class="blockList">
 <h4>FaultyRsExecutor</h4>
-<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.FaultyRsExecutor.html#line.342">FaultyRsExecutor</a>(<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>&nbsp;exception)</pre>
+<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.FaultyRsExecutor.html#line.347">FaultyRsExecutor</a>(<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>&nbsp;exception)</pre>
 </li>
 </ul>
 </li>
@@ -241,7 +241,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/
 <ul class="blockListLast">
 <li class="blockList">
 <h4>sendRequest</h4>
-<pre>public&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.FaultyRsExecutor.html#line.347">sendRequest</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
+<pre>public&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.FaultyRsExecutor.html#line.352">sendRequest</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
                                                                                                            org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresRequest&nbsp;req)
                                                                                                     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>
 <dl>
index 9abf95b..c6063cb 100644 (file)
@@ -126,7 +126,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>protected class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.299">TestAssignmentManagerBase.GoodRsExecutor</a>
+<pre>protected class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.304">TestAssignmentManagerBase.GoodRsExecutor</a>
 extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.NoopRsExecutor.html" title="class in org.apache.hadoop.hbase.master.assignment">TestAssignmentManagerBase.NoopRsExecutor</a></pre>
 </li>
 </ul>
@@ -210,7 +210,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockListLast">
 <li class="blockList">
 <h4>GoodRsExecutor</h4>
-<pre>protected&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.GoodRsExecutor.html#line.299">GoodRsExecutor</a>()</pre>
+<pre>protected&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.GoodRsExecutor.html#line.304">GoodRsExecutor</a>()</pre>
 </li>
 </ul>
 </li>
@@ -227,7 +227,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockList">
 <li class="blockList">
 <h4>execOpenRegion</h4>
-<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse.RegionOpeningState&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.GoodRsExecutor.html#line.301">execOpenRegion</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
+<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse.RegionOpeningState&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.GoodRsExecutor.html#line.306">execOpenRegion</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
                                                                                                                              org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo&nbsp;openReq)
                                                                                                                       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>
 <dl>
@@ -244,7 +244,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockListLast">
 <li class="blockList">
 <h4>execCloseRegion</h4>
-<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.GoodRsExecutor.html#line.323">execCloseRegion</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
+<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.GoodRsExecutor.html#line.328">execCloseRegion</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
                                                                                                             byte[]&nbsp;regionName)
                                                                                                      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>
 <dl>
index d2135ff..913a7c7 100644 (file)
@@ -127,7 +127,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>protected class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.449">TestAssignmentManagerBase.HangOnCloseThenRSCrashExecutor</a>
+<pre>protected class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.454">TestAssignmentManagerBase.HangOnCloseThenRSCrashExecutor</a>
 extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.GoodRsExecutor.html" title="class in org.apache.hadoop.hbase.master.assignment">TestAssignmentManagerBase.GoodRsExecutor</a></pre>
 </li>
 </ul>
@@ -236,7 +236,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockList">
 <li class="blockList">
 <h4>TYPES_OF_FAILURE</h4>
-<pre>public static final&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangOnCloseThenRSCrashExecutor.html#line.450">TYPES_OF_FAILURE</a></pre>
+<pre>public static final&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangOnCloseThenRSCrashExecutor.html#line.455">TYPES_OF_FAILURE</a></pre>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
 <dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.master.assignment.TestAssignmentManagerBase.HangOnCloseThenRSCrashExecutor.TYPES_OF_FAILURE">Constant Field Values</a></dd>
@@ -249,7 +249,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockListLast">
 <li class="blockList">
 <h4>invocations</h4>
-<pre>private&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangOnCloseThenRSCrashExecutor.html#line.451">invocations</a></pre>
+<pre>private&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangOnCloseThenRSCrashExecutor.html#line.456">invocations</a></pre>
 </li>
 </ul>
 </li>
@@ -266,7 +266,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockListLast">
 <li class="blockList">
 <h4>HangOnCloseThenRSCrashExecutor</h4>
-<pre>protected&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangOnCloseThenRSCrashExecutor.html#line.449">HangOnCloseThenRSCrashExecutor</a>()</pre>
+<pre>protected&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangOnCloseThenRSCrashExecutor.html#line.454">HangOnCloseThenRSCrashExecutor</a>()</pre>
 </li>
 </ul>
 </li>
@@ -283,7 +283,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockListLast">
 <li class="blockList">
 <h4>execCloseRegion</h4>
-<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangOnCloseThenRSCrashExecutor.html#line.454">execCloseRegion</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
+<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangOnCloseThenRSCrashExecutor.html#line.459">execCloseRegion</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
                                                                                                             byte[]&nbsp;regionName)
                                                                                                      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>
 <dl>
index 1e19269..7327480 100644 (file)
@@ -127,7 +127,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>protected class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.394">TestAssignmentManagerBase.HangThenRSCrashExecutor</a>
+<pre>protected class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.399">TestAssignmentManagerBase.HangThenRSCrashExecutor</a>
 extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.GoodRsExecutor.html" title="class in org.apache.hadoop.hbase.master.assignment">TestAssignmentManagerBase.GoodRsExecutor</a></pre>
 <div class="block">Takes open request and then returns nothing so acts like a RS that went zombie. No response (so
  proc is stuck/suspended on the Master and won't wake up.). We then send in a crash for this
@@ -235,7 +235,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockListLast">
 <li class="blockList">
 <h4>invocations</h4>
-<pre>private&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangThenRSCrashExecutor.html#line.395">invocations</a></pre>
+<pre>private&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangThenRSCrashExecutor.html#line.400">invocations</a></pre>
 </li>
 </ul>
 </li>
@@ -252,7 +252,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockListLast">
 <li class="blockList">
 <h4>HangThenRSCrashExecutor</h4>
-<pre>protected&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangThenRSCrashExecutor.html#line.394">HangThenRSCrashExecutor</a>()</pre>
+<pre>protected&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangThenRSCrashExecutor.html#line.399">HangThenRSCrashExecutor</a>()</pre>
 </li>
 </ul>
 </li>
@@ -269,7 +269,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockListLast">
 <li class="blockList">
 <h4>execOpenRegion</h4>
-<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse.RegionOpeningState&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangThenRSCrashExecutor.html#line.398">execOpenRegion</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
+<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse.RegionOpeningState&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangThenRSCrashExecutor.html#line.403">execOpenRegion</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
                                                                                                                              org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo&nbsp;openReq)
                                                                                                                       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>
 <dl>
index d02f0d6..44103b1 100644 (file)
@@ -127,7 +127,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>protected class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.425">TestAssignmentManagerBase.HangThenRSRestartExecutor</a>
+<pre>protected class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.430">TestAssignmentManagerBase.HangThenRSRestartExecutor</a>
 extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.GoodRsExecutor.html" title="class in org.apache.hadoop.hbase.master.assignment">TestAssignmentManagerBase.GoodRsExecutor</a></pre>
 <div class="block">Takes open request and then returns nothing so acts like a RS that went zombie. No response (so
  proc is stuck/suspended on the Master and won't wake up.). Different with
@@ -237,7 +237,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockListLast">
 <li class="blockList">
 <h4>invocations</h4>
-<pre>private&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangThenRSRestartExecutor.html#line.426">invocations</a></pre>
+<pre>private&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangThenRSRestartExecutor.html#line.431">invocations</a></pre>
 </li>
 </ul>
 </li>
@@ -254,7 +254,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockListLast">
 <li class="blockList">
 <h4>HangThenRSRestartExecutor</h4>
-<pre>protected&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangThenRSRestartExecutor.html#line.425">HangThenRSRestartExecutor</a>()</pre>
+<pre>protected&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangThenRSRestartExecutor.html#line.430">HangThenRSRestartExecutor</a>()</pre>
 </li>
 </ul>
 </li>
@@ -271,7 +271,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockListLast">
 <li class="blockList">
 <h4>execOpenRegion</h4>
-<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse.RegionOpeningState&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangThenRSRestartExecutor.html#line.429">execOpenRegion</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
+<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse.RegionOpeningState&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.HangThenRSRestartExecutor.html#line.434">execOpenRegion</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
                                                                                                                              org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo&nbsp;openReq)
                                                                                                                       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>
 <dl>
index b102cda..fe99a2a 100644 (file)
@@ -109,7 +109,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>protected static interface <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.561">TestAssignmentManagerBase.MockRSExecutor</a></pre>
+<pre>protected static interface <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.566">TestAssignmentManagerBase.MockRSExecutor</a></pre>
 </li>
 </ul>
 </div>
@@ -154,7 +154,7 @@ var activeTableTab = "activeTableTab";
 <ul class="blockListLast">
 <li class="blockList">
 <h4>sendRequest</h4>
-<pre>org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSExecutor.html#line.562">sendRequest</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
+<pre>org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSExecutor.html#line.567">sendRequest</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
                                                                                                     org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresRequest&nbsp;req)
                                                                                              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>
 <dl>
index f7af995..9b8feab 100644 (file)
@@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>private class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.html#line.583">TestAssignmentManagerBase.MockRSProcedureDispatcher.MockRemoteCall</a>
+<pre>private class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.html#line.588">TestAssignmentManagerBase.MockRSProcedureDispatcher.MockRemoteCall</a>
 extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
 </li>
 </ul>
@@ -188,7 +188,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockListLast">
 <li class="blockList">
 <h4>MockRemoteCall</h4>
-<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.MockRemoteCall.html#line.584">MockRemoteCall</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
+<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.MockRemoteCall.html#line.589">MockRemoteCall</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
                       <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.apache.hadoop.hbase.procedure2.RemoteProcedureDispatcher.RemoteProcedure&gt;&nbsp;operations)</pre>
 </li>
 </ul>
@@ -206,7 +206,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockListLast">
 <li class="blockList">
 <h4>sendRequest</h4>
-<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.MockRemoteCall.html#line.590">sendRequest</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
+<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.MockRemoteCall.html#line.595">sendRequest</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
                                                                                                               org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresRequest&nbsp;request)
                                                                                                        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>
 <dl>
index 26a2c13..17f2994 100644 (file)
@@ -127,7 +127,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>protected class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.566">TestAssignmentManagerBase.MockRSProcedureDispatcher</a>
+<pre>protected class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.571">TestAssignmentManagerBase.MockRSProcedureDispatcher</a>
 extends org.apache.hadoop.hbase.master.procedure.RSProcedureDispatcher</pre>
 </li>
 </ul>
@@ -288,7 +288,7 @@ extends org.apache.hadoop.hbase.master.procedure.RSProcedureDispatcher</pre>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>mockRsExec</h4>
-<pre>private&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSExecutor.html" title="interface in org.apache.hadoop.hbase.master.assignment">TestAssignmentManagerBase.MockRSExecutor</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.html#line.567">mockRsExec</a></pre>
+<pre>private&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSExecutor.html" title="interface in org.apache.hadoop.hbase.master.assignment">TestAssignmentManagerBase.MockRSExecutor</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.html#line.572">mockRsExec</a></pre>
 </li>
 </ul>
 </li>
@@ -305,7 +305,7 @@ extends org.apache.hadoop.hbase.master.procedure.RSProcedureDispatcher</pre>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>MockRSProcedureDispatcher</h4>
-<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.html#line.569">MockRSProcedureDispatcher</a>(org.apache.hadoop.hbase.master.MasterServices&nbsp;master)</pre>
+<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.html#line.574">MockRSProcedureDispatcher</a>(org.apache.hadoop.hbase.master.MasterServices&nbsp;master)</pre>
 </li>
 </ul>
 </li>
@@ -322,7 +322,7 @@ extends org.apache.hadoop.hbase.master.procedure.RSProcedureDispatcher</pre>
 <ul class="blockList">
 <li class="blockList">
 <h4>setMockRsExecutor</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.html#line.573">setMockRsExecutor</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSExecutor.html" title="interface in org.apache.hadoop.hbase.master.assignment">TestAssignmentManagerBase.MockRSExecutor</a>&nbsp;mockRsExec)</pre>
+<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.html#line.578">setMockRsExecutor</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSExecutor.html" title="interface in org.apache.hadoop.hbase.master.assignment">TestAssignmentManagerBase.MockRSExecutor</a>&nbsp;mockRsExec)</pre>
 </li>
 </ul>
 <a name="remoteDispatch-org.apache.hadoop.hbase.ServerName-java.util.Set-">
@@ -331,7 +331,7 @@ extends org.apache.hadoop.hbase.master.procedure.RSProcedureDispatcher</pre>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>remoteDispatch</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.html#line.578">remoteDispatch</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
+<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.html#line.583">remoteDispatch</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
                               <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;org.apache.hadoop.hbase.procedure2.RemoteProcedureDispatcher.RemoteProcedure&gt;&nbsp;remoteProcedures)</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
index aec2f73..23ea6af 100644 (file)
@@ -121,7 +121,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>protected class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.156">TestAssignmentManagerBase.NoopRsExecutor</a>
+<pre>protected class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.162">TestAssignmentManagerBase.NoopRsExecutor</a>
 extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
 implements <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSExecutor.html" title="interface in org.apache.hadoop.hbase.master.assignment">TestAssignmentManagerBase.MockRSExecutor</a></pre>
 </li>
@@ -204,7 +204,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/
 <ul class="blockListLast">
 <li class="blockList">
 <h4>NoopRsExecutor</h4>
-<pre>protected&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.NoopRsExecutor.html#line.156">NoopRsExecutor</a>()</pre>
+<pre>protected&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.NoopRsExecutor.html#line.162">NoopRsExecutor</a>()</pre>
 </li>
 </ul>
 </li>
@@ -221,7 +221,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/
 <ul class="blockList">
 <li class="blockList">
 <h4>sendRequest</h4>
-<pre>public&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.NoopRsExecutor.html#line.158">sendRequest</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
+<pre>public&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.NoopRsExecutor.html#line.164">sendRequest</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
                                                                                                            org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresRequest&nbsp;request)
                                                                                                     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>
 <dl>
@@ -238,7 +238,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/
 <ul class="blockList">
 <li class="blockList">
 <h4>execOpenRegion</h4>
-<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse.RegionOpeningState&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.NoopRsExecutor.html#line.175">execOpenRegion</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
+<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse.RegionOpeningState&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.NoopRsExecutor.html#line.181">execOpenRegion</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
                                                                                                                              org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo&nbsp;regionInfo)
                                                                                                                       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>
 <dl>
@@ -253,7 +253,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/
 <ul class="blockListLast">
 <li class="blockList">
 <h4>execCloseRegion</h4>
-<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.NoopRsExecutor.html#line.180">execCloseRegion</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
+<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.NoopRsExecutor.html#line.186">execCloseRegion</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
                                                                                                             byte[]&nbsp;regionName)
                                                                                                      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>
 <dl>
index 69cec9d..5e6ee0e 100644 (file)
@@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>protected class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.495">TestAssignmentManagerBase.RandRsExecutor</a>
+<pre>protected class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.500">TestAssignmentManagerBase.RandRsExecutor</a>
 extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.NoopRsExecutor.html" title="class in org.apache.hadoop.hbase.master.assignment">TestAssignmentManagerBase.NoopRsExecutor</a></pre>
 </li>
 </ul>
@@ -223,7 +223,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockListLast">
 <li class="blockList">
 <h4>rand</h4>
-<pre>private final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Random.html?is-external=true" title="class or interface in java.util">Random</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.RandRsExecutor.html#line.496">rand</a></pre>
+<pre>private final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Random.html?is-external=true" title="class or interface in java.util">Random</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.RandRsExecutor.html#line.501">rand</a></pre>
 </li>
 </ul>
 </li>
@@ -240,7 +240,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockListLast">
 <li class="blockList">
 <h4>RandRsExecutor</h4>
-<pre>protected&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.RandRsExecutor.html#line.495">RandRsExecutor</a>()</pre>
+<pre>protected&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.RandRsExecutor.html#line.500">RandRsExecutor</a>()</pre>
 </li>
 </ul>
 </li>
@@ -257,7 +257,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockList">
 <li class="blockList">
 <h4>sendRequest</h4>
-<pre>public&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.RandRsExecutor.html#line.499">sendRequest</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
+<pre>public&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.RandRsExecutor.html#line.504">sendRequest</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
                                                                                                            org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresRequest&nbsp;req)
                                                                                                     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>
 <dl>
@@ -276,7 +276,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockList">
 <li class="blockList">
 <h4>execOpenRegion</h4>
-<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse.RegionOpeningState&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.RandRsExecutor.html#line.515">execOpenRegion</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
+<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse.RegionOpeningState&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.RandRsExecutor.html#line.520">execOpenRegion</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
                                                                                                                              org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo&nbsp;openReq)
                                                                                                                       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>
 <dl>
@@ -293,7 +293,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockListLast">
 <li class="blockList">
 <h4>execCloseRegion</h4>
-<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.RandRsExecutor.html#line.548">execCloseRegion</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
+<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.RandRsExecutor.html#line.553">execCloseRegion</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
                                                                                                             byte[]&nbsp;regionName)
                                                                                                      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>
 <dl>
index 23388d1..fdd370b 100644 (file)
@@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>protected static class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.331">TestAssignmentManagerBase.ServerNotYetRunningRsExecutor</a>
+<pre>protected static class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.336">TestAssignmentManagerBase.ServerNotYetRunningRsExecutor</a>
 extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
 implements <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSExecutor.html" title="interface in org.apache.hadoop.hbase.master.assignment">TestAssignmentManagerBase.MockRSExecutor</a></pre>
 </li>
@@ -190,7 +190,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/
 <ul class="blockListLast">
 <li class="blockList">
 <h4>ServerNotYetRunningRsExecutor</h4>
-<pre>protected&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.ServerNotYetRunningRsExecutor.html#line.331">ServerNotYetRunningRsExecutor</a>()</pre>
+<pre>protected&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.ServerNotYetRunningRsExecutor.html#line.336">ServerNotYetRunningRsExecutor</a>()</pre>
 </li>
 </ul>
 </li>
@@ -207,7 +207,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/
 <ul class="blockListLast">
 <li class="blockList">
 <h4>sendRequest</h4>
-<pre>public&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.ServerNotYetRunningRsExecutor.html#line.333">sendRequest</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
+<pre>public&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.ServerNotYetRunningRsExecutor.html#line.338">sendRequest</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
                                                                                                            org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresRequest&nbsp;req)
                                                                                                     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>
 <dl>
index 49860d7..c0b319e 100644 (file)
@@ -127,7 +127,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>protected class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.353">TestAssignmentManagerBase.SocketTimeoutRsExecutor</a>
+<pre>protected class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.358">TestAssignmentManagerBase.SocketTimeoutRsExecutor</a>
 extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.GoodRsExecutor.html" title="class in org.apache.hadoop.hbase.master.assignment">TestAssignmentManagerBase.GoodRsExecutor</a></pre>
 </li>
 </ul>
@@ -240,7 +240,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockList">
 <li class="blockList">
 <h4>maxSocketTimeoutRetries</h4>
-<pre>private final&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.SocketTimeoutRsExecutor.html#line.354">maxSocketTimeoutRetries</a></pre>
+<pre>private final&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.SocketTimeoutRsExecutor.html#line.359">maxSocketTimeoutRetries</a></pre>
 </li>
 </ul>
 <a name="maxServerRetries">
@@ -249,7 +249,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockList">
 <li class="blockList">
 <h4>maxServerRetries</h4>
-<pre>private final&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.SocketTimeoutRsExecutor.html#line.355">maxServerRetries</a></pre>
+<pre>private final&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.SocketTimeoutRsExecutor.html#line.360">maxServerRetries</a></pre>
 </li>
 </ul>
 <a name="lastServer">
@@ -258,7 +258,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockList">
 <li class="blockList">
 <h4>lastServer</h4>
-<pre>private&nbsp;org.apache.hadoop.hbase.ServerName <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.SocketTimeoutRsExecutor.html#line.357">lastServer</a></pre>
+<pre>private&nbsp;org.apache.hadoop.hbase.ServerName <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.SocketTimeoutRsExecutor.html#line.362">lastServer</a></pre>
 </li>
 </ul>
 <a name="sockTimeoutRetries">
@@ -267,7 +267,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockList">
 <li class="blockList">
 <h4>sockTimeoutRetries</h4>
-<pre>private&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.SocketTimeoutRsExecutor.html#line.358">sockTimeoutRetries</a></pre>
+<pre>private&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.SocketTimeoutRsExecutor.html#line.363">sockTimeoutRetries</a></pre>
 </li>
 </ul>
 <a name="serverRetries">
@@ -276,7 +276,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockListLast">
 <li class="blockList">
 <h4>serverRetries</h4>
-<pre>private&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.SocketTimeoutRsExecutor.html#line.359">serverRetries</a></pre>
+<pre>private&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.SocketTimeoutRsExecutor.html#line.364">serverRetries</a></pre>
 </li>
 </ul>
 </li>
@@ -293,7 +293,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockListLast">
 <li class="blockList">
 <h4>SocketTimeoutRsExecutor</h4>
-<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.SocketTimeoutRsExecutor.html#line.361">SocketTimeoutRsExecutor</a>(int&nbsp;maxSocketTimeoutRetries,
+<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.SocketTimeoutRsExecutor.html#line.366">SocketTimeoutRsExecutor</a>(int&nbsp;maxSocketTimeoutRetries,
                                int&nbsp;maxServerRetries)</pre>
 </li>
 </ul>
@@ -311,7 +311,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/Tes
 <ul class="blockListLast">
 <li class="blockList">
 <h4>sendRequest</h4>
-<pre>public&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.SocketTimeoutRsExecutor.html#line.367">sendRequest</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
+<pre>public&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.SocketTimeoutRsExecutor.html#line.372">sendRequest</a>(org.apache.hadoop.hbase.ServerName&nbsp;server,
                                                                                                            org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresRequest&nbsp;req)
                                                                                                     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>
 <dl>
index 088ef7a..d7f7b8f 100644 (file)
@@ -113,7 +113,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>public abstract class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.86">TestAssignmentManagerBase</a>
+<pre>public abstract class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.88">TestAssignmentManagerBase</a>
 extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
 <div class="block">Base class for AM test.</div>
 </li>
@@ -234,38 +234,42 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#name">name</a></span></code>&nbsp;</td>
 </tr>
 <tr class="rowColor">
+<td class="colFirst"><code>protected int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#newRsAdded">newRsAdded</a></span></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
 <td class="colFirst"><code>protected static int</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#NREGIONS">NREGIONS</a></span></code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>protected static int</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#NSERVERS">NSERVERS</a></span></code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>protected static int</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#PROC_NTHREADS">PROC_NTHREADS</a></span></code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a>&lt;org.apache.hadoop.hbase.ServerName,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util">SortedSet</a>&lt;byte[]&gt;&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#regionsToRegionServers">regionsToRegionServers</a></span></code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>protected <a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.html" title="class in org.apache.hadoop.hbase.master.assignment">TestAssignmentManagerBase.MockRSProcedureDispatcher</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#rsDispatcher">rsDispatcher</a></span></code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>protected long</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignFailedCount">unassignFailedCount</a></span></code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>protected org.apache.hadoop.hbase.procedure2.ProcedureMetrics</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignProcMetrics">unassignProcMetrics</a></span></code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>protected long</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#unassignSubmittedCount">unassignSubmittedCount</a></span></code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>protected <a href="../../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#util">util</a></span></code>&nbsp;</td>
 </tr>
@@ -398,7 +402,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>LOG</h4>
-<pre>private static final&nbsp;org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.88">LOG</a></pre>
+<pre>private static final&nbsp;org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.90">LOG</a></pre>
 </li>
 </ul>
 <a name="name">
@@ -407,7 +411,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>name</h4>
-<pre>public&nbsp;org.junit.rules.TestName <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.91">name</a></pre>
+<pre>public&nbsp;org.junit.rules.TestName <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.93">name</a></pre>
 </li>
 </ul>
 <a name="exception">
@@ -416,7 +420,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>exception</h4>
-<pre>public final&nbsp;org.junit.rules.ExpectedException <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.93">exception</a></pre>
+<pre>public final&nbsp;org.junit.rules.ExpectedException <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.95">exception</a></pre>
 </li>
 </ul>
 <a name="PROC_NTHREADS">
@@ -425,7 +429,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>PROC_NTHREADS</h4>
-<pre>protected static final&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.95">PROC_NTHREADS</a></pre>
+<pre>protected static final&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.97">PROC_NTHREADS</a></pre>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
 <dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.master.assignment.TestAssignmentManagerBase.PROC_NTHREADS">Constant Field Values</a></dd>
@@ -438,7 +442,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>NREGIONS</h4>
-<pre>protected static final&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.96">NREGIONS</a></pre>
+<pre>protected static final&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.98">NREGIONS</a></pre>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
 <dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.master.assignment.TestAssignmentManagerBase.NREGIONS">Constant Field Values</a></dd>
@@ -451,7 +455,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>NSERVERS</h4>
-<pre>protected static final&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.97">NSERVERS</a></pre>
+<pre>protected static final&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.99">NSERVERS</a></pre>
 </li>
 </ul>
 <a name="util">
@@ -460,7 +464,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>util</h4>
-<pre>protected&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.99">util</a></pre>
+<pre>protected&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.101">util</a></pre>
 </li>
 </ul>
 <a name="rsDispatcher">
@@ -469,7 +473,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>rsDispatcher</h4>
-<pre>protected&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.html" title="class in org.apache.hadoop.hbase.master.assignment">TestAssignmentManagerBase.MockRSProcedureDispatcher</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.100">rsDispatcher</a></pre>
+<pre>protected&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.MockRSProcedureDispatcher.html" title="class in org.apache.hadoop.hbase.master.assignment">TestAssignmentManagerBase.MockRSProcedureDispatcher</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.102">rsDispatcher</a></pre>
 </li>
 </ul>
 <a name="master">
@@ -478,7 +482,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>master</h4>
-<pre>protected&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/master/assignment/MockMasterServices.html" title="class in org.apache.hadoop.hbase.master.assignment">MockMasterServices</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.101">master</a></pre>
+<pre>protected&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/master/assignment/MockMasterServices.html" title="class in org.apache.hadoop.hbase.master.assignment">MockMasterServices</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.103">master</a></pre>
 </li>
 </ul>
 <a name="am">
@@ -487,7 +491,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>am</h4>
-<pre>protected&nbsp;org.apache.hadoop.hbase.master.assignment.AssignmentManager <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.102">am</a></pre>
+<pre>protected&nbsp;org.apache.hadoop.hbase.master.assignment.AssignmentManager <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.104">am</a></pre>
 </li>
 </ul>
 <a name="regionsToRegionServers">
@@ -496,7 +500,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>regionsToRegionServers</h4>
-<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a>&lt;org.apache.hadoop.hbase.ServerName,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util">SortedSet</a>&lt;byte[]&gt;&gt; <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.103">regionsToRegionServers</a></pre>
+<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a>&lt;org.apache.hadoop.hbase.ServerName,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util">SortedSet</a>&lt;byte[]&gt;&gt; <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.105">regionsToRegionServers</a></pre>
 </li>
 </ul>
 <a name="executor">
@@ -505,7 +509,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>executor</h4>
-<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ScheduledExecutorService</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.106">executor</a></pre>
+<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ScheduledExecutorService</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.108">executor</a></pre>
 </li>
 </ul>
 <a name="assignProcMetrics">
@@ -514,7 +518,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>assignProcMetrics</h4>
-<pre>protected&nbsp;org.apache.hadoop.hbase.procedure2.ProcedureMetrics <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.108">assignProcMetrics</a></pre>
+<pre>protected&nbsp;org.apache.hadoop.hbase.procedure2.ProcedureMetrics <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.110">assignProcMetrics</a></pre>
 </li>
 </ul>
 <a name="unassignProcMetrics">
@@ -523,7 +527,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>unassignProcMetrics</h4>
-<pre>protected&nbsp;org.apache.hadoop.hbase.procedure2.ProcedureMetrics <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.109">unassignProcMetrics</a></pre>
+<pre>protected&nbsp;org.apache.hadoop.hbase.procedure2.ProcedureMetrics <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.111">unassignProcMetrics</a></pre>
 </li>
 </ul>
 <a name="assignSubmittedCount">
@@ -532,7 +536,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>assignSubmittedCount</h4>
-<pre>protected&nbsp;long <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.111">assignSubmittedCount</a></pre>
+<pre>protected&nbsp;long <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.113">assignSubmittedCount</a></pre>
 </li>
 </ul>
 <a name="assignFailedCount">
@@ -541,7 +545,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>assignFailedCount</h4>
-<pre>protected&nbsp;long <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.112">assignFailedCount</a></pre>
+<pre>protected&nbsp;long <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.114">assignFailedCount</a></pre>
 </li>
 </ul>
 <a name="unassignSubmittedCount">
@@ -550,16 +554,25 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>unassignSubmittedCount</h4>
-<pre>protected&nbsp;long <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.113">unassignSubmittedCount</a></pre>
+<pre>protected&nbsp;long <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.115">unassignSubmittedCount</a></pre>
 </li>
 </ul>
 <a name="unassignFailedCount">
 <!--   -->
 </a>
-<ul class="blockListLast">
+<ul class="blockList">
 <li class="blockList">
 <h4>unassignFailedCount</h4>
-<pre>protected&nbsp;long <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.114">unassignFailedCount</a></pre>
+<pre>protected&nbsp;long <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.116">unassignFailedCount</a></pre>
+</li>
+</ul>
+<a name="newRsAdded">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>newRsAdded</h4>
+<pre>protected&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.118">newRsAdded</a></pre>
 </li>
 </ul>
 </li>
@@ -576,7 +589,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockListLast">
 <li class="blockList">
 <h4>TestAssignmentManagerBase</h4>
-<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.86">TestAssignmentManagerBase</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.88">TestAssignmentManagerBase</a>()</pre>
 </li>
 </ul>
 </li>
@@ -593,7 +606,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>getAssignMaxAttempts</h4>
-<pre>protected&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.116">getAssignMaxAttempts</a>()</pre>
+<pre>protected&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.120">getAssignMaxAttempts</a>()</pre>
 </li>
 </ul>
 <a name="setupConfiguration-org.apache.hadoop.conf.Configuration-">
@@ -602,7 +615,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>setupConfiguration</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.121">setupConfiguration</a>(org.apache.hadoop.conf.Configuration&nbsp;conf)
+<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.125">setupConfiguration</a>(org.apache.hadoop.conf.Configuration&nbsp;conf)
                            throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <dl>
 <dt><span class="throwsLabel">Throws:</span></dt>
@@ -616,7 +629,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>setUp</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.131">setUp</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.135">setUp</a>()
            throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <dl>
 <dt><span class="throwsLabel">Throws:</span></dt>
@@ -630,7 +643,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>setUpMeta</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.144">setUpMeta</a>()
+<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.150">setUpMeta</a>()
                   throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <dl>
 <dt><span class="throwsLabel">Throws:</span></dt>
@@ -644,7 +657,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>tearDown</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.151">tearDown</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.157">tearDown</a>()
               throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <dl>
 <dt><span class="throwsLabel">Throws:</span></dt>
@@ -658,7 +671,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>submitProcedure</h4>
-<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent">Future</a>&lt;byte[]&gt;&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.186">submitProcedure</a>(org.apache.hadoop.hbase.procedure2.Procedure&lt;org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv&gt;&nbsp;proc)</pre>
+<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent">Future</a>&lt;byte[]&gt;&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.192">submitProcedure</a>(org.apache.hadoop.hbase.procedure2.Procedure&lt;org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv&gt;&nbsp;proc)</pre>
 </li>
 </ul>
 <a name="waitOnFuture-java.util.concurrent.Future-">
@@ -667,7 +680,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>waitOnFuture</h4>
-<pre>protected&nbsp;byte[]&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.190">waitOnFuture</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent">Future</a>&lt;byte[]&gt;&nbsp;future)
+<pre>protected&nbsp;byte[]&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.196">waitOnFuture</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent">Future</a>&lt;byte[]&gt;&nbsp;future)
                        throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <dl>
 <dt><span class="throwsLabel">Throws:</span></dt>
@@ -681,7 +694,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>bulkSubmit</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.208">bulkSubmit</a>(org.apache.hadoop.hbase.master.assignment.TransitRegionStateProcedure[]&nbsp;procs)
+<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.214">bulkSubmit</a>(org.apache.hadoop.hbase.master.assignment.TransitRegionStateProcedure[]&nbsp;procs)
                    throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <dl>
 <dt><span class="throwsLabel">Throws:</span></dt>
@@ -695,7 +708,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>createAndSubmitAssign</h4>
-<pre>protected&nbsp;org.apache.hadoop.hbase.master.assignment.TransitRegionStateProcedure&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.234">createAndSubmitAssign</a>(org.apache.hadoop.hbase.TableName&nbsp;tableName,
+<pre>protected&nbsp;org.apache.hadoop.hbase.master.assignment.TransitRegionStateProcedure&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.240">createAndSubmitAssign</a>(org.apache.hadoop.hbase.TableName&nbsp;tableName,
                                                                                                       int&nbsp;regionId)</pre>
 </li>
 </ul>
@@ -705,7 +718,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>createRegionInfo</h4>
-<pre>protected&nbsp;org.apache.hadoop.hbase.client.RegionInfo&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.241">createRegionInfo</a>(org.apache.hadoop.hbase.TableName&nbsp;tableName,
+<pre>protected&nbsp;org.apache.hadoop.hbase.client.RegionInfo&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.247">createRegionInfo</a>(org.apache.hadoop.hbase.TableName&nbsp;tableName,
                                                                      long&nbsp;regionId)</pre>
 </li>
 </ul>
@@ -715,7 +728,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>createAssignProcedure</h4>
-<pre>protected&nbsp;org.apache.hadoop.hbase.master.assignment.TransitRegionStateProcedure&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.246">createAssignProcedure</a>(org.apache.hadoop.hbase.client.RegionInfo&nbsp;hri)</pre>
+<pre>protected&nbsp;org.apache.hadoop.hbase.master.assignment.TransitRegionStateProcedure&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.252">createAssignProcedure</a>(org.apache.hadoop.hbase.client.RegionInfo&nbsp;hri)</pre>
 </li>
 </ul>
 <a name="createUnassignProcedure-org.apache.hadoop.hbase.client.RegionInfo-">
@@ -724,7 +737,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>createUnassignProcedure</h4>
-<pre>protected&nbsp;org.apache.hadoop.hbase.master.assignment.TransitRegionStateProcedure&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.250">createUnassignProcedure</a>(org.apache.hadoop.hbase.client.RegionInfo&nbsp;hri)</pre>
+<pre>protected&nbsp;org.apache.hadoop.hbase.master.assignment.TransitRegionStateProcedure&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.256">createUnassignProcedure</a>(org.apache.hadoop.hbase.client.RegionInfo&nbsp;hri)</pre>
 </li>
 </ul>
 <a name="sendTransitionReport-org.apache.hadoop.hbase.ServerName-org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfo-org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionStateTransition.TransitionCode-long-">
@@ -733,7 +746,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>sendTransitionReport</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.265">sendTransitionReport</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
+<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.271">sendTransitionReport</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName,
                                     org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfo&nbsp;regionInfo,
                                     org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionStateTransition.TransitionCode&nbsp;state,
                                     long&nbsp;seqId)
@@ -750,7 +763,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>doCrash</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.276">doCrash</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName)</pre>
+<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.282">doCrash</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName)</pre>
 </li>
 </ul>
 <a name="doRestart-org.apache.hadoop.hbase.ServerName-">
@@ -759,7 +772,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>doRestart</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.291">doRestart</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName)</pre>
+<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.296">doRestart</a>(org.apache.hadoop.hbase.ServerName&nbsp;serverName)</pre>
 </li>
 </ul>
 <a name="collectAssignmentManagerMetrics--">
@@ -768,7 +781,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockListLast">
 <li class="blockList">
 <h4>collectAssignmentManagerMetrics</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.597">collectAssignmentManagerMetrics</a>()</pre>
+<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/assignment/TestAssignmentManagerBase.html#line.602">collectAssignmentManagerMetrics</a>()</pre>
 </li>
 </ul>
 </li>
index 035737c..0234d0b 100644 (file)
 <ul>
 <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
 <ul>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ClusterManager.ServiceType.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ClusterManager.ServiceType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/HBaseClusterManager.CommandProvider.Operation.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">HBaseClusterManager.CommandProvider.Operation</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/RESTApiClusterManager.Service.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">RESTApiClusterManager.Service</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ResourceChecker.Phase.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ResourceChecker.Phase</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ACTION.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">IntegrationTestDDLMasterFailover.ACTION</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/RESTApiClusterManager.RoleCommand.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">RESTApiClusterManager.RoleCommand</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/PerformanceEvaluation.Counter.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">PerformanceEvaluation.Counter</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ACTION.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">IntegrationTestDDLMasterFailover.ACTION</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/HBaseClusterManager.CommandProvider.Operation.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">HBaseClusterManager.CommandProvider.Operation</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ClusterManager.ServiceType.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ClusterManager.ServiceType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ScanPerformanceEvaluation.ScanCounter.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ScanPerformanceEvaluation.ScanCounter</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/RESTApiClusterManager.RoleCommand.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">RESTApiClusterManager.RoleCommand</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/IntegrationTestRegionReplicaPerf.Stat.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">IntegrationTestRegionReplicaPerf.Stat</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ResourceChecker.Phase.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ResourceChecker.Phase</span></a></li>
 </ul>
 </li>
 </ul>
index 28973e0..a1c9b1d 100644 (file)
 <ul>
 <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a>
 <ul>
-<li type="circle">org.apache.hadoop.hbase.procedure2.Procedure&lt;TEnvironment&gt; (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;)
+<li type="circle">org.apache.hadoop.hbase.procedure.Procedure (implements java.util.concurrent.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Callable.html?is-external=true" title="class or interface in java.util.concurrent">Callable</a>&lt;V&gt;, org.apache.hadoop.hbase.errorhandling.ForeignExceptionListener)
 <ul>
-<li type="circle">org.apache.hadoop.hbase.procedure.<a href="../../../../../org/apache/hadoop/hbase/procedure/TestProcedureDescriber.TestProcedure.html" title="class in org.apache.hadoop.hbase.procedure"><span class="typeNameLink">TestProcedureDescriber.TestProcedure</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.procedure.<a href="../../../../../org/apache/hadoop/hbase/procedure/TestProcedure.LatchedProcedure.html" title="class in org.apache.hadoop.hbase.procedure"><span class="typeNameLink">TestProcedure.LatchedProcedure</span></a></li>
 </ul>
 </li>
-<li type="circle">org.apache.hadoop.hbase.procedure.Procedure (implements java.util.concurrent.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Callable.html?is-external=true" title="class or interface in java.util.concurrent">Callable</a>&lt;V&gt;, org.apache.hadoop.hbase.errorhandling.ForeignExceptionListener)
+<li type="circle">org.apache.hadoop.hbase.procedure2.Procedure&lt;TEnvironment&gt; (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;)
 <ul>
-<li type="circle">org.apache.hadoop.hbase.procedure.<a href="../../../../../org/apache/hadoop/hbase/procedure/TestProcedure.LatchedProcedure.html" title="class in org.apache.hadoop.hbase.procedure"><span class="typeNameLink">TestProcedure.LatchedProcedure</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.procedure.<a href="../../../../../org/apache/hadoop/hbase/procedure/TestProcedureDescriber.TestProcedure.html" title="class in org.apache.hadoop.hbase.procedure"><span class="typeNameLink">TestProcedureDescriber.TestProcedure</span></a></li>
 </ul>
 </li>
 <li type="circle">org.apache.hadoop.hbase.procedure.ProcedureManager
index 6e82899..2d8c701 100644 (file)
 <ul>
 <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
 <ul>
-<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/TestStateMachineProcedure.TestSMProcedureState.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">TestStateMachineProcedure.TestSMProcedureState</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/TestYieldProcedures.TestStateMachineProcedure.State.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">TestYieldProcedures.TestStateMachineProcedure.State</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/TestProcedureBypass.StuckStateMachineState.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">TestProcedureBypass.StuckStateMachineState</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/TestProcedureRecovery.TestStateMachineProcedure.State.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">TestProcedureRecovery.TestStateMachineProcedure.State</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/TestStateMachineProcedure.TestSMProcedureState.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">TestStateMachineProcedure.TestSMProcedureState</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/TestYieldProcedures.TestStateMachineProcedure.State.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">TestYieldProcedures.TestStateMachineProcedure.State</span></a></li>
 </ul>
 </li>
 </ul>
index 0e47559..87e0236 100644 (file)
 <ul>
 <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
 <ul>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/DataBlockEncodingTool.Manipulation.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">DataBlockEncodingTool.Manipulation</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestRegionServerReadRequestMetrics.Metric.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestRegionServerReadRequestMetrics.Metric</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestCacheOnWriteInSchema.CacheOnWriteType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestCacheOnWriteInSchema.CacheOnWriteType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestAtomicOperation.TestStep.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestAtomicOperation.TestStep</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestRegionServerReadRequestMetrics.Metric.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestRegionServerReadRequestMetrics.Metric</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.ActionType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestMultiLogThreshold.ActionType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestCacheOnWriteInSchema.CacheOnWriteType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestCacheOnWriteInSchema.CacheOnWriteType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/DataBlockEncodingTool.Manipulation.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">DataBlockEncodingTool.Manipulation</span></a></li>
 </ul>
 </li>
 </ul>
index ff48e4c..ec4ec49 100644 (file)
 <ul>
 <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
 <ul>
-<li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestBigLinkedList.Generator.Counts.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestBigLinkedList.Generator.Counts</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestLoadAndVerify.Counters.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestLoadAndVerify.Counters</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestWithCellVisibilityLoadAndVerify.Counters.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestWithCellVisibilityLoadAndVerify.Counters</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestBigLinkedList.Generator.Counts.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestBigLinkedList.Generator.Counts</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestBigLinkedList.Verify.Counts.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestBigLinkedList.Verify.Counts</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestLoadAndVerify.Counters.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestLoadAndVerify.Counters</span></a></li>
 </ul>
 </li>
 </ul>
index a9f1e66..7ec7716 100644 (file)
 <ul>
 <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
 <ul>
-<li type="circle">org.apache.hadoop.hbase.wal.<a href="../../../../../org/apache/hadoop/hbase/wal/FaultyFSLog.FailureType.html" title="enum in org.apache.hadoop.hbase.wal"><span class="typeNameLink">FaultyFSLog.FailureType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.wal.<a href="../../../../../org/apache/hadoop/hbase/wal/TestWALSplit.Corruptions.html" title="enum in org.apache.hadoop.hbase.wal"><span class="typeNameLink">TestWALSplit.Corruptions</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.wal.<a href="../../../../../org/apache/hadoop/hbase/wal/IOTestProvider.AllowedOperations.html" title="enum in org.apache.hadoop.hbase.wal"><span class="typeNameLink">IOTestProvider.AllowedOperations</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.wal.<a href="../../../../../org/apache/hadoop/hbase/wal/FaultyFSLog.FailureType.html" title="enum in org.apache.hadoop.hbase.wal"><span class="typeNameLink">FaultyFSLog.FailureType</span></a></li>
 </ul>
 </li>
 </ul>
index 4635d99..04980f6 100644 (file)
 <span class="sourceLineNo">067</span>import org.slf4j.Logger;<a name="line.67"></a>
 <span class="sourceLineNo">068</span>import org.slf4j.LoggerFactory;<a name="line.68"></a>
 <span class="sourceLineNo">069</span><a name="line.69"></a>
-<span class="sourceLineNo">070</span>import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil;<a name="line.70"></a>
-<span class="sourceLineNo">071</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionRequest;<a name="line.71"></a>
-<span class="sourceLineNo">072</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionResponse;<a name="line.72"></a>
-<span class="sourceLineNo">073</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresRequest;<a name="line.73"></a>
-<span class="sourceLineNo">074</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse;<a name="line.74"></a>
-<span class="sourceLineNo">075</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest;<a name="line.75"></a>
-<span class="sourceLineNo">076</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo;<a name="line.76"></a>
-<span class="sourceLineNo">077</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse;<a name="line.77"></a>
-<span class="sourceLineNo">078</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse.RegionOpeningState;<a name="line.78"></a>
-<span class="sourceLineNo">079</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionStateTransition;<a name="line.79"></a>
-<span class="sourceLineNo">080</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionStateTransition.TransitionCode;<a name="line.80"></a>
-<span class="sourceLineNo">081</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.ReportRegionStateTransitionRequest;<a name="line.81"></a>
-<span class="sourceLineNo">082</span><a name="line.82"></a>
-<span class="sourceLineNo">083</span>/**<a name="line.83"></a>
-<span class="sourceLineNo">084</span> * Base class for AM test.<a name="line.84"></a>
-<span class="sourceLineNo">085</span> */<a name="line.85"></a>
-<span class="sourceLineNo">086</span>public abstract class TestAssignmentManagerBase {<a name="line.86"></a>
-<span class="sourceLineNo">087</span><a name="line.87"></a>
-<span class="sourceLineNo">088</span>  private static final Logger LOG = LoggerFactory.getLogger(TestAssignmentManagerBase.class);<a name="line.88"></a>
+<span class="sourceLineNo">070</span>import org.apache.hbase.thirdparty.com.google.common.util.concurrent.ThreadFactoryBuilder;<a name="line.70"></a>
+<span class="sourceLineNo">071</span><a name="line.71"></a>
+<span class="sourceLineNo">072</span>import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil;<a name="line.72"></a>
+<span class="sourceLineNo">073</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionRequest;<a name="line.73"></a>
+<span class="sourceLineNo">074</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionResponse;<a name="line.74"></a>
+<span class="sourceLineNo">075</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresRequest;<a name="line.75"></a>
+<span class="sourceLineNo">076</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse;<a name="line.76"></a>
+<span class="sourceLineNo">077</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest;<a name="line.77"></a>
+<span class="sourceLineNo">078</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo;<a name="line.78"></a>
+<span class="sourceLineNo">079</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse;<a name="line.79"></a>
+<span class="sourceLineNo">080</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse.RegionOpeningState;<a name="line.80"></a>
+<span class="sourceLineNo">081</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionStateTransition;<a name="line.81"></a>
+<span class="sourceLineNo">082</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionStateTransition.TransitionCode;<a name="line.82"></a>
+<span class="sourceLineNo">083</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.ReportRegionStateTransitionRequest;<a name="line.83"></a>
+<span class="sourceLineNo">084</span><a name="line.84"></a>
+<span class="sourceLineNo">085</span>/**<a name="line.85"></a>
+<span class="sourceLineNo">086</span> * Base class for AM test.<a name="line.86"></a>
+<span class="sourceLineNo">087</span> */<a name="line.87"></a>
+<span class="sourceLineNo">088</span>public abstract class TestAssignmentManagerBase {<a name="line.88"></a>
 <span class="sourceLineNo">089</span><a name="line.89"></a>
-<span class="sourceLineNo">090</span>  @Rule<a name="line.90"></a>
-<span class="sourceLineNo">091</span>  public TestName name = new TestName();<a name="line.91"></a>
+<span class="sourceLineNo">090</span>  private static final Logger LOG = LoggerFactory.getLogger(TestAssignmentManagerBase.class);<a name="line.90"></a>
+<span class="sourceLineNo">091</span><a name="line.91"></a>
 <span class="sourceLineNo">092</span>  @Rule<a name="line.92"></a>
-<span class="sourceLineNo">093</span>  public final ExpectedException exception = ExpectedException.none();<a name="line.93"></a>
-<span class="sourceLineNo">094</span><a name="line.94"></a>
-<span class="sourceLineNo">095</span>  protected static final int PROC_NTHREADS = 64;<a name="line.95"></a>
-<span class="sourceLineNo">096</span>  protected static final int NREGIONS = 1 * 1000;<a name="line.96"></a>
-<span class="sourceLineNo">097</span>  protected static final int NSERVERS = Math.max(1, NREGIONS / 100);<a name="line.97"></a>
-<span class="sourceLineNo">098</span><a name="line.98"></a>
-<span class="sourceLineNo">099</span>  protected HBaseTestingUtility util;<a name="line.99"></a>
-<span class="sourceLineNo">100</span>  protected MockRSProcedureDispatcher rsDispatcher;<a name="line.100"></a>
-<span class="sourceLineNo">101</span>  protected MockMasterServices master;<a name="line.101"></a>
-<span class="sourceLineNo">102</span>  protected AssignmentManager am;<a name="line.102"></a>
-<span class="sourceLineNo">103</span>  protected NavigableMap&lt;ServerName, SortedSet&lt;byte[]&gt;&gt; regionsToRegionServers =<a name="line.103"></a>
-<span class="sourceLineNo">104</span>    new ConcurrentSkipListMap&lt;ServerName, SortedSet&lt;byte[]&gt;&gt;();<a name="line.104"></a>
-<span class="sourceLineNo">105</span>  // Simple executor to run some simple tasks.<a name="line.105"></a>
-<span class="sourceLineNo">106</span>  protected ScheduledExecutorService executor;<a name="line.106"></a>
-<span class="sourceLineNo">107</span><a name="line.107"></a>
-<span class="sourceLineNo">108</span>  protected ProcedureMetrics assignProcMetrics;<a name="line.108"></a>
-<span class="sourceLineNo">109</span>  protected ProcedureMetrics unassignProcMetrics;<a name="line.109"></a>
-<span class="sourceLineNo">110</span><a name="line.110"></a>
-<span class="sourceLineNo">111</span>  protected long assignSubmittedCount = 0;<a name="line.111"></a>
-<span class="sourceLineNo">112</span>  protected long assignFailedCount = 0;<a name="line.112"></a>
-<span class="sourceLineNo">113</span>  protected long unassignSubmittedCount = 0;<a name="line.113"></a>
-<span class="sourceLineNo">114</span>  protected long unassignFailedCount = 0;<a name="line.114"></a>
-<span class="sourceLineNo">115</span><a name="line.115"></a>
-<span class="sourceLineNo">116</span>  protected int getAssignMaxAttempts() {<a name="line.116"></a>
-<span class="sourceLineNo">117</span>    // Have many so we succeed eventually.<a name="line.117"></a>
-<span class="sourceLineNo">118</span>    return 100;<a name="line.118"></a>
-<span class="sourceLineNo">119</span>  }<a name="line.119"></a>
-<span class="sourceLineNo">120</span><a name="line.120"></a>
-<span class="sourceLineNo">121</span>  protected void setupConfiguration(Configuration conf) throws Exception {<a name="line.121"></a>
-<span class="sourceLineNo">122</span>    FSUtils.setRootDir(conf, util.getDataTestDir());<a name="line.122"></a>
-<span class="sourceLineNo">123</span>    conf.setBoolean(WALProcedureStore.USE_HSYNC_CONF_KEY, false);<a name="line.123"></a>
-<span class="sourceLineNo">124</span>    conf.setInt(WALProcedureStore.SYNC_WAIT_MSEC_CONF_KEY, 10);<a name="line.124"></a>
-<span class="sourceLineNo">125</span>    conf.setInt(MasterProcedureConstants.MASTER_PROCEDURE_THREADS, PROC_NTHREADS);<a name="line.125"></a>
-<span class="sourceLineNo">126</span>    conf.setInt(RSProcedureDispatcher.RS_RPC_STARTUP_WAIT_TIME_CONF_KEY, 1000);<a name="line.126"></a>
-<span class="sourceLineNo">127</span>    conf.setInt(AssignmentManager.ASSIGN_MAX_ATTEMPTS, getAssignMaxAttempts());<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>  @Before<a name="line.130"></a>
-<span class="sourceLineNo">131</span>  public void setUp() throws Exception {<a name="line.131"></a>
-<span class="sourceLineNo">132</span>    util = new HBaseTestingUtility();<a name="line.132"></a>
-<span class="sourceLineNo">133</span>    this.executor = Executors.newSingleThreadScheduledExecutor();<a name="line.133"></a>
-<span class="sourceLineNo">134</span>    setupConfiguration(util.getConfiguration());<a name="line.134"></a>
-<span class="sourceLineNo">135</span>    master = new MockMasterServices(util.getConfiguration(), this.regionsToRegionServers);<a name="line.135"></a>
-<span class="sourceLineNo">136</span>    rsDispatcher = new MockRSProcedureDispatcher(master);<a name="line.136"></a>
-<span class="sourceLineNo">137</span>    master.start(NSERVERS, rsDispatcher);<a name="line.137"></a>
-<span class="sourceLineNo">138</span>    am = master.getAssignmentManager();<a name="line.138"></a>
-<span class="sourceLineNo">139</span>    assignProcMetrics = am.getAssignmentManagerMetrics().getAssignProcMetrics();<a name="line.139"></a>
-<span class="sourceLineNo">140</span>    unassignProcMetrics = am.getAssignmentManagerMetrics().getUnassignProcMetrics();<a name="line.140"></a>
-<span class="sourceLineNo">141</span>    setUpMeta();<a name="line.141"></a>
-<span class="sourceLineNo">142</span>  }<a name="line.142"></a>
-<span class="sourceLineNo">143</span><a name="line.143"></a>
-<span class="sourceLineNo">144</span>  protected void setUpMeta() throws Exception {<a name="line.144"></a>
-<span class="sourceLineNo">145</span>    rsDispatcher.setMockRsExecutor(new GoodRsExecutor());<a name="line.145"></a>
-<span class="sourceLineNo">146</span>    am.assign(RegionInfoBuilder.FIRST_META_REGIONINFO);<a name="line.146"></a>
-<span class="sourceLineNo">147</span>    am.wakeMetaLoadedEvent();<a name="line.147"></a>
+<span class="sourceLineNo">093</span>  public TestName name = new TestName();<a name="line.93"></a>
+<span class="sourceLineNo">094</span>  @Rule<a name="line.94"></a>
+<span class="sourceLineNo">095</span>  public final ExpectedException exception = ExpectedException.none();<a name="line.95"></a>
+<span class="sourceLineNo">096</span><a name="line.96"></a>
+<span class="sourceLineNo">097</span>  protected static final int PROC_NTHREADS = 64;<a name="line.97"></a>
+<span class="sourceLineNo">098</span>  protected static final int NREGIONS = 1 * 1000;<a name="line.98"></a>
+<span class="sourceLineNo">099</span>  protected static final int NSERVERS = Math.max(1, NREGIONS / 100);<a name="line.99"></a>
+<span class="sourceLineNo">100</span><a name="line.100"></a>
+<span class="sourceLineNo">101</span>  protected HBaseTestingUtility util;<a name="line.101"></a>
+<span class="sourceLineNo">102</span>  protected MockRSProcedureDispatcher rsDispatcher;<a name="line.102"></a>
+<span class="sourceLineNo">103</span>  protected MockMasterServices master;<a name="line.103"></a>
+<span class="sourceLineNo">104</span>  protected AssignmentManager am;<a name="line.104"></a>
+<span class="sourceLineNo">105</span>  protected NavigableMap&lt;ServerName, SortedSet&lt;byte[]&gt;&gt; regionsToRegionServers =<a name="line.105"></a>
+<span class="sourceLineNo">106</span>    new ConcurrentSkipListMap&lt;ServerName, SortedSet&lt;byte[]&gt;&gt;();<a name="line.106"></a>
+<span class="sourceLineNo">107</span>  // Simple executor to run some simple tasks.<a name="line.107"></a>
+<span class="sourceLineNo">108</span>  protected ScheduledExecutorService executor;<a name="line.108"></a>
+<span class="sourceLineNo">109</span><a name="line.109"></a>
+<span class="sourceLineNo">110</span>  protected ProcedureMetrics assignProcMetrics;<a name="line.110"></a>
+<span class="sourceLineNo">111</span>  protected ProcedureMetrics unassignProcMetrics;<a name="line.111"></a>
+<span class="sourceLineNo">112</span><a name="line.112"></a>
+<span class="sourceLineNo">113</span>  protected long assignSubmittedCount = 0;<a name="line.113"></a>
+<span class="sourceLineNo">114</span>  protected long assignFailedCount = 0;<a name="line.114"></a>
+<span class="sourceLineNo">115</span>  protected long unassignSubmittedCount = 0;<a name="line.115"></a>
+<span class="sourceLineNo">116</span>  protected long unassignFailedCount = 0;<a name="line.116"></a>
+<span class="sourceLineNo">117</span><a name="line.117"></a>
+<span class="sourceLineNo">118</span>  protected int newRsAdded;<a name="line.118"></a>
+<span class="sourceLineNo">119</span><a name="line.119"></a>
+<span class="sourceLineNo">120</span>  protected int getAssignMaxAttempts() {<a name="line.120"></a>
+<span class="sourceLineNo">121</span>    // Have many so we succeed eventually.<a name="line.121"></a>
+<span class="sourceLineNo">122</span>    return 1000;<a name="line.122"></a>
+<span class="sourceLineNo">123</span>  }<a name="line.123"></a>
+<span class="sourceLineNo">124</span><a name="line.124"></a>
+<span class="sourceLineNo">125</span>  protected void setupConfiguration(Configuration conf) throws Exception {<a name="line.125"></a>
+<span class="sourceLineNo">126</span>    FSUtils.setRootDir(conf, util.getDataTestDir());<a name="line.126"></a>
+<span class="sourceLineNo">127</span>    conf.setBoolean(WALProcedureStore.USE_HSYNC_CONF_KEY, false);<a name="line.127"></a>
+<span class="sourceLineNo">128</span>    conf.setInt(WALProcedureStore.SYNC_WAIT_MSEC_CONF_KEY, 10);<a name="line.128"></a>
+<span class="sourceLineNo">129</span>    conf.setInt(MasterProcedureConstants.MASTER_PROCEDURE_THREADS, PROC_NTHREADS);<a name="line.129"></a>
+<span class="sourceLineNo">130</span>    conf.setInt(RSProcedureDispatcher.RS_RPC_STARTUP_WAIT_TIME_CONF_KEY, 1000);<a name="line.130"></a>
+<span class="sourceLineNo">131</span>    conf.setInt(AssignmentManager.ASSIGN_MAX_ATTEMPTS, getAssignMaxAttempts());<a name="line.131"></a>
+<span class="sourceLineNo">132</span>  }<a name="line.132"></a>
+<span class="sourceLineNo">133</span><a name="line.133"></a>
+<span class="sourceLineNo">134</span>  @Before<a name="line.134"></a>
+<span class="sourceLineNo">135</span>  public void setUp() throws Exception {<a name="line.135"></a>
+<span class="sourceLineNo">136</span>    util = new HBaseTestingUtility();<a name="line.136"></a>
+<span class="sourceLineNo">137</span>    this.executor = Executors.newSingleThreadScheduledExecutor(new ThreadFactoryBuilder()<a name="line.137"></a>
+<span class="sourceLineNo">138</span>      .setUncaughtExceptionHandler((t, e) -&gt; LOG.warn("Uncaught: ", e)).build());<a name="line.138"></a>
+<span class="sourceLineNo">139</span>    setupConfiguration(util.getConfiguration());<a name="line.139"></a>
+<span class="sourceLineNo">140</span>    master = new MockMasterServices(util.getConfiguration(), this.regionsToRegionServers);<a name="line.140"></a>
+<span class="sourceLineNo">141</span>    rsDispatcher = new MockRSProcedureDispatcher(master);<a name="line.141"></a>
+<span class="sourceLineNo">142</span>    master.start(NSERVERS, rsDispatcher);<a name="line.142"></a>
+<span class="sourceLineNo">143</span>    newRsAdded = 0;<a name="line.143"></a>
+<span class="sourceLineNo">144</span>    am = master.getAssignmentManager();<a name="line.144"></a>
+<span class="sourceLineNo">145</span>    assignProcMetrics = am.getAssignmentManagerMetrics().getAssignProcMetrics();<a name="line.145"></a>
+<span class="sourceLineNo">146</span>    unassignProcMetrics = am.getAssignmentManagerMetrics().getUnassignProcMetrics();<a name="line.146"></a>
+<span class="sourceLineNo">147</span>    setUpMeta();<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>  @After<a name="line.150"></a>
-<span class="sourceLineNo">151</span>  public void tearDown() throws Exception {<a name="line.151"></a>
-<span class="sourceLineNo">152</span>    master.stop("tearDown");<a name="line.152"></a>
-<span class="sourceLineNo">153</span>    this.executor.shutdownNow();<a name="line.153"></a>
+<span class="sourceLineNo">150</span>  protected void setUpMeta() throws Exception {<a name="line.150"></a>
+<span class="sourceLineNo">151</span>    rsDispatcher.setMockRsExecutor(new GoodRsExecutor());<a name="line.151"></a>
+<span class="sourceLineNo">152</span>    am.assign(RegionInfoBuilder.FIRST_META_REGIONINFO);<a name="line.152"></a>
+<span class="sourceLineNo">153</span>    am.wakeMetaLoadedEvent();<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>  protected class NoopRsExecutor implements MockRSExecutor {<a name="line.156"></a>
-<span class="sourceLineNo">157</span>    @Override<a name="line.157"></a>
-<span class="sourceLineNo">158</span>    public ExecuteProceduresResponse sendRequest(ServerName server,<a name="line.158"></a>
-<span class="sourceLineNo">159</span>        ExecuteProceduresRequest request) throws IOException {<a name="line.159"></a>
-<span class="sourceLineNo">160</span>      if (request.getOpenRegionCount() &gt; 0) {<a name="line.160"></a>
-<span class="sourceLineNo">161</span>        for (OpenRegionRequest req : request.getOpenRegionList()) {<a name="line.161"></a>
-<span class="sourceLineNo">162</span>          for (RegionOpenInfo openReq : req.getOpenInfoList()) {<a name="line.162"></a>
-<span class="sourceLineNo">163</span>            execOpenRegion(server, openReq);<a name="line.163"></a>
-<span class="sourceLineNo">164</span>          }<a name="line.164"></a>
-<span class="sourceLineNo">165</span>        }<a name="line.165"></a>
-<span class="sourceLineNo">166</span>      }<a name="line.166"></a>
-<span class="sourceLineNo">167</span>      if (request.getCloseRegionCount() &gt; 0) {<a name="line.167"></a>
-<span class="sourceLineNo">168</span>        for (CloseRegionRequest req : request.getCloseRegionList()) {<a name="line.168"></a>
-<span class="sourceLineNo">169</span>          execCloseRegion(server, req.getRegion().getValue().toByteArray());<a name="line.169"></a>
-<span class="sourceLineNo">170</span>        }<a name="line.170"></a>
-<span class="sourceLineNo">171</span>      }<a name="line.171"></a>
-<span class="sourceLineNo">172</span>      return ExecuteProceduresResponse.newBuilder().build();<a name="line.172"></a>
-<span class="sourceLineNo">173</span>    }<a name="line.173"></a>
-<span class="sourceLineNo">174</span><a name="line.174"></a>
-<span class="sourceLineNo">175</span>    protected RegionOpeningState execOpenRegion(ServerName server, RegionOpenInfo regionInfo)<a name="line.175"></a>
-<span class="sourceLineNo">176</span>        throws IOException {<a name="line.176"></a>
-<span class="sourceLineNo">177</span>      return null;<a name="line.177"></a>
-<span class="sourceLineNo">178</span>    }<a name="line.178"></a>
-<span class="sourceLineNo">179</span><a name="line.179"></a>
-<span class="sourceLineNo">180</span>    protected CloseRegionResponse execCloseRegion(ServerName server, byte[] regionName)<a name="line.180"></a>
-<span class="sourceLineNo">181</span>        throws IOException {<a name="line.181"></a>
-<span class="sourceLineNo">182</span>      return null;<a name="line.182"></a>
-<span class="sourceLineNo">183</span>    }<a name="line.183"></a>
-<span class="sourceLineNo">184</span>  }<a name="line.184"></a>
+<span class="sourceLineNo">156</span>  @After<a name="line.156"></a>
+<span class="sourceLineNo">157</span>  public void tearDown() throws Exception {<a name="line.157"></a>
+<span class="sourceLineNo">158</span>    master.stop("tearDown");<a name="line.158"></a>
+<span class="sourceLineNo">159</span>    this.executor.shutdownNow();<a name="line.159"></a>
+<span class="sourceLineNo">160</span>  }<a name="line.160"></a>
+<span class="sourceLineNo">161</span><a name="line.161"></a>
+<span class="sourceLineNo">162</span>  protected class NoopRsExecutor implements MockRSExecutor {<a name="line.162"></a>
+<span class="sourceLineNo">163</span>    @Override<a name="line.163"></a>
+<span class="sourceLineNo">164</span>    public ExecuteProceduresResponse sendRequest(ServerName server,<a name="line.164"></a>
+<span class="sourceLineNo">165</span>        ExecuteProceduresRequest request) throws IOException {<a name="line.165"></a>
+<span class="sourceLineNo">166</span>      if (request.getOpenRegionCount() &gt; 0) {<a name="line.166"></a>
+<span class="sourceLineNo">167</span>        for (OpenRegionRequest req : request.getOpenRegionList()) {<a name="line.167"></a>
+<span class="sourceLineNo">168</span>          for (RegionOpenInfo openReq : req.getOpenInfoList()) {<a name="line.168"></a>
+<span class="sourceLineNo">169</span>            execOpenRegion(server, openReq);<a name="line.169"></a>
+<span class="sourceLineNo">170</span>          }<a name="line.170"></a>
+<span class="sourceLineNo">171</span>        }<a name="line.171"></a>
+<span class="sourceLineNo">172</span>      }<a name="line.172"></a>
+<span class="sourceLineNo">173</span>      if (request.getCloseRegionCount() &gt; 0) {<a name="line.173"></a>
+<span class="sourceLineNo">174</span>        for (CloseRegionRequest req : request.getCloseRegionList()) {<a name="line.174"></a>
+<span class="sourceLineNo">175</span>          execCloseRegion(server, req.getRegion().getValue().toByteArray());<a name="line.175"></a>
+<span class="sourceLineNo">176</span>        }<a name="line.176"></a>
+<span class="sourceLineNo">177</span>      }<a name="line.177"></a>
+<span class="sourceLineNo">178</span>      return ExecuteProceduresResponse.newBuilder().build();<a name="line.178"></a>
+<span class="sourceLineNo">179</span>    }<a name="line.179"></a>
+<span class="sourceLineNo">180</span><a name="line.180"></a>
+<span class="sourceLineNo">181</span>    protected RegionOpeningState execOpenRegion(ServerName server, RegionOpenInfo regionInfo)<a name="line.181"></a>
+<span class="sourceLineNo">182</span>        throws IOException {<a name="line.182"></a>
+<span class="sourceLineNo">183</span>      return null;<a name="line.183"></a>
+<span class="sourceLineNo">184</span>    }<a name="line.184"></a>
 <span class="sourceLineNo">185</span><a name="line.185"></a>
-<span class="sourceLineNo">186</span>  protected Future&lt;byte[]&gt; submitProcedure(final Procedure&lt;MasterProcedureEnv&gt; proc) {<a name="line.186"></a>
-<span class="sourceLineNo">187</span>    return ProcedureSyncWait.submitProcedure(master.getMasterProcedureExecutor(), proc);<a name="line.187"></a>
-<span class="sourceLineNo">188</span>  }<a name="line.188"></a>
-<span class="sourceLineNo">189</span><a name="line.189"></a>
-<span class="sourceLineNo">190</span>  protected byte[] waitOnFuture(final Future&lt;byte[]&gt; future) throws Exception {<a name="line.190"></a>
-<span class="sourceLineNo">191</span>    try {<a name="line.191"></a>
-<span class="sourceLineNo">192</span>      return future.get(60, TimeUnit.SECONDS);<a name="line.192"></a>
-<span class="sourceLineNo">193</span>    } catch (ExecutionException e) {<a name="line.193"></a>
-<span class="sourceLineNo">194</span>      LOG.info("ExecutionException", e);<a name="line.194"></a>
-<span class="sourceLineNo">195</span>      Exception ee = (Exception) e.getCause();<a name="line.195"></a>
-<span class="sourceLineNo">196</span>      if (ee instanceof InterruptedIOException) {<a name="line.196"></a>
-<span class="sourceLineNo">197</span>        for (Procedure&lt;?&gt; p : this.master.getMasterProcedureExecutor().getProcedures()) {<a name="line.197"></a>
-<span class="sourceLineNo">198</span>          LOG.info(p.toStringDetails());<a name="line.198"></a>
-<span class="sourceLineNo">199</span>        }<a name="line.199"></a>
-<span class="sourceLineNo">200</span>      }<a name="line.200"></a>
-<span class="sourceLineNo">201</span>      throw (Exception) e.getCause();<a name="line.201"></a>
-<span class="sourceLineNo">202</span>    }<a name="line.202"></a>
-<span class="sourceLineNo">203</span>  }<a name="line.203"></a>
-<span class="sourceLineNo">204</span><a name="line.204"></a>
-<span class="sourceLineNo">205</span>  // ============================================================================================<a name="line.205"></a>
-<span class="sourceLineNo">206</span>  // Helpers<a name="line.206"></a>
-<span class="sourceLineNo">207</span>  // ============================================================================================<a name="line.207"></a>
-<span class="sourceLineNo">208</span>  protected void bulkSubmit(TransitRegionStateProcedure[] procs) throws Exception {<a name="line.208"></a>
-<span class="sourceLineNo">209</span>    Thread[] threads = new Thread[PROC_NTHREADS];<a name="line.209"></a>
-<span class="sourceLineNo">210</span>    for (int i = 0; i &lt; threads.length; ++i) {<a name="line.210"></a>
-<span class="sourceLineNo">211</span>      final int threadId = i;<a name="line.211"></a>
-<span class="sourceLineNo">212</span>      threads[i] = new Thread() {<a name="line.212"></a>
-<span class="sourceLineNo">213</span>        @Override<a name="line.213"></a>
-<span class="sourceLineNo">214</span>        public void run() {<a name="line.214"></a>
-<span class="sourceLineNo">215</span>          TableName tableName = TableName.valueOf("table-" + threadId);<a name="line.215"></a>
-<span class="sourceLineNo">216</span>          int n = (procs.length / threads.length);<a name="line.216"></a>
-<span class="sourceLineNo">217</span>          int start = threadId * n;<a name="line.217"></a>
-<span class="sourceLineNo">218</span>          int stop = start + n;<a name="line.218"></a>
-<span class="sourceLineNo">219</span>          for (int j = start; j &lt; stop; ++j) {<a name="line.219"></a>
-<span class="sourceLineNo">220</span>            procs[j] = createAndSubmitAssign(tableName, j);<a name="line.220"></a>
-<span class="sourceLineNo">221</span>          }<a name="line.221"></a>
-<span class="sourceLineNo">222</span>        }<a name="line.222"></a>
-<span class="sourceLineNo">223</span>      };<a name="line.223"></a>
-<span class="sourceLineNo">224</span>      threads[i].start();<a name="line.224"></a>
-<span class="sourceLineNo">225</span>    }<a name="line.225"></a>
-<span class="sourceLineNo">226</span>    for (int i = 0; i &lt; threads.length; ++i) {<a name="line.226"></a>
-<span class="sourceLineNo">227</span>      threads[i].join();<a name="line.227"></a>
-<span class="sourceLineNo">228</span>    }<a name="line.228"></a>
-<span class="sourceLineNo">229</span>    for (int i = procs.length - 1; i &gt;= 0 &amp;&amp; procs[i] == null; --i) {<a name="line.229"></a>
-<span class="sourceLineNo">230</span>      procs[i] = createAndSubmitAssign(TableName.valueOf("table-sync"), i);<a name="line.230"></a>
+<span class="sourceLineNo">186</span>    protected CloseRegionResponse execCloseRegion(ServerName server, byte[] regionName)<a name="line.186"></a>
+<span class="sourceLineNo">187</span>        throws IOException {<a name="line.187"></a>
+<span class="sourceLineNo">188</span>      return null;<a name="line.188"></a>
+<span class="sourceLineNo">189</span>    }<a name="line.189"></a>
+<span class="sourceLineNo">190</span>  }<a name="line.190"></a>
+<span class="sourceLineNo">191</span><a name="line.191"></a>
+<span class="sourceLineNo">192</span>  protected Future&lt;byte[]&gt; submitProcedure(final Procedure&lt;MasterProcedureEnv&gt; proc) {<a name="line.192"></a>
+<span class="sourceLineNo">193</span>    return ProcedureSyncWait.submitProcedure(master.getMasterProcedureExecutor(), proc);<a name="line.193"></a>
+<span class="sourceLineNo">194</span>  }<a name="line.194"></a>
+<span class="sourceLineNo">195</span><a name="line.195"></a>
+<span class="sourceLineNo">196</span>  protected byte[] waitOnFuture(final Future&lt;byte[]&gt; future) throws Exception {<a name="line.196"></a>
+<span class="sourceLineNo">197</span>    try {<a name="line.197"></a>
+<span class="sourceLineNo">198</span>      return future.get(3, TimeUnit.MINUTES);<a name="line.198"></a>
+<span class="sourceLineNo">199</span>    } catch (ExecutionException e) {<a name="line.199"></a>
+<span class="sourceLineNo">200</span>      LOG.info("ExecutionException", e);<a name="line.200"></a>
+<span class="sourceLineNo">201</span>      Exception ee = (Exception) e.getCause();<a name="line.201"></a>
+<span class="sourceLineNo">202</span>      if (ee instanceof InterruptedIOException) {<a name="line.202"></a>
+<span class="sourceLineNo">203</span>        for (Procedure&lt;?&gt; p : this.master.getMasterProcedureExecutor().getProcedures()) {<a name="line.203"></a>
+<span class="sourceLineNo">204</span>          LOG.info(p.toStringDetails());<a name="line.204"></a>
+<span class="sourceLineNo">205</span>        }<a name="line.205"></a>
+<span class="sourceLineNo">206</span>      }<a name="line.206"></a>
+<span class="sourceLineNo">207</span>      throw (Exception) e.getCause();<a name="line.207"></a>
+<span class="sourceLineNo">208</span>    }<a name="line.208"></a>
+<span class="sourceLineNo">209</span>  }<a name="line.209"></a>
+<span class="sourceLineNo">210</span><a name="line.210"></a>
+<span class="sourceLineNo">211</span>  // ============================================================================================<a name="line.211"></a>
+<span class="sourceLineNo">212</span>  // Helpers<a name="line.212"></a>
+<span class="sourceLineNo">213</span>  // ============================================================================================<a name="line.213"></a>
+<span class="sourceLineNo">214</span>  protected void bulkSubmit(TransitRegionStateProcedure[] procs) throws Exception {<a name="line.214"></a>
+<span class="sourceLineNo">215</span>    Thread[] threads = new Thread[PROC_NTHREADS];<a name="line.215"></a>
+<span class="sourceLineNo">216</span>    for (int i = 0; i &lt; threads.length; ++i) {<a name="line.216"></a>
+<span class="sourceLineNo">217</span>      final int threadId = i;<a name="line.217"></a>
+<span class="sourceLineNo">218</span>      threads[i] = new Thread() {<a name="line.218"></a>
+<span class="sourceLineNo">219</span>        @Override<a name="line.219"></a>
+<span class="sourceLineNo">220</span>        public void run() {<a name="line.220"></a>
+<span class="sourceLineNo">221</span>          TableName tableName = TableName.valueOf("table-" + threadId);<a name="line.221"></a>
+<span class="sourceLineNo">222</span>          int n = (procs.length / threads.length);<a name="line.222"></a>
+<span class="sourceLineNo">223</span>          int start = threadId * n;<a name="line.223"></a>
+<span class="sourceLineNo">224</span>          int stop = start + n;<a name="line.224"></a>
+<span class="sourceLineNo">225</span>          for (int j = start; j &lt; stop; ++j) {<a name="line.225"></a>
+<span class="sourceLineNo">226</span>            procs[j] = createAndSubmitAssign(tableName, j);<a name="line.226"></a>
+<span class="sourceLineNo">227</span>          }<a name="line.227"></a>
+<span class="sourceLineNo">228</span>        }<a name="line.228"></a>
+<span class="sourceLineNo">229</span>      };<a name="line.229"></a>
+<span class="sourceLineNo">230</span>      threads[i].start();<a name="line.230"></a>
 <span class="sourceLineNo">231</span>    }<a name="line.231"></a>
-<span class="sourceLineNo">232</span>  }<a name="line.232"></a>
-<span class="sourceLineNo">233</span><a name="line.233"></a>
-<span class="sourceLineNo">234</span>  protected TransitRegionStateProcedure createAndSubmitAssign(TableName tableName, int regionId) {<a name="line.234"></a>
-<span class="sourceLineNo">235</span>    RegionInfo hri = createRegionInfo(tableName, regionId);<a name="line.235"></a>
-<span class="sourceLineNo">236</span>    TransitRegionStateProcedure proc = createAssignProcedure(hri);<a name="line.236"></a>
-<span class="sourceLineNo">237</span>    master.getMasterProcedureExecutor().submitProcedure(proc);<a name="line.237"></a>
-<span class="sourceLineNo">238</span>    return proc;<a name="line.238"></a>
-<span class="sourceLineNo">239</span>  }<a name="line.239"></a>
-<span class="sourceLineNo">240</span><a name="line.240"></a>
-<span class="sourceLineNo">241</span>  protected RegionInfo createRegionInfo(final TableName tableName, final long regionId) {<a name="line.241"></a>
-<span class="sourceLineNo">242</span>    return RegionInfoBuilder.newBuilder(tableName).setStartKey(Bytes.toBytes(regionId))<a name="line.242"></a>
-<span class="sourceLineNo">243</span>      .setEndKey(Bytes.toBytes(regionId + 1)).setSplit(false).setRegionId(0).build();<a name="line.243"></a>
-<span class="sourceLineNo">244</span>  }<a name="line.244"></a>
-<span class="sourceLineNo">245</span><a name="line.245"></a>
-<span class="sourceLineNo">246</span>  protected TransitRegionStateProcedure createAssignProcedure(RegionInfo hri) {<a name="line.246"></a>
-<span class="sourceLineNo">247</span>    return am.createAssignProcedures(Arrays.asList(hri))[0];<a name="line.247"></a>
-<span class="sourceLineNo">248</span>  }<a name="line.248"></a>
-<span class="sourceLineNo">249</span><a name="line.249"></a>
-<span class="sourceLineNo">250</span>  protected TransitRegionStateProcedure createUnassignProcedure(RegionInfo hri) {<a name="line.250"></a>
-<span class="sourceLineNo">251</span>    RegionStateNode regionNode = am.getRegionStates().getRegionStateNode(hri);<a name="line.251"></a>
-<span class="sourceLineNo">252</span>    TransitRegionStateProcedure proc;<a name="line.252"></a>
-<span class="sourceLineNo">253</span>    regionNode.lock();<a name="line.253"></a>
-<span class="sourceLineNo">254</span>    try {<a name="line.254"></a>
-<span class="sourceLineNo">255</span>      assertFalse(regionNode.isInTransition());<a name="line.255"></a>
-<span class="sourceLineNo">256</span>      proc = TransitRegionStateProcedure<a name="line.256"></a>
-<span class="sourceLineNo">257</span>        .unassign(master.getMasterProcedureExecutor().getEnvironment(), hri);<a name="line.257"></a>
-<span class="sourceLineNo">258</span>      regionNode.setProcedure(proc);<a name="line.258"></a>
-<span class="sourceLineNo">259</span>    } finally {<a name="line.259"></a>
-<span class="sourceLineNo">260</span>      regionNode.unlock();<a name="line.260"></a>
-<span class="sourceLineNo">261</span>    }<a name="line.261"></a>
-<span class="sourceLineNo">262</span>    return proc;<a name="line.262"></a>
-<span class="sourceLineNo">263</span>  }<a name="line.263"></a>
-<span class="sourceLineNo">264</span><a name="line.264"></a>
-<span class="sourceLineNo">265</span>  protected void sendTransitionReport(final ServerName serverName,<a name="line.265"></a>
-<span class="sourceLineNo">266</span>      final org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfo regionInfo,<a name="line.266"></a>
-<span class="sourceLineNo">267</span>      final TransitionCode state, long seqId) throws IOException {<a name="line.267"></a>
-<span class="sourceLineNo">268</span>    ReportRegionStateTransitionRequest.Builder req =<a name="line.268"></a>
-<span class="sourceLineNo">269</span>      ReportRegionStateTransitionRequest.newBuilder();<a name="line.269"></a>
-<span class="sourceLineNo">270</span>    req.setServer(ProtobufUtil.toServerName(serverName));<a name="line.270"></a>
-<span class="sourceLineNo">271</span>    req.addTransition(RegionStateTransition.newBuilder().addRegionInfo(regionInfo)<a name="line.271"></a>
-<span class="sourceLineNo">272</span>      .setTransitionCode(state).setOpenSeqNum(seqId).build());<a name="line.272"></a>
-<span class="sourceLineNo">273</span>    am.reportRegionStateTransition(req.build());<a name="line.273"></a>
-<span class="sourceLineNo">274</span>  }<a name="line.274"></a>
-<span class="sourceLineNo">275</span><a name="line.275"></a>
-<span class="sourceLineNo">276</span>  protected void doCrash(final ServerName serverName) {<a name="line.276"></a>
-<span class="sourceLineNo">277</span>    this.master.getServerManager().moveFromOnlineToDeadServers(serverName);<a name="line.277"></a>
-<span class="sourceLineNo">278</span>    this.am.submitServerCrash(serverName, false/* No WALs here */);<a name="line.278"></a>
-<span class="sourceLineNo">279</span>    // add a new server to avoid killing all the region servers which may hang the UTs<a name="line.279"></a>
-<span class="sourceLineNo">280</span>    int maxPort = this.master.getServerManager().getOnlineServersList().stream()<a name="line.280"></a>
-<span class="sourceLineNo">281</span>      .mapToInt(ServerName::getPort).max().getAsInt();<a name="line.281"></a>
-<span class="sourceLineNo">282</span>    ServerName newSn = ServerName.valueOf("localhost", 100 + maxPort + 1, 1);<a name="line.282"></a>
-<span class="sourceLineNo">283</span>    try {<a name="line.283"></a>
-<span class="sourceLineNo">284</span>      this.master.getServerManager().regionServerReport(newSn, ServerMetricsBuilder.of(newSn));<a name="line.284"></a>
-<span class="sourceLineNo">285</span>    } catch (YouAreDeadException e) {<a name="line.285"></a>
-<span class="sourceLineNo">286</span>      // should not happen<a name="line.286"></a>
-<span class="sourceLineNo">287</span>      throw new UncheckedIOException(e);<a name="line.287"></a>
-<span class="sourceLineNo">288</span>    }<a name="line.288"></a>
-<span class="sourceLineNo">289</span>  }<a name="line.289"></a>
-<span class="sourceLineNo">290</span><a name="line.290"></a>
-<span class="sourceLineNo">291</span>  protected void doRestart(final ServerName serverName) {<a name="line.291"></a>
-<span class="sourceLineNo">292</span>    try {<a name="line.292"></a>
-<span class="sourceLineNo">293</span>      this.master.restartRegionServer(serverName);<a name="line.293"></a>
-<span class="sourceLineNo">294</span>    } catch (IOException e) {<a name="line.294"></a>
-<span class="sourceLineNo">295</span>      LOG.warn("Can not restart RS with new startcode");<a name="line.295"></a>
-<span class="sourceLineNo">296</span>    }<a name="line.296"></a>
-<span class="sourceLineNo">297</span>  }<a name="line.297"></a>
-<span class="sourceLineNo">298</span><a name="line.298"></a>
-<span class="sourceLineNo">299</span>  protected class GoodRsExecutor extends NoopRsExecutor {<a name="line.299"></a>
-<span class="sourceLineNo">300</span>    @Override<a name="line.300"></a>
-<span class="sourceLineNo">301</span>    protected RegionOpeningState execOpenRegion(ServerName server, RegionOpenInfo openReq)<a name="line.301"></a>
-<span class="sourceLineNo">302</span>        throws IOException {<a name="line.302"></a>
-<span class="sourceLineNo">303</span>      RegionInfo hri = ProtobufUtil.toRegionInfo(openReq.getRegion());<a name="line.303"></a>
-<span class="sourceLineNo">304</span>      long previousOpenSeqNum =<a name="line.304"></a>
-<span class="sourceLineNo">305</span>        am.getRegionStates().getOrCreateRegionStateNode(hri).getOpenSeqNum();<a name="line.305"></a>
-<span class="sourceLineNo">306</span>      sendTransitionReport(server, openReq.getRegion(), TransitionCode.OPENED,<a name="line.306"></a>
-<span class="sourceLineNo">307</span>        previousOpenSeqNum + 2);<a name="line.307"></a>
-<span class="sourceLineNo">308</span>      // Concurrency?<a name="line.308"></a>
-<span class="sourceLineNo">309</span>      // Now update the state of our cluster in regionsToRegionServers.<a name="line.309"></a>
-<span class="sourceLineNo">310</span>      SortedSet&lt;byte[]&gt; regions = regionsToRegionServers.get(server);<a name="line.310"></a>
-<span class="sourceLineNo">311</span>      if (regions == null) {<a name="line.311"></a>
-<span class="sourceLineNo">312</span>        regions = new ConcurrentSkipListSet&lt;byte[]&gt;(Bytes.BYTES_COMPARATOR);<a name="line.312"></a>
-<span class="sourceLineNo">313</span>        regionsToRegionServers.put(server, regions);<a name="line.313"></a>
-<span class="sourceLineNo">314</span>      }<a name="line.314"></a>
-<span class="sourceLineNo">315</span>      if (regions.contains(hri.getRegionName())) {<a name="line.315"></a>
-<span class="sourceLineNo">316</span>        throw new UnsupportedOperationException(hri.getRegionNameAsString());<a name="line.316"></a>
-<span class="sourceLineNo">317</span>      }<a name="line.317"></a>
-<span class="sourceLineNo">318</span>      regions.add(hri.getRegionName());<a name="line.318"></a>
-<span class="sourceLineNo">319</span>      return RegionOpeningState.OPENED;<a name="line.319"></a>
-<span class="sourceLineNo">320</span>    }<a name="line.320"></a>
-<span class="sourceLineNo">321</span><a name="line.321"></a>
-<span class="sourceLineNo">322</span>    @Override<a name="line.322"></a>
-<span class="sourceLineNo">323</span>    protected CloseRegionResponse execCloseRegion(ServerName server, byte[] regionName)<a name="line.323"></a>
-<span class="sourceLineNo">324</span>        throws IOException {<a name="line.324"></a>
-<span class="sourceLineNo">325</span>      RegionInfo hri = am.getRegionInfo(regionName);<a name="line.325"></a>
-<span class="sourceLineNo">326</span>      sendTransitionReport(server, ProtobufUtil.toRegionInfo(hri), TransitionCode.CLOSED, -1);<a name="line.326"></a>
-<span class="sourceLineNo">327</span>      return CloseRegionResponse.newBuilder().setClosed(true).build();<a name="line.327"></a>
-<span class="sourceLineNo">328</span>    }<a name="line.328"></a>
-<span class="sourceLineNo">329</span>  }<a name="line.329"></a>
-<span class="sourceLineNo">330</span><a name="line.330"></a>
-<span class="sourceLineNo">331</span>  protected static class ServerNotYetRunningRsExecutor implements MockRSExecutor {<a name="line.331"></a>
-<span class="sourceLineNo">332</span>    @Override<a name="line.332"></a>
-<span class="sourceLineNo">333</span>    public ExecuteProceduresResponse sendRequest(ServerName server, ExecuteProceduresRequest req)<a name="line.333"></a>
-<span class="sourceLineNo">334</span>        throws IOException {<a name="line.334"></a>
-<span class="sourceLineNo">335</span>      throw new ServerNotRunningYetException("wait on server startup");<a name="line.335"></a>
-<span class="sourceLineNo">336</span>    }<a name="line.336"></a>
-<span class="sourceLineNo">337</span>  }<a name="line.337"></a>
-<span class="sourceLineNo">338</span><a name="line.338"></a>
-<span class="sourceLineNo">339</span>  protected static class FaultyRsExecutor implements MockRSExecutor {<a name="line.339"></a>
-<span class="sourceLineNo">340</span>    private final IOException exception;<a name="line.340"></a>
-<span class="sourceLineNo">341</span><a name="line.341"></a>
-<span class="sourceLineNo">342</span>    public FaultyRsExecutor(final IOException exception) {<a name="line.342"></a>
-<span class="sourceLineNo">343</span>      this.exception = exception;<a name="line.343"></a>
-<span class="sourceLineNo">344</span>    }<a name="line.344"></a>
-<span class="sourceLineNo">345</span><a name="line.345"></a>
-<span class="sourceLineNo">346</span>    @Override<a name="line.346"></a>
-<span class="sourceLineNo">347</span>    public ExecuteProceduresResponse sendRequest(ServerName server, ExecuteProceduresRequest req)<a name="line.347"></a>
-<span class="sourceLineNo">348</span>        throws IOException {<a name="line.348"></a>
-<span class="sourceLineNo">349</span>      throw exception;<a name="line.349"></a>
-<span class="sourceLineNo">350</span>    }<a name="line.350"></a>
-<span class="sourceLineNo">351</span>  }<a name="line.351"></a>
-<span class="sourceLineNo">352</span><a name="line.352"></a>
-<span class="sourceLineNo">353</span>  protected class SocketTimeoutRsExecutor extends GoodRsExecutor {<a name="line.353"></a>
-<span class="sourceLineNo">354</span>    private final int maxSocketTimeoutRetries;<a name="line.354"></a>
-<span class="sourceLineNo">355</span>    private final int maxServerRetries;<a name="line.355"></a>
-<span class="sourceLineNo">356</span><a name="line.356"></a>
-<span class="sourceLineNo">357</span>    private ServerName lastServer;<a name="line.357"></a>
-<span class="sourceLineNo">358</span>    private int sockTimeoutRetries;<a name="line.358"></a>
-<span class="sourceLineNo">359</span>    private int serverRetries;<a name="line.359"></a>
-<span class="sourceLineNo">360</span><a name="line.360"></a>
-<span class="sourceLineNo">361</span>    public SocketTimeoutRsExecutor(int maxSocketTimeoutRetries, int maxServerRetries) {<a name="line.361"></a>
-<span class="sourceLineNo">362</span>      this.maxServerRetries = maxServerRetries;<a name="line.362"></a>
-<span class="sourceLineNo">363</span>      this.maxSocketTimeoutRetries = maxSocketTimeoutRetries;<a name="line.363"></a>
-<span class="sourceLineNo">364</span>    }<a name="line.364"></a>
+<span class="sourceLineNo">232</span>    for (int i = 0; i &lt; threads.length; ++i) {<a name="line.232"></a>
+<span class="sourceLineNo">233</span>      threads[i].join();<a name="line.233"></a>
+<span class="sourceLineNo">234</span>    }<a name="line.234"></a>
+<span class="sourceLineNo">235</span>    for (int i = procs.length - 1; i &gt;= 0 &amp;&amp; procs[i] == null; --i) {<a name="line.235"></a>
+<span class="sourceLineNo">236</span>      procs[i] = createAndSubmitAssign(TableName.valueOf("table-sync"), i);<a name="line.236"></a>
+<span class="sourceLineNo">237</span>    }<a name="line.237"></a>
+<span class="sourceLineNo">238</span>  }<a name="line.238"></a>
+<span class="sourceLineNo">239</span><a name="line.239"></a>
+<span class="sourceLineNo">240</span>  protected TransitRegionStateProcedure createAndSubmitAssign(TableName tableName, int regionId) {<a name="line.240"></a>
+<span class="sourceLineNo">241</span>    RegionInfo hri = createRegionInfo(tableName, regionId);<a name="line.241"></a>
+<span class="sourceLineNo">242</span>    TransitRegionStateProcedure proc = createAssignProcedure(hri);<a name="line.242"></a>
+<span class="sourceLineNo">243</span>    master.getMasterProcedureExecutor().submitProcedure(proc);<a name="line.243"></a>
+<span class="sourceLineNo">244</span>    return proc;<a name="line.244"></a>
+<span class="sourceLineNo">245</span>  }<a name="line.245"></a>
+<span class="sourceLineNo">246</span><a name="line.246"></a>
+<span class="sourceLineNo">247</span>  protected RegionInfo createRegionInfo(final TableName tableName, final long regionId) {<a name="line.247"></a>
+<span class="sourceLineNo">248</span>    return RegionInfoBuilder.newBuilder(tableName).setStartKey(Bytes.toBytes(regionId))<a name="line.248"></a>
+<span class="sourceLineNo">249</span>      .setEndKey(Bytes.toBytes(regionId + 1)).setSplit(false).setRegionId(0).build();<a name="line.249"></a>
+<span class="sourceLineNo">250</span>  }<a name="line.250"></a>
+<span class="sourceLineNo">251</span><a name="line.251"></a>
+<span class="sourceLineNo">252</span>  protected TransitRegionStateProcedure createAssignProcedure(RegionInfo hri) {<a name="line.252"></a>
+<span class="sourceLineNo">253</span>    return am.createAssignProcedures(Arrays.asList(hri))[0];<a name="line.253"></a>
+<span class="sourceLineNo">254</span>  }<a name="line.254"></a>
+<span class="sourceLineNo">255</span><a name="line.255"></a>
+<span class="sourceLineNo">256</span>  protected TransitRegionStateProcedure createUnassignProcedure(RegionInfo hri) {<a name="line.256"></a>
+<span class="sourceLineNo">257</span>    RegionStateNode regionNode = am.getRegionStates().getRegionStateNode(hri);<a name="line.257"></a>
+<span class="sourceLineNo">258</span>    TransitRegionStateProcedure proc;<a name="line.258"></a>
+<span class="sourceLineNo">259</span>    regionNode.lock();<a name="line.259"></a>
+<span class="sourceLineNo">260</span>    try {<a name="line.260"></a>
+<span class="sourceLineNo">261</span>      assertFalse(regionNode.isInTransition());<a name="line.261"></a>
+<span class="sourceLineNo">262</span>      proc = TransitRegionStateProcedure<a name="line.262"></a>
+<span class="sourceLineNo">263</span>        .unassign(master.getMasterProcedureExecutor().getEnvironment(), hri);<a name="line.263"></a>
+<span class="sourceLineNo">264</span>      regionNode.setProcedure(proc);<a name="line.264"></a>
+<span class="sourceLineNo">265</span>    } finally {<a name="line.265"></a>
+<span class="sourceLineNo">266</span>      regionNode.unlock();<a name="line.266"></a>
+<span class="sourceLineNo">267</span>    }<a name="line.267"></a>
+<span class="sourceLineNo">268</span>    return proc;<a name="line.268"></a>
+<span class="sourceLineNo">269</span>  }<a name="line.269"></a>
+<span class="sourceLineNo">270</span><a name="line.270"></a>
+<span class="sourceLineNo">271</span>  protected void sendTransitionReport(final ServerName serverName,<a name="line.271"></a>
+<span class="sourceLineNo">272</span>      final org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfo regionInfo,<a name="line.272"></a>
+<span class="sourceLineNo">273</span>      final TransitionCode state, long seqId) throws IOException {<a name="line.273"></a>
+<span class="sourceLineNo">274</span>    ReportRegionStateTransitionRequest.Builder req =<a name="line.274"></a>
+<span class="sourceLineNo">275</span>      ReportRegionStateTransitionRequest.newBuilder();<a name="line.275"></a>
+<span class="sourceLineNo">276</span>    req.setServer(ProtobufUtil.toServerName(serverName));<a name="line.276"></a>
+<span class="sourceLineNo">277</span>    req.addTransition(RegionStateTransition.newBuilder().addRegionInfo(regionInfo)<a name="line.277"></a>
+<span class="sourceLineNo">278</span>      .setTransitionCode(state).setOpenSeqNum(seqId).build());<a name="line.278"></a>
+<span class="sourceLineNo">279</span>    am.reportRegionStateTransition(req.build());<a name="line.279"></a>
+<span class="sourceLineNo">280</span>  }<a name="line.280"></a>
+<span class="sourceLineNo">281</span><a name="line.281"></a>
+<span class="sourceLineNo">282</span>  protected void doCrash(final ServerName serverName) {<a name="line.282"></a>
+<span class="sourceLineNo">283</span>    this.master.getServerManager().moveFromOnlineToDeadServers(serverName);<a name="line.283"></a>
+<span class="sourceLineNo">284</span>    this.am.submitServerCrash(serverName, false/* No WALs here */);<a name="line.284"></a>
+<span class="sourceLineNo">285</span>    // add a new server to avoid killing all the region servers which may hang the UTs<a name="line.285"></a>
+<span class="sourceLineNo">286</span>    ServerName newSn = ServerName.valueOf("localhost", 10000 + newRsAdded, 1);<a name="line.286"></a>
+<span class="sourceLineNo">287</span>    newRsAdded++;<a name="line.287"></a>
+<span class="sourceLineNo">288</span>    try {<a name="line.288"></a>
+<span class="sourceLineNo">289</span>      this.master.getServerManager().regionServerReport(newSn, ServerMetricsBuilder.of(newSn));<a name="line.289"></a>
+<span class="sourceLineNo">290</span>    } catch (YouAreDeadException e) {<a name="line.290"></a>
+<span class="sourceLineNo">291</span>      // should not happen<a name="line.291"></a>
+<span class="sourceLineNo">292</span>      throw new UncheckedIOException(e);<a name="line.292"></a>
+<span class="sourceLineNo">293</span>    }<a name="line.293"></a>
+<span class="sourceLineNo">294</span>  }<a name="line.294"></a>
+<span class="sourceLineNo">295</span><a name="line.295"></a>
+<span class="sourceLineNo">296</span>  protected void doRestart(final ServerName serverName) {<a name="line.296"></a>
+<span class="sourceLineNo">297</span>    try {<a name="line.297"></a>
+<span class="sourceLineNo">298</span>      this.master.restartRegionServer(serverName);<a name="line.298"></a>
+<span class="sourceLineNo">299</span>    } catch (IOException e) {<a name="line.299"></a>
+<span class="sourceLineNo">300</span>      LOG.warn("Can not restart RS with new startcode");<a name="line.300"></a>
+<span class="sourceLineNo">301</span>    }<a name="line.301"></a>
+<span class="sourceLineNo">302</span>  }<a name="line.302"></a>
+<span class="sourceLineNo">303</span><a name="line.303"></a>
+<span class="sourceLineNo">304</span>  protected class GoodRsExecutor extends NoopRsExecutor {<a name="line.304"></a>
+<span class="sourceLineNo">305</span>    @Override<a name="line.305"></a>
+<span class="sourceLineNo">306</span>    protected RegionOpeningState execOpenRegion(ServerName server, RegionOpenInfo openReq)<a name="line.306"></a>
+<span class="sourceLineNo">307</span>        throws IOException {<a name="line.307"></a>
+<span class="sourceLineNo">308</span>      RegionInfo hri = ProtobufUtil.toRegionInfo(openReq.getRegion());<a name="line.308"></a>
+<span class="sourceLineNo">309</span>      long previousOpenSeqNum =<a name="line.309"></a>
+<span class="sourceLineNo">310</span>        am.getRegionStates().getOrCreateRegionStateNode(hri).getOpenSeqNum();<a name="line.310"></a>
+<span class="sourceLineNo">311</span>      sendTransitionReport(server, openReq.getRegion(), TransitionCode.OPENED,<a name="line.311"></a>
+<span class="sourceLineNo">312</span>        previousOpenSeqNum + 2);<a name="line.312"></a>
+<span class="sourceLineNo">313</span>      // Concurrency?<a name="line.313"></a>
+<span class="sourceLineNo">314</span>      // Now update the state of our cluster in regionsToRegionServers.<a name="line.314"></a>
+<span class="sourceLineNo">315</span>      SortedSet&lt;byte[]&gt; regions = regionsToRegionServers.get(server);<a name="line.315"></a>
+<span class="sourceLineNo">316</span>      if (regions == null) {<a name="line.316"></a>
+<span class="sourceLineNo">317</span>        regions = new ConcurrentSkipListSet&lt;byte[]&gt;(Bytes.BYTES_COMPARATOR);<a name="line.317"></a>
+<span class="sourceLineNo">318</span>        regionsToRegionServers.put(server, regions);<a name="line.318"></a>
+<span class="sourceLineNo">319</span>      }<a name="line.319"></a>
+<span class="sourceLineNo">320</span>      if (regions.contains(hri.getRegionName())) {<a name="line.320"></a>
+<span class="sourceLineNo">321</span>        throw new UnsupportedOperationException(hri.getRegionNameAsString());<a name="line.321"></a>
+<span class="sourceLineNo">322</span>      }<a name="line.322"></a>
+<span class="sourceLineNo">323</span>      regions.add(hri.getRegionName());<a name="line.323"></a>
+<span class="sourceLineNo">324</span>      return RegionOpeningState.OPENED;<a name="line.324"></a>
+<span class="sourceLineNo">325</span>    }<a name="line.325"></a>
+<span class="sourceLineNo">326</span><a name="line.326"></a>
+<span class="sourceLineNo">327</span>    @Override<a name="line.327"></a>
+<span class="sourceLineNo">328</span>    protected CloseRegionResponse execCloseRegion(ServerName server, byte[] regionName)<a name="line.328"></a>
+<span class="sourceLineNo">329</span>        throws IOException {<a name="line.329"></a>
+<span class="sourceLineNo">330</span>      RegionInfo hri = am.getRegionInfo(regionName);<a name="line.330"></a>
+<span class="sourceLineNo">331</span>      sendTransitionReport(server, ProtobufUtil.toRegionInfo(hri), TransitionCode.CLOSED, -1);<a name="line.331"></a>
+<span class="sourceLineNo">332</span>      return CloseRegionResponse.newBuilder().setClosed(true).build();<a name="line.332"></a>
+<span class="sourceLineNo">333</span>    }<a name="line.333"></a>
+<span class="sourceLineNo">334</span>  }<a name="line.334"></a>
+<span class="sourceLineNo">335</span><a name="line.335"></a>
+<span class="sourceLineNo">336</span>  protected static class ServerNotYetRunningRsExecutor implements MockRSExecutor {<a name="line.336"></a>
+<span class="sourceLineNo">337</span>    @Override<a name="line.337"></a>
+<span class="sourceLineNo">338</span>    public ExecuteProceduresResponse sendRequest(ServerName server, ExecuteProceduresRequest req)<a name="line.338"></a>
+<span class="sourceLineNo">339</span>        throws IOException {<a name="line.339"></a>
+<span class="sourceLineNo">340</span>      throw new ServerNotRunningYetException("wait on server startup");<a name="line.340"></a>
+<span class="sourceLineNo">341</span>    }<a name="line.341"></a>
+<span class="sourceLineNo">342</span>  }<a name="line.342"></a>
+<span class="sourceLineNo">343</span><a name="line.343"></a>
+<span class="sourceLineNo">344</span>  protected static class FaultyRsExecutor implements MockRSExecutor {<a name="line.344"></a>
+<span class="sourceLineNo">345</span>    private final IOException exception;<a name="line.345"></a>
+<span class="sourceLineNo">346</span><a name="line.346"></a>
+<span class="sourceLineNo">347</span>    public FaultyRsExecutor(final IOException exception) {<a name="line.347"></a>
+<span class="sourceLineNo">348</span>      this.exception = exception;<a name="line.348"></a>
+<span class="sourceLineNo">349</span>    }<a name="line.349"></a>
+<span class="sourceLineNo">350</span><a name="line.350"></a>
+<span class="sourceLineNo">351</span>    @Override<a name="line.351"></a>
+<span class="sourceLineNo">352</span>    public ExecuteProceduresResponse sendRequest(ServerName server, ExecuteProceduresRequest req)<a name="line.352"></a>
+<span class="sourceLineNo">353</span>        throws IOException {<a name="line.353"></a>
+<span class="sourceLineNo">354</span>      throw exception;<a name="line.354"></a>
+<span class="sourceLineNo">355</span>    }<a name="line.355"></a>
+<span class="sourceLineNo">356</span>  }<a name="line.356"></a>
+<span class="sourceLineNo">357</span><a name="line.357"></a>
+<span class="sourceLineNo">358</span>  protected class SocketTimeoutRsExecutor extends GoodRsExecutor {<a name="line.358"></a>
+<span class="sourceLineNo">359</span>    private final int maxSocketTimeoutRetries;<a name="line.359"></a>
+<span class="sourceLineNo">360</span>    private final int maxServerRetries;<a name="line.360"></a>
+<span class="sourceLineNo">361</span><a name="line.361"></a>
+<span class="sourceLineNo">362</span>    private ServerName lastServer;<a name="line.362"></a>
+<span class="sourceLineNo">363</span>    private int sockTimeoutRetries;<a name="line.363"></a>
+<span class="sourceLineNo">364</span>    private int serverRetries;<a name="line.364"></a>
 <span class="sourceLineNo">365</span><a name="line.365"></a>
-<span class="sourceLineNo">366</span>    @Override<a name="line.366"></a>
-<span class="sourceLineNo">367</span>    public ExecuteProceduresResponse sendRequest(ServerName server, ExecuteProceduresRequest req)<a name="line.367"></a>
-<span class="sourceLineNo">368</span>        throws IOException {<a name="line.368"></a>
-<span class="sourceLineNo">369</span>      // SocketTimeoutException should be a temporary problem<a name="line.369"></a>
-<span class="sourceLineNo">370</span>      // unless the server will be declared dead.<a name="line.370"></a>
-<span class="sourceLineNo">371</span>      if (sockTimeoutRetries++ &lt; maxSocketTimeoutRetries) {<a name="line.371"></a>
-<span class="sourceLineNo">372</span>        if (sockTimeoutRetries == 1) {<a name="line.372"></a>
-<span class="sourceLineNo">373</span>          assertNotEquals(lastServer, server);<a name="line.373"></a>
-<span class="sourceLineNo">374</span>        }<a name="line.374"></a>
-<span class="sourceLineNo">375</span>        lastServer = server;<a name="line.375"></a>
-<span class="sourceLineNo">376</span>        LOG.debug("Socket timeout for server=" + server + " retries=" + sockTimeoutRetries);<a name="line.376"></a>
-<span class="sourceLineNo">377</span>        throw new SocketTimeoutException("simulate socket timeout");<a name="line.377"></a>
-<span class="sourceLineNo">378</span>      } else if (serverRetries++ &lt; maxServerRetries) {<a name="line.378"></a>
-<span class="sourceLineNo">379</span>        LOG.info("Mark server=" + server + " as dead. serverRetries=" + serverRetries);<a name="line.379"></a>
-<span class="sourceLineNo">380</span>        master.getServerManager().moveFromOnlineToDeadServers(server);<a name="line.380"></a>
-<span class="sourceLineNo">381</span>        sockTimeoutRetries = 0;<a name="line.381"></a>
+<span class="sourceLineNo">366</span>    public SocketTimeoutRsExecutor(int maxSocketTimeoutRetries, int maxServerRetries) {<a name="line.366"></a>
+<span class="sourceLineNo">367</span>      this.maxServerRetries = maxServerRetries;<a name="line.367"></a>
+<span class="sourceLineNo">368</span>      this.maxSocketTimeoutRetries = maxSocketTimeoutRetries;<a name="line.368"></a>
+<span class="sourceLineNo">369</span>    }<a name="line.369"></a>
+<span class="sourceLineNo">370</span><a name="line.370"></a>
+<span class="sourceLineNo">371</span>    @Override<a name="line.371"></a>
+<span class="sourceLineNo">372</span>    public ExecuteProceduresResponse sendRequest(ServerName server, ExecuteProceduresRequest req)<a name="line.372"></a>
+<span class="sourceLineNo">373</span>        throws IOException {<a name="line.373"></a>
+<span class="sourceLineNo">374</span>      // SocketTimeoutException should be a temporary problem<a name="line.374"></a>
+<span class="sourceLineNo">375</span>      // unless the server will be declared dead.<a name="line.375"></a>
+<span class="sourceLineNo">376</span>      if (sockTimeoutRetries++ &lt; maxSocketTimeoutRetries) {<a name="line.376"></a>
+<span class="sourceLineNo">377</span>        if (sockTimeoutRetries == 1) {<a name="line.377"></a>
+<span class="sourceLineNo">378</span>          assertNotEquals(lastServer, server);<a name="line.378"></a>
+<span class="sourceLineNo">379</span>        }<a name="line.379"></a>
+<span class="sourceLineNo">380</span>        lastServer = server;<a name="line.380"></a>
+<span class="sourceLineNo">381</span>        LOG.debug("Socket timeout for server=" + server + " retries=" + sockTimeoutRetries);<a name="line.381"></a>
 <span class="sourceLineNo">382</span>        throw new SocketTimeoutException("simulate socket timeout");<a name="line.382"></a>
-<span class="sourceLineNo">383</span>      } else {<a name="line.383"></a>
-<span class="sourceLineNo">384</span>        return super.sendRequest(server, req);<a name="line.384"></a>
-<span class="sourceLineNo">385</span>      }<a name="line.385"></a>
-<span class="sourceLineNo">386</span>    }<a name="line.386"></a>
-<span class="sourceLineNo">387</span>  }<a name="line.387"></a>
-<span class="sourceLineNo">388</span><a name="line.388"></a>
-<span class="sourceLineNo">389</span>  /**<a name="line.389"></a>
-<span class="sourceLineNo">390</span>   * Takes open request and then returns nothing so acts like a RS that went zombie. No response (so<a name="line.390"></a>
-<span class="sourceLineNo">391</span>   * proc is stuck/suspended on the Master and won't wake up.). We then send in a crash for this<a name="line.391"></a>
-<span class="sourceLineNo">392</span>   * server after a few seconds; crash is supposed to take care of the suspended procedures.<a name="line.392"></a>
-<span class="sourceLineNo">393</span>   */<a name="line.393"></a>
-<span class="sourceLineNo">394</span>  protected class HangThenRSCrashExecutor extends GoodRsExecutor {<a name="line.394"></a>
-<span class="sourceLineNo">395</span>    private int invocations;<a name="line.395"></a>
-<span class="sourceLineNo">396</span><a name="line.396"></a>
-<span class="sourceLineNo">397</span>    @Override<a name="line.397"></a>
-<span class="sourceLineNo">398</span>    protected RegionOpeningState execOpenRegion(final ServerName server, RegionOpenInfo openReq)<a name="line.398"></a>
-<span class="sourceLineNo">399</span>        throws IOException {<a name="line.399"></a>
-<span class="sourceLineNo">400</span>      if (this.invocations++ &gt; 0) {<a name="line.400"></a>
-<span class="sourceLineNo">401</span>        // Return w/o problem the second time through here.<a name="line.401"></a>
-<span class="sourceLineNo">402</span>        return super.execOpenRegion(server, openReq);<a name="line.402"></a>
-<span class="sourceLineNo">403</span>      }<a name="line.403"></a>
-<span class="sourceLineNo">404</span>      // The procedure on master will just hang forever because nothing comes back<a name="line.404"></a>
-<span class="sourceLineNo">405</span>      // from the RS in this case.<a name="line.405"></a>
-<span class="sourceLineNo">406</span>      LOG.info("Return null response from serverName=" + server + "; means STUCK...TODO timeout");<a name="line.406"></a>
-<span class="sourceLineNo">407</span>      executor.schedule(new Runnable() {<a name="line.407"></a>
-<span class="sourceLineNo">408</span>        @Override<a name="line.408"></a>
-<span class="sourceLineNo">409</span>        public void run() {<a name="line.409"></a>
-<span class="sourceLineNo">410</span>          LOG.info("Sending in CRASH of " + server);<a name="line.410"></a>
-<span class="sourceLineNo">411</span>          doCrash(server);<a name="line.411"></a>
-<span class="sourceLineNo">412</span>        }<a name="line.412"></a>
-<span class="sourceLineNo">413</span>      }, 1, TimeUnit.SECONDS);<a name="line.413"></a>
-<span class="sourceLineNo">414</span>      return null;<a name="line.414"></a>
-<span class="sourceLineNo">415</span>    }<a name="line.415"></a>
-<span class="sourceLineNo">416</span>  }<a name="line.416"></a>
-<span class="sourceLineNo">417</span><a name="line.417"></a>
-<span class="sourceLineNo">418</span>  /**<a name="line.418"></a>
-<span class="sourceLineNo">419</span>   * Takes open request and then returns nothing so acts like a RS that went zombie. No response (so<a name="line.419"></a>
-<span class="sourceLineNo">420</span>   * proc is stuck/suspended on the Master and won't wake up.). Different with<a name="line.420"></a>
-<span class="sourceLineNo">421</span>   * HangThenRSCrashExecutor, HangThenRSCrashExecutor will create ServerCrashProcedure to handle the<a name="line.421"></a>
-<span class="sourceLineNo">422</span>   * server crash. However, this HangThenRSRestartExecutor will restart RS directly, situation for<a name="line.422"></a>
-<span class="sourceLineNo">423</span>   * RS crashed when SCP is not enabled.<a name="line.423"></a>
-<span class="sourceLineNo">424</span>   */<a name="line.424"></a>
-<span class="sourceLineNo">425</span>  protected class HangThenRSRestartExecutor extends GoodRsExecutor {<a name="line.425"></a>
-<span class="sourceLineNo">426</span>    private int invocations;<a name="line.426"></a>
-<span class="sourceLineNo">427</span><a name="line.427"></a>
-<span class="sourceLineNo">428</span>    @Override<a name="line.428"></a>
-<span class="sourceLineNo">429</span>    protected RegionOpeningState execOpenRegion(final ServerName server, RegionOpenInfo openReq)<a name="line.429"></a>
-<span class="sourceLineNo">430</span>        throws IOException {<a name="line.430"></a>
-<span class="sourceLineNo">431</span>      if (this.invocations++ &gt; 0) {<a name="line.431"></a>
-<span class="sourceLineNo">432</span>        // Return w/o problem the second time through here.<a name="line.432"></a>
-<span class="sourceLineNo">433</span>        return super.execOpenRegion(server, openReq);<a name="line.433"></a>
-<span class="sourceLineNo">434</span>      }<a name="line.434"></a>
-<span class="sourceLineNo">435</span>      // The procedure on master will just hang forever because nothing comes back<a name="line.435"></a>
-<span class="sourceLineNo">436</span>      // from the RS in this case.<a name="line.436"></a>
-<span class="sourceLineNo">437</span>      LOG.info("Return null response from serverName=" + server + "; means STUCK...TODO timeout");<a name="line.437"></a>
-<span class="sourceLineNo">438</span>      executor.schedule(new Runnable() {<a name="line.438"></a>
-<span class="sourceLineNo">439</span>        @Override<a name="line.439"></a>
-<span class="sourceLineNo">440</span>        public void run() {<a name="line.440"></a>
-<span class="sourceLineNo">441</span>          LOG.info("Restarting RS of " + server);<a name="line.441"></a>
-<span class="sourceLineNo">442</span>          doRestart(server);<a name="line.442"></a>
-<span class="sourceLineNo">443</span>        }<a name="line.443"></a>
-<span class="sourceLineNo">444</span>      }, 1, TimeUnit.SECONDS);<a name="line.444"></a>
-<span class="sourceLineNo">445</span>      return null;<a name="line.445"></a>
-<span class="sourceLineNo">446</span>    }<a name="line.446"></a>
-<span class="sourceLineNo">447</span>  }<a name="line.447"></a>
-<span class="sourceLineNo">448</span><a name="line.448"></a>
-<span class="sourceLineNo">449</span>  protected class HangOnCloseThenRSCrashExecutor extends GoodRsExecutor {<a name="line.449"></a>
-<span class="sourceLineNo">450</span>    public static final int TYPES_OF_FAILURE = 6;<a name="line.450"></a>
-<span class="sourceLineNo">451</span>    private int invocations;<a name="line.451"></a>
-<span class="sourceLineNo">452</span><a name="line.452"></a>
-<span class="sourceLineNo">453</span>    @Override<a name="line.453"></a>
-<span class="sourceLineNo">454</span>    protected CloseRegionResponse execCloseRegion(ServerName server, byte[] regionName)<a name="line.454"></a>
-<span class="sourceLineNo">455</span>        throws IOException {<a name="line.455"></a>
-<span class="sourceLineNo">456</span>      switch (this.invocations++) {<a name="line.456"></a>
-<span class="sourceLineNo">457</span>        case 0:<a name="line.457"></a>
-<span class="sourceLineNo">458</span>          throw new NotServingRegionException("Fake");<a name="line.458"></a>
-<span class="sourceLineNo">459</span>        case 1:<a name="line.459"></a>
-<span class="sourceLineNo">460</span>          executor.schedule(new Runnable() {<a name="line.460"></a>
-<span class="sourceLineNo">461</span>            @Override<a name="line.461"></a>
-<span class="sourceLineNo">462</span>            public void run() {<a name="line.462"></a>
-<span class="sourceLineNo">463</span>              LOG.info("Sending in CRASH of " + server);<a name="line.463"></a>
-<span class="sourceLineNo">464</span>              doCrash(server);<a name="line.464"></a>
-<span class="sourceLineNo">465</span>            }<a name="line.465"></a>
-<span class="sourceLineNo">466</span>          }, 1, TimeUnit.SECONDS);<a name="line.466"></a>
-<span class="sourceLineNo">467</span>          throw new RegionServerAbortedException("Fake!");<a name="line.467"></a>
-<span class="sourceLineNo">468</span>        case 2:<a name="line.468"></a>
-<span class="sourceLineNo">469</span>          executor.schedule(new Runnable() {<a name="line.469"></a>
-<span class="sourceLineNo">470</span>            @Override<a name="line.470"></a>
-<span class="sourceLineNo">471</span>            public void run() {<a name="line.471"></a>
-<span class="sourceLineNo">472</span>              LOG.info("Sending in CRASH of " + server);<a name="line.472"></a>
-<span class="sourceLineNo">473</span>              doCrash(server);<a name="line.473"></a>
-<span class="sourceLineNo">474</span>            }<a name="line.474"></a>
-<span class="sourceLineNo">475</span>          }, 1, TimeUnit.SECONDS);<a name="line.475"></a>
-<span class="sourceLineNo">476</span>          throw new RegionServerStoppedException("Fake!");<a name="line.476"></a>
-<span class="sourceLineNo">477</span>        case 3:<a name="line.477"></a>
-<span class="sourceLineNo">478</span>          throw new ServerNotRunningYetException("Fake!");<a name="line.478"></a>
-<span class="sourceLineNo">479</span>        case 4:<a name="line.479"></a>
-<span class="sourceLineNo">480</span>          LOG.info("Returned null from serverName={}; means STUCK...TODO timeout", server);<a name="line.480"></a>
-<span class="sourceLineNo">481</span>          executor.schedule(new Runnable() {<a name="line.481"></a>
-<span class="sourceLineNo">482</span>            @Override<a name="line.482"></a>
-<span class="sourceLineNo">483</span>            public void run() {<a name="line.483"></a>
-<span class="sourceLineNo">484</span>              LOG.info("Sending in CRASH of " + server);<a name="line.484"></a>
-<span class="sourceLineNo">485</span>              doCrash(server);<a name="line.485"></a>
-<span class="sourceLineNo">486</span>            }<a name="line.486"></a>
-<span class="sourceLineNo">487</span>          }, 1, TimeUnit.SECONDS);<a name="line.487"></a>
-<span class="sourceLineNo">488</span>          return null;<a name="line.488"></a>
-<span class="sourceLineNo">489</span>        default:<a name="line.489"></a>
-<span class="sourceLineNo">490</span>          return super.execCloseRegion(server, regionName);<a name="line.490"></a>
-<span class="sourceLineNo">491</span>      }<a name="line.491"></a>
-<span class="sourceLineNo">492</span>    }<a name="line.492"></a>
-<span class="sourceLineNo">493</span>  }<a name="line.493"></a>
-<span class="sourceLineNo">494</span><a name="line.494"></a>
-<span class="sourceLineNo">495</span>  protected class RandRsExecutor extends NoopRsExecutor {<a name="line.495"></a>
-<span class="sourceLineNo">496</span>    private final Random rand = new Random();<a name="line.496"></a>
-<span class="sourceLineNo">497</span><a name="line.497"></a>
-<span class="sourceLineNo">498</span>    @Override<a name="line.498"></a>
-<span class="sourceLineNo">499</span>    public ExecuteProceduresResponse sendRequest(ServerName server, ExecuteProceduresRequest req)<a name="line.499"></a>
-<span class="sourceLineNo">500</span>        throws IOException {<a name="line.500"></a>
-<span class="sourceLineNo">501</span>      switch (rand.nextInt(5)) {<a name="line.501"></a>
-<span class="sourceLineNo">502</span>        case 0:<a name="line.502"></a>
-<span class="sourceLineNo">503</span>          throw new ServerNotRunningYetException("wait on server startup");<a name="line.503"></a>
-<span class="sourceLineNo">504</span>        case 1:<a name="line.504"></a>
-<span class="sourceLineNo">505</span>          throw new SocketTimeoutException("simulate socket timeout");<a name="line.505"></a>
-<span class="sourceLineNo">506</span>        case 2:<a name="line.506"></a>
-<span class="sourceLineNo">507</span>          throw new RemoteException("java.io.IOException", "unexpected exception");<a name="line.507"></a>
-<span class="sourceLineNo">508</span>        default:<a name="line.508"></a>
-<span class="sourceLineNo">509</span>          // fall out<a name="line.509"></a>
-<span class="sourceLineNo">510</span>      }<a name="line.510"></a>
-<span class="sourceLineNo">511</span>      return super.sendRequest(server, req);<a name="line.511"></a>
-<span class="sourceLineNo">512</span>    }<a name="line.512"></a>
-<span class="sourceLineNo">513</span><a name="line.513"></a>
-<span class="sourceLineNo">514</span>    @Override<a name="line.514"></a>
-<span class="sourceLineNo">515</span>    protected RegionOpeningState execOpenRegion(final ServerName server, RegionOpenInfo openReq)<a name="line.515"></a>
-<span class="sourceLineNo">516</span>        throws IOException {<a name="line.516"></a>
-<span class="sourceLineNo">517</span>      RegionInfo hri = ProtobufUtil.toRegionInfo(openReq.getRegion());<a name="line.517"></a>
-<span class="sourceLineNo">518</span>      long previousOpenSeqNum =<a name="line.518"></a>
-<span class="sourceLineNo">519</span>        am.getRegionStates().getOrCreateRegionStateNode(hri).getOpenSeqNum();<a name="line.519"></a>
-<span class="sourceLineNo">520</span>      switch (rand.nextInt(3)) {<a name="line.520"></a>
-<span class="sourceLineNo">521</span>        case 0:<a name="line.521"></a>
-<span class="sourceLineNo">522</span>          LOG.info("Return OPENED response");<a name="line.522"></a>
-<span class="sourceLineNo">523</span>          sendTransitionReport(server, openReq.getRegion(), TransitionCode.OPENED,<a name="line.523"></a>
-<span class="sourceLineNo">524</span>            previousOpenSeqNum + 2);<a name="line.524"></a>
-<span class="sourceLineNo">525</span>          return OpenRegionResponse.RegionOpeningState.OPENED;<a name="line.525"></a>
-<span class="sourceLineNo">526</span>        case 1:<a name="line.526"></a>
-<span class="sourceLineNo">527</span>          LOG.info("Return transition report that FAILED_OPEN/FAILED_OPENING response");<a name="line.527"></a>
-<span class="sourceLineNo">528</span>          sendTransitionReport(server, openReq.getRegion(), TransitionCode.FAILED_OPEN, -1);<a name="line.528"></a>
-<span class="sourceLineNo">529</span>          return OpenRegionResponse.RegionOpeningState.FAILED_OPENING;<a name="line.529"></a>
-<span class="sourceLineNo">530</span>        default:<a name="line.530"></a>
-<span class="sourceLineNo">531</span>          // fall out<a name="line.531"></a>
-<span class="sourceLineNo">532</span>      }<a name="line.532"></a>
-<span class="sourceLineNo">533</span>      // The procedure on master will just hang forever because nothing comes back<a name="line.533"></a>
-<span class="sourceLineNo">534</span>      // from the RS in this case.<a name="line.534"></a>
-<span class="sourceLineNo">535</span>      LOG.info("Return null as response; means proc stuck so we send in a crash report after" +<a name="line.535"></a>
-<span class="sourceLineNo">536</span>        " a few seconds...");<a name="line.536"></a>
-<span class="sourceLineNo">537</span>      executor.schedule(new Runnable() {<a name="line.537"></a>
-<span class="sourceLineNo">538</span>        @Override<a name="line.538"></a>
-<span class="sourceLineNo">539</span>        public void run() {<a name="line.539"></a>
-<span class="sourceLineNo">540</span>          LOG.info("Delayed CRASHING of " + server);<a name="line.540"></a>
-<span class="sourceLineNo">541</span>          doCrash(server);<a name="line.541"></a>
-<span class="sourceLineNo">542</span>        }<a name="line.542"></a>
-<span class="sourceLineNo">543</span>      }, 5, TimeUnit.SECONDS);<a name="line.543"></a>
-<span class="sourceLineNo">544</span>      return null;<a name="line.544"></a>
-<span class="sourceLineNo">545</span>    }<a name="line.545"></a>
-<span class="sourceLineNo">546</span><a name="line.546"></a>
-<span class="sourceLineNo">547</span>    @Override<a name="line.547"></a>
-<span class="sourceLineNo">548</span>    protected CloseRegionResponse execCloseRegion(ServerName server, byte[] regionName)<a name="line.548"></a>
-<span class="sourceLineNo">549</span>        throws IOException {<a name="line.549"></a>
-<span class="sourceLineNo">550</span>      CloseRegionResponse.Builder resp = CloseRegionResponse.newBuilder();<a name="line.550"></a>
-<span class="sourceLineNo">551</span>      boolean closed = rand.nextBoolean();<a name="line.551"></a>
-<span class="sourceLineNo">552</span>      if (closed) {<a name="line.552"></a>
-<span class="sourceLineNo">553</span>        RegionInfo hri = am.getRegionInfo(regionName);<a name="line.553"></a>
-<span class="sourceLineNo">554</span>        sendTransitionReport(server, ProtobufUtil.toRegionInfo(hri), TransitionCode.CLOSED, -1);<a name="line.554"></a>
-<span class="sourceLineNo">555</span>      }<a name="line.555"></a>
-<span class="sourceLineNo">556</span>      resp.setClosed(closed);<a name="line.556"></a>
-<span class="sourceLineNo">557</span>      return resp.build();<a name="line.557"></a>
-<span class="sourceLineNo">558</span>    }<a name="line.558"></a>
-<span class="sourceLineNo">559</span>  }<a name="line.559"></a>
-<span class="sourceLineNo">560</span><a name="line.560"></a>
-<span class="sourceLineNo">561</span>  protected interface MockRSExecutor {<a name="line.561"></a>
-<span class="sourceLineNo">562</span>    ExecuteProceduresResponse sendRequest(ServerName server, ExecuteProceduresRequest req)<a name="line.562"></a>
-<span class="sourceLineNo">563</span>        throws IOException;<a name="line.563"></a>
+<span class="sourceLineNo">383</span>      } else if (serverRetries++ &lt; maxServerRetries) {<a name="line.383"></a>
+<span class="sourceLineNo">384</span>        LOG.info("Mark server=" + server + " as dead. serverRetries=" + serverRetries);<a name="line.384"></a>
+<span class="sourceLineNo">385</span>        master.getServerManager().moveFromOnlineToDeadServers(server);<a name="line.385"></a>
+<span class="sourceLineNo">386</span>        sockTimeoutRetries = 0;<a name="line.386"></a>
+<span class="sourceLineNo">387</span>        throw new SocketTimeoutException("simulate socket timeout");<a name="line.387"></a>
+<span class="sourceLineNo">388</span>      } else {<a name="line.388"></a>
+<span class="sourceLineNo">389</span>        return super.sendRequest(server, req);<a name="line.389"></a>
+<span class="sourceLineNo">390</span>      }<a name="line.390"></a>
+<span class="sourceLineNo">391</span>    }<a name="line.391"></a>
+<span class="sourceLineNo">392</span>  }<a name="line.392"></a>
+<span class="sourceLineNo">393</span><a name="line.393"></a>
+<span class="sourceLineNo">394</span>  /**<a name="line.394"></a>
+<span class="sourceLineNo">395</span>   * Takes open request and then returns nothing so acts like a RS that went zombie. No response (so<a name="line.395"></a>
+<span class="sourceLineNo">396</span>   * proc is stuck/suspended on the Master and won't wake up.). We then send in a crash for this<a name="line.396"></a>
+<span class="sourceLineNo">397</span>   * server after a few seconds; crash is supposed to take care of the suspended procedures.<a name="line.397"></a>
+<span class="sourceLineNo">398</span>   */<a name="line.398"></a>
+<span class="sourceLineNo">399</span>  protected class HangThenRSCrashExecutor extends GoodRsExecutor {<a name="line.399"></a>
+<span class="sourceLineNo">400</span>    private int invocations;<a name="line.400"></a>
+<span class="sourceLineNo">401</span><a name="line.401"></a>
+<span class="sourceLineNo">402</span>    @Override<a name="line.402"></a>
+<span class="sourceLineNo">403</span>    protected RegionOpeningState execOpenRegion(final ServerName server, RegionOpenInfo openReq)<a name="line.403"></a>
+<span class="sourceLineNo">404</span>        throws IOException {<a name="line.404"></a>
+<span class="sourceLineNo">405</span>      if (this.invocations++ &gt; 0) {<a name="line.405"></a>
+<span class="sourceLineNo">406</span>        // Return w/o problem the second time through here.<a name="line.406"></a>
+<span class="sourceLineNo">407</span>        return super.execOpenRegion(server, openReq);<a name="line.407"></a>
+<span class="sourceLineNo">408</span>      }<a name="line.408"></a>
+<span class="sourceLineNo">409</span>      // The procedure on master will just hang forever because nothing comes back<a name="line.409"></a>
+<span class="sourceLineNo">410</span>      // from the RS in this case.<a name="line.410"></a>
+<span class="sourceLineNo">411</span>      LOG.info("Return null response from serverName=" + server + "; means STUCK...TODO timeout");<a name="line.411"></a>
+<span class="sourceLineNo">412</span>      executor.schedule(new Runnable() {<a name="line.412"></a>
+<span class="sourceLineNo">413</span>        @Override<a name="line.413"></a>
+<span class="sourceLineNo">414</span>        public void run() {<a name="line.414"></a>
+<span class="sourceLineNo">415</span>          LOG.info("Sending in CRASH of " + server);<a name="line.415"></a>
+<span class="sourceLineNo">416</span>          doCrash(server);<a name="line.416"></a>
+<span class="sourceLineNo">417</span>        }<a name="line.417"></a>
+<span class="sourceLineNo">418</span>      }, 1, TimeUnit.SECONDS);<a name="line.418"></a>
+<span class="sourceLineNo">419</span>      return null;<a name="line.419"></a>
+<span class="sourceLineNo">420</span>    }<a name="line.420"></a>
+<span class="sourceLineNo">421</span>  }<a name="line.421"></a>
+<span class="sourceLineNo">422</span><a name="line.422"></a>
+<span class="sourceLineNo">423</span>  /**<a name="line.423"></a>
+<span class="sourceLineNo">424</span>   * Takes open request and then returns nothing so acts like a RS that went zombie. No response (so<a name="line.424"></a>
+<span class="sourceLineNo">425</span>   * proc is stuck/suspended on the Master and won't wake up.). Different with<a name="line.425"></a>
+<span class="sourceLineNo">426</span>   * HangThenRSCrashExecutor, HangThenRSCrashExecutor will create ServerCrashProcedure to handle the<a name="line.426"></a>
+<span class="sourceLineNo">427</span>   * server crash. However, this HangThenRSRestartExecutor will restart RS directly, situation for<a name="line.427"></a>
+<span class="sourceLineNo">428</span>   * RS crashed when SCP is not enabled.<a name="line.428"></a>
+<span class="sourceLineNo">429</span>   */<a name="line.429"></a>
+<span class="sourceLineNo">430</span>  protected class HangThenRSRestartExecutor extends GoodRsExecutor {<a name="line.430"></a>
+<span class="sourceLineNo">431</span>    private int invocations;<a name="line.431"></a>
+<span class="sourceLineNo">432</span><a name="line.432"></a>
+<span class="sourceLineNo">433</span>    @Override<a name="line.433"></a>
+<span class="sourceLineNo">434</span>    protected RegionOpeningState execOpenRegion(final ServerName server, RegionOpenInfo openReq)<a name="line.434"></a>
+<span class="sourceLineNo">435</span>        throws IOException {<a name="line.435"></a>
+<span class="sourceLineNo">436</span>      if (this.invocations++ &gt; 0) {<a name="line.436"></a>
+<span class="sourceLineNo">437</span>        // Return w/o problem the second time through here.<a name="line.437"></a>
+<span class="sourceLineNo">438</span>        return super.execOpenRegion(server, openReq);<a name="line.438"></a>
+<span class="sourceLineNo">439</span>      }<a name="line.439"></a>
+<span class="sourceLineNo">440</span>      // The procedure on master will just hang forever because nothing comes back<a name="line.440"></a>
+<span class="sourceLineNo">441</span>      // from the RS in this case.<a name="line.441"></a>
+<span class="sourceLineNo">442</span>      LOG.info("Return null response from serverName=" + server + "; means STUCK...TODO timeout");<a name="line.442"></a>
+<span class="sourceLineNo">443</span>      executor.schedule(new Runnable() {<a name="line.443"></a>
+<span class="sourceLineNo">444</span>        @Override<a name="line.444"></a>
+<span class="sourceLineNo">445</span>        public void run() {<a name="line.445"></a>
+<span class="sourceLineNo">446</span>          LOG.info("Restarting RS of " + server);<a name="line.446"></a>
+<span class="sourceLineNo">447</span>          doRestart(server);<a name="line.447"></a>
+<span class="sourceLineNo">448</span>        }<a name="line.448"></a>
+<span class="sourceLineNo">449</span>      }, 1, TimeUnit.SECONDS);<a name="line.449"></a>
+<span class="sourceLineNo">450</span>      return null;<a name="line.450"></a>
+<span class="sourceLineNo">451</span>    }<a name="line.451"></a>
+<span class="sourceLineNo">452</span>  }<a name="line.452"></a>
+<span class="sourceLineNo">453</span><a name="line.453"></a>
+<span class="sourceLineNo">454</span>  protected class HangOnCloseThenRSCrashExecutor extends GoodRsExecutor {<a name="line.454"></a>
+<span class="sourceLineNo">455</span>    public static final int TYPES_OF_FAILURE = 6;<a name="line.455"></a>
+<span class="sourceLineNo">456</span>    private int invocations;<a name="line.456"></a>
+<span class="sourceLineNo">457</span><a name="line.457"></a>
+<span class="sourceLineNo">458</span>    @Override<a name="line.458"></a>
+<span class="sourceLineNo">459</span>    protected CloseRegionResponse execCloseRegion(ServerName server, byte[] regionName)<a name="line.459"></a>
+<span class="sourceLineNo">460</span>        throws IOException {<a name="line.460"></a>
+<span class="sourceLineNo">461</span>      switch (this.invocations++) {<a name="line.461"></a>
+<span class="sourceLineNo">462</span>        case 0:<a name="line.462"></a>
+<span class="sourceLineNo">463</span>          throw new NotServingRegionException("Fake");<a name="line.463"></a>
+<span class="sourceLineNo">464</span>        case 1:<a name="line.464"></a>
+<span class="sourceLineNo">465</span>          executor.schedule(new Runnable() {<a name="line.465"></a>
+<span class="sourceLineNo">466</span>            @Override<a name="line.466"></a>
+<span class="sourceLineNo">467</span>            public void run() {<a name="line.467"></a>
+<span class="sourceLineNo">468</span>              LOG.info("Sending in CRASH of " + server);<a name="line.468"></a>
+<span class="sourceLineNo">469</span>              doCrash(server);<a name="line.469"></a>
+<span class="sourceLineNo">470</span>            }<a name="line.470"></a>
+<span class="sourceLineNo">471</span>          }, 1, TimeUnit.SECONDS);<a name="line.471"></a>
+<span class="sourceLineNo">472</span>          throw new RegionServerAbortedException("Fake!");<a name="line.472"></a>
+<span class="sourceLineNo">473</span>        case 2:<a name="line.473"></a>
+<span class="sourceLineNo">474</span>          executor.schedule(new Runnable() {<a name="line.474"></a>
+<span class="sourceLineNo">475</span>            @Override<a name="line.475"></a>
+<span class="sourceLineNo">476</span>            public void run() {<a name="line.476"></a>
+<span class="sourceLineNo">477</span>              LOG.info("Sending in CRASH of " + server);<a name="line.477"></a>
+<span class="sourceLineNo">478</span>              doCrash(server);<a name="line.478"></a>
+<span class="sourceLineNo">479</span>            }<a name="line.479"></a>
+<span class="sourceLineNo">480</span>          }, 1, TimeUnit.SECONDS);<a name="line.480"></a>
+<span class="sourceLineNo">481</span>          throw new RegionServerStoppedException("Fake!");<a name="line.481"></a>
+<span class="sourceLineNo">482</span>        case 3:<a name="line.482"></a>
+<span class="sourceLineNo">483</span>          throw new ServerNotRunningYetException("Fake!");<a name="line.483"></a>
+<span class="sourceLineNo">484</span>        case 4:<a name="line.484"></a>
+<span class="sourceLineNo">485</span>          LOG.info("Returned null from serverName={}; means STUCK...TODO timeout", server);<a name="line.485"></a>
+<span class="sourceLineNo">486</span>          executor.schedule(new Runnable() {<a name="line.486"></a>
+<span class="sourceLineNo">487</span>            @Override<a name="line.487"></a>
+<span class="sourceLineNo">488</span>            public void run() {<a name="line.488"></a>
+<span class="sourceLineNo">489</span>              LOG.info("Sending in CRASH of " + server);<a name="line.489"></a>
+<span class="sourceLineNo">490</span>              doCrash(server);<a name="line.490"></a>
+<span class="sourceLineNo">491</span>            }<a name="line.491"></a>
+<span class="sourceLineNo">492</span>          }, 1, TimeUnit.SECONDS);<a name="line.492"></a>
+<span class="sourceLineNo">493</span>          return null;<a name="line.493"></a>
+<span class="sourceLineNo">494</span>        default:<a name="line.494"></a>
+<span class="sourceLineNo">495</span>          return super.execCloseRegion(server, regionName);<a name="line.495"></a>
+<span class="sourceLineNo">496</span>      }<a name="line.496"></a>
+<span class="sourceLineNo">497</span>    }<a name="line.497"></a>
+<span class="sourceLineNo">498</span>  }<a name="line.498"></a>
+<span class="sourceLineNo">499</span><a name="line.499"></a>
+<span class="sourceLineNo">500</span>  protected class RandRsExecutor extends NoopRsExecutor {<a name="line.500"></a>
+<span class="sourceLineNo">501</span>    private final Random rand = new Random();<a name="line.501"></a>
+<span class="sourceLineNo">502</span><a name="line.502"></a>
+<span class="sourceLineNo">503</span>    @Override<a name="line.503"></a>
+<span class="sourceLineNo">504</span>    public ExecuteProceduresResponse sendRequest(ServerName server, ExecuteProceduresRequest req)<a name="line.504"></a>
+<span class="sourceLineNo">505</span>        throws IOException {<a name="line.505"></a>
+<span class="sourceLineNo">506</span>      switch (rand.nextInt(5)) {<a name="line.506"></a>
+<span class="sourceLineNo">507</span>        case 0:<a name="line.507"></a>
+<span class="sourceLineNo">508</span>          throw new ServerNotRunningYetException("wait on server startup");<a name="line.508"></a>
+<span class="sourceLineNo">509</span>        case 1:<a name="line.509"></a>
+<span class="sourceLineNo">510</span>          throw new SocketTimeoutException("simulate socket timeout");<a name="line.510"></a>
+<span class="sourceLineNo">511</span>        case 2:<a name="line.511"></a>
+<span class="sourceLineNo">512</span>          throw new RemoteException("java.io.IOException", "unexpected exception");<a name="line.512"></a>
+<span class="sourceLineNo">513</span>        default:<a name="line.513"></a>
+<span class="sourceLineNo">514</span>          // fall out<a name="line.514"></a>
+<span class="sourceLineNo">515</span>      }<a name="line.515"></a>
+<span class="sourceLineNo">516</span>      return super.sendRequest(server, req);<a name="line.516"></a>
+<span class="sourceLineNo">517</span>    }<a name="line.517"></a>
+<span class="sourceLineNo">518</span><a name="line.518"></a>
+<span class="sourceLineNo">519</span>    @Override<a name="line.519"></a>
+<span class="sourceLineNo">520</span>    protected RegionOpeningState execOpenRegion(final ServerName server, RegionOpenInfo openReq)<a name="line.520"></a>
+<span class="sourceLineNo">521</span>        throws IOException {<a name="line.521"></a>
+<span class="sourceLineNo">522</span>      RegionInfo hri = ProtobufUtil.toRegionInfo(openReq.getRegion());<a name="line.522"></a>
+<span class="sourceLineNo">523</span>      long previousOpenSeqNum =<a name="line.523"></a>
+<span class="sourceLineNo">524</span>        am.getRegionStates().getOrCreateRegionStateNode(hri).getOpenSeqNum();<a name="line.524"></a>
+<span class="sourceLineNo">525</span>      switch (rand.nextInt(3)) {<a name="line.525"></a>
+<span class="sourceLineNo">526</span>        case 0:<a name="line.526"></a>
+<span class="sourceLineNo">527</span>          LOG.info("Return OPENED response");<a name="line.527"></a>
+<span class="sourceLineNo">528</span>          sendTransitionReport(server, openReq.getRegion(), TransitionCode.OPENED,<a name="line.528"></a>
+<span class="sourceLineNo">529</span>            previousOpenSeqNum + 2);<a name="line.529"></a>
+<span class="sourceLineNo">530</span>          return OpenRegionResponse.RegionOpeningState.OPENED;<a name="line.530"></a>
+<span class="sourceLineNo">531</span>        case 1:<a name="line.531"></a>
+<span class="sourceLineNo">532</span>          LOG.info("Return transition report that FAILED_OPEN/FAILED_OPENING response");<a name="line.532"></a>
+<span class="sourceLineNo">533</span>          sendTransitionReport(server, openReq.getRegion(), TransitionCode.FAILED_OPEN, -1);<a name="line.533"></a>
+<span class="sourceLineNo">534</span>          return OpenRegionResponse.RegionOpeningState.FAILED_OPENING;<a name="line.534"></a>
+<span class="sourceLineNo">535</span>        default:<a name="line.535"></a>
+<span class="sourceLineNo">536</span>          // fall out<a name="line.536"></a>
+<span class="sourceLineNo">537</span>      }<a name="line.537"></a>
+<span class="sourceLineNo">538</span>      // The procedure on master will just hang forever because nothing comes back<a name="line.538"></a>
+<span class="sourceLineNo">539</span>      // from the RS in this case.<a name="line.539"></a>
+<span class="sourceLineNo">540</span>      LOG.info("Return null as response; means proc stuck so we send in a crash report after" +<a name="line.540"></a>
+<span class="sourceLineNo">541</span>        " a few seconds...");<a name="line.541"></a>
+<span class="sourceLineNo">542</span>      executor.schedule(new Runnable() {<a name="line.542"></a>
+<span class="sourceLineNo">543</span>        @Override<a name="line.543"></a>
+<span class="sourceLineNo">544</span>        public void run() {<a name="line.544"></a>
+<span class="sourceLineNo">545</span>          LOG.info("Delayed CRASHING of " + server);<a name="line.545"></a>
+<span class="sourceLineNo">546</span>          doCrash(server);<a name="line.546"></a>
+<span class="sourceLineNo">547</span>        }<a name="line.547"></a>
+<span class="sourceLineNo">548</span>      }, 5, TimeUnit.SECONDS);<a name="line.548"></a>
+<span class="sourceLineNo">549</span>      return null;<a name="line.549"></a>
+<span class="sourceLineNo">550</span>    }<a name="line.550"></a>
+<span class="sourceLineNo">551</span><a name="line.551"></a>
+<span class="sourceLineNo">552</span>    @Override<a name="line.552"></a>
+<span class="sourceLineNo">553</span>    protected CloseRegionResponse execCloseRegion(ServerName server, byte[] regionName)<a name="line.553"></a>
+<span class="sourceLineNo">554</span>        throws IOException {<a name="line.554"></a>
+<span class="sourceLineNo">555</span>      CloseRegionResponse.Builder resp = CloseRegionResponse.newBuilder();<a name="line.555"></a>
+<span class="sourceLineNo">556</span>      boolean closed = rand.nextBoolean();<a name="line.556"></a>
+<span class="sourceLineNo">557</span>      if (closed) {<a name="line.557"></a>
+<span class="sourceLineNo">558</span>        RegionInfo hri = am.getRegionInfo(regionName);<a name="line.558"></a>
+<span class="sourceLineNo">559</span>        sendTransitionReport(server, ProtobufUtil.toRegionInfo(hri), TransitionCode.CLOSED, -1);<a name="line.559"></a>
+<span class="sourceLineNo">560</span>      }<a name="line.560"></a>
+<span class="sourceLineNo">561</span>      resp.setClosed(closed);<a name="line.561"></a>
+<span class="sourceLineNo">562</span>      return resp.build();<a name="line.562"></a>
+<span class="sourceLineNo">563</span>    }<a name="line.563"></a>
 <span class="sourceLineNo">564</span>  }<a name="line.564"></a>
 <span class="sourceLineNo">565</span><a name="line.565"></a>
-<span class="sourceLineNo">566</span>  protected class MockRSProcedureDispatcher extends RSProcedureDispatcher {<a name="line.566"></a>
-<span class="sourceLineNo">567</span>    private MockRSExecutor mockRsExec;<a name="line.567"></a>
-<span class="sourceLineNo">568</span><a name="line.568"></a>
-<span class="sourceLineNo">569</span>    public MockRSProcedureDispatcher(final MasterServices master) {<a name="line.569"></a>
-<span class="sourceLineNo">570</span>      super(master);<a name="line.570"></a>
-<span class="sourceLineNo">571</span>    }<a name="line.571"></a>
-<span class="sourceLineNo">572</span><a name="line.572"></a>
-<span class="sourceLineNo">573</span>    public void setMockRsExecutor(final MockRSExecutor mockRsExec) {<a name="line.573"></a>
-<span class="sourceLineNo">574</span>      this.mockRsExec = mockRsExec;<a name="line.574"></a>
-<span class="sourceLineNo">575</span>    }<a name="line.575"></a>
-<span class="sourceLineNo">576</span><a name="line.576"></a>
-<span class="sourceLineNo">577</span>    @Override<a name="line.577"></a>
-<span class="sourceLineNo">578</span>    protected void remoteDispatch(ServerName serverName,<a name="line.578"></a>
-<span class="sourceLineNo">579</span>        @SuppressWarnings("rawtypes") Set&lt;RemoteProcedure&gt; remoteProcedures) {<a name="line.579"></a>
-<span class="sourceLineNo">580</span>      submitTask(new MockRemoteCall(serverName, remoteProcedures));<a name="line.580"></a>
-<span class="sourceLineNo">581</span>    }<a name="line.581"></a>
-<span class="sourceLineNo">582</span><a name="line.582"></a>
-<span class="sourceLineNo">583</span>    private class MockRemoteCall extends ExecuteProceduresRemoteCall {<a name="line.583"></a>
-<span class="sourceLineNo">584</span>      public MockRemoteCall(final ServerName serverName,<a name="line.584"></a>
-<span class="sourceLineNo">585</span>          @SuppressWarnings("rawtypes") final Set&lt;RemoteProcedure&gt; operations) {<a name="line.585"></a>
-<span class="sourceLineNo">586</span>        super(serverName, operations);<a name="line.586"></a>
-<span class="sourceLineNo">587</span>      }<a name="line.587"></a>
-<span class="sourceLineNo">588</span><a name="line.588"></a>
-<span class="sourceLineNo">589</span>      @Override<a name="line.589"></a>
-<span class="sourceLineNo">590</span>      protected ExecuteProceduresResponse sendRequest(final ServerName serverName,<a name="line.590"></a>
-<span class="sourceLineNo">591</span>          final ExecuteProceduresRequest request) throws IOException {<a name="line.591"></a>
-<span class="sourceLineNo">592</span>        return mockRsExec.sendRequest(serverName, request);<a name="line.592"></a>
-<span class="sourceLineNo">593</span>      }<a name="line.593"></a>
-<span class="sourceLineNo">594</span>    }<a name="line.594"></a>
-<span class="sourceLineNo">595</span>  }<a name="line.595"></a>
-<span class="sourceLineNo">596</span><a name="line.596"></a>
-<span class="sourceLineNo">597</span>  protected void collectAssignmentManagerMetrics() {<a name="line.597"></a>
-<span class="sourceLineNo">598</span>    assignSubmittedCount = assignProcMetrics.getSubmittedCounter().getCount();<a name="line.598"></a>
-<span class="sourceLineNo">599</span>    assignFailedCount = assignProcMetrics.getFailedCounter().getCount();<a name="line.599"></a>
-<span class="sourceLineNo">600</span>    unassignSubmittedCount = unassignProcMetrics.getSubmittedCounter().getCount();<a name="line.600"></a>
-<span class="sourceLineNo">601</span>    unassignFailedCount = unassignProcMetrics.getFailedCounter().getCount();<a name="line.601"></a>
-<span class="sourceLineNo">602</span>  }<a name="line.602"></a>
-<span class="sourceLineNo">603</span>}<a name="line.603"></a>
+<span class="sourceLineNo">566</span>  protected interface MockRSExecutor {<a name="line.566"></a>
+<span class="sourceLineNo">567</span>    ExecuteProceduresResponse sendRequest(ServerName server, ExecuteProceduresRequest req)<a name="line.567"></a>
+<span class="sourceLineNo">568</span>        throws IOException;<a name="line.568"></a>
+<span class="sourceLineNo">569</span>  }<a name="line.569"></a>
+<span class="sourceLineNo">570</span><a name="line.570"></a>
+<span class="sourceLineNo">571</span>  protected class MockRSProcedureDispatcher extends RSProcedureDispatcher {<a name="line.571"></a>
+<span class="sourceLineNo">572</span>    private MockRSExecutor mockRsExec;<a name="line.572"></a>
+<span class="sourceLineNo">573</span><a name="line.573"></a>
+<span class="sourceLineNo">574</span>    public MockRSProcedureDispatcher(final MasterServices master) {<a name="line.574"></a>
+<span class="sourceLineNo">575</span>      super(master);<a name="line.575"></a>
+<span class="sourceLineNo">576</span>    }<a name="line.576"></a>
+<span class="sourceLineNo">577</span><a name="line.577"></a>
+<span class="sourceLineNo">578</span>    public void setMockRsExecutor(final MockRSExecutor mockRsExec) {<a name="line.578"></a>
+<span class="sourceLineNo">579</span>      this.mockRsExec = mockRsExec;<a name="line.579"></a>
+<span class="sourceLineNo">580</span>    }<a name="line.580"></a>
+<span class="sourceLineNo">581</span><a name="line.581"></a>
+<span class="sourceLineNo">582</span>    @Override<a name="line.582"></a>
+<span class="sourceLineNo">583</span>    protected void remoteDispatch(ServerName serverName,<a name="line.583"></a>
+<span class="sourceLineNo">584</span>        @SuppressWarnings("rawtypes") Set&lt;RemoteProcedure&gt; remoteProcedures) {<a name="line.584"></a>
+<span class="sourceLineNo">585</span>      submitTask(new MockRemoteCall(serverName, remoteProcedures));<a name="line.585"></a>
+<span class="sourceLineNo">586</span>    }<a name="line.586"></a>
+<span class="sourceLineNo">587</span><a name="line.587"></a>
+<span class="sourceLineNo">588</span>    private class MockRemoteCall extends ExecuteProceduresRemoteCall {<a name="line.588"></a>
+<span class="sourceLineNo">589</span>      public MockRemoteCall(final ServerName serverName,<a name="line.589"></a>
+<span class="sourceLineNo">590</span>          @SuppressWarnings("rawtypes") final Set&lt;RemoteProcedure&gt; operations) {<a name="line.590"></a>
+<span class="sourceLineNo">591</span>        super(serverName, operations);<a name="line.591"></a>
+<span class="sourceLineNo">592</span>      }<a name="line.592"></a>
+<span class="sourceLineNo">593</span><a name="line.593"></a>
+<span class="sourceLineNo">594</span>      @Override<a name="line.594"></a>
+<span class="sourceLineNo">595</span>      protected ExecuteProceduresResponse sendRequest(final ServerName serverName,<a name="line.595"></a>
+<span class="sourceLineNo">596</span>          final ExecuteProceduresRequest request) throws IOException {<a name="line.596"></a>
+<span class="sourceLineNo">597</span>        return mockRsExec.sendRequest(serverName, request);<a name="line.597"></a>
+<span class="sourceLineNo">598</span>      }<a name="line.598"></a>
+<span class="sourceLineNo">599</span>    }<a name="line.599"></a>
+<span class="sourceLineNo">600</span>  }<a name="line.600"></a>
+<span class="sourceLineNo">601</span><a name="line.601"></a>
+<span class="sourceLineNo">602</span>  protected void collectAssignmentManagerMetrics() {<a name="line.602"></a>
+<span class="sourceLineNo">603</span>    assignSubmittedCount = assignProcMetrics.getSubmittedCounter().getCount();<a name="line.603"></a>
+<span class="sourceLineNo">604</span>    assignFailedCount = assignProcMetrics.getFailedCounter().getCount();<a name="line.604"></a>
+<span class="sourceLineNo">605</span>    unassignSubmittedCount = unassignProcMetrics.getSubmittedCounter().getCount();<a name="line.605"></a>
+<span class="sourceLineNo">606</span>    unassignFailedCount = unassignProcMetrics.getFailedCounter().getCount();<a name="line.606"></a>
+<span class="sourceLineNo">607</span>  }<a name="line.607"></a>
+<span class="sourceLineNo">608</span>}<a name="line.608"></a>
 
 
 
index 4635d99..04980f6 100644 (file)
 <span class="sourceLineNo">067</span>import org.slf4j.Logger;<a name="line.67"></a>
 <span class="sourceLineNo">068</span>import org.slf4j.LoggerFactory;<a name="line.68"></a>
 <span class="sourceLineNo">069</span><a name="line.69"></a>
-<span class="sourceLineNo">070</span>import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil;<a name="line.70"></a>
-<span class="sourceLineNo">071</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionRequest;<a name="line.71"></a>
-<span class="sourceLineNo">072</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionResponse;<a name="line.72"></a>
-<span class="sourceLineNo">073</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresRequest;<a name="line.73"></a>
-<span class="sourceLineNo">074</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse;<a name="line.74"></a>
-<span class="sourceLineNo">075</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest;<a name="line.75"></a>
-<span class="sourceLineNo">076</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo;<a name="line.76"></a>
-<span class="sourceLineNo">077</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse;<a name="line.77"></a>
-<span class="sourceLineNo">078</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse.RegionOpeningState;<a name="line.78"></a>
-<span class="sourceLineNo">079</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionStateTransition;<a name="line.79"></a>
-<span class="sourceLineNo">080</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionStateTransition.TransitionCode;<a name="line.80"></a>
-<span class="sourceLineNo">081</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.ReportRegionStateTransitionRequest;<a name="line.81"></a>
-<span class="sourceLineNo">082</span><a name="line.82"></a>
-<span class="sourceLineNo">083</span>/**<a name="line.83"></a>
-<span class="sourceLineNo">084</span> * Base class for AM test.<a name="line.84"></a>
-<span class="sourceLineNo">085</span> */<a name="line.85"></a>
-<span class="sourceLineNo">086</span>public abstract class TestAssignmentManagerBase {<a name="line.86"></a>
-<span class="sourceLineNo">087</span><a name="line.87"></a>
-<span class="sourceLineNo">088</span>  private static final Logger LOG = LoggerFactory.getLogger(TestAssignmentManagerBase.class);<a name="line.88"></a>
+<span class="sourceLineNo">070</span>import org.apache.hbase.thirdparty.com.google.common.util.concurrent.ThreadFactoryBuilder;<a name="line.70"></a>
+<span class="sourceLineNo">071</span><a name="line.71"></a>
+<span class="sourceLineNo">072</span>import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil;<a name="line.72"></a>
+<span class="sourceLineNo">073</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionRequest;<a name="line.73"></a>
+<span class="sourceLineNo">074</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.CloseRegionResponse;<a name="line.74"></a>
+<span class="sourceLineNo">075</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresRequest;<a name="line.75"></a>
+<span class="sourceLineNo">076</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse;<a name="line.76"></a>
+<span class="sourceLineNo">077</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest;<a name="line.77"></a>
+<span class="sourceLineNo">078</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo;<a name="line.78"></a>
+<span class="sourceLineNo">079</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse;<a name="line.79"></a>
+<span class="sourceLineNo">080</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionResponse.RegionOpeningState;<a name="line.80"></a>
+<span class="sourceLineNo">081</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionStateTransition;<a name="line.81"></a>
+<span class="sourceLineNo">082</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionStateTransition.TransitionCode;<a name="line.82"></a>
+<span class="sourceLineNo">083</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.ReportRegionStateTransitionRequest;<a name="line.83"></a>
+<span class="sourceLineNo">084</span><a name="line.84"></a>
+<span class="sourceLineNo">085</span>/**<a name="line.85"></a>
+<span class="sourceLineNo">086</span> * Base class for AM test.<a name="line.86"></a>
+<span class="sourceLineNo">087</span> */<a name="line.87"></a>
+<span class="sourceLineNo">088</span>public abstract class TestAssignmentManagerBase {<a name="line.88"></a>
 <span class="sourceLineNo">089</span><a name="line.89"></a>
-<span class="sourceLineNo">090</span>  @Rule<a name="line.90"></a>
-<span class="sourceLineNo">091</span>  public TestName name = new TestName();<a name="line.91"></a>
+<span class="sourceLineNo">090</span>  private static final Logger LOG = LoggerFactory.getLogger(TestAssignmentManagerBase.class);<a name="line.90"></a>
+<span class="sourceLineNo">091</span><a name="line.91"></a>
 <span class="sourceLineNo">092</span>  @Rule<a name="line.92"></a>
-<span class="sourceLineNo">093</span>  public final ExpectedException exception = ExpectedException.none();<a name="line.93"></a>
-<span class="sourceLineNo">094</span><a name="line.94"></a>
-<span class="sourceLineNo">095</span>  protected static final int PROC_NTHREADS = 64;<a name="line.95"></a>
-<span class="sourceLineNo">096</span>  protected static final int NREGIONS = 1 * 1000;<a name="line.96"></a>
-<span class="sourceLineNo">097</span>  protected static final int NSERVERS = Math.max(1, NREGIONS / 100);<a name="line.97"></a>
-<span class="sourceLineNo">098</span><a name="line.98"></a>
-<span class="sourceLineNo">099</span>  protected HBaseTestingUtility util;<a name="line.99"></a>
-<span class="sourceLineNo">100</span>  protected MockRSProcedureDispatcher rsDispatcher;<a name="line.100"></a>
-<span class="sourceLineNo">101</span>  protected MockMasterServices master;<a name="line.101"></a>
-<span class="sourceLineNo">102</span>  protected AssignmentManager am;<a name="line.102"></a>
-<span class="sourceLineNo">103</span>  protected NavigableMap&lt;ServerName, SortedSet&lt;byte[]&gt;&gt; regionsToRegionServers =<a name="line.103"></a>
-<span class="sourceLineNo">104</span>    new ConcurrentSkipListMap&lt;ServerName, SortedSet&lt;byte[]&gt;&gt;();<a name="line.104"></a>
-<span class="sourceLineNo">105</span>  // Simple executor to run some simple tasks.<a name="line.105"></a>
-<span class="sourceLineNo">106</span>  protected ScheduledExecutorService executor;<a name="line.106"></a>
-<span class="sourceLineNo">107</span><a name="line.107"></a>
-<span class="sourceLineNo">108</span>  protected ProcedureMetrics assignProcMetrics;<a name="line.108"></a>
-<span class="sourceLineNo">109</span>  protected ProcedureMetrics unassignProcMetrics;<a name="line.109"></a>
-<span class="sourceLineNo">110</span><a name="line.110"></a>
-<span class="sourceLineNo">111</span>  protected long assignSubmittedCount = 0;<a name="line.111"></a>
-<span class="sourceLineNo">112</span>  protected long assignFailedCount = 0;<a name="line.112"></a>
-<span class="sourceLineNo">113</span>  protected long unassignSubmittedCount = 0;<a name="line.113"></a>
-<span class="sourceLineNo">114</span>  protected long unassignFailedCount = 0;<a name="line.114"></a>
-<span class="sourceLineNo">115</span><a name="line.115"></a>
-<span class="sourceLineNo">116</span>  protected int getAssignMaxAttempts() {<a name="line.116"></a>
-<span class="sourceLineNo">117</span>    // Have many so we succeed eventually.<a name="line.117"></a>
-<span class="sourceLineNo">118</span>    return 100;<a name="line.118"></a>
-<span class="sourceLineNo">119</span>  }<a name="line.119"></a>
-<span class="sourceLineNo">120</span><a name="line.120"></a>
-<span class="sourceLineNo">121</span>  protected void setupConfiguration(Configuration conf) throws Exception {<a name="line.121"></a>
-<span class="sourceLineNo">122</span>    FSUtils.setRootDir(conf, util.getDataTestDir());<a name="line.122"></a>
-<span class="sourceLineNo">123</span>    conf.setBoolean(WALProcedureStore.USE_HSYNC_CONF_KEY, false);<a name="line.123"></a>
-<span class="sourceLineNo">124</span>    conf.setInt(WALProcedureStore.SYNC_WAIT_MSEC_CONF_KEY, 10);<a name="line.124"></a>
-<span class="sourceLineNo">125</span>    conf.setInt(MasterProcedureConstants.MASTER_PROCEDURE_THREADS, PROC_NTHREADS);<a name="line.125"></a>
-<span class="sourceLineNo">126</span>    conf.setInt(RSProcedureDispatcher.RS_RPC_STARTUP_WAIT_TIME_CONF_KEY, 1000);<a name="line.126"></a>
-<span class="sourceLineNo">127</span>    conf.setInt(AssignmentManager.ASSIGN_MAX_ATTEMPTS, getAssignMaxAttempts());<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>  @Before<a name="line.130"></a>
-<span class="sourceLineNo">131</span>  public void setUp() throws Exception {<a name="line.131"></a>
-<span class="sourceLineNo">132</span>    util = new HBaseTestingUtility();<a name="line.132"></a>
-<span class="sourceLineNo">133</span>    this.executor = Executors.newSingleThreadScheduledExecutor();<a name="line.133"></a>
-<span class="sourceLineNo">134</span>    setupConfiguration(util.getConfiguration());<a name="line.134"></a>
-<span class="sourceLineNo">135</span>    master = new MockMasterServices(util.getConfiguration(), this.regionsToRegionServers);<a name="line.135"></a>
-<span class="sourceLineNo">136</span>    rsDispatcher = new MockRSProcedureDispatcher(master);<a name="line.136"></a>
-<span class="sourceLineNo">137</span>    master.start(NSERVERS, rsDispatcher);<a name="line.137"></a>
-<span class="sourceLineNo">138</span>    am = master.getAssignmentManager();<a name="line.138"></a>
-<span class="sourceLineNo">139</span>    assignProcMetrics = am.getAssignmentManagerMetrics().getAssignProcMetrics();<a name="line.139"></a>
-<span class="sourceLineNo">140</span>    unassignProcMetrics = am.getAssignmentManagerMetrics().getUnassignProcMetrics();<a name="line.140"></a>
-<span class="sourceLineNo">141</span>    setUpMeta();<a name="line.141"></a>
-<span class="sourceLineNo">142</span>  }<a name="line.142"></a>
-<span class="sourceLineNo">143</span><a name="line.143"></a>
-<span class="sourceLineNo">144</span>  protected void setUpMeta() throws Exception {<a name="line.144"></a>
-<span class="sourceLineNo">145</span>    rsDispatcher.setMockRsExecutor(new GoodRsExecutor());<a name="line.145"></a>
-<span class="sourceLineNo">146</span>    am.assign(RegionInfoBuilder.FIRST_META_REGIONINFO);<a name="line.146"></a>
-<span class="sourceLineNo">147</span>    am.wakeMetaLoadedEvent();<a name="line.147"></a>
+<span class="sourceLineNo">093</span>  public TestName name = new TestName();<a name="line.93"></a>
+<span class="sourceLineNo">094</span>  @Rule<a name="line.94"></a>
+<span class="sourceLineNo">095</span>  public final ExpectedException exception = ExpectedException.none();<a name="line.95"></a>
+<span class="sourceLineNo">096</span><a name="line.96"></a>
+<span class="sourceLineNo">097</span>  protected static final int PROC_NTHREADS = 64;<a name="line.97"></a>
+<span class="sourceLineNo">098</span>  protected static final int NREGIONS = 1 * 1000;<a name="line.98"></a>
+<span class="sourceLineNo">099</span>  protected static final int NSERVERS = Math.max(1, NREGIONS / 100);<a name="line.99"></a>
+<span class="sourceLineNo">100</span><a name="line.100"></a>
+<span class="sourceLineNo">101</span>  protected HBaseTestingUtility util;<a name="line.101"></a>
+<span class="sourceLineNo">102</span>  protected MockRSProcedureDispatcher rsDispatcher;<a name="line.102"></a>
+<span class="sourceLineNo">103</span>  protected MockMasterServices master;<a name="line.103"></a>
+<span class="sourceLineNo">104</span>  protected AssignmentManager am;<a name="line.104"></a>
+<span class="sourceLineNo">105</span>  protected NavigableMap&lt;ServerName, SortedSet&lt;byte[]&gt;&gt; regionsToRegionServers =<a name="line.105"></a>
+<span class="sourceLineNo">106</span>    new ConcurrentSkipListMap&lt;ServerName, SortedSet&lt;byte[]&gt;&gt;();<a name="line.106"></a>
+<span class="sourceLineNo">107</span>  // Simple executor to run some simple tasks.<a name="line.107"></a>
+<span class="sourceLineNo">108</span>  protected ScheduledExecutorService executor;<a name="line.108"></a>
+<span class="sourceLineNo">109</span><a name="line.109"></a>
+<span class="sourceLineNo">110</span>  protected ProcedureMetrics assignProcMetrics;<a name="line.110"></a>
+<span class="sourceLineNo">111</span>  protected ProcedureMetrics unassignProcMetrics;<a name="line.111"></a>
+<span class="sourceLineNo">112</span><a name="line.112"></a>
+<span class="sourceLineNo">113</span>  protected long assignSubmittedCount = 0;<a name="line.113"></a>
+<span class="sourceLineNo">114</span>  protected long assignFailedCount = 0;<a name="line.114"></a>
+<span class="sourceLineNo">115</span>  protected long unassignSubmittedCount = 0;<a name="line.115"></a>
+<span class="sourceLineNo">116</span>  protected long unassignFailedCount = 0;<a name="line.116"></a>
+<span class="sourceLineNo">117</span><a name="line.117"></a>
+<span class="sourceLineNo">118</span>  protected int newRsAdded;<a name="line.118"></a>
+<span class="sourceLineNo">119</span><a name="line.119"></a>
+<span class="sourceLineNo">120</span>  protected int getAssignMaxAttempts() {<a name="line.120"></a>
+<span class="sourceLineNo">121</span>    // Have many so we succeed eventually.<a name="line.121"></a>
+<span class="sourceLineNo">122</span>    return 1000;<a name="line.122"></a>
+<span class="sourceLineNo">123</span>  }<a name="line.123"></a>
+<span class="sourceLineNo">124</span><a name="line.124"></a>
+<span class="sourceLineNo">125</span>  protected void setupConfiguration(Configuration conf) throws Exception {<a name="line.125"></a>
+<span class="sourceLineNo">126</span>    FSUtils.setRootDir(conf, util.getDataTestDir());<a name="line.126"></a>
+<span class="sourceLineNo">127</span>    conf.setBoolean(WALProcedureStore.USE_HSYNC_CONF_KEY, false);<a name="line.127"></a>
+<span class="sourceLineNo">128</span>    conf.setInt(WALProcedureStore.SYNC_WAIT_MSEC_CONF_KEY, 10);<a name="line.128"></a>
+<span class="sourceLineNo">129</span>    conf.setInt(MasterProcedureConstants.MASTER_PROCEDURE_THREADS, PROC_NTHREADS);<a name="line.129"></a>
+<span class="sourceLineNo">130</span>    conf.setInt(RSProcedureDispatcher.RS_RPC_STARTUP_WAIT_TIME_CONF_KEY, 1000);<a name="line.130"></a>
+<span class="sourceLineNo">131</span>    conf.setInt(AssignmentManager.ASSIGN_MAX_ATTEMPTS, getAssignMaxAttempts());<a name="line.131"></a>
+<span class="sourceLineNo">132</span>  }<a name="line.132"></a>
+<span class="sourceLineNo">133</span><a name="line.133"></a>
+<span class="sourceLineNo">134</span>  @Before<a name="line.134"></a>
+<span class="sourceLineNo">135</span>  public void setUp() throws Exception {<a name="line.135"></a>
+<span class="sourceLineNo">136</span>    util = new HBaseTestingUtility();<a name="line.136"></a>
+<span class="sourceLineNo">137</span>    this.executor = Executors.newSingleThreadScheduledExecutor(new ThreadFactoryBuilder()<a name="line.137"></a>
+<span class="sourceLineNo">138</span>      .setUncaughtExceptionHandler((t, e) -&gt; LOG.warn("Uncaught: ", e)).build());<a name="line.138"></a>
+<span class="sourceLineNo">139</span>    setupConfiguration(util.getConfiguration());<a name="line.139"></a>
+<span class="sourceLineNo">140</span>    master = new MockMasterServices(util.getConfiguration(), this.regionsToRegionServers);<a name="line.140"></a>
+<span class="sourceLineNo">141</span>    rsDispatcher = new MockRSProcedureDispatcher(master);<a name="line.141"></a>
+<span class="sourceLineNo">142</span>    master.start(NSERVERS, rsDispatcher);<a name="line.142"></a>
+<span class="sourceLineNo">143</span>    newRsAdded = 0;<a name="line.143"></a>
+<span class="sourceLineNo">144</span>    am = master.getAssignmentManager();<a name="line.144"></a>
+<span class="sourceLineNo">145</span>    assignProcMetrics = am.getAssignmentManagerMetrics().getAssignProcMetrics();<a name="line.145"></a>
+<span class="sourceLineNo">146</span>    unassignProcMetrics = am.getAssignmentManagerMetrics().getUnassignProcMetrics();<a name="line.146"></a>
+<span class="sourceLineNo">147</span>    setUpMeta();<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>  @After<a name="line.150"></a>
-<span class="sourceLineNo">151</span>  public void tearDown() throws Exception {<a name="line.151"></a>
-<span class="sourceLineNo">152</span>    master.stop("tearDown");<a name="line.152"></a>
-<span class="sourceLineNo">153</span>    this.executor.shutdownNow();<a name="line.153"></a>
+<span class="sourceLineNo">150</span>  protected void setUpMeta() throws Exception {<a name="line.150"></a>
+<span class="sourceLineNo">151</span>    rsDispatcher.setMockRsExecutor(new GoodRsExecutor());<a name="line.151"></a>
+<span class="sourceLineNo">152</span>    am.assign(RegionInfoBuilder.FIRST_META_REGIONINFO);<a name="line.152"></a>
+<span class="sourceLineNo">153</span>    am.wakeMetaLoadedEvent();<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>  protected class NoopRsExecutor implements MockRSExecutor {<a name="line.156"></a>
-<span class="sourceLineNo">157</span>    @Override<a name="line.157"></a>
-<span class="sourceLineNo">158</span>    public ExecuteProceduresResponse sendRequest(ServerName server,<a name="line.158"></a>
-<span class="sourceLineNo">159</span>        ExecuteProceduresRequest request) throws IOException {<a name="line.159"></a>
-<span class="sourceLineNo">160</span>      if (request.getOpenRegionCount() &gt; 0) {<a name="line.160"></a>
-<span class="sourceLineNo">161</span>        for (OpenRegionRequest req : request.getOpenRegionList()) {<a name="line.161"></a>
-<span class="sourceLineNo">162</span>          for (RegionOpenInfo openReq : req.getOpenInfoList()) {<a name="line.162"></a>
-<span class="sourceLineNo">163</span>            execOpenRegion(server, openReq);<a name="line.163"></a>
-<span class="sourceLineNo">164</span>          }<a name="line.164"></a>
-<span class="sourceLineNo">165</span>        }<a name="line.165"></a>
-<span class="sourceLineNo">166</span>      }<a name="line.166"></a>
-<span class="sourceLineNo">167</span>      if (request.getCloseRegionCount() &gt; 0) {<a name="line.167"></a>
-<span class="sourceLineNo">168</span>        for (CloseRegionRequest req : request.getCloseRegionList()) {<a name="line.168"></a>
-<span class="sourceLineNo">169</span>          execCloseRegion(server, req.getRegion().getValue().toByteArray());<a name="line.169"></a>
-<span class="sourceLineNo">170</span>        }<a name="line.170"></a>
-<span class="sourceLineNo">171</span>      }<a name="line.171"></a>
-<span class="sourceLineNo">172</span>      return ExecuteProceduresResponse.newBuilder().build();<a name="line.172"></a>
-<span class="sourceLineNo">173</span>    }<a name="line.173"></a>
-<span class="sourceLineNo">174</span><a name="line.174"></a>
-<span class="sourceLineNo">175</span>    protected RegionOpeningState execOpenRegion(ServerName server, RegionOpenInfo regionInfo)<a name="line.175"></a>
-<span class="sourceLineNo">176</span>        throws IOException {<a name="line.176"></a>
-<span class="sourceLineNo">177</span>      return null;<a name="line.177"></a>
-<span class="sourceLineNo">178</span>    }<a name="line.178"></a>
-<span class="sourceLineNo">179</span><a name="line.179"></a>
-<span class="sourceLineNo">180</span>    protected CloseRegionResponse execCloseRegion(ServerName server, byte[] regionName)<a name="line.180"></a>
-<span class="sourceLineNo">181</span>        throws IOException {<a name="line.181"></a>
-<span class="sourceLineNo">182</span>      return null;<a name="line.182"></a>
-<span class="sourceLineNo">183</span>    }<a name="line.183"></a>
-<span class="sourceLineNo">184</span>  }<a name="line.184"></a>
+<span class="sourceLineNo">156</span>  @After<a name="line.156"></a>
+<span class="sourceLineNo">157</span>  public void tearDown() throws Exception {<a name="line.157"></a>
+<span class="sourceLineNo">158</span>    master.stop("tearDown");<a name="line.158"></a>
+<span class="sourceLineNo">159</span>    this.executor.shutdownNow();<a name="line.159"></a>
+<span class="sourceLineNo">160</span>  }<a name="line.160"></a>
+<span class="sourceLineNo">161</span><a name="line.161"></a>
+<span class="sourceLineNo">162</span>  protected class NoopRsExecutor implements MockRSExecutor {<a name="line.162"></a>
+<span class="sourceLineNo">163</span>    @Override<a name="line.163"></a>
+<span class="sourceLineNo">164</span>    public ExecuteProceduresResponse sendRequest(ServerName server,<a name="line.164"></a>
+<span class="sourceLineNo">165</span>        ExecuteProceduresRequest request) throws IOException {<a name="line.165"></a>
+<span class="sourceLineNo">166</span>      if (request.getOpenRegionCount() &gt; 0) {<a name="line.166"></a>
+<span class="sourceLineNo">167</span>        for (OpenRegionRequest req : request.getOpenRegionList()) {<a name="line.167"></a>
+<span class="sourceLineNo">168</span>          for (RegionOpenInfo openReq : req.getOpenInfoList()) {<a name="line.168"></a>
+<span class="sourceLineNo">169</span>            execOpenRegion(server, openReq);<a name="line.169"></a>
+<span class="sourceLineNo">170</span>          }<a name="line.170"></a>
+<span class="sourceLineNo">171</span>        }<a name="line.171"></a>
+<span class="sourceLineNo">172</span>      }<a name="line.172"></a>
+<span class="sourceLineNo">173</span>      if (request.getCloseRegionCount() &gt; 0) {<a name="line.173"></a>
+<span class="sourceLineNo">174</span>        for (CloseRegionRequest req : request.getCloseRegionList()) {<a name="line.174"></a>
+<span class="sourceLineNo">175</span>          execCloseRegion(server, req.getRegion().getValue().toByteArray());<a name="line.175"></a>
+<span class="sourceLineNo">176</span>        }<a name="line.176"></a>
+<span class="sourceLineNo">177</span>      }<a name="line.177"></a>
+<span class="sourceLineNo">178</span>      return ExecuteProceduresResponse.newBuilder().build();<a name="line.178"></a>
+<span class="sourceLineNo">179</span>    }<a name="line.179"></a>
+<span class="sourceLineNo">180</span><a name="line.180"></a>
+<span class="sourceLineNo">181</span>    protected RegionOpeningState execOpenRegion(ServerName server, RegionOpenInfo regionInfo)<a name="line.181"></a>
+<span class="sourceLineNo">182</span>        throws IOException {<a name="line.182"></a>
+<span class="sourceLineNo">183</span>      return null;<a name="line.183"></a>
+<span class="sourceLineNo">184</span>    }<a name="line.184"></a>
 <span class="sourceLineNo">185</span><a name="line.185"></a>
-<span class="sourceLineNo">186</span>  protected Future&lt;byte[]&gt; submitProcedure(final Procedure&lt;MasterProcedureEnv&gt; proc) {<a name="line.186"></a>
-<span class="sourceLineNo">187</span>    return ProcedureSyncWait.submitProcedure(master.getMasterProcedureExecutor(), proc);<a name="line.187"></a>
-<span class="sourceLineNo">188</span>  }<a name="line.188"></a>
-<span class="sourceLineNo">189</span><a name="line.189"></a>
-<span class="sourceLineNo">190</span>  protected byte[] waitOnFuture(final Future&lt;byte[]&gt; future) throws Exception {<a name="line.190"></a>
-<span class="sourceLineNo">191</span>    try {<a name="line.191"></a>
-<span class="sourceLineNo">192</span>      return future.get(60, TimeUnit.SECONDS);<a name="line.192"></a>
-<span class="sourceLineNo">193</span>    } catch (ExecutionException e) {<a name="line.193"></a>
-<span class="sourceLineNo">194</span>      LOG.info("ExecutionException", e);<a name="line.194"></a>
-<span class="sourceLineNo">195</span>      Exception ee = (Exception) e.getCause();<a name="line.195"></a>
-<span class="sourceLineNo">196</span>      if (ee instanceof InterruptedIOException) {<a name="line.196"></a>
-<span class="sourceLineNo">197</span>        for (Procedure&lt;?&gt; p : this.master.getMasterProcedureExecutor().getProcedures()) {<a name="line.197"></a>
-<span class="sourceLineNo">198</span>          LOG.info(p.toStringDetails());<a name="line.198"></a>
-<span class="sourceLineNo">199</span>        }<a name="line.199"></a>
-<span class="sourceLineNo">200</span>      }<a name="line.200"></a>
-<span class="sourceLineNo">201</span>      throw (Exception) e.getCause();<a name="line.201"></a>
-<span class="sourceLineNo">202</span>    }<a name="line.202"></a>
-<span class="sourceLineNo">203</span>  }<a name="line.203"></a>
-<span class="sourceLineNo">204</span><a name="line.204"></a>
-<span class="sourceLineNo">205</span>  // ============================================================================================<a name="line.205"></a>
-<span class="sourceLineNo">206</span>  // Helpers<a name="line.206"></a>
-<span class="sourceLineNo">207</span>  // ============================================================================================<a name="line.207"></a>
-<span class="sourceLineNo">208</span>  protected void bulkSubmit(TransitRegionStateProcedure[] procs) throws Exception {<a name="line.208"></a>
-<span class="sourceLineNo">209</span>    Thread[] threads = new Thread[PROC_NTHREADS];<a name="line.209"></a>
-<span class="sourceLineNo">210</span>    for (int i = 0; i &lt; threads.length; ++i) {<a name="line.210"></a>
-<span class="sourceLineNo">211</span>      final int threadId = i;<a name="line.211"></a>
-<span class="sourceLineNo">212</span>      threads[i] = new Thread() {<a name="line.212"></a>
-<span class="sourceLineNo">213</span>        @Override<a name="line.213"></a>
-<span class="sourceLineNo">214</span>        public void run() {<a name="line.214"></a>
-<span class="sourceLineNo">215</span>          TableName tableName = TableName.valueOf("table-" + threadId);<a name="line.215"></a>
-<span class="sourceLineNo">216</span>          int n = (procs.length / threads.length);<a name="line.216"></a>
-<span class="sourceLineNo">217</span>          int start = threadId * n;<a name="line.217"></a>
-<span class="sourceLineNo">218</span>          int stop = start + n;<a name="line.218"></a>
-<span class="sourceLineNo">219</span>          for (int j = start; j &lt; stop; ++j) {<a name="line.219"></a>
-<span class="sourceLineNo">220</span>            procs[j] = createAndSubmitAssign(tableName, j);<a name="line.220"></a>
-<span class="sourceLineNo">221</span>          }<a name="line.221"></a>
-<span class="sourceLineNo">222</span>        }<a name="line.222"></a>
-<span class="sourceLineNo">223</span>      };<a name="line.223"></a>
-<span class="sourceLineNo">224</span>      threads[i].start();<a name="line.224"></a>
-<span class="sourceLineNo">225</span>    }<a name="line.225"></a>
-<span class="sourceLineNo">226</span>    for (int i = 0; i &lt; threads.length; ++i) {<a name="line.226"></a>
-<span class="sourceLineNo">227</span>      threads[i].join();<a name="line.227"></a>
-<span class="sourceLineNo">228</span>    }<a name="line.228"></a>
-<span class="sourceLineNo">229</span>    for (int i = procs.length - 1; i &gt;= 0 &amp;&amp; procs[i] == null; --i) {<a name="line.229"></a>
-<span class="sourceLineNo">230</span>      procs[i] = createAndSubmitAssign(TableName.valueOf("table-sync"), i);<a name="line.230"></a>
+<span class="sourceLineNo">186</span>    protected CloseRegionResponse execCloseRegion(ServerName server, byte[] regionName)<a name="line.186"></a>
+<span class="sourceLineNo">187</span>        throws IOException {<a name="line.187"></a>
+<span class="sourceLineNo">188</span>      return null;<a name="line.188"></a>
+<span class="sourceLineNo">189</span>    }<a name="line.189"></a>
+<span class="sourceLineNo">190</span>  }<a name="line.190"></a>
+<span class="sourceLineNo">191</span><a name="line.191"></a>
+<span class="sourceLineNo">192</span>  protected Future&lt;byte[]&gt; submitProcedure(final Procedure&lt;MasterProcedureEnv&gt; proc) {<a name="line.192"></a>
+<span class="sourceLineNo">193</span>    return ProcedureSyncWait.submitProcedure(master.getMasterProcedureExecutor(), proc);<a name="line.193"></a>
+<span class="sourceLineNo">194</span>  }<a name="line.194"></a>
+<span class="sourceLineNo">195</span><a name="line.195"></a>
+<span class="sourceLineNo">196</span>  protected byte[] waitOnFuture(final Future&lt;byte[]&gt; future) throws Exception {<a name="line.196"></a>
+<span class="sourceLineNo">197</span>    try {<a name="line.197"></a>
+<span class="sourceLineNo">198</span>      return future.get(3, TimeUnit.MINUTES);<a name="line.198"></a>
+<span class="sourceLineNo">199</span>    } catch (ExecutionException e) {<a name="line.199"></a>
+<span class="sourceLineNo">200</span>      LOG.info("ExecutionException", e);<a name="line.200"></a>
+<span class="sourceLineNo">201</span>      Exception ee = (Exception) e.getCause();<a name="line.201"></a>
+<span class="sourceLineNo">202</span>      if (ee instanceof InterruptedIOException) {<a name="line.202"></a>
+<span class="sourceLineNo">203</span>        for (Procedure&lt;?&gt; p : this.master.getMasterProcedureExecutor().getProcedures()) {<a name="line.203"></a>
+<span class="sourceLineNo">204</span>          LOG.info(p.toStringDetails());<a name="line.204"></a>
+<span class="sourceLineNo">205</span>        }<a name="line.205"></a>
+<span class="sourceLineNo">206</span>      }<a name="line.206"></a>
+<span class="sourceLineNo">207</span>      throw (Exception) e.getCause();<a name="line.207"></a>
+<span class="sourceLineNo">208</span>    }<a name="line.208"></a>
+<span class="sourceLineNo">209</span>  }<a name="line.209"></a>
+<span class="sourceLineNo">210</span><a name="line.210"></a>
+<span class="sourceLineNo">211</span>  // ============================================================================================<a name="line.211"></a>
+<span class="sourceLineNo">212</span>  // Helpers<a name="line.212"></a>
+<span class="sourceLineNo">213</span>  // ============================================================================================<a name="line.213"></a>
+<span class="sourceLineNo">214</span>  protected void bulkSubmit(TransitRegionStateProcedure[] procs) throws Exception {<a name="line.214"></a>
+<span class="sourceLineNo">215</span>    Thread[] threads = new Thread[PROC_NTHREADS];<a name="line.215"></a>
+<span class="sourceLineNo">216</span>    for (int i = 0; i &lt; threads.length; ++i) {<a name="line.216"></a>
+<span class="sourceLineNo">217</span>      final int threadId = i;<a name="line.217"></a>
+<span class="sourceLineNo">218</span>      threads[i] = new Thread() {<a name="line.218"></a>
+<span class="sourceLineNo">219</span>        @Override<a name="line.219"></a>
+<span class="sourceLineNo">220</span>        public void run() {<a name="line.220"></a>
+<span class="sourceLineNo">221</span>          TableName tableName = TableName.valueOf("table-" + threadId);<a name="line.221"></a>
+<span class="sourceLineNo">222</span>          int n = (procs.length / threads.length);<a name="line.222"></a>
+<span class="sourceLineNo">223</span>          int start = threadId * n;<a name="line.223"></a>
+<span class="sourceLineNo">224</span>          int stop = start + n;<a name="line.224"></a>
+<span class="sourceLineNo">225</span>          for (int j = start; j &lt; stop; ++j) {<a name="line.225"></a>
+<span class="sourceLineNo">226</span>            procs[j] = createAndSubmitAssign(tableName, j);<a name="line.226"></a>
+<span class="sourceLineNo">227</span>          }<a name="line.227"></a>
+<span class="sourceLineNo">228</span>        }<a name="line.228"></a>
+<span class="sourceLineNo">229</span>      };<a name="line.229"></a>
+<span class="sourceLineNo">230</span>      threads[i].start();<a name="line.230"></a>
 <span class="sourceLineNo">231</span>    }<a name="line.231"></a>
-<span class="sourceLineNo">232</span>  }<a name="line.232"></a>
-<span class="sourceLineNo">233</span><a name="line.233"></a>
-<span class="sourceLineNo">234</span>  protected TransitRegionStateProcedure createAndSubmitAssign(TableName tableName, int regionId) {<a name="line.234"></a>
-<span class="sourceLineNo">235</span>    RegionInfo hri = createRegionInfo(tableName, regionId);<a name="line.235"></a>
-<span class="sourceLineNo">236</span>    TransitRegionStateProcedure proc = createAssignProcedure(hri);<a name="line.236"></a>
-<span class="sourceLineNo">237</span>    master.getMasterProcedureExecutor().submitProcedure(proc);<a name="line.237"></a>
-<span class="sourceLineNo">238</span>    return proc;<a name="line.238"></a>
-<span class="sourceLineNo">239</span>  }<a name="line.239"></a>
-<span class="sourceLineNo">240</span><a name="line.240"></a>
-<span class="sourceLineNo">241</span>  protected RegionInfo createRegionInfo(final TableName tableName, final long regionId) {<a name="line.241"></a>
-<span class="sourceLineNo">242</span>    return RegionInfoBuilder.newBuilder(tableName).setStartKey(Bytes.toBytes(regionId))<a name="line.242"></a>
-<span class="sourceLineNo">243</span>      .setEndKey(Bytes.toBytes(regionId + 1)).setSplit(false).setRegionId(0).build();<a name="line.243"></a>
-<span class="sourceLineNo">244</span>  }<a name="line.244"></a>
-<span class="sourceLineNo">245</span><a name="line.245"></a>
-<span class="sourceLineNo">246</span>  protected TransitRegionStateProcedure createAssignProcedure(RegionInfo hri) {<a name="line.246"></a>
-<span class="sourceLineNo">247</span>    return am.createAssignProcedures(Arrays.asList(hri))[0];<a name="line.247"></a>
-<span class="sourceLineNo">248</span>  }<a name="line.248"></a>
-<span class="sourceLineNo">249</span><a name="line.249"></a>
-<span class="sourceLineNo">250</span>  protected TransitRegionStateProcedure createUnassignProcedure(RegionInfo hri) {<a name="line.250"></a>
-<span class="sourceLineNo">251</span>    RegionStateNode regionNode = am.getRegionStates().getRegionStateNode(hri);<a name="line.251"></a>
-<span class="sourceLineNo">252</span>    TransitRegionStateProcedure proc;<a name="line.252"></a>
-<span class="sourceLineNo">253</span>    regionNode.lock();<a name="line.253"></a>
-<span class="sourceLineNo">254</span>    try {<a name="line.254"></a>
-<span class="sourceLineNo">255</span>      assertFalse(regionNode.isInTransition());<a name="line.255"></a>
-<span class="sourceLineNo">256</span>      proc = TransitRegionStateProcedure<a name="line.256"></a>
-<span class="sourceLineNo">257</span>        .unassign(master.getMasterProcedureExecutor().getEnvironment(), hri);<a name="line.257"></a>
-<span class="sourceLineNo">258</span>      regionNode.setProcedure(proc);<a name="line.258"></a>
-<span class="sourceLineNo">259</span>    } finally {<a name="line.259"></a>
-<span class="sourceLineNo">260</span>      regionNode.unlock();<a name="line.260"></a>
-<span class="sourceLineNo">261</span>    }<a name="line.261"></a>
-<span class="sourceLineNo">262</span>    return proc;<a name="line.262"></a>
-<span class="sourceLineNo">263</span>  }<a name="line.263"></a>
-<span class="sourceLineNo">264</span><a name="line.264"></a>
-<span class="sourceLineNo">265</span>  protected void sendTransitionReport(final ServerName serverName,<a name="line.265"></a>
-<span class="sourceLineNo">266</span>      final org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfo regionInfo,<a name="line.266"></a>
-<span class="sourceLineNo">267</span>      final TransitionCode state, long seqId) throws IOException {<a name="line.267"></a>
-<span class="sourceLineNo">268</span>    ReportRegionStateTransitionRequest.Builder req =<a name="line.268"></a>
-<span class="sourceLineNo">269</span>      ReportRegionStateTransitionRequest.newBuilder();<a name="line.269"></a>
-<span class="sourceLineNo">270</span>    req.setServer(ProtobufUtil.toServerName(serverName));<a name="line.270"></a>
-<span class="sourceLineNo">271</span>    req.addTransition(RegionStateTransition.newBuilder().addRegionInfo(regionInfo)<a name="line.271"></a>
-<span class="sourceLineNo">272</span>      .setTransitionCode(state).setOpenSeqNum(seqId).build());<a name="line.272"></a>
-<span class="sourceLineNo">273</span>    am.reportRegionStateTransition(req.build());<a name="line.273"></a>
-<span class="sourceLineNo">274</span>  }<a name="line.274"></a>
-<span class="sourceLineNo">275</span><a name="line.275"></a>
-<span class="sourceLineNo">276</span>  protected void doCrash(final ServerName serverName) {<a name="line.276"></a>
-<span class="sourceLineNo">277</span>    this.master.getServerManager().moveFromOnlineToDeadServers(serverName);<a name="line.277"></a>
-<span class="sourceLineNo">278</span>    this.am.submitServerCrash(serverName, false/* No WALs here */);<a name="line.278"></a>
-<span class="sourceLineNo">279</span>    // add a new server to avoid killing all the region servers which may hang the UTs<a name="line.279"></a>
-<span class="sourceLineNo">280</span>    int maxPort = this.master.getServerManager().getOnlineServersList().stream()<a name="line.280"></a>
-<span class="sourceLineNo">281</span>      .mapToInt(ServerName::getPort).max().getAsInt();<a name="line.281"></a>
-<span class="sourceLineNo">282</span>    ServerName newSn = ServerName.valueOf("localhost", 100 + maxPort + 1, 1);<a name="line.282"></a>
-<span class="sourceLineNo">283</span>    try {<a name="line.283"></a>
-<span class="sourceLineNo">284</span>      this.master.getServerManager().regionServerReport(newSn, ServerMetricsBuilder.of(newSn));<a name="line.284"></a>
-<span class="sourceLineNo">285</span>    } catch (YouAreDeadException e) {<a name="line.285"></a>
-<span class="sourceLineNo">286</span>      // should not happen<a name="line.286"></a>
-<span class="sourceLineNo">287</span>      throw new UncheckedIOException(e);<a name="line.287"></a>
-<span class="sourceLineNo">288</span>    }<a name="line.288"></a>
-<span class="sourceLineNo">289</span>  }<a name="line.289"></a>
-<span class="sourceLineNo">290</span><a name="line.290"></a>
-<span class="sourceLineNo">291</span>  protected void doRestart(final ServerName serverName) {<a name="line.291"></a>
-<span class="sourceLineNo">292</span>    try {<a name="line.292"></a>
-<span class="sourceLineNo">293</span>      this.master.restartRegionServer(serverName);<a name="line.293"></a>
-<span class="sourceLineNo">294</span>    } catch (IOException e) {<a name="line.294"></a>
-<span class="sourceLineNo">295</span>      LOG.warn("Can not restart RS with new startcode");<a name="line.295"></a>
-<span class="sourceLineNo">296</span>    }<a name="line.296"></a>
-<span class="sourceLineNo">297</span>  }<a name="line.297"></a>
-<span class="sourceLineNo">298</span><a name="line.298"></a>
-<span class="sourceLineNo">299</span>  protected class GoodRsExecutor extends NoopRsExecutor {<a name="line.299"></a>
-<span class="sourceLineNo">300</span>    @Override<a name="line.300"></a>
-<span class="sourceLineNo">301</span>    protected RegionOpeningState execOpenRegion(ServerName server, RegionOpenInfo openReq)<a name="line.301"></a>
-<span class="sourceLineNo">302</span>        throws IOException {<a name="line.302"></a>
-<span class="sourceLineNo">303</span>      RegionInfo hri = ProtobufUtil.toRegionInfo(openReq.getRegion());<a name="line.303"></a>
-<span class="sourceLineNo">304</span>      long previousOpenSeqNum =<a name="line.304"></a>
-<span class="sourceLineNo">305</span>        am.getRegionStates().getOrCreateRegionStateNode(hri).getOpenSeqNum();<a name="line.305"></a>
-<span class="sourceLineNo">306</span>      sendTransitionReport(server, openReq.getRegion(), TransitionCode.OPENED,<a name="line.306"></a>
-<span class="sourceLineNo">307</span>        previousOpenSeqNum + 2);<a name="line.307"></a>
-<span class="sourceLineNo">308</span>      // Concurrency?<a name="line.308"></a>
-<span class="sourceLineNo">309</span>      // Now update the state of our cluster in regionsToRegionServers.<a name="line.309"></a>
-<span class="sourceLineNo">310</span>      SortedSet&lt;byte[]&gt; regions = regionsToRegionServers.get(server);<a name="line.310"></a>
-<span class="sourceLineNo">311</span>      if (regions == null) {<a name="line.311"></a>
-<span class="sourceLineNo">312</span>        regions = new ConcurrentSkipListSet&lt;byte[]&gt;(Bytes.BYTES_COMPARATOR);<a name="line.312"></a>
-<span class="sourceLineNo">313</span>        regionsToRegionServers.put(server, regions);<a name="line.313"></a>
-<span class="sourceLineNo">314</span>      }<a name="line.314"></a>
-<span class="sourceLineNo">315</span>      if (regions.contains(hri.getRegionName())) {<a name="line.315"></a>
-<span class="sourceLineNo">316</span>        throw new UnsupportedOperationException(hri.getRegionNameAsString());<a name="line.316"></a>
-<span class="sourceLineNo">317</span>      }<a name="line.317"></a>
-<span class="sourceLineNo">318</span>      regions.add(hri.getRegionName());<a name="line.318"></a>
-<span class="sourceLineNo">319</span>      return RegionOpeningState.OPENED;<a name="line.319"></a>
-<span class="sourceLineNo">320</span>    }<a name="line.320"></a>
-<span class="sourceLineNo">321</span><a name="line.321"></a>
-<span class="sourceLineNo">322</span>    @Override<a name="line.322"></a>
-<span class="sourceLineNo">323</span>    protected CloseRegionResponse execCloseRegion(ServerName server, byte[] regionName)<a name="line.323"></a>
-<span class="sourceLineNo">324</span>        throws IOException {<a name="line.324"></a>
-<span class="sourceLineNo">325</span>      RegionInfo hri = am.getRegionInfo(regionName);<a name="line.325"></a>
-<span class="sourceLineNo">326</span>      sendTransitionReport(server, ProtobufUtil.toRegionInfo(hri), TransitionCode.CLOSED, -1);<a name="line.326"></a>
-<span class="sourceLineNo">327</span>      return CloseRegionResponse.newBuilder().setClosed(true).build();<a name="line.327"></a>
-<span class="sourceLineNo">328</span>    }<a name="line.328"></a>
-<span class="sourceLineNo">329</span>  }<a name="line.329"></a>
-<span class="sourceLineNo">330</span><a name="line.330"></a>
-<span class="sourceLineNo">331</span>  protected static class ServerNotYetRunningRsExecutor implements MockRSExecutor {<a name="line.331"></a>
-<span class="sourceLineNo">332</span>    @Override<a name="line.332"></a>
-<span class="sourceLineNo">333</span>    public ExecuteProceduresResponse sendRequest(ServerName server, ExecuteProceduresRequest req)<a name="line.333"></a>
-<span class="sourceLineNo">334</span>        throws IOException {<a name="line.334"></a>
-<span class="sourceLineNo">335</span>      throw new ServerNotRunningYetException("wait on server startup");<a name="line.335"></a>
-<span class="sourceLineNo">336</span>    }<a name="line.336"></a>
-<span class="sourceLineNo">337</span>  }<a name="line.337"></a>
-<span class="sourceLineNo">338</span><a name="line.338"></a>
-<span class="sourceLineNo">339</span>  protected static class FaultyRsExecutor implements MockRSExecutor {<a name="line.339"></a>
-<span class="sourceLineNo">340</span>    private final IOException exception;<a name="line.340"></a>
-<span class="sourceLineNo">341</span><a name="line.341"></a>
-<span class="sourceLineNo">342</span>    public FaultyRsExecutor(final IOException exception) {<a name="line.342"></a>
-<span class="sourceLineNo">343</span>      this.exception = exception;<a name="line.343"></a>
-<span class="sourceLineNo">344</span>    }<a name="line.344"></a>
-<span class="sourceLineNo">345</span><a name="line.345"></a>
-<span class="sourceLineNo">346</span>    @Override<a name="line.346"></a>
-<span class="sourceLineNo">347</span>    public ExecuteProceduresResponse sendRequest(ServerName server, ExecuteProceduresRequest req)<a name="line.347"></a>
-<span class="sourceLineNo">348</span>        throws IOException {<a name="line.348"></a>
-<span class="sourceLineNo">349</span>      throw exception;<a name="line.349"></a>
-<span class="sourceLineNo">350</span>    }<a name="line.350"></a>
-<span class="sourceLineNo">351</span>  }<a name="line.351"></a>
-<span class="sourceLineNo">352</span><a name="line.352"></a>
-<span class="sourceLineNo">353</span>  protected class SocketTimeoutRsExecutor extends GoodRsExecutor {<a name="line.353"></a>
-<span class="sourceLineNo">354</span>    private final int maxSocketTimeoutRetries;<a name="line.354"></a>
-<span class="sourceLineNo">355</span>    private final int maxServerRetries;<a name="line.355"></a>
-<span class="sourceLineNo">356</span><a name="line.356"></a>
-<span class="sourceLineNo">357</span>    private ServerName lastServer;<a name="line.357"></a>
-<span class="sourceLineNo">358</span>    private int sockTimeoutRetries;<a name="line.358"></a>
-<span class="sourceLineNo">359</span>    private int serverRetries;<a name="line.359"></a>
-<span class="sourceLineNo">360</span><a name="line.360"></a>
-<span class="sourceLineNo">361</span>    public SocketTimeoutRsExecutor(int maxSocketTimeoutRetries, int maxServerRetries) {<a name="line.361"></a>
-<span class="sourceLineNo">362</span>      this.maxServerRetries = maxServerRetries;<a name="line.362"></a>
-<span class="sourceLineNo">363</span>      this.maxSocketTimeoutRetries = maxSocketTimeoutRetries;<a name="line.363"></a>
-<span class="sourceLineNo">364</span>    }<a name="line.364"></a>
+<span class="sourceLineNo">232</span>    for (int i = 0; i &lt; threads.length; ++i) {<a name="line.232"></a>
+<span class="sourceLineNo">233</span>      threads[i].join();<a name="line.233"></a>
+<span class="sourceLineNo">234</span>    }<a name="line.234"></a>
+<span class="sourceLineNo">235</span>    for (int i = procs.length - 1; i &gt;= 0 &amp;&amp; procs[i] == null; --i) {<a name="line.235"></a>
+<span class="sourceLineNo">236</span>      procs[i] = createAndSubmitAssign(TableName.valueOf("table-sync"), i);<a name="line.236"></a>
+<span class="sourceLineNo">237</span>    }<a name="line.237"></a>
+<span class="sourceLineNo">238</span>  }<a name="line.238"></a>
+<span class="sourceLineNo">239</span><a name="line.239"></a>
+<span class="sourceLineNo">240</span>  protected TransitRegionStateProcedure createAndSubmitAssign(TableName tableName, int regionId) {<a name="line.240"></a>
+<span class="sourceLineNo">241</span>    RegionInfo hri = createRegionInfo(tableName, regionId);<a name="line.241"></a>
+<span class="sourceLineNo">242</span>    TransitRegionStateProcedure proc = createAssignProcedure(hri);<a name="line.242"></a>
+<span class="sourceLineNo">243</span>    master.getMasterProcedureExecutor().submitProcedure(proc);<a name="line.243"></a>
+<span class="sourceLineNo">244</span>    return proc;<a name="line.244"></a>
+<span class="sourceLineNo">245</span>  }<a name="line.245"></a>
+<span class="sourceLineNo">246</span><a name="line.246"></a>
+<span class="sourceLineNo">247</span>  protected RegionInfo createRegionInfo(final TableName tableName, final long regionId) {<a name="line.247"></a>
+<span class="sourceLineNo">248</span>    return RegionInfoBuilder.newBuilder(tableName).setStartKey(Bytes.toBytes(regionId))<a name="line.248"></a>
+<span class="sourceLineNo">249</span>      .setEndKey(Bytes.toBytes(regionId + 1)).setSplit(false).setRegionId(0).build();<a name="line.249"></a>
+<span class="sourceLineNo">250</span>  }<a name="line.250"></a>
+<span class="sourceLineNo">251</span><a name="line.251"></a>
+<span class="sourceLineNo">252</span>  protected TransitRegionStateProcedure createAssignProcedure(RegionInfo hri) {<a name="line.252"></a>
+<span class="sourceLineNo">253</span>    return am.createAssignProcedures(Arrays.asList(hri))[0];<a name="line.253"></a>
+<span class="sourceLineNo">254</span>  }<a name="line.254"></a>
+<span class="sourceLineNo">255</span><a name="line.255"></a>
+<span class="sourceLineNo">256</span>  protected TransitRegionStateProcedure createUnassignProcedure(RegionInfo hri) {<a name="line.256"></a>
+<span class="sourceLineNo">257</span>    RegionStateNode regionNode = am.getRegionStates().getRegionStateNode(hri);<a name="line.257"></a>
+<span class="sourceLineNo">258</span>    TransitRegionStateProcedure proc;<a name="line.258"></a>
+<span class="sourceLineNo">259</span>    regionNode.lock();<a name="line.259"></a>
+<span class="sourceLineNo">260</span>    try {<a name="line.260"></a>
+<span class="sourceLineNo">261</span>      assertFalse(regionNode.isInTransition());<a name="line.261"></a>
+<span class="sourceLineNo">262</span>      proc = TransitRegionStateProcedure<a name="line.262"></a>
+<span class="sourceLineNo">263</span>        .unassign(master.getMasterProcedureExecutor().getEnvironment(), hri);<a name="line.263"></a>
+<span class="sourceLineNo">264</span>      regionNode.setProcedure(proc);<a name="line.264"></a>
+<span class="sourceLineNo">265</span>    } finally {<a name="line.265"></a>
+<span class="sourceLineNo">266</span>      regionNode.unlock();<a name="line.266"></a>
+<span class="sourceLineNo">267</span>    }<a name="line.267"></a>
+<span class="sourceLineNo">268</span>    return proc;<a name="line.268"></a>
+<span class="sourceLineNo">269</span>  }<a name="line.269"></a>
+<span class="sourceLineNo">270</span><a name="line.270"></a>
+<span class="sourceLineNo">271</span>  protected void sendTransitionReport(final ServerName serverName,<a name="line.271"></a>
+<span class="sourceLineNo">272</span>      final org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionInfo regionInfo,<a name="line.272"></a>
+<span class="sourceLineNo">273</span>      final TransitionCode state, long seqId) throws IOException {<a name="line.273"></a>
+<span class="sourceLineNo">274</span>    ReportRegionStateTransitionRequest.Builder req =<a name="line.274"></a>
+<span class="sourceLineNo">275</span>      ReportRegionStateTransitionRequest.newBuilder();<a name="line.275"></a>
+<span class="sourceLineNo">276</span>    req.setServer(ProtobufUtil.toServerName(serverName));<a name="line.276"></a>
+<span class="sourceLineNo">277</span>    req.addTransition(RegionStateTransition.newBuilder().addRegionInfo(regionInfo)<a name="line.277"></a>
+<span class="sourceLineNo">278</span>      .setTransitionCode(state).setOpenSeqNum(seqId).build());<a name="line.278"></a>
+<span class="sourceLineNo">279</span>    am.reportRegionStateTransition(req.build());<a name="line.279"></a>
+<span class="sourceLineNo">280</span>  }<a name="line.280"></a>
+<span class="sourceLineNo">281</span><a name="line.281"></a>
+<span class="sourceLineNo">282</span>  protected void doCrash(final ServerName serverName) {<a name="line.282"></a>
+<span class="sourceLineNo">283</span>    this.master.getServerManager().moveFromOnlineToDeadServers(serverName);<a name="line.283"></a>
+<span class="sourceLineNo">284</span>    this.am.submitServerCrash(serverName, false/* No WALs here */);<a name="line.284"></a>
+<span class="sourceLineNo">285</span>    // add a new server to avoid killing all the region servers which may hang the UTs<a name="line.285"></a>
+<span class="sourceLineNo">286</span>    ServerName newSn = ServerName.valueOf("localhost", 10000 + newRsAdded, 1);<a name="line.286"></a>
+<span class="sourceLineNo">287</span>    newRsAdded++;<a name="line.287"></a>
+<span class="sourceLineNo">288</span>    try {<a name="line.288"></a>
+<span class="sourceLineNo">289</span>      this.master.getServerManager().regionServerReport(newSn, ServerMetricsBuilder.of(newSn));<a name="line.289"></a>
+<span class="sourceLineNo">290</span>    } catch (YouAreDeadException e) {<a name="line.290"></a>
+<span class="sourceLineNo">291</span>      // should not happen<a name="line.291"></a>
+<span class="sourceLineNo">292</span>      throw new UncheckedIOException(e);<a name="line.292"></a>
+<span class="sourceLineNo">293</span>    }<a name="line.293"></a>
+<span class="sourceLineNo">294</span>  }<a name="line.294"></a>
+<span class="sourceLineNo">295</span><a name="line.295"></a>
+<span class="sourceLineNo">296</span>  protected void doRestart(final ServerName serverName) {<a name="line.296"></a>
+<span class="sourceLineNo">297</span>    try {<a name="line.297"></a>
+<span class="sourceLineNo">298</span>      this.master.restartRegionServer(serverName);<a name="line.298"></a>
+<span class="sourceLineNo">299</span>    } catch (IOException e) {<a name="line.299"></a>
+<span class="sourceLineNo">300</span>      LOG.warn("Can not restart RS with new startcode");<a name="line.300"></a>
+<span class="sourceLineNo">301</span>    }<a name="line.301"></a>
+<span class="sourceLineNo">302</span>  }<a name="line.302"></a>
+<span class="sourceLineNo">303</span><a name="line.303"></a>
+<span class="sourceLineNo">304</span>  protected class GoodRsExecutor extends NoopRsExecutor {<a name="line.304"></a>
+<span class="sourceLineNo">305</span>    @Override<a name="line.305"></a>
+<span class="sourceLineNo">306</span>    protected RegionOpeningState execOpenRegion(ServerName server, RegionOpenInfo openReq)<a name="line.306"></a>
+<span class="sourceLineNo">307</span>        throws IOException {<a name="line.307"></a>
+<span class="sourceLineNo">308</span>      RegionInfo hri = ProtobufUtil.toRegionInfo(openReq.getRegion());<a name="line.308"></a>
+<span class="sourceLineNo">309</span>      long previousOpenSeqNum =<a name="line.309"></a>
+<span class="sourceLineNo">310</span>        am.getRegionStates().getOrCreateRegionStateNode(hri).getOpenSeqNum();<a name="line.310"></a>
+<span class="sourceLineNo">311</span>      sendTransitionReport(server, openReq.getRegion(), TransitionCode.OPENED,<a name="line.311"></a>
+<span class="sourceLineNo">312</span>        previousOpenSeqNum + 2);<a name="line.312"></a>
+<span class="sourceLineNo">313</span>      // Concurrency?<a name="line.313"></a>
+<span class="sourceLineNo">314</span>      // Now update the state of our cluster in regionsToRegionServers.<a name="line.314"></a>
+<span class="sourceLineNo">315</span>      SortedSet&lt;byte[]&gt; regions = regionsToRegionServers.get(server);<a name="line.315"></a>
+<span class="sourceLineNo">316</span>      if (regions == null) {<a name="line.316"></a>
+<span class="sourceLineNo">317</span>        regions = new ConcurrentSkipListSet&lt;byte[]&gt;(Bytes.BYTES_COMPARATOR);<a name="line.317"></a>
+<span class="sourceLineNo">318</span>        regionsToRegionServers.put(server, regions);<a name="line.318"></a>
+<span class="sourceLineNo">319</span>      }<a name="line.319"></a>
+<span class="sourceLineNo">320</span>      if (regions.contains(hri.getRegionName())) {<a name="line.320"></a>
+<span class="sourceLineNo">321</span>        throw new UnsupportedOperationException(hri.getRegionNameAsString());<a name="line.321"></a>
+<span class="sourceLineNo">322</span>      }<a name="line.322"></a>
+<span class="sourceLineNo">323</span>      regions.add(hri.getRegionName());<a name="line.323"></a>
+<span class="sourceLineNo">324</span>      return RegionOpeningState.OPENED;<a name="line.324"></a>
+<span class="sourceLineNo">325</span>    }<a name="line.325"></a>
+<span class="sourceLineNo">326</span><a name="line.326"></a>
+<span class="sourceLineNo">327</span>    @Override<a name="line.327"></a>
+<span class="sourceLineNo">328</span>    protected CloseRegionResponse execCloseRegion(ServerName server, byte[] regionName)<a name="line.328"></a>
+<span class="sourceLineNo">329</span>        throws IOException {<a name="line.329"></a>
+<span class="sourceLineNo">330</span>      RegionInfo hri = am.getRegionInfo(regionName);<a name="line.330"></a>
+<span class="sourceLineNo">331</span>      sendTransitionReport(server, ProtobufUtil.toRegionInfo(hri), TransitionCode.CLOSED, -1);<a name="line.331"></a>
+<span class="sourceLineNo">332</span>      return CloseRegionResponse.newBuilder().setClosed(true).build();<a name="line.332"></a>
+<span class="sourceLineNo">333</span>    }<a name="line.333"></a>
+<span class="sourceLineNo">334</span>  }<a name="line.334"></a>
+<span class="sourceLineNo">335</span><a name="line.335"></a>
+<span class="sourceLineNo">336</span>  protected static class ServerNotYetRunningRsExecutor implements MockRSExecutor {<a name="line.336"></a>
+<span class="sourceLineNo">337</span>    @Override<a name="line.337"></a>
+<span class="sourceLineNo">338</span>    public ExecuteProceduresResponse sendRequest(ServerName server, ExecuteProceduresRequest req)<a name="line.338"></a>
+<span class="sourceLineNo">339</span>        throws IOException {<a name="line.339"></a>
+<span class="sourceLineNo">340</span>      throw new ServerNotRunningYetException("wait on server startup");<a name="line.340"></a>
+<span class="sourceLineNo">341</span>    }<a name="line.341"></a>
+<span class="sourceLineNo">342</span>  }<a name="line.342"></a>
+<span class="sourceLineNo">343</span><a name="line.343"></a>
+<span class="sourceLineNo">344</span>  protected static class FaultyRsExecutor implements MockRSExecutor {<a name="line.344"></a>
+<span class="sourceLineNo">345</span>    private final IOException exception;<a name="line.345"></a>
+<span class="sourceLineNo">346</span><a name="line.346"></a>
+<span class="sourceLineNo">347</span>    public FaultyRsExecutor(final IOException exception) {<a name="line.347"></a>
+<span class="sourceLineNo">348</span>      this.exception = exception;<a name="line.348"></a>
+<span class="sourceLineNo">349</span>    }<a name="line.349"></a>
+<span class="sourceLineNo">350</span><a name="line.350"></a>
+<span class="sourceLineNo">351</span>    @Override<a name="line.351"></a>
+<span class="sourceLineNo">352</span>    public ExecuteProceduresResponse sendRequest(ServerName server, ExecuteProceduresRequest req)<a name="line.352"></a>
+<span class="sourceLineNo">353</span>        throws IOException {<a name="line.353"></a>
+<span class="sourceLineNo">354</span>      throw exception;<a name="line.354"></a>
+<span class="sourceLineNo">355</span>    }<a name="line.355"></a>
+<span class="sourceLineNo">356</span>  }<a name="line.356"></a>
+<span class="sourceLineNo">357</span><a name="line.357"></a>
+<span class="sourceLineNo">358</span>  protected class SocketTimeoutRsExecutor extends GoodRsExecutor {<a name="line.358"></a>
+<span class="sourceLineNo">359</span>    private final int maxSocketTimeoutRetries;<a name="line.359"></a>
+<span class="sourceLineNo">360</span>    private final int maxServerRetries;<a name="line.360"></a>
+<span class="sourceLineNo">361</span><a name="line.361"></a>
+<span class="sourceLineNo">362</span>    private ServerName lastServer;<a name="line.362"></a>
+<span class="sourceLineNo">363</span>    private int sockTimeoutRetries;<a name="line.363"></a>
+<span class="sourceLineNo">364</span>    private int serverRetries;<a name="line.364"></a>
 <span class="sourceLineNo">365</span><a name="line.365"></a>
-<span class="sourceLineNo">366</span>    @Override<a name="line.366"></a>
-<span class="sourceLineNo">367</span>    public ExecuteProceduresResponse sendRequest(ServerName server, ExecuteProceduresRequest req)<a name="line.367"></a>
-<span class="sourceLineNo">368</span>        throws IOException {<a name="line.368"></a>
-<span class="sourceLineNo">369</span>      // SocketTimeoutException should be a temporary problem<a name="line.369"></a>
-<span class="sourceLineNo">370</span>      // unless the server will be declared dead.<a name="line.370"></a>
-<span class="sourceLineNo">371</span>      if (sockTimeoutRetries++ &lt; maxSocketTimeoutRetries) {<a name="line.371"></a>
-<span class="sourceLineNo">372</span>        if (sockTimeoutRetries == 1) {<a name="line.372"></a>
-<span class="sourceLineNo">373</span>          assertNotEquals(lastServer, server);<a name="line.373"></a>
-<span class="sourceLineNo">374</span>        }<a name="line.374"></a>
-<span class="sourceLineNo">375</span>        lastServer = server;<a name="line.375"></a>
-<span class="sourceLineNo">376</span>        LOG.debug("Socket timeout for server=" + server + " retries=" + sockTimeoutRetries);<a name="line.376"></a>
-<span class="sourceLineNo">377</span>        throw new SocketTimeoutException("simulate socket timeout");<a name="line.377"></a>
-<span class="sourceLineNo">378</span>      } else if (serverRetries++ &lt; maxServerRetries) {<a name="line.378"></a>
-<span class="sourceLineNo">379</span>        LOG.info("Mark server=" + server + " as dead. serverRetries=" + serverRetries);<a name="line.379"></a>
-<span class="sourceLineNo">380</span>        master.getServerManager().moveFromOnlineToDeadServers(server);<a name="line.380"></a>
-<span class="sourceLineNo">381</span>        sockTimeoutRetries = 0;<a name="line.381"></a>
+<span class="sourceLineNo">366</span>    public SocketTimeoutRsExecutor(int maxSocketTimeoutRetries, int maxServerRetries) {<a name="line.366"></a>
+<span class="sourceLineNo">367</span>      this.maxServerRetries = maxServerRetries;<a name="line.367"></a>
+<span class="sourceLineNo">368</span>      this.maxSocketTimeoutRetries = maxSocketTimeoutRetries;<a name="line.368"></a>
+<span class="sourceLineNo">369</span>    }<a name="line.369"></a>
+<span class="sourceLineNo">370</span><a name="line.370"></a>
+<span class="sourceLineNo">371</span>    @Override<a name="line.371"></a>
+<span class="sourceLineNo">372</span>    public ExecuteProceduresResponse sendRequest(ServerName server, ExecuteProceduresRequest req)<a name="line.372"></a>
+<span class="sourceLineNo">373</span>        throws IOException {<a name="line.373"></a>
+<span class="sourceLineNo">374</span>      // SocketTimeoutException should be a temporary problem<a name="line.374"></a>
+<span class="sourceLineNo">375</span>      // unless the server will be declared dead.<a name="line.375"></a>
+<span class="sourceLineNo">376</span>      if (sockTimeoutRetries++ &lt; maxSocketTimeoutRetries) {<a name="line.376"></a>
+<span class="sourceLineNo">377</span>        if (sockTimeoutRetries == 1) {<a name="line.377"></a>
+<span class="sourceLineNo">378</span>          assertNotEquals(lastServer, server);<a name="line.378"></a>
+<span class="sourceLineNo">379</span>        }<a name="line.379"></a>
+<span class="sourceLineNo">380</span>        lastServer = server;<a name="line.380"></a>
+<span class="sourceLineNo">381</span>        LOG.debug("Socket timeout for server=" + server + " retries=" + sockTimeoutRetries);<a name="line.381"></a>
 <span class="sourceLineNo">382</span>        throw new SocketTimeoutException("simulate socket timeout");<a name="line.382"></a>
-<span class="sourceLineNo">383</span>      } else {<a name="line.383"></a>
-<span class="sourceLineNo">384</span>        return super.sendRequest(server, req);<a name="line.384"></a>
-<span class="sourceLineNo">385</span>      }<a name="line.385"></a>
-<span class="sourceLineNo">386</span>    }<a name="line.386"></a>
-<span class="sourceLineNo">387</span>  }<a name="line.387"></a>
-<span class="sourceLineNo">388</span><a name="line.388"></a>
-<span class="sourceLineNo">389</span>  /**<a name="line.389"></a>
-<span class="sourceLineNo">390</span>   * Takes open request and then returns nothing so acts like a RS that went zombie. No response (so<a name="line.390"></a>
-<span class="sourceLineNo">391</span>   * proc is stuck/suspended on the Master and won't wake up.). We then send in a crash for this<a name="line.391"></a>
-<span class="sourceLineNo">392</span>   * server after a few seconds; crash is supposed to take care of the suspended procedures.<a name="line.392"></a>
-<span class="sourceLineNo">393</span>   */<a name="line.393"></a>
-<span class="sourceLineNo">394</span>  protected class HangThenRSCrashExecutor extends GoodRsExecutor {<a name="line.394"></a>
-<span class="sourceLineNo">395</span>    private int invocations;<a name="line.395"></a>
-<span class="sourceLineNo">396</span><a name="line.396"></a>
-<span class="sourceLineNo">397</span>    @Override<a name="line.397"></a>
-<span class="sourceLineNo">398</span>    protected RegionOpeningState execOpenRegion(final ServerName server, RegionOpenInfo openReq)<a name="line.398"></a>
-<span class="sourceLineNo">399</span>        throws IOException {<a name="line.399"></a>
-<span class="sourceLineNo">400</span>      if (this.invocations++ &gt; 0) {<a name="line.400"></a>
-<span class="sourceLineNo">401</span>        // Return w/o problem the second time through here.<a name="line.401"></a>
-<span class="sourceLineNo">402</span>        return super.execOpenRegion(server, openReq);<a name="line.402"></a>
-<span class="sourceLineNo">403</span>      }<a name="line.403"></a>
-<span class="sourceLineNo">404</span>      // The procedure on master will just hang forever because nothing comes back<a name="line.404"></a>
-<span class="sourceLineNo">405</span>      // from the RS in this case.<a name="line.405"></a>
-<span class="sourceLineNo">406</span>      LOG.info("Return null response from serverName=" + server + "; means STUCK...TODO timeout");<a name="line.406"></a>
-<span class="sourceLineNo">407</span>      executor.schedule(new Runnable() {<a name="line.407"></a>
-<span class="sourceLineNo">408</span>        @Override<a name="line.408"></a>
-<span class="sourceLineNo">409</span>        public void run() {<a name="line.409"></a>
-<span class="sourceLineNo">410</span>          LOG.info("Sending in CRASH of " + server);<a name="line.410"></a>
-<span class="sourceLineNo">411</span>          doCrash(server);<a name="line.411"></a>
-<span class="sourceLineNo">412</span>        }<a name="line.412"></a>
-<span class="sourceLineNo">413</span>      }, 1, TimeUnit.SECONDS);<a name="line.413"></a>
-<span class="sourceLineNo">414</span>      return null;<a name="line.414"></a>
-<span class="sourceLineNo">415</span>    }<a name="line.415"></a>
-<span class="sourceLineNo">416</span>  }<a name="line.416"></a>
-<span class="sourceLineNo">417</span><a name="line.417"></a>
-<span class="sourceLineNo">418</span>  /**<a name="line.418"></a>
-<span class="sourceLineNo">419</span>   * Takes open request and then returns nothing so acts like a RS that went zombie. No response (so<a name="line.419"></a>
-<span class="sourceLineNo">420</span>   * proc is stuck/suspended on the Master and won't wake up.). Different with<a name="line.420"></a>
-<span class="sourceLineNo">421</span>   * HangThenRSCrashExecutor, HangThenRSCrashExecutor will create ServerCrashProcedure to handle the<a name="line.421"></a>
-<span class="sourceLineNo">422</span>   * server crash. However, this HangThenRSRestartExecutor will restart RS directly, situation for<a name="line.422"></a>
-<span class="sourceLineNo">423</span>   * RS crashed when SCP is not enabled.<a name="line.423"></a>
-<span class="sourceLineNo">424</span>   */<a name="line.424"></a>
-<span class="sourceLineNo">425</span>  protected class HangThenRSRestartExecutor extends GoodRsExecutor {<a name="line.425"></a>
-<span class="sourceLineNo">426</span>    private int invocations;<a name="line.426"></a>
-<span class="sourceLineNo">427</span><a name="line.427"></a>
-<span class="sourceLineNo">428</span>    @Override<a name="line.428"></a>
-<span class="sourceLineNo">429</span>    protected RegionOpeningState execOpenRegion(final ServerName server, RegionOpenInfo openReq)<a name="line.429"></a>
-<span class="sourceLineNo">430</span>        throws IOException {<a name="line.430"></a>
-<span class="sourceLineNo">431</span>      if (this.invocations++ &gt; 0) {<a name="line.431"></a>
-<span class="sourceLineNo">432</span>        // Return w/o problem the second time through here.<a name="line.432"></a>
-<span class="sourceLineNo">433</span>        return super.execOpenRegion(server, openReq);<a name="line.433"></a>
-<span class="sourceLineNo">434</span>      }<a name="line.434"></a>
-<span class="sourceLineNo">435</span>      // The procedure on master will just hang forever because nothing comes back<a name="line.435"></a>
-<span class="sourceLineNo">436</span>      // from the RS in this case.<a name="line.436"></a>
-<span class="sourceLineNo">437</span>      LOG.info("Return null response from serverName=" + server + "; means STUCK...TODO timeout");<a name="line.437"></a>
-<span class="sourceLineNo">438</span>      executor.schedule(new Runnable() {<a name="line.438"></a>
-<span class="sourceLineNo">439</span>        @Override<a name="line.439"></a>
-<span class="sourceLineNo">440</span>        public void run() {<a name="line.440"></a>
-<span class="sourceLineNo">441</span>          LOG.info("Restarting RS of " + server);<a name="line.441"></a>
-<span class="sourceLineNo">442</span>          doRestart(server);<a name="line.442"></a>
-<span class="sourceLineNo">443</span>        }<a name="line.443"></a>
-<span class="sourceLineNo">444</span>      }, 1, TimeUnit.SECONDS);<a name="line.444"></a>
-<span class="sourceLineNo">445</span>      return null;<a name="line.445"></a>
-<span class="sourceLineNo">446</span>    }<a name="line.446"></a>
-<span class="sourceLineNo">447</span>  }<a name="line.447"></a>
-<span class="sourceLineNo">448</span><a name="line.448"></a>
-<span class="sourceLineNo">449</span>  protected class HangOnCloseThenRSCrashExecutor extends GoodRsExecutor {<a name="line.449"></a>
-<span class="sourceLineNo">450</span>    public static final int TYPES_OF_FAILURE = 6;<a name="line.450"></a>
-<span class="sourceLineNo">451</span>    private int invocations;<a name="line.451"></a>
-<span class="sourceLineNo">452</span><a name="line.452"></a>
-<span class="sourceLineNo">453</span>    @Override<a name="line.453"></a>
-<span class="sourceLineNo">454</span>    protected CloseRegionResponse execCloseRegion(ServerName server, byte[] regionName)<a name="line.454"></a>
-<span class="sourceLineNo">455</span>        throws IOException {<a name="line.455"></a>
-<span class="sourceLineNo">456</span>      switch (this.invocations++) {<a name="line.456"></a>
-<span class="sourceLineNo">457</span>        case 0:<a name="line.457"></a>
-<span class="sourceLineNo">458</span>          throw new NotServingRegionException("Fake");<a name="line.458"></a>
-<span class="sourceLineNo">459</span>        case 1:<a name="line.459"></a>
-<span class="sourceLineNo">460</span>          executor.schedule(new Runnable() {<a name="line.460"></a>
-<span class="sourceLineNo">461</span>            @Override<a name="line.461"></a>
-<span class="sourceLineNo">462</span>            public void run() {<a name="line.462"></a>
-<span class="sourceLineNo">463</span>              LOG.info("Sending in CRASH of " + server);<a name="line.463"></a>
-<span class="sourceLineNo">464</span>              doCrash(server);<a name="line.464"></a>
-<span class="sourceLineNo">465</span>            }<a name="line.465"></a>
-<span class="sourceLineNo">466</span>          }, 1, TimeUnit.SECONDS);<a name="line.466"></a>
-<span class="sourceLineNo">467</span>          throw new RegionServerAbortedException("Fake!");<a name="line.467"></a>
-<span class="sourceLineNo">468</span>        case 2:<a name="line.468"></a>
-<span class="sourceLineNo">469</span>          executor.schedule(new Runnable() {<a name="line.469"></a>
-<span class="sourceLineNo">470</span>            @Override<a name="line.470"></a>
-<span class="sourceLineNo">471</span>            public void run() {<a name="line.471"></a>
-<span class="sourceLineNo">472</span>              LOG.info("Sending in CRASH of " + server);<a name="line.472"></a>
-<span class="sourceLineNo">473</span>              doCrash(server);<a name="line.473"></a>
-<span class="sourceLineNo">474</span>            }<a name="line.474"></a>
-<span class="sourceLineNo">475</span>          }, 1, TimeUnit.SECONDS);<a name="line.475"></a>
-<span class="sourceLineNo">476</span>          throw new RegionServerStoppedException("Fake!");<a name="line.476"></a>
-<span class="sourceLineNo">477</span>        case 3:<a name="line.477"></a>
-<span class="sourceLineNo">478</span>          throw new ServerNotRunningYetException("Fake!");<a name="line.478"></a>
-<span class="sourceLineNo">479</span>        case 4:<a name="line.479"></a>
-<span class="sourceLineNo">480</span>          LOG.info("Returned null from serverName={}; means STUCK...TODO timeout", server);<a name="line.480"></a>
-<span class="sourceLineNo">481</span>          executor.schedule(new Runnable() {<a name="line.481"></a>
-<span class="sourceLineNo">482</span>            @Override<a name="line.482"></a>
-<span class="sourceLineNo">483</span>            public void run() {<a name="line.483"></a>
-<span class="sourceLineNo">484</span>              LOG.info("Sending in CRASH of " + server);<a name="line.484"></a>
-<span class="sourceLineNo">485</span>              doCrash(server);<a name="line.485"></a>
-<span class="sourceLineNo">486</span>            }<a name="line.486"></a>
-<span class="sourceLineNo">487</span>          }, 1, TimeUnit.SECONDS);<a name="line.487"></a>
-<span class="sourceLineNo">488</span>          return null;<a name="line.488"></a>
-<span class="sourceLineNo">489</span>        default:<a name="line.489"></a>
-<span class="sourceLineNo">490</span>          return super.execCloseRegion(server, regionName);<a name="line.490"></a>
-<span class="sourceLineNo">491</span>      }<a name="line.491"></a>
-<span class="sourceLineNo">492</span>    }<a name="line.492"></a>
-<span class="sourceLineNo">493</span>  }<a name="line.493"></a>
-<span class="sourceLineNo">494</span><a name="line.494"></a>
-<span class="sourceLineNo">495</span>  protected class RandRsExecutor extends NoopRsExecutor {<a name="line.495"></a>
-<span class="sourceLineNo">496</span>    private final Random rand = new Random();<a name="line.496"></a>
-<span class="sourceLineNo">497</span><a name="line.497"></a>
-<span class="sourceLineNo">498</span>    @Override<a name="line.498"></a>
-<span class="sourceLineNo">499</span>    public ExecuteProceduresResponse sendRequest(ServerName server, ExecuteProceduresRequest req)<a name="line.499"></a>
-<span class="sourceLineNo">500</span>        throws IOException {<a name="line.500"></a>
-<span class="sourceLineNo">501</span>      switch (rand.nextInt(5)) {<a name="line.501"></a>
-<span class="sourceLineNo">502</span>        case 0:<a name="line.502"></a>
-<span class="sourceLineNo">503</span>          throw new ServerNotRunningYetException("wait on server startup");<a name="line.503"></a>
-<span class="sourceLineNo">504</span>        case 1:<a name="line.504"></a>
-<span class="sourceLineNo">505</span>          throw new SocketTimeoutException("simulate socket timeout");<a name="line.505"></a>
-<span class="sourceLineNo">506</span>        case 2:<a name="line.506"></a>
-<span class="sourceLineNo">507</span>          throw new RemoteException("java.io.IOException", "unexpected exception");<a name="line.507"></a>
-<span class="sourceLineNo">508</span>        default:<a name="line.508"></a>
-<span class="sourceLineNo">509</span>          // fall out<a name="line.509"></a>
-<span class="sourceLineNo">510</span>      }<a name="line.510"></a>
-<span class="sourceLineNo">511</span>      return super.sendRequest(server, req);<a name="line.511"></a>
-<span class="sourceLineNo">512</span>    }<a name="line.512"></a>
-<span class="sourceLineNo">513</span><a name="line.513"></a>
-<span class="sourceLineNo">514</span>    @Override<a name="line.514"></a>
-<span class="sourceLineNo">515</span>    protected RegionOpeningState execOpenRegion(final ServerName server, RegionOpenInfo openReq)<a name="line.515"></a>
-<span class="sourceLineNo">516</span>        throws IOException {<a name="line.516"></a>
-<span class="sourceLineNo">517</span>      RegionInfo hri = ProtobufUtil.toRegionInfo(openReq.getRegion());<a name="line.517"></a>
-<span class="sourceLineNo">518</span>      long previousOpenSeqNum =<a name="line.518"></a>
-<span class="sourceLineNo">519</span>        am.getRegionStates().getOrCreateRegionStateNode(hri).getOpenSeqNum();<a name="line.519"></a>
-<span class="sourceLineNo">520</span>      switch (rand.nextInt(3)) {<a name="line.520"></a>
-<span class="sourceLineNo">521</span>        case 0:<a name="line.521"></a>
-<span class="sourceLineNo">522</span>          LOG.info("Return OPENED response");<a name="line.522"></a>
-<span class="sourceLineNo">523</span>          sendTransitionReport(server, openReq.getRegion(), TransitionCode.OPENED,<a name="line.523"></a>
-<span class="sourceLineNo">524</span>            previousOpenSeqNum + 2);<a name="line.524"></a>
-<span class="sourceLineNo">525</span>          return OpenRegionResponse.RegionOpeningState.OPENED;<a name="line.525"></a>
-<span class="sourceLineNo">526</span>        case 1:<a name="line.526"></a>
-<span class="sourceLineNo">527</span>          LOG.info("Return transition report that FAILED_OPEN/FAILED_OPENING response");<a name="line.527"></a>
-<span class="sourceLineNo">528</span>          sendTransitionReport(server, openReq.getRegion(), TransitionCode.FAILED_OPEN, -1);<a name="line.528"></a>
-<span class="sourceLineNo">529</span>          return OpenRegionResponse.RegionOpeningState.FAILED_OPENING;<a name="line.529"></a>
-<span class="sourceLineNo">530</span>        default:<a name="line.530"></a>
-<span class="sourceLineNo">531</span>          // fall out<a name="line.531"></a>
-<span class="sourceLineNo">532</span>      }<a name="line.532"></a>
-<span class="sourceLineNo">533</span>      // The procedure on master will just hang forever because nothing comes back<a name="line.533"></a>
-<span class="sourceLineNo">534</span>      // from the RS in this case.<a name="line.534"></a>
-<span class="sourceLineNo">535</span>      LOG.info("Return null as response; means proc stuck so we send in a crash report after" +<a name="line.535"></a>
-<span class="sourceLineNo">536</span>        " a few seconds...");<a name="line.536"></a>
-<span class="sourceLineNo">537</span>      executor.schedule(new Runnable() {<a name="line.537"></a>
-<span class="sourceLineNo">538</span>        @Override<a name="line.538"></a>
-<span class="sourceLineNo">539</span>        public void run() {<a name="line.539"></a>
-<span class="sourceLineNo">540</span>          LOG.info("Delayed CRASHING of " + server);<a name="line.540"></a>
-<span class="sourceLineNo">541</span>          doCrash(server);<a name="line.541"></a>
-<span class="sourceLineNo">542</span>        }<a name="line.542"></a>
-<span class="sourceLineNo">543</span>      }, 5, TimeUnit.SECONDS);<a name="line.543"></a>
-<span class="sourceLineNo">544</span>      return null;<a name="line.544"></a>
-<span class="sourceLineNo">545</span>    }<a name="line.545"></a>
-<span class="sourceLineNo">546</span><a name="line.546"></a>
-<span class="sourceLineNo">547</span>    @Override<a name="line.547"></a>
-<span class="sourceLineNo">548</span>    protected CloseRegionResponse execCloseRegion(ServerName server, byte[] regionName)<a name="line.548"></a>
-<span class="sourceLineNo">549</span>        throws IOException {<a name="line.549"></a>
-<span class="sourceLineNo">550</span>      CloseRegionResponse.Builder resp = CloseRegionResponse.newBuilder();<a name="line.550"></a>
-<span class="sourceLineNo">551</span>      boolean closed = rand.nextBoolean();<a name="line.551"></a>
-<span class="sourceLineNo">552</span>      if (closed) {<a name="line.552"></a>
-<span class="sourceLineNo">553</span>        RegionInfo hri = am.getRegionInfo(regionName);<a name="line.553"></a>
-<span class="sourceLineNo">554</span>        sendTransitionReport(server, ProtobufUtil.toRegionInfo(hri), TransitionCode.CLOSED, -1);<a name="line.554"></a>
-<span class="sourceLineNo">555</span>      }<a name="line.555"></a>
-<span class="sourceLineNo">556</span>      resp.setClosed(closed);<a name="line.556"></a>
-<span class="sourceLineNo">557</span>      return resp.build();<a name="line.557"></a>
-<span class="sourceLineNo">558</span>    }<a name="line.558"></a>
-<span class="sourceLineNo">559</span>  }<a name="line.559"></a>
-<span class="sourceLineNo">560</span><a name="line.560"></a>
-<span class="sourceLineNo">561</span>  protected interface MockRSExecutor {<a name="line.561"></a>
-<span class="sourceLineNo">562</span>    ExecuteProceduresResponse sendRequest(ServerName server, ExecuteProceduresRequest req)<a name="line.562"></a>
-<span class="sourceLineNo">563</span>        throws IOException;<a name="line.563"></a>
+<span class="sourceLineNo">383</span>      } else if (serverRetries++ &lt; maxServerRetries) {<a name="line.383"></a>
+<span class="sourceLineNo">384</span>        LOG.info("Mark server=" + server + " as dead. serverRetries=" + serverRetries);<a name="line.384"></a>
+<span class="sourceLineNo">385</span>        master.getServerManager().moveFromOnlineToDeadServers(server);<a name="line.385"></a>
+<span class="sourceLineNo">386</span>        sockTimeoutRetries = 0;<a name="line.386"></a>
+<span class="sourceLineNo">387</span>        throw new SocketTimeoutException("simulate socket timeout");<a name="line.387"></a>
+<span class="sourceLineNo">388</span>      } else {<a name="line.388"></a>
+<span class="sourceLineNo">389</span>        return super.sendRequest(server, req);<a name="line.389"></a>
+<span class="sourceLineNo">390</span>      }<a name="line.390"></a>
+<span class="sourceLineNo">391</span>    }<a name="line.391"></a>
+<span class="sourceLineNo">392</span>  }<a name="line.392"></a>
+<span class="sourceLineNo">393</span><a name="line.393"></a>
+<span class="sourceLineNo">394</span>  /**<a name="line.394"></a>
+<span class="sourceLineNo">395</span>   * Takes open request and then returns nothing so acts like a RS that went zombie. No response (so<a name="line.395"></a>
+<span class="sourceLineNo">396</span>   * proc is stuck/suspended on the Master and won't wake up.). We then send in a crash for this<a name="line.396"></a>
+<span class="sourceLineNo">397</span>   * server after a few seconds; crash is supposed to take care of the suspended procedures.<a name="line.397"></a>
+<span class="sourceLineNo">398</span>   */<a name="line.398"></a>
+<span class="sourceLineNo">399</span>  protected class HangThenRSCrashExecutor extends GoodRsExecutor {<a name="line.399"></a>
+<span class="sourceLineNo">400</span>    private int invocations;<a name="line.400"></a>
+<span class="sourceLineNo">401</span><a name="line.401"></a>
+<span class="sourceLineNo">402</span>    @Override<a name="line.402"></a>
+<span class="sourceLineNo">403</span>    protected RegionOpeningState execOpenRegion(final ServerName server, RegionOpenInfo openReq)<a name="line.403"></a>
+<span class="sourceLineNo">404</span>        throws IOException {<a name="line.404"></a>
+<span class="sourceLineNo">405</span>      if (this.invocations++ &gt; 0) {<a name="line.405"></a>
+<span class="sourceLineNo">406</span>        // Return w/o problem the second time through here.<a name="line.406"></a>
+<span class="sourceLineNo">407</span>        return super.execOpenRegion(server, openReq);<a name="line.407"></a>
+<span class="sourceLineNo">408</span>      }<a name="line.408"></a>
+<span class="sourceLineNo">409</span>      // The procedure on master will just hang forever because nothing comes back<a name="line.409"></a>
+<span class="sourceLineNo">410</span>      // from the RS in this case.<a name="line.410"></a>
+<span class="sourceLineNo">411</span>      LOG.info("Return null response from serverName=" + server + "; means STUCK...TODO timeout");<a name="line.411"></a>
+<span class="sourceLineNo">412</span>      executor.schedule(new Runnable() {<a name="line.412"></a>
+<span class="sourceLineNo">413</span>        @Override<a name="line.413"></a>
+<span class="sourceLineNo">414</span>        public void run() {<a name="line.414"></a>
+<span class="sourceLineNo">415</span>          LOG.info("Sending in CRASH of " + server);<a name="line.415"></a>
+<span class="sourceLineNo">416</span>          doCrash(server);<a name="line.416"></a>
+<span class="sourceLineNo">417</span>        }<a name="line.417"></a>
+<span class="sourceLineNo">418</span>      }, 1, TimeUnit.SECONDS);<a name="line.418"></a>
+<span class="sourceLineNo">419</span>      return null;<a name="line.419"></a>
+<span class="sourceLineNo">420</span>    }<a name="line.420"></a>
+<span class="sourceLineNo">421</span>  }<a name="line.421"></a>
+<span class="sourceLineNo">422</span><a name="line.422"></a>
+<span class="sourceLineNo">423</span>  /**<a name="line.423"></a>
+<span class="sourceLineNo">424</span>   * Takes open request and then returns nothing so acts like a RS that went zombie. No response (so<a name="line.424"></a>
+<span class="sourceLineNo">425</span>   * proc is stuck/suspended on the Master and won't wake up.). Different with<a name="line.425"></a>
+<span class="sourceLineNo">426</span>   * HangThenRSCrashExecutor, HangThenRSCrashExecutor will create ServerCrashProcedure to handle the<a name="line.426"></a>
+<span class="sourceLineNo">427</span>   * server crash. However, this HangThenRSRestartExecutor will restart RS directly, situation for<a name="line.427"></a>
+<span class="sourceLineNo">428</span>   * RS crashed when SCP is not enabled.<a name="line.428"></a>
+<span class="sourceLineNo">429</span>   */<a name="line.429"></a>
+<span class="sourceLineNo">430</span>  protected class HangThenRSRestartExecutor extends GoodRsExecutor {<a name="line.430"></a>
+<span class="sourceLineNo">431</span>    private int invocations;<a name="line.431"></a>
+<span class="sourceLineNo">432</span><a name="line.432"></a>
+<span class="sourceLineNo">433</span>    @Override<a name="line.433"></a>
+<span class="sourceLineNo">434</span>    protected RegionOpeningState execOpenRegion(final ServerName server, RegionOpenInfo openReq)<a name="line.434"></a>
+<span class="sourceLineNo">435</span>        throws IOException {<a name="line.435"></a>
+<span class="sourceLineNo">436</span>      if (this.invocations++ &gt; 0) {<a name="line.436"></a>
+<span class="sourceLineNo">437</span>        // Return w/o problem the second time through here.<a name="line.437"></a>
+<span class="sourceLineNo">438</span>        return super.execOpenRegion(server, openReq);<a name="line.438"></a>
+<span class="sourceLineNo">439</span>      }<a name="line.439"></a>
+<span class="sourceLineNo">440</span>      // The procedure on master will just hang forever because nothing comes back<a name="line.440"></a>
+<span class="sourceLineNo">441</span>      // from the RS in this case.<a name="line.441"></a>
+<span class="sourceLineNo">442</span>      LOG.info("Return null response from serverName=" + server + "; means STUCK...TODO timeout");<a name="line.442"></a>
+<span class="sourceLineNo">443</span>      executor.schedule(new Runnable() {<a name="line.443"></a>
+<span class="sourceLineNo">444</span>        @Override<a name="line.444"></a>
+<span class="sourceLineNo">445</span>        public void run() {<a name="line.445"></a>
+<span class="sourceLineNo">446</span>          LOG.info("Restarting RS of " + server);<a name="line.446"></a>
+<span class="sourceLineNo">447</span>          doRestart(server);<a name="line.447"></a>
+<span class="sourceLineNo">448</span>        }<a name="line.448"></a>
+<span class="sourceLineNo">449</span>      }, 1, TimeUnit.SECONDS);<a name="line.449"></a>
+<span class="sourceLineNo">450</span>      return null;<a name="line.450"></a>
+<span class="sourceLineNo">451</span>    }<a name="line.451"></a>
+<span class="sourceLineNo">452</span>  }<a name="line.452"></a>
+<span class="sourceLineNo">453</span><a name="line.453"></a>
+<span class="sourceLineNo">454</span>  protected class HangOnCloseThenRSCrashExecutor extends GoodRsExecutor {<a name="line.454"></a>
+<span class="sourceLineNo">455</span>    public static final int TYPES_OF_FAILURE = 6;<a name="line.455"></a>
+<span class="sourceLineNo">456</span>    private int invocations;<a name="line.456"></a>
+<span class="sourceLineNo">457</span><a name="line.457"></a>
+<span class="sourceLineNo">458</span>    @Override<a name="line.458"></a>
+<span class="sourceLineNo">459</span>    protected CloseRegionResponse execCloseRegion(ServerName server, byte[] regionName)<a name="line.459"></a>
+<span class="sourceLineNo">460</span>        throws IOException {<a name="line.460"></a>
+<span class="sourceLineNo">461</span>      switch (this.invocations++) {<a name="line.461"></a>
+<span class="sourceLineNo">462</span>        case 0:<a name="line.462"></a>
+<span class="sourceLineNo">463</span>          throw new NotServingRegionException("Fake");<a name="line.463"></a>
+<span class="sourceLineNo">464</span>        case 1:<a name="line.464"></a>
+<span class="sourceLineNo">465</span>          executor.schedule(new Runnable() {<a name="line.465"></a>
+<span class="sourceLineNo">466</span>            @Override<a name="line.466"></a>
+<span class="sourceLineNo">467</span>            public void run() {<a name="line.467"></a>
+<span class="sourceLineNo">468</span>              LOG.info("Sending in CRASH of " + server);<a name="line.468"></a>
+<span class="sourceLineNo">469</span>              doCrash(server);<a name="line.469"></a>
+<span class="sourceLineNo">470</span>            }<a name="line.470"></a>
+<span class="sourceLineNo">471</span>          }, 1, TimeUnit.SECONDS);<a name="line.471"></a>
+<span class="sourceLineNo">472</span>          throw new RegionServerAbortedException("Fake!");<a name="line.472"></a>
+<span class="sourceLineNo">473</span>        case 2:<a name="line.473"></a>
+<span class="sourceLineNo">474</span>          executor.schedule(new Runnable() {<a name="line.474"></a>
+<span class="sourceLineNo">475</span>            @Override<a name="line.475"></a>
+<span class="sourceLineNo">476</span>            public void run() {<a name="line.476"></a>
+<span class="sourceLineNo">477</span>              LOG.info("Sending in CRASH of " + server);<a name="line.477"></a>
+<span class="sourceLineNo">478</span>              doCrash(server);<a name="line.478"></a>
+<span class="sourceLineNo">479</span>            }<a name="line.479"></a>
+<span class="sourceLineNo">480</span>          }, 1, TimeUnit.SECONDS);<a name="line.480"></a>
+<span class="sourceLineNo">481</span>          throw new RegionServerStoppedException("Fake!");<a name="line.481"></a>
+<span class="sourceLineNo">482</span>        case 3:<a name="line.482"></a>
+<span class="sourceLineNo">483</span>          throw new ServerNotRunningYetException("Fake!");<a name="line.483"></a>
+<span class="sourceLineNo">484</span>        case 4:<a name="line.484"></a>
+<span class="sourceLineNo">485</span>          LOG.info("Returned null from serverName={}; means STUCK...TODO timeout", server);<a name="line.485"></a>
+<span class="sourceLineNo">486</span>          executor.schedule(new Runnable() {<a name="line.486"></a>
+<span class="sourceLineNo">487</span>            @Override<a name="line.487"></a>
+<span class="sourceLineNo">488</span>            public void run() {<a name="line.488"></a>
+<span class="sourceLineNo">489</span>              LOG.info("Sending in CRASH of " + server);<a name="line.489"></a>
+<span class="sourceLineNo">490</span>              doCrash(server);<a name="line.490"></a>
+<span class="sourceLineNo">491</span>            }<a name="line.491"></a>
+<span class="sourceLineNo">492</span>          }, 1, TimeUnit.SECONDS);<a name="line.492"></a>
+<span class="sourceLineNo">493</span>          return null;<a name="line.493"></a>
+<span class="sourceLineNo">494</span>        default:<a name="line.494"></a>
+<span class="sourceLineNo">495</span>          return super.execCloseRegion(server, regionName);<a name="line.495"></a>
+<span class="sourceLineNo">496</span>      }<a name="line.496"></a>
+<span class="sourceLineNo">497</span>    }<a name="line.497"></a>
+<span class="sourceLineNo">498</span>  }<a name="line.498"></a>
+<span class="sourceLineNo">499</span><a name="line.499"></a>
+<span class="sourceLineNo">500</span>  protected class RandRsExecutor extends NoopRsExecutor {<a name="line.500"></a>
+<span class="sourceLineNo">501</span>    private final Random rand = new Random();<a name="line.501"></a>
+<span class="sourceLineNo">502</span><a name="line.502"></a>
+<span class="sourceLineNo">503</span>    @Override<a name="line.503"></a>
+<span class="sourceLineNo">504</span>    public ExecuteProceduresResponse sendRequest(ServerName server, ExecuteProceduresRequest req)<a name="line.504"></a>
+<span class="sourceLineNo">505</span>        throws IOException {<a name="line.505"></a>
+<span class="sourceLineNo">506</span>      switch (rand.nextInt(5)) {<a name="line.506"></a>
+<span class="sourceLineNo">507</span>        case 0:<a name="line.507"></a>
+<span class="sourceLineNo">508</span>          throw new ServerNotRunningYetException("wait on server startup");<a name="line.508"></a>
+<span class="sourceLineNo">509</span>        case 1:<a name="line.509"></a>
+<span class="sourceLineNo">510</span>          throw new SocketTimeoutException("simulate socket timeout");<a name="line.510"></a>
+<span class="sourceLineNo">511</span>        case 2:<a name="line.511"></a>
+<span class="sourceLineNo">512</span>          throw new RemoteException("java.io.IOException", "unexpected exception");<a name="line.512"></a>
+<span class="sourceLineNo">513</span>        default:<a name="line.513"></a>
+<span class="sourceLineNo">514</span>          // fall out<a name="line.514"></a>
+<span class="sourceLineNo">515</span>      }<a name="line.515"></a>
+<span class="sourceLineNo">516</span>      return super.sendRequest(server, req);<a name="line.516"></a>
+<span class="sourceLineNo">517</span>    }<a name="line.517"></a>
+<span class="sourceLineNo">518</span><a name="line.518"></a>
+<span class="sourceLineNo">519</span>    @Override<a name="line.519"></a>
+<span class="sourceLineNo">520</span>    protected RegionOpeningState execOpenRegion(final ServerName server, RegionOpenInfo openReq)<a name="line.520"></a>
+<span class="sourceLineNo">521</span>        throws IOException {<a name="line.521"></a>
+<span class="sourceLineNo">522</span>      RegionInfo hri = ProtobufUtil.toRegionInfo(openReq.getRegion());<a name="line.522"></a>
+<span class="sourceLineNo">523</span>      long previousOpenSeqNum =<a name="line.523"></a>
+<span class="sourceLineNo">524</span>        am.getRegionStates().getOrCreateRegionStateNode(hri).getOpenSeqNum();<a name="line.524"></a>
+<span class="sourceLineNo">525</span>      switch (rand.nextInt(3)) {<a name="line.525"></a>
+<span class="sourceLineNo">526</span>        case 0:<a name="line.526"></a>
+<span class="sourceLineNo">527</span>          LOG.info("Return OPENED response");<a name="line.527"></a>
+<span class="sourceLineNo">528</span>          sendTransitionReport(server, openReq.getRegion(), TransitionCode.OPENED,<a name="line.528"></a>
+<span class="sourceLineNo">529</span>            previousOpenSeqNum + 2);<a name="line.529"></a>
+<span class="sourceLineNo">530</span>          return OpenRegionResponse.RegionOpeningState.OPENED;<a name="line.530"></a>
+<span class="sourceLineNo">531</span>        case 1:<a name="line.531"></a>
+<span class="sourceLineNo">532</span>          LOG.info("Return transition report that FAILED_OPEN/FAILED_OPENING response");<a name="line.532"></a>
+<span class="sourceLineNo">533</span>          sendTransitionReport(server, openReq.getRegion(), TransitionCode.FAILED_OPEN, -1);<a name="line.533"></a>
+<span class="sourceLineNo">534</span>          return OpenRegionResponse.RegionOpeningState.FAILED_OPENING;<a name="line.534"></a>
+<span class="sourceLineNo">535</span>        default:<a name="line.535"></a>
+<span class="sourceLineNo">536</span>          // fall out<a name="line.536"></a>
+<span class="sourceLineNo">537</span>      }<a name="line.537"></a>
+<span class="sourceLineNo">538</span>      // The procedure on master will just hang forever because nothing comes back<a name="line.538"></a>
+<span class="sourceLineNo">539</span>      // from the RS in this case.<a name="line.539"></a>
+<span class="sourceLineNo">540</span>      LOG.info("Return null as response; means proc stuck so we send in a crash report after" +<a name="line.540"></a>
+<span class="sourceLineNo">541</span>        " a few seconds...");<a name="line.541"></a>
+<span class="sourceLineNo">542</span>      executor.schedule(new Runnable() {<a name="line.542"></a>
+<span class="sourceLineNo">543</span>        @Override<a name="line.543"></a>
+<span class="sourceLineNo">544</span>        public void run() {<a name="line.544"></a>
+<span class="sourceLineNo">545</span>          LOG.info("Delayed CRASHING of " + server);<a name="line.545"></a>
+<span class="sourceLineNo">546</span>          doCrash(server);<a name="line.546"></a>
+<span class="sourceLineNo">547</span>        }<a name="line.547"></a>
+<span class="sourceLineNo">548</span>      }, 5, TimeUnit.SECONDS);<a name="line.548"></a>
+<span class="sourceLineNo">549</span>      return null;<a name="line.549"></a>
+<span class="sourceLineNo">550</span>    }<a name="line.550"></a>
+<span class="sourceLineNo">551</span><a name="line.551"></a>
+<span class="sourceLineNo">552</span>    @Override<a name="line.552"></a>
+<span class="sourceLineNo">553</span>    protected CloseRegionResponse execCloseRegion(ServerName server, byte[] regionName)<a name="line.553"></a>
+<span class="sourceLineNo">554</span>        throws IOException {<a name="line.554"></a>
+<span class="sourceLineNo">555</span>      CloseRegionResponse.Builder resp = CloseRegionResponse.newBuilder();<a name="line.555"></a>
+<span class="sourceLineNo">556</span>      boolean closed = rand.nextBoolean();<a name="line.556"></a>
+<span class="sourceLineNo">557</span>      if (closed) {<a name="line.557"></a>
+<span class="sourceLineNo">558</span>        RegionInfo hri = am.getRegionInfo(regionName);<a name="line.558"></a>
+<span class="sourceLineNo">559</span>        sendTransitionReport(server, ProtobufUtil.toRegionInfo(hri), TransitionCode.CLOSED, -1);<a name="line.559"></a>
+<span class="sourceLineNo">560</span>      }<a name="line.560"></a>
+<span class="sourceLineNo">561</span>      resp.setClosed(closed);<a name="line.561"></a>
+<span class="sourceLineNo">562</span>      return resp.build();<a name="line.562"></a>
+<span class="sourceLineNo">563</span>    }<a name="line.563"></a>
 <span class="sourceLineNo">564</span>  }<a name="line.564"></a>
 <span class="sourceLineNo">565</span><a name="line.565"></a>
-<span class="sourceLineNo">566</span>  protected class MockRSProcedureDispatcher extends RSProcedureDispatcher {<a name="line.566"></a>
-<span class="sourceLineNo">567</span>    private MockRSExecutor mockRsExec;<a name="line.567"></a>
-<span class="sourceLineNo">568</span><a name="line.568"></a>
-<span class="sourceLineNo">569</span>    public MockRSProcedureDispatcher(final MasterServices master) {<a name="line.569"></a>
-<span class="sourceLineNo">570</span>      super(master);<a name="line.570"></a>
-<span class="sourceLineNo">571</span>    }<a name="line.571"></a>
-<span class="sourceLineNo">572</span><a name="line.572"></a>
-<span class="sourceLineNo">573</span>    public void setMockRsExecutor(final MockRSExecutor mockRsExec) {<a name="line.573"></a>
-<span class="sourceLineNo">574</span>      this.mockRsExec = mockRsExec;<a name="line.574"></a>
-<span class="sourceLineNo">575</span>    }<a name="line.575"></a>
-<span class="sourceLineNo">576</span><a name="line.576"></a>
-<span class="sourceLineNo">577</span>    @Override<a name="line.577"></a>
-<span class="sourceLineNo">578</span>    protected void remoteDispatch(ServerName serverName,<a name="line.578"></a>
-<span class="sourceLineNo">579</span>        @SuppressWarnings("rawtypes") Set&lt;RemoteProcedure&gt; remoteProcedures) {<a name="line.579"></a>
-<span class="sourceLineNo">580</span>      submitTask(new MockRemoteCall(serverName, remoteProcedures));<a name="line.580"></a>
-<span class="sourceLineNo">581</span>    }<a name="line.581"></a>
-<span class="sourceLineNo">582</span><a name="line.582"></a>
-<span class="sourceLineNo">583</span>    private class MockRemoteCall extends ExecuteProceduresRemoteCall {<a name="line.583"></a>
-<span class="sourceLineNo">584</span>      public MockRemoteCall(final ServerName serverName,<a name="line.584"></a>
-<span class="sourceLineNo">585</span>          @SuppressWarnings("rawtypes") final Set&lt;RemoteProcedure&gt; operations) {<a name="line.585"></a>
-<span class="sourceLineNo">586</span>        super(serverName, operations);<a name="line.586"></a>
-<span class="sourceLineNo">587</span>      }<a name="line.587"></a>
-<span class="sourceLineNo">588</span><a name="line.588"></a>
-<span class="sourceLineNo">589</span>      @Override<a name="line.589"></a>
-<span class="sourceLineNo">590</span>      protected ExecuteProceduresResponse sendRequest(final ServerName serverName,<a name="line.590"></a>
-<span class="sourceLineNo">591</span>          final ExecuteProceduresRequest request) throws IOException {<a name="line.591"></a>
-<span class="sourceLineNo">592</span>        return mockRsExec.sendRequest(serverName, request);<a name="line.592"></a>
-<span class="sourceLineNo">593</span>      }<a name="line.593"></a>
-<span class="sourceLineNo">594</span>    }<a name="line.594"></a>
-<span class="sourceLineNo">595</span>  }<a name="line.595"></a>
-<span class="sourceLineNo">596</span><a name="line.596"></a>
-<span class="sourceLineNo">597</span>  protected void collectAssignmentManagerMetrics() {<a name="line.597"></a>
-<span class="sourceLineNo">598</span>    assignSubmittedCount = assignProcMetrics.getSubmittedCounter().getCount();<a name="line.598"></a>
-<span class="sourceLineNo">599</span>    assignFailedCount = assignProcMetrics.getFailedCounter().getCount();<a name="line.599"></a>
-<span class="sourceLineNo">600</span>    unassignSubmittedCount = unassignProcMetrics.getSubmittedCounter().getCount();<a name="line.600"></a>
-<span class="sourceLineNo">601</span>    unassignFailedCount = unassignProcMetrics.getFailedCounter().getCount();<a name="line.601"></a>
-<span class="sourceLineNo">602</span>  }<a name="line.602"></a>
-<span class="sourceLineNo">603</span>}<a name="line.603"></a>
+<span class="sourceLineNo">566</span>  protected interface MockRSExecutor {<a name="line.566"></a>
+<span class="sourceLineNo">567</span>    ExecuteProceduresResponse sendRequest(ServerName server, ExecuteProceduresRequest req)<a name="line.567"></a>
+<span class="sourceLineNo">568</span>        throws IOException;<a name="line.568"></a>
+<span class="sourceLineNo">569</span>  }<a name="line.569"></a>
+<span class="sourceLineNo">570</span><a name="line.570"></a>
+<span class="sourceLineNo">571</span>  protected class MockRSProcedureDispatcher extends RSProcedureDispatcher {<a name="line.571"></a>
+<span class="sourceLineNo">572</span>    private MockRSExecutor mockRsExec;<a name="line.572"></a>
+<span class="sourceLineNo">573</span><a name="line.573"></a>
+<span class="sourceLineNo">574</span>    public MockRSProcedureDispatcher(final MasterServices master) {<a name="line.574"></a>
+<span class="sourceLineNo">575</span>      super(master);<a name="line.575"></a>
+<span class="sourceLineNo">576</span>    }<a name="line.576"></a>
+<span class="sourceLineNo">577</span><a name="line.577"></a>
+<span class="sourceLineNo">578</span>    public void setMockRsExecutor(final MockRSExecutor mockRsExec) {<a name="line.578"></a>
+<span class="sourceLineNo">579</span>      this.mockRsExec = mockRsExec;<a name="line.579"></a>
+<span class="sourceLineNo">580</span>    }<a name="line.580"></a>
+<span class="sourceLineNo">581</span><a name="line.581"></a>
+<span class="sourceLineNo">582</span>    @Override<a name="line.582"></a>
+<span class="sourceLineNo">583</span>    protected void remoteDispatch(ServerName serverName,<a name="line.583"></a>
+<span class="sourceLineNo">584</span>        @SuppressWarnings("rawtypes") Set&lt;RemoteProcedure&gt; remoteProcedures) {<a name="line.584"></a>
+<span class="sourceLineNo">585</span>      submitTask(new MockRemoteCall(serverName, remoteProcedures));<a name="line.585"></a>
+<span class="sourceLineNo">586</span>    }<a name="line.586"></a>
+<span class="sourceLineNo">587</span><a name="line.587"></a>
+<span class="sourceLineNo">588</span>    private class MockRemoteCall extends ExecuteProceduresRemoteCall {<a name="line.588"></a>
+<span class="sourceLineNo">589</span>      public MockRemoteCall(final ServerName serverName,<a name="line.589"></a>
+<span class="sourceLineNo">590</span>          @SuppressWarnings("rawtypes") final Set&lt;RemoteProcedure&gt; operations) {<a name="line.590"></a>
+<span class="sourceLineNo">591</span>        super(serverName, operations);<a name="line.591"></a>
+<span class="sourceLineNo">592</span>      }<a name="line.592"></a>
+<span class="sourceLineNo">593</span><a name="line.593"></a>
+<span class="sourceLineNo">594</span>      @Override<a name="line.594"></a>
+<span class="sourceLineNo">595</span>      protected ExecuteProceduresResponse sendRequest(final ServerName serverName,<a name="line.595"></a>
+<span class="sourceLineNo">596</span>          final ExecuteProceduresRequest request) throws IOException {<a name="line.596"></a>
+<span class="sourceLineNo">597</span>        return mockRsExec.sendRequest(serverName, request);<a name="line.597"></a>
+<span class="sourceLineNo">598</span>      }<a name="line.598"></a>
+<span class="sourceLineNo">599</span>    }<a name="line.599"></a>
+<span class="sourceLineNo">600</span>  }<a name="line.600"></a>
+<span class="sourceLineNo">601</span><a name="line.601"></a>
+<span class="sourceLineNo">602</span>  pr