hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject [03/19] hbase-site git commit: Published site at 1f999c1e2bba62fda0fb426a168afa338b31c251.
Date Tue, 08 Dec 2015 05:36:45 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/0aeb993e/xref/org/apache/hadoop/hbase/master/HMaster.html
----------------------------------------------------------------------
diff --git a/xref/org/apache/hadoop/hbase/master/HMaster.html b/xref/org/apache/hadoop/hbase/master/HMaster.html
index 57c7309..7ec30ad 100644
--- a/xref/org/apache/hadoop/hbase/master/HMaster.html
+++ b/xref/org/apache/hadoop/hbase/master/HMaster.html
@@ -2196,686 +2196,690 @@
 <a class="jxr_linenumber" name="2186" href="#2186">2186</a>     <strong class="jxr_keyword">return</strong> masterActiveTime;
 <a class="jxr_linenumber" name="2187" href="#2187">2187</a>   }
 <a class="jxr_linenumber" name="2188" href="#2188">2188</a> 
-<a class="jxr_linenumber" name="2189" href="#2189">2189</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> getRegionServerInfoPort(<strong class="jxr_keyword">final</strong> <a href="../../../../../org/apache/hadoop/hbase/ServerName.html">ServerName</a> sn) {
-<a class="jxr_linenumber" name="2190" href="#2190">2190</a>     RegionServerInfo info = <strong class="jxr_keyword">this</strong>.regionServerTracker.getRegionServerInfo(sn);
-<a class="jxr_linenumber" name="2191" href="#2191">2191</a>     <strong class="jxr_keyword">if</strong> (info == <strong class="jxr_keyword">null</strong> || info.getInfoPort() == 0) {
-<a class="jxr_linenumber" name="2192" href="#2192">2192</a>       <strong class="jxr_keyword">return</strong> conf.getInt(HConstants.REGIONSERVER_INFO_PORT,
-<a class="jxr_linenumber" name="2193" href="#2193">2193</a>         HConstants.DEFAULT_REGIONSERVER_INFOPORT);
-<a class="jxr_linenumber" name="2194" href="#2194">2194</a>     }
-<a class="jxr_linenumber" name="2195" href="#2195">2195</a>     <strong class="jxr_keyword">return</strong> info.getInfoPort();
-<a class="jxr_linenumber" name="2196" href="#2196">2196</a>   }
-<a class="jxr_linenumber" name="2197" href="#2197">2197</a> 
-<a class="jxr_linenumber" name="2198" href="#2198">2198</a>   <strong class="jxr_keyword">public</strong> String getRegionServerVersion(<strong class="jxr_keyword">final</strong> <a href="../../../../../org/apache/hadoop/hbase/ServerName.html">ServerName</a> sn) {
-<a class="jxr_linenumber" name="2199" href="#2199">2199</a>     RegionServerInfo info = <strong class="jxr_keyword">this</strong>.regionServerTracker.getRegionServerInfo(sn);
-<a class="jxr_linenumber" name="2200" href="#2200">2200</a>     <strong class="jxr_keyword">if</strong> (info != <strong class="jxr_keyword">null</strong> &amp;&amp; info.hasVersionInfo()) {
-<a class="jxr_linenumber" name="2201" href="#2201">2201</a>       <strong class="jxr_keyword">return</strong> info.getVersionInfo().getVersion();
-<a class="jxr_linenumber" name="2202" href="#2202">2202</a>     }
-<a class="jxr_linenumber" name="2203" href="#2203">2203</a>     <strong class="jxr_keyword">return</strong> <span class="jxr_string">"Unknown"</span>;
-<a class="jxr_linenumber" name="2204" href="#2204">2204</a>   }
-<a class="jxr_linenumber" name="2205" href="#2205">2205</a> 
-<a class="jxr_linenumber" name="2206" href="#2206">2206</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="2207" href="#2207">2207</a> <em class="jxr_javadoccomment">   * @return array of coprocessor SimpleNames.</em>
-<a class="jxr_linenumber" name="2208" href="#2208">2208</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="2209" href="#2209">2209</a>   <strong class="jxr_keyword">public</strong> String[] getMasterCoprocessors() {
-<a class="jxr_linenumber" name="2210" href="#2210">2210</a>     Set&lt;String&gt; masterCoprocessors = getMasterCoprocessorHost().getCoprocessors();
-<a class="jxr_linenumber" name="2211" href="#2211">2211</a>     <strong class="jxr_keyword">return</strong> masterCoprocessors.toArray(<strong class="jxr_keyword">new</strong> String[masterCoprocessors.size()]);
-<a class="jxr_linenumber" name="2212" href="#2212">2212</a>   }
-<a class="jxr_linenumber" name="2213" href="#2213">2213</a> 
-<a class="jxr_linenumber" name="2214" href="#2214">2214</a>   @Override
-<a class="jxr_linenumber" name="2215" href="#2215">2215</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> abort(<strong class="jxr_keyword">final</strong> String msg, <strong class="jxr_keyword">final</strong> Throwable t) {
-<a class="jxr_linenumber" name="2216" href="#2216">2216</a>     <strong class="jxr_keyword">if</strong> (isAborted() || isStopped()) {
-<a class="jxr_linenumber" name="2217" href="#2217">2217</a>       <strong class="jxr_keyword">return</strong>;
-<a class="jxr_linenumber" name="2218" href="#2218">2218</a>     }
-<a class="jxr_linenumber" name="2219" href="#2219">2219</a>     <strong class="jxr_keyword">if</strong> (cpHost != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="2220" href="#2220">2220</a>       <em class="jxr_comment">// HBASE-4014: dump a list of loaded coprocessors.</em>
-<a class="jxr_linenumber" name="2221" href="#2221">2221</a>       LOG.fatal(<span class="jxr_string">"Master server abort: loaded coprocessors are: "</span> +
-<a class="jxr_linenumber" name="2222" href="#2222">2222</a>           getLoadedCoprocessors());
-<a class="jxr_linenumber" name="2223" href="#2223">2223</a>     }
-<a class="jxr_linenumber" name="2224" href="#2224">2224</a>     <strong class="jxr_keyword">if</strong> (t != <strong class="jxr_keyword">null</strong>) LOG.fatal(msg, t);
-<a class="jxr_linenumber" name="2225" href="#2225">2225</a>     stopMaster();
-<a class="jxr_linenumber" name="2226" href="#2226">2226</a>   }
-<a class="jxr_linenumber" name="2227" href="#2227">2227</a> 
-<a class="jxr_linenumber" name="2228" href="#2228">2228</a>   @Override
-<a class="jxr_linenumber" name="2229" href="#2229">2229</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.html">ZooKeeperWatcher</a> getZooKeeper() {
-<a class="jxr_linenumber" name="2230" href="#2230">2230</a>     <strong class="jxr_keyword">return</strong> zooKeeper;
-<a class="jxr_linenumber" name="2231" href="#2231">2231</a>   }
-<a class="jxr_linenumber" name="2232" href="#2232">2232</a> 
-<a class="jxr_linenumber" name="2233" href="#2233">2233</a>   @Override
-<a class="jxr_linenumber" name="2234" href="#2234">2234</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/hadoop/hbase/master/MasterCoprocessorHost.html">MasterCoprocessorHost</a> getMasterCoprocessorHost() {
-<a class="jxr_linenumber" name="2235" href="#2235">2235</a>     <strong class="jxr_keyword">return</strong> cpHost;
-<a class="jxr_linenumber" name="2236" href="#2236">2236</a>   }
-<a class="jxr_linenumber" name="2237" href="#2237">2237</a> 
-<a class="jxr_linenumber" name="2238" href="#2238">2238</a>   @Override
-<a class="jxr_linenumber" name="2239" href="#2239">2239</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/hadoop/hbase/quotas/MasterQuotaManager.html">MasterQuotaManager</a> getMasterQuotaManager() {
-<a class="jxr_linenumber" name="2240" href="#2240">2240</a>     <strong class="jxr_keyword">return</strong> quotaManager;
-<a class="jxr_linenumber" name="2241" href="#2241">2241</a>   }
-<a class="jxr_linenumber" name="2242" href="#2242">2242</a> 
-<a class="jxr_linenumber" name="2243" href="#2243">2243</a>   @Override
-<a class="jxr_linenumber" name="2244" href="#2244">2244</a>   <strong class="jxr_keyword">public</strong> ProcedureExecutor&lt;MasterProcedureEnv&gt; getMasterProcedureExecutor() {
-<a class="jxr_linenumber" name="2245" href="#2245">2245</a>     <strong class="jxr_keyword">return</strong> procedureExecutor;
-<a class="jxr_linenumber" name="2246" href="#2246">2246</a>   }
-<a class="jxr_linenumber" name="2247" href="#2247">2247</a> 
-<a class="jxr_linenumber" name="2248" href="#2248">2248</a>   @Override
-<a class="jxr_linenumber" name="2249" href="#2249">2249</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/hadoop/hbase/ServerName.html">ServerName</a> getServerName() {
-<a class="jxr_linenumber" name="2250" href="#2250">2250</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.serverName;
-<a class="jxr_linenumber" name="2251" href="#2251">2251</a>   }
-<a class="jxr_linenumber" name="2252" href="#2252">2252</a> 
-<a class="jxr_linenumber" name="2253" href="#2253">2253</a>   @Override
-<a class="jxr_linenumber" name="2254" href="#2254">2254</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/hadoop/hbase/master/AssignmentManager.html">AssignmentManager</a> getAssignmentManager() {
-<a class="jxr_linenumber" name="2255" href="#2255">2255</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.assignmentManager;
-<a class="jxr_linenumber" name="2256" href="#2256">2256</a>   }
-<a class="jxr_linenumber" name="2257" href="#2257">2257</a> 
-<a class="jxr_linenumber" name="2258" href="#2258">2258</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/hadoop/hbase/monitoring/MemoryBoundedLogMessageBuffer.html">MemoryBoundedLogMessageBuffer</a> getRegionServerFatalLogBuffer() {
-<a class="jxr_linenumber" name="2259" href="#2259">2259</a>     <strong class="jxr_keyword">return</strong> rsFatals;
+<a class="jxr_linenumber" name="2189" href="#2189">2189</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> getNumWALFiles() {
+<a class="jxr_linenumber" name="2190" href="#2190">2190</a>     <strong class="jxr_keyword">return</strong> procedureStore != <strong class="jxr_keyword">null</strong> ? procedureStore.getActiveLogs().size() : 0;
+<a class="jxr_linenumber" name="2191" href="#2191">2191</a>   }
+<a class="jxr_linenumber" name="2192" href="#2192">2192</a> 
+<a class="jxr_linenumber" name="2193" href="#2193">2193</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> getRegionServerInfoPort(<strong class="jxr_keyword">final</strong> <a href="../../../../../org/apache/hadoop/hbase/ServerName.html">ServerName</a> sn) {
+<a class="jxr_linenumber" name="2194" href="#2194">2194</a>     RegionServerInfo info = <strong class="jxr_keyword">this</strong>.regionServerTracker.getRegionServerInfo(sn);
+<a class="jxr_linenumber" name="2195" href="#2195">2195</a>     <strong class="jxr_keyword">if</strong> (info == <strong class="jxr_keyword">null</strong> || info.getInfoPort() == 0) {
+<a class="jxr_linenumber" name="2196" href="#2196">2196</a>       <strong class="jxr_keyword">return</strong> conf.getInt(HConstants.REGIONSERVER_INFO_PORT,
+<a class="jxr_linenumber" name="2197" href="#2197">2197</a>         HConstants.DEFAULT_REGIONSERVER_INFOPORT);
+<a class="jxr_linenumber" name="2198" href="#2198">2198</a>     }
+<a class="jxr_linenumber" name="2199" href="#2199">2199</a>     <strong class="jxr_keyword">return</strong> info.getInfoPort();
+<a class="jxr_linenumber" name="2200" href="#2200">2200</a>   }
+<a class="jxr_linenumber" name="2201" href="#2201">2201</a> 
+<a class="jxr_linenumber" name="2202" href="#2202">2202</a>   <strong class="jxr_keyword">public</strong> String getRegionServerVersion(<strong class="jxr_keyword">final</strong> <a href="../../../../../org/apache/hadoop/hbase/ServerName.html">ServerName</a> sn) {
+<a class="jxr_linenumber" name="2203" href="#2203">2203</a>     RegionServerInfo info = <strong class="jxr_keyword">this</strong>.regionServerTracker.getRegionServerInfo(sn);
+<a class="jxr_linenumber" name="2204" href="#2204">2204</a>     <strong class="jxr_keyword">if</strong> (info != <strong class="jxr_keyword">null</strong> &amp;&amp; info.hasVersionInfo()) {
+<a class="jxr_linenumber" name="2205" href="#2205">2205</a>       <strong class="jxr_keyword">return</strong> info.getVersionInfo().getVersion();
+<a class="jxr_linenumber" name="2206" href="#2206">2206</a>     }
+<a class="jxr_linenumber" name="2207" href="#2207">2207</a>     <strong class="jxr_keyword">return</strong> <span class="jxr_string">"Unknown"</span>;
+<a class="jxr_linenumber" name="2208" href="#2208">2208</a>   }
+<a class="jxr_linenumber" name="2209" href="#2209">2209</a> 
+<a class="jxr_linenumber" name="2210" href="#2210">2210</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="2211" href="#2211">2211</a> <em class="jxr_javadoccomment">   * @return array of coprocessor SimpleNames.</em>
+<a class="jxr_linenumber" name="2212" href="#2212">2212</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="2213" href="#2213">2213</a>   <strong class="jxr_keyword">public</strong> String[] getMasterCoprocessors() {
+<a class="jxr_linenumber" name="2214" href="#2214">2214</a>     Set&lt;String&gt; masterCoprocessors = getMasterCoprocessorHost().getCoprocessors();
+<a class="jxr_linenumber" name="2215" href="#2215">2215</a>     <strong class="jxr_keyword">return</strong> masterCoprocessors.toArray(<strong class="jxr_keyword">new</strong> String[masterCoprocessors.size()]);
+<a class="jxr_linenumber" name="2216" href="#2216">2216</a>   }
+<a class="jxr_linenumber" name="2217" href="#2217">2217</a> 
+<a class="jxr_linenumber" name="2218" href="#2218">2218</a>   @Override
+<a class="jxr_linenumber" name="2219" href="#2219">2219</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> abort(<strong class="jxr_keyword">final</strong> String msg, <strong class="jxr_keyword">final</strong> Throwable t) {
+<a class="jxr_linenumber" name="2220" href="#2220">2220</a>     <strong class="jxr_keyword">if</strong> (isAborted() || isStopped()) {
+<a class="jxr_linenumber" name="2221" href="#2221">2221</a>       <strong class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="2222" href="#2222">2222</a>     }
+<a class="jxr_linenumber" name="2223" href="#2223">2223</a>     <strong class="jxr_keyword">if</strong> (cpHost != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="2224" href="#2224">2224</a>       <em class="jxr_comment">// HBASE-4014: dump a list of loaded coprocessors.</em>
+<a class="jxr_linenumber" name="2225" href="#2225">2225</a>       LOG.fatal(<span class="jxr_string">"Master server abort: loaded coprocessors are: "</span> +
+<a class="jxr_linenumber" name="2226" href="#2226">2226</a>           getLoadedCoprocessors());
+<a class="jxr_linenumber" name="2227" href="#2227">2227</a>     }
+<a class="jxr_linenumber" name="2228" href="#2228">2228</a>     <strong class="jxr_keyword">if</strong> (t != <strong class="jxr_keyword">null</strong>) LOG.fatal(msg, t);
+<a class="jxr_linenumber" name="2229" href="#2229">2229</a>     stopMaster();
+<a class="jxr_linenumber" name="2230" href="#2230">2230</a>   }
+<a class="jxr_linenumber" name="2231" href="#2231">2231</a> 
+<a class="jxr_linenumber" name="2232" href="#2232">2232</a>   @Override
+<a class="jxr_linenumber" name="2233" href="#2233">2233</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.html">ZooKeeperWatcher</a> getZooKeeper() {
+<a class="jxr_linenumber" name="2234" href="#2234">2234</a>     <strong class="jxr_keyword">return</strong> zooKeeper;
+<a class="jxr_linenumber" name="2235" href="#2235">2235</a>   }
+<a class="jxr_linenumber" name="2236" href="#2236">2236</a> 
+<a class="jxr_linenumber" name="2237" href="#2237">2237</a>   @Override
+<a class="jxr_linenumber" name="2238" href="#2238">2238</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/hadoop/hbase/master/MasterCoprocessorHost.html">MasterCoprocessorHost</a> getMasterCoprocessorHost() {
+<a class="jxr_linenumber" name="2239" href="#2239">2239</a>     <strong class="jxr_keyword">return</strong> cpHost;
+<a class="jxr_linenumber" name="2240" href="#2240">2240</a>   }
+<a class="jxr_linenumber" name="2241" href="#2241">2241</a> 
+<a class="jxr_linenumber" name="2242" href="#2242">2242</a>   @Override
+<a class="jxr_linenumber" name="2243" href="#2243">2243</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/hadoop/hbase/quotas/MasterQuotaManager.html">MasterQuotaManager</a> getMasterQuotaManager() {
+<a class="jxr_linenumber" name="2244" href="#2244">2244</a>     <strong class="jxr_keyword">return</strong> quotaManager;
+<a class="jxr_linenumber" name="2245" href="#2245">2245</a>   }
+<a class="jxr_linenumber" name="2246" href="#2246">2246</a> 
+<a class="jxr_linenumber" name="2247" href="#2247">2247</a>   @Override
+<a class="jxr_linenumber" name="2248" href="#2248">2248</a>   <strong class="jxr_keyword">public</strong> ProcedureExecutor&lt;MasterProcedureEnv&gt; getMasterProcedureExecutor() {
+<a class="jxr_linenumber" name="2249" href="#2249">2249</a>     <strong class="jxr_keyword">return</strong> procedureExecutor;
+<a class="jxr_linenumber" name="2250" href="#2250">2250</a>   }
+<a class="jxr_linenumber" name="2251" href="#2251">2251</a> 
+<a class="jxr_linenumber" name="2252" href="#2252">2252</a>   @Override
+<a class="jxr_linenumber" name="2253" href="#2253">2253</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/hadoop/hbase/ServerName.html">ServerName</a> getServerName() {
+<a class="jxr_linenumber" name="2254" href="#2254">2254</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.serverName;
+<a class="jxr_linenumber" name="2255" href="#2255">2255</a>   }
+<a class="jxr_linenumber" name="2256" href="#2256">2256</a> 
+<a class="jxr_linenumber" name="2257" href="#2257">2257</a>   @Override
+<a class="jxr_linenumber" name="2258" href="#2258">2258</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/hadoop/hbase/master/AssignmentManager.html">AssignmentManager</a> getAssignmentManager() {
+<a class="jxr_linenumber" name="2259" href="#2259">2259</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.assignmentManager;
 <a class="jxr_linenumber" name="2260" href="#2260">2260</a>   }
 <a class="jxr_linenumber" name="2261" href="#2261">2261</a> 
-<a class="jxr_linenumber" name="2262" href="#2262">2262</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> shutdown() {
-<a class="jxr_linenumber" name="2263" href="#2263">2263</a>     <strong class="jxr_keyword">if</strong> (cpHost != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="2264" href="#2264">2264</a>       <strong class="jxr_keyword">try</strong> {
-<a class="jxr_linenumber" name="2265" href="#2265">2265</a>         cpHost.preShutdown();
-<a class="jxr_linenumber" name="2266" href="#2266">2266</a>       } <strong class="jxr_keyword">catch</strong> (IOException ioe) {
-<a class="jxr_linenumber" name="2267" href="#2267">2267</a>         LOG.error(<span class="jxr_string">"Error call master coprocessor preShutdown()"</span>, ioe);
-<a class="jxr_linenumber" name="2268" href="#2268">2268</a>       }
-<a class="jxr_linenumber" name="2269" href="#2269">2269</a>     }
-<a class="jxr_linenumber" name="2270" href="#2270">2270</a> 
-<a class="jxr_linenumber" name="2271" href="#2271">2271</a>     <strong class="jxr_keyword">if</strong> (<strong class="jxr_keyword">this</strong>.serverManager != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="2272" href="#2272">2272</a>       <strong class="jxr_keyword">this</strong>.serverManager.shutdownCluster();
+<a class="jxr_linenumber" name="2262" href="#2262">2262</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/hadoop/hbase/monitoring/MemoryBoundedLogMessageBuffer.html">MemoryBoundedLogMessageBuffer</a> getRegionServerFatalLogBuffer() {
+<a class="jxr_linenumber" name="2263" href="#2263">2263</a>     <strong class="jxr_keyword">return</strong> rsFatals;
+<a class="jxr_linenumber" name="2264" href="#2264">2264</a>   }
+<a class="jxr_linenumber" name="2265" href="#2265">2265</a> 
+<a class="jxr_linenumber" name="2266" href="#2266">2266</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> shutdown() {
+<a class="jxr_linenumber" name="2267" href="#2267">2267</a>     <strong class="jxr_keyword">if</strong> (cpHost != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="2268" href="#2268">2268</a>       <strong class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="2269" href="#2269">2269</a>         cpHost.preShutdown();
+<a class="jxr_linenumber" name="2270" href="#2270">2270</a>       } <strong class="jxr_keyword">catch</strong> (IOException ioe) {
+<a class="jxr_linenumber" name="2271" href="#2271">2271</a>         LOG.error(<span class="jxr_string">"Error call master coprocessor preShutdown()"</span>, ioe);
+<a class="jxr_linenumber" name="2272" href="#2272">2272</a>       }
 <a class="jxr_linenumber" name="2273" href="#2273">2273</a>     }
-<a class="jxr_linenumber" name="2274" href="#2274">2274</a>     <strong class="jxr_keyword">if</strong> (<strong class="jxr_keyword">this</strong>.clusterStatusTracker != <strong class="jxr_keyword">null</strong>){
-<a class="jxr_linenumber" name="2275" href="#2275">2275</a>       <strong class="jxr_keyword">try</strong> {
-<a class="jxr_linenumber" name="2276" href="#2276">2276</a>         <strong class="jxr_keyword">this</strong>.clusterStatusTracker.setClusterDown();
-<a class="jxr_linenumber" name="2277" href="#2277">2277</a>       } <strong class="jxr_keyword">catch</strong> (KeeperException e) {
-<a class="jxr_linenumber" name="2278" href="#2278">2278</a>         LOG.error(<span class="jxr_string">"ZooKeeper exception trying to set cluster as down in ZK"</span>, e);
-<a class="jxr_linenumber" name="2279" href="#2279">2279</a>       }
-<a class="jxr_linenumber" name="2280" href="#2280">2280</a>     }
-<a class="jxr_linenumber" name="2281" href="#2281">2281</a>   }
-<a class="jxr_linenumber" name="2282" href="#2282">2282</a> 
-<a class="jxr_linenumber" name="2283" href="#2283">2283</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> stopMaster() {
-<a class="jxr_linenumber" name="2284" href="#2284">2284</a>     <strong class="jxr_keyword">if</strong> (cpHost != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="2285" href="#2285">2285</a>       <strong class="jxr_keyword">try</strong> {
-<a class="jxr_linenumber" name="2286" href="#2286">2286</a>         cpHost.preStopMaster();
-<a class="jxr_linenumber" name="2287" href="#2287">2287</a>       } <strong class="jxr_keyword">catch</strong> (IOException ioe) {
-<a class="jxr_linenumber" name="2288" href="#2288">2288</a>         LOG.error(<span class="jxr_string">"Error call master coprocessor preStopMaster()"</span>, ioe);
-<a class="jxr_linenumber" name="2289" href="#2289">2289</a>       }
-<a class="jxr_linenumber" name="2290" href="#2290">2290</a>     }
-<a class="jxr_linenumber" name="2291" href="#2291">2291</a>     stop(<span class="jxr_string">"Stopped by "</span> + Thread.currentThread().getName());
-<a class="jxr_linenumber" name="2292" href="#2292">2292</a>   }
-<a class="jxr_linenumber" name="2293" href="#2293">2293</a> 
-<a class="jxr_linenumber" name="2294" href="#2294">2294</a>   <strong class="jxr_keyword">void</strong> checkServiceStarted() <strong class="jxr_keyword">throws</strong> ServerNotRunningYetException {
-<a class="jxr_linenumber" name="2295" href="#2295">2295</a>     <strong class="jxr_keyword">if</strong> (!serviceStarted) {
-<a class="jxr_linenumber" name="2296" href="#2296">2296</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/ipc/ServerNotRunningYetException.html">ServerNotRunningYetException</a>(<span class="jxr_string">"Server is not running yet"</span>);
-<a class="jxr_linenumber" name="2297" href="#2297">2297</a>     }
-<a class="jxr_linenumber" name="2298" href="#2298">2298</a>   }
-<a class="jxr_linenumber" name="2299" href="#2299">2299</a> 
-<a class="jxr_linenumber" name="2300" href="#2300">2300</a>   <strong class="jxr_keyword">void</strong> checkInitialized() <strong class="jxr_keyword">throws</strong> PleaseHoldException, ServerNotRunningYetException {
-<a class="jxr_linenumber" name="2301" href="#2301">2301</a>     checkServiceStarted();
-<a class="jxr_linenumber" name="2302" href="#2302">2302</a>     <strong class="jxr_keyword">if</strong> (!<strong class="jxr_keyword">this</strong>.initialized) {
-<a class="jxr_linenumber" name="2303" href="#2303">2303</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/PleaseHoldException.html">PleaseHoldException</a>(<span class="jxr_string">"Master is initializing"</span>);
-<a class="jxr_linenumber" name="2304" href="#2304">2304</a>     }
-<a class="jxr_linenumber" name="2305" href="#2305">2305</a>   }
-<a class="jxr_linenumber" name="2306" href="#2306">2306</a> 
-<a class="jxr_linenumber" name="2307" href="#2307">2307</a>   <strong class="jxr_keyword">void</strong> checkNamespaceManagerReady() <strong class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="2308" href="#2308">2308</a>     checkInitialized();
-<a class="jxr_linenumber" name="2309" href="#2309">2309</a>     <strong class="jxr_keyword">if</strong> (tableNamespaceManager == <strong class="jxr_keyword">null</strong> ||
-<a class="jxr_linenumber" name="2310" href="#2310">2310</a>         !tableNamespaceManager.isTableAvailableAndInitialized(<strong class="jxr_keyword">true</strong>)) {
-<a class="jxr_linenumber" name="2311" href="#2311">2311</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IOException(<span class="jxr_string">"Table Namespace Manager not ready yet, try again later"</span>);
-<a class="jxr_linenumber" name="2312" href="#2312">2312</a>     }
-<a class="jxr_linenumber" name="2313" href="#2313">2313</a>   }
-<a class="jxr_linenumber" name="2314" href="#2314">2314</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="2315" href="#2315">2315</a> <em class="jxr_javadoccomment">   * Report whether this master is currently the active master or not.</em>
-<a class="jxr_linenumber" name="2316" href="#2316">2316</a> <em class="jxr_javadoccomment">   * If not active master, we are parked on ZK waiting to become active.</em>
-<a class="jxr_linenumber" name="2317" href="#2317">2317</a> <em class="jxr_javadoccomment">   *</em>
-<a class="jxr_linenumber" name="2318" href="#2318">2318</a> <em class="jxr_javadoccomment">   * This method is used for testing.</em>
-<a class="jxr_linenumber" name="2319" href="#2319">2319</a> <em class="jxr_javadoccomment">   *</em>
-<a class="jxr_linenumber" name="2320" href="#2320">2320</a> <em class="jxr_javadoccomment">   * @return true if active master, false if not.</em>
-<a class="jxr_linenumber" name="2321" href="#2321">2321</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="2322" href="#2322">2322</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isActiveMaster() {
-<a class="jxr_linenumber" name="2323" href="#2323">2323</a>     <strong class="jxr_keyword">return</strong> isActiveMaster;
-<a class="jxr_linenumber" name="2324" href="#2324">2324</a>   }
-<a class="jxr_linenumber" name="2325" href="#2325">2325</a> 
-<a class="jxr_linenumber" name="2326" href="#2326">2326</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="2327" href="#2327">2327</a> <em class="jxr_javadoccomment">   * Report whether this master has completed with its initialization and is</em>
-<a class="jxr_linenumber" name="2328" href="#2328">2328</a> <em class="jxr_javadoccomment">   * ready.  If ready, the master is also the active master.  A standby master</em>
-<a class="jxr_linenumber" name="2329" href="#2329">2329</a> <em class="jxr_javadoccomment">   * is never ready.</em>
-<a class="jxr_linenumber" name="2330" href="#2330">2330</a> <em class="jxr_javadoccomment">   *</em>
-<a class="jxr_linenumber" name="2331" href="#2331">2331</a> <em class="jxr_javadoccomment">   * This method is used for testing.</em>
-<a class="jxr_linenumber" name="2332" href="#2332">2332</a> <em class="jxr_javadoccomment">   *</em>
-<a class="jxr_linenumber" name="2333" href="#2333">2333</a> <em class="jxr_javadoccomment">   * @return true if master is ready to go, false if not.</em>
-<a class="jxr_linenumber" name="2334" href="#2334">2334</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="2335" href="#2335">2335</a>   @Override
-<a class="jxr_linenumber" name="2336" href="#2336">2336</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isInitialized() {
-<a class="jxr_linenumber" name="2337" href="#2337">2337</a>     <strong class="jxr_keyword">return</strong> initialized;
-<a class="jxr_linenumber" name="2338" href="#2338">2338</a>   }
-<a class="jxr_linenumber" name="2339" href="#2339">2339</a> 
-<a class="jxr_linenumber" name="2340" href="#2340">2340</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="2341" href="#2341">2341</a> <em class="jxr_javadoccomment">   * ServerCrashProcessingEnabled is set false before completing assignMeta to prevent processing</em>
-<a class="jxr_linenumber" name="2342" href="#2342">2342</a> <em class="jxr_javadoccomment">   * of crashed servers.</em>
-<a class="jxr_linenumber" name="2343" href="#2343">2343</a> <em class="jxr_javadoccomment">   * @return true if assignMeta has completed;</em>
-<a class="jxr_linenumber" name="2344" href="#2344">2344</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="2345" href="#2345">2345</a>   @Override
-<a class="jxr_linenumber" name="2346" href="#2346">2346</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isServerCrashProcessingEnabled() {
-<a class="jxr_linenumber" name="2347" href="#2347">2347</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.serverCrashProcessingEnabled;
-<a class="jxr_linenumber" name="2348" href="#2348">2348</a>   }
-<a class="jxr_linenumber" name="2349" href="#2349">2349</a> 
-<a class="jxr_linenumber" name="2350" href="#2350">2350</a>   @VisibleForTesting
-<a class="jxr_linenumber" name="2351" href="#2351">2351</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setServerCrashProcessingEnabled(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> b) {
-<a class="jxr_linenumber" name="2352" href="#2352">2352</a>     <strong class="jxr_keyword">this</strong>.serverCrashProcessingEnabled = b;
-<a class="jxr_linenumber" name="2353" href="#2353">2353</a>   }
-<a class="jxr_linenumber" name="2354" href="#2354">2354</a> 
-<a class="jxr_linenumber" name="2355" href="#2355">2355</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="2356" href="#2356">2356</a> <em class="jxr_javadoccomment">   * Report whether this master has started initialization and is about to do meta region assignment</em>
-<a class="jxr_linenumber" name="2357" href="#2357">2357</a> <em class="jxr_javadoccomment">   * @return true if master is in initialization &amp;amp; about to assign hbase:meta regions</em>
-<a class="jxr_linenumber" name="2358" href="#2358">2358</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="2359" href="#2359">2359</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isInitializationStartsMetaRegionAssignment() {
-<a class="jxr_linenumber" name="2360" href="#2360">2360</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.initializationBeforeMetaAssignment;
-<a class="jxr_linenumber" name="2361" href="#2361">2361</a>   }
-<a class="jxr_linenumber" name="2362" href="#2362">2362</a> 
-<a class="jxr_linenumber" name="2363" href="#2363">2363</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> assignRegion(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html">HRegionInfo</a> hri) {
-<a class="jxr_linenumber" name="2364" href="#2364">2364</a>     assignmentManager.assign(hri);
+<a class="jxr_linenumber" name="2274" href="#2274">2274</a> 
+<a class="jxr_linenumber" name="2275" href="#2275">2275</a>     <strong class="jxr_keyword">if</strong> (<strong class="jxr_keyword">this</strong>.serverManager != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="2276" href="#2276">2276</a>       <strong class="jxr_keyword">this</strong>.serverManager.shutdownCluster();
+<a class="jxr_linenumber" name="2277" href="#2277">2277</a>     }
+<a class="jxr_linenumber" name="2278" href="#2278">2278</a>     <strong class="jxr_keyword">if</strong> (<strong class="jxr_keyword">this</strong>.clusterStatusTracker != <strong class="jxr_keyword">null</strong>){
+<a class="jxr_linenumber" name="2279" href="#2279">2279</a>       <strong class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="2280" href="#2280">2280</a>         <strong class="jxr_keyword">this</strong>.clusterStatusTracker.setClusterDown();
+<a class="jxr_linenumber" name="2281" href="#2281">2281</a>       } <strong class="jxr_keyword">catch</strong> (KeeperException e) {
+<a class="jxr_linenumber" name="2282" href="#2282">2282</a>         LOG.error(<span class="jxr_string">"ZooKeeper exception trying to set cluster as down in ZK"</span>, e);
+<a class="jxr_linenumber" name="2283" href="#2283">2283</a>       }
+<a class="jxr_linenumber" name="2284" href="#2284">2284</a>     }
+<a class="jxr_linenumber" name="2285" href="#2285">2285</a>   }
+<a class="jxr_linenumber" name="2286" href="#2286">2286</a> 
+<a class="jxr_linenumber" name="2287" href="#2287">2287</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> stopMaster() {
+<a class="jxr_linenumber" name="2288" href="#2288">2288</a>     <strong class="jxr_keyword">if</strong> (cpHost != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="2289" href="#2289">2289</a>       <strong class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="2290" href="#2290">2290</a>         cpHost.preStopMaster();
+<a class="jxr_linenumber" name="2291" href="#2291">2291</a>       } <strong class="jxr_keyword">catch</strong> (IOException ioe) {
+<a class="jxr_linenumber" name="2292" href="#2292">2292</a>         LOG.error(<span class="jxr_string">"Error call master coprocessor preStopMaster()"</span>, ioe);
+<a class="jxr_linenumber" name="2293" href="#2293">2293</a>       }
+<a class="jxr_linenumber" name="2294" href="#2294">2294</a>     }
+<a class="jxr_linenumber" name="2295" href="#2295">2295</a>     stop(<span class="jxr_string">"Stopped by "</span> + Thread.currentThread().getName());
+<a class="jxr_linenumber" name="2296" href="#2296">2296</a>   }
+<a class="jxr_linenumber" name="2297" href="#2297">2297</a> 
+<a class="jxr_linenumber" name="2298" href="#2298">2298</a>   <strong class="jxr_keyword">void</strong> checkServiceStarted() <strong class="jxr_keyword">throws</strong> ServerNotRunningYetException {
+<a class="jxr_linenumber" name="2299" href="#2299">2299</a>     <strong class="jxr_keyword">if</strong> (!serviceStarted) {
+<a class="jxr_linenumber" name="2300" href="#2300">2300</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/ipc/ServerNotRunningYetException.html">ServerNotRunningYetException</a>(<span class="jxr_string">"Server is not running yet"</span>);
+<a class="jxr_linenumber" name="2301" href="#2301">2301</a>     }
+<a class="jxr_linenumber" name="2302" href="#2302">2302</a>   }
+<a class="jxr_linenumber" name="2303" href="#2303">2303</a> 
+<a class="jxr_linenumber" name="2304" href="#2304">2304</a>   <strong class="jxr_keyword">void</strong> checkInitialized() <strong class="jxr_keyword">throws</strong> PleaseHoldException, ServerNotRunningYetException {
+<a class="jxr_linenumber" name="2305" href="#2305">2305</a>     checkServiceStarted();
+<a class="jxr_linenumber" name="2306" href="#2306">2306</a>     <strong class="jxr_keyword">if</strong> (!<strong class="jxr_keyword">this</strong>.initialized) {
+<a class="jxr_linenumber" name="2307" href="#2307">2307</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/PleaseHoldException.html">PleaseHoldException</a>(<span class="jxr_string">"Master is initializing"</span>);
+<a class="jxr_linenumber" name="2308" href="#2308">2308</a>     }
+<a class="jxr_linenumber" name="2309" href="#2309">2309</a>   }
+<a class="jxr_linenumber" name="2310" href="#2310">2310</a> 
+<a class="jxr_linenumber" name="2311" href="#2311">2311</a>   <strong class="jxr_keyword">void</strong> checkNamespaceManagerReady() <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="2312" href="#2312">2312</a>     checkInitialized();
+<a class="jxr_linenumber" name="2313" href="#2313">2313</a>     <strong class="jxr_keyword">if</strong> (tableNamespaceManager == <strong class="jxr_keyword">null</strong> ||
+<a class="jxr_linenumber" name="2314" href="#2314">2314</a>         !tableNamespaceManager.isTableAvailableAndInitialized(<strong class="jxr_keyword">true</strong>)) {
+<a class="jxr_linenumber" name="2315" href="#2315">2315</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IOException(<span class="jxr_string">"Table Namespace Manager not ready yet, try again later"</span>);
+<a class="jxr_linenumber" name="2316" href="#2316">2316</a>     }
+<a class="jxr_linenumber" name="2317" href="#2317">2317</a>   }
+<a class="jxr_linenumber" name="2318" href="#2318">2318</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="2319" href="#2319">2319</a> <em class="jxr_javadoccomment">   * Report whether this master is currently the active master or not.</em>
+<a class="jxr_linenumber" name="2320" href="#2320">2320</a> <em class="jxr_javadoccomment">   * If not active master, we are parked on ZK waiting to become active.</em>
+<a class="jxr_linenumber" name="2321" href="#2321">2321</a> <em class="jxr_javadoccomment">   *</em>
+<a class="jxr_linenumber" name="2322" href="#2322">2322</a> <em class="jxr_javadoccomment">   * This method is used for testing.</em>
+<a class="jxr_linenumber" name="2323" href="#2323">2323</a> <em class="jxr_javadoccomment">   *</em>
+<a class="jxr_linenumber" name="2324" href="#2324">2324</a> <em class="jxr_javadoccomment">   * @return true if active master, false if not.</em>
+<a class="jxr_linenumber" name="2325" href="#2325">2325</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="2326" href="#2326">2326</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isActiveMaster() {
+<a class="jxr_linenumber" name="2327" href="#2327">2327</a>     <strong class="jxr_keyword">return</strong> isActiveMaster;
+<a class="jxr_linenumber" name="2328" href="#2328">2328</a>   }
+<a class="jxr_linenumber" name="2329" href="#2329">2329</a> 
+<a class="jxr_linenumber" name="2330" href="#2330">2330</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="2331" href="#2331">2331</a> <em class="jxr_javadoccomment">   * Report whether this master has completed with its initialization and is</em>
+<a class="jxr_linenumber" name="2332" href="#2332">2332</a> <em class="jxr_javadoccomment">   * ready.  If ready, the master is also the active master.  A standby master</em>
+<a class="jxr_linenumber" name="2333" href="#2333">2333</a> <em class="jxr_javadoccomment">   * is never ready.</em>
+<a class="jxr_linenumber" name="2334" href="#2334">2334</a> <em class="jxr_javadoccomment">   *</em>
+<a class="jxr_linenumber" name="2335" href="#2335">2335</a> <em class="jxr_javadoccomment">   * This method is used for testing.</em>
+<a class="jxr_linenumber" name="2336" href="#2336">2336</a> <em class="jxr_javadoccomment">   *</em>
+<a class="jxr_linenumber" name="2337" href="#2337">2337</a> <em class="jxr_javadoccomment">   * @return true if master is ready to go, false if not.</em>
+<a class="jxr_linenumber" name="2338" href="#2338">2338</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="2339" href="#2339">2339</a>   @Override
+<a class="jxr_linenumber" name="2340" href="#2340">2340</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isInitialized() {
+<a class="jxr_linenumber" name="2341" href="#2341">2341</a>     <strong class="jxr_keyword">return</strong> initialized;
+<a class="jxr_linenumber" name="2342" href="#2342">2342</a>   }
+<a class="jxr_linenumber" name="2343" href="#2343">2343</a> 
+<a class="jxr_linenumber" name="2344" href="#2344">2344</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="2345" href="#2345">2345</a> <em class="jxr_javadoccomment">   * ServerCrashProcessingEnabled is set false before completing assignMeta to prevent processing</em>
+<a class="jxr_linenumber" name="2346" href="#2346">2346</a> <em class="jxr_javadoccomment">   * of crashed servers.</em>
+<a class="jxr_linenumber" name="2347" href="#2347">2347</a> <em class="jxr_javadoccomment">   * @return true if assignMeta has completed;</em>
+<a class="jxr_linenumber" name="2348" href="#2348">2348</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="2349" href="#2349">2349</a>   @Override
+<a class="jxr_linenumber" name="2350" href="#2350">2350</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isServerCrashProcessingEnabled() {
+<a class="jxr_linenumber" name="2351" href="#2351">2351</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.serverCrashProcessingEnabled;
+<a class="jxr_linenumber" name="2352" href="#2352">2352</a>   }
+<a class="jxr_linenumber" name="2353" href="#2353">2353</a> 
+<a class="jxr_linenumber" name="2354" href="#2354">2354</a>   @VisibleForTesting
+<a class="jxr_linenumber" name="2355" href="#2355">2355</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setServerCrashProcessingEnabled(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> b) {
+<a class="jxr_linenumber" name="2356" href="#2356">2356</a>     <strong class="jxr_keyword">this</strong>.serverCrashProcessingEnabled = b;
+<a class="jxr_linenumber" name="2357" href="#2357">2357</a>   }
+<a class="jxr_linenumber" name="2358" href="#2358">2358</a> 
+<a class="jxr_linenumber" name="2359" href="#2359">2359</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="2360" href="#2360">2360</a> <em class="jxr_javadoccomment">   * Report whether this master has started initialization and is about to do meta region assignment</em>
+<a class="jxr_linenumber" name="2361" href="#2361">2361</a> <em class="jxr_javadoccomment">   * @return true if master is in initialization &amp;amp; about to assign hbase:meta regions</em>
+<a class="jxr_linenumber" name="2362" href="#2362">2362</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="2363" href="#2363">2363</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isInitializationStartsMetaRegionAssignment() {
+<a class="jxr_linenumber" name="2364" href="#2364">2364</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.initializationBeforeMetaAssignment;
 <a class="jxr_linenumber" name="2365" href="#2365">2365</a>   }
 <a class="jxr_linenumber" name="2366" href="#2366">2366</a> 
-<a class="jxr_linenumber" name="2367" href="#2367">2367</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="2368" href="#2368">2368</a> <em class="jxr_javadoccomment">   * Compute the average load across all region servers.</em>
-<a class="jxr_linenumber" name="2369" href="#2369">2369</a> <em class="jxr_javadoccomment">   * Currently, this uses a very naive computation - just uses the number of</em>
-<a class="jxr_linenumber" name="2370" href="#2370">2370</a> <em class="jxr_javadoccomment">   * regions being served, ignoring stats about number of requests.</em>
-<a class="jxr_linenumber" name="2371" href="#2371">2371</a> <em class="jxr_javadoccomment">   * @return the average load</em>
-<a class="jxr_linenumber" name="2372" href="#2372">2372</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="2373" href="#2373">2373</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">double</strong> getAverageLoad() {
-<a class="jxr_linenumber" name="2374" href="#2374">2374</a>     <strong class="jxr_keyword">if</strong> (<strong class="jxr_keyword">this</strong>.assignmentManager == <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="2375" href="#2375">2375</a>       <strong class="jxr_keyword">return</strong> 0;
-<a class="jxr_linenumber" name="2376" href="#2376">2376</a>     }
-<a class="jxr_linenumber" name="2377" href="#2377">2377</a> 
-<a class="jxr_linenumber" name="2378" href="#2378">2378</a>     <a href="../../../../../org/apache/hadoop/hbase/master/RegionStates.html">RegionStates</a> regionStates = <strong class="jxr_keyword">this</strong>.assignmentManager.getRegionStates();
-<a class="jxr_linenumber" name="2379" href="#2379">2379</a>     <strong class="jxr_keyword">if</strong> (regionStates == <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="2380" href="#2380">2380</a>       <strong class="jxr_keyword">return</strong> 0;
-<a class="jxr_linenumber" name="2381" href="#2381">2381</a>     }
-<a class="jxr_linenumber" name="2382" href="#2382">2382</a>     <strong class="jxr_keyword">return</strong> regionStates.getAverageLoad();
-<a class="jxr_linenumber" name="2383" href="#2383">2383</a>   }
-<a class="jxr_linenumber" name="2384" href="#2384">2384</a> 
-<a class="jxr_linenumber" name="2385" href="#2385">2385</a>   @Override
-<a class="jxr_linenumber" name="2386" href="#2386">2386</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> registerService(Service instance) {
-<a class="jxr_linenumber" name="2387" href="#2387">2387</a>     <em class="jxr_comment">/*</em>
-<a class="jxr_linenumber" name="2388" href="#2388">2388</a> <em class="jxr_comment">     * No stacking of instances is allowed for a single service name</em>
-<a class="jxr_linenumber" name="2389" href="#2389">2389</a> <em class="jxr_comment">     */</em>
-<a class="jxr_linenumber" name="2390" href="#2390">2390</a>     Descriptors.ServiceDescriptor serviceDesc = instance.getDescriptorForType();
-<a class="jxr_linenumber" name="2391" href="#2391">2391</a>     <strong class="jxr_keyword">if</strong> (coprocessorServiceHandlers.containsKey(serviceDesc.getFullName())) {
-<a class="jxr_linenumber" name="2392" href="#2392">2392</a>       LOG.error(<span class="jxr_string">"Coprocessor service "</span>+serviceDesc.getFullName()+
-<a class="jxr_linenumber" name="2393" href="#2393">2393</a>           <span class="jxr_string">" already registered, rejecting request from "</span>+instance
-<a class="jxr_linenumber" name="2394" href="#2394">2394</a>       );
-<a class="jxr_linenumber" name="2395" href="#2395">2395</a>       <strong class="jxr_keyword">return</strong> false;
-<a class="jxr_linenumber" name="2396" href="#2396">2396</a>     }
-<a class="jxr_linenumber" name="2397" href="#2397">2397</a> 
-<a class="jxr_linenumber" name="2398" href="#2398">2398</a>     coprocessorServiceHandlers.put(serviceDesc.getFullName(), instance);
-<a class="jxr_linenumber" name="2399" href="#2399">2399</a>     <strong class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
-<a class="jxr_linenumber" name="2400" href="#2400">2400</a>       LOG.debug(<span class="jxr_string">"Registered master coprocessor service: service="</span>+serviceDesc.getFullName());
-<a class="jxr_linenumber" name="2401" href="#2401">2401</a>     }
-<a class="jxr_linenumber" name="2402" href="#2402">2402</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">true</strong>;
-<a class="jxr_linenumber" name="2403" href="#2403">2403</a>   }
-<a class="jxr_linenumber" name="2404" href="#2404">2404</a> 
-<a class="jxr_linenumber" name="2405" href="#2405">2405</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="2406" href="#2406">2406</a> <em class="jxr_javadoccomment">   * Utility for constructing an instance of the passed HMaster class.</em>
-<a class="jxr_linenumber" name="2407" href="#2407">2407</a> <em class="jxr_javadoccomment">   * @param masterClass</em>
-<a class="jxr_linenumber" name="2408" href="#2408">2408</a> <em class="jxr_javadoccomment">   * @param conf</em>
-<a class="jxr_linenumber" name="2409" href="#2409">2409</a> <em class="jxr_javadoccomment">   * @return HMaster instance.</em>
-<a class="jxr_linenumber" name="2410" href="#2410">2410</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="2411" href="#2411">2411</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../../org/apache/hadoop/hbase/master/HMaster.html">HMaster</a> constructMaster(Class&lt;? <strong class="jxr_keyword">extends</strong> HMaster&gt; masterClass,
-<a class="jxr_linenumber" name="2412" href="#2412">2412</a>       <strong class="jxr_keyword">final</strong> Configuration conf, <strong class="jxr_keyword">final</strong> <a href="../../../../../org/apache/hadoop/hbase/CoordinatedStateManager.html">CoordinatedStateManager</a> cp)  {
-<a class="jxr_linenumber" name="2413" href="#2413">2413</a>     <strong class="jxr_keyword">try</strong> {
-<a class="jxr_linenumber" name="2414" href="#2414">2414</a>       Constructor&lt;? <strong class="jxr_keyword">extends</strong> HMaster&gt; c =
-<a class="jxr_linenumber" name="2415" href="#2415">2415</a>         masterClass.getConstructor(Configuration.<strong class="jxr_keyword">class</strong>, CoordinatedStateManager.<strong class="jxr_keyword">class</strong>);
-<a class="jxr_linenumber" name="2416" href="#2416">2416</a>       <strong class="jxr_keyword">return</strong> c.newInstance(conf, cp);
-<a class="jxr_linenumber" name="2417" href="#2417">2417</a>     } <strong class="jxr_keyword">catch</strong>(Exception e) {
-<a class="jxr_linenumber" name="2418" href="#2418">2418</a>       Throwable error = e;
-<a class="jxr_linenumber" name="2419" href="#2419">2419</a>       <strong class="jxr_keyword">if</strong> (e instanceof InvocationTargetException &amp;&amp;
-<a class="jxr_linenumber" name="2420" href="#2420">2420</a>           ((InvocationTargetException)e).getTargetException() != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="2421" href="#2421">2421</a>         error = ((InvocationTargetException)e).getTargetException();
-<a class="jxr_linenumber" name="2422" href="#2422">2422</a>       }
-<a class="jxr_linenumber" name="2423" href="#2423">2423</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> RuntimeException(<span class="jxr_string">"Failed construction of Master: "</span> + masterClass.toString() + <span class="jxr_string">". "</span>
-<a class="jxr_linenumber" name="2424" href="#2424">2424</a>         , error);
-<a class="jxr_linenumber" name="2425" href="#2425">2425</a>     }
-<a class="jxr_linenumber" name="2426" href="#2426">2426</a>   }
-<a class="jxr_linenumber" name="2427" href="#2427">2427</a> 
-<a class="jxr_linenumber" name="2428" href="#2428">2428</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="2429" href="#2429">2429</a> <em class="jxr_javadoccomment">   * @see org.apache.hadoop.hbase.master.HMasterCommandLine</em>
-<a class="jxr_linenumber" name="2430" href="#2430">2430</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="2431" href="#2431">2431</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> main(String [] args) {
-<a class="jxr_linenumber" name="2432" href="#2432">2432</a>     VersionInfo.logVersion();
-<a class="jxr_linenumber" name="2433" href="#2433">2433</a>     <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/master/HMasterCommandLine.html">HMasterCommandLine</a>(HMaster.<strong class="jxr_keyword">class</strong>).doMain(args);
-<a class="jxr_linenumber" name="2434" href="#2434">2434</a>   }
-<a class="jxr_linenumber" name="2435" href="#2435">2435</a> 
-<a class="jxr_linenumber" name="2436" href="#2436">2436</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html">HFileCleaner</a> getHFileCleaner() {
-<a class="jxr_linenumber" name="2437" href="#2437">2437</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.hfileCleaner;
+<a class="jxr_linenumber" name="2367" href="#2367">2367</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> assignRegion(<a href="../../../../../org/apache/hadoop/hbase/HRegionInfo.html">HRegionInfo</a> hri) {
+<a class="jxr_linenumber" name="2368" href="#2368">2368</a>     assignmentManager.assign(hri);
+<a class="jxr_linenumber" name="2369" href="#2369">2369</a>   }
+<a class="jxr_linenumber" name="2370" href="#2370">2370</a> 
+<a class="jxr_linenumber" name="2371" href="#2371">2371</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="2372" href="#2372">2372</a> <em class="jxr_javadoccomment">   * Compute the average load across all region servers.</em>
+<a class="jxr_linenumber" name="2373" href="#2373">2373</a> <em class="jxr_javadoccomment">   * Currently, this uses a very naive computation - just uses the number of</em>
+<a class="jxr_linenumber" name="2374" href="#2374">2374</a> <em class="jxr_javadoccomment">   * regions being served, ignoring stats about number of requests.</em>
+<a class="jxr_linenumber" name="2375" href="#2375">2375</a> <em class="jxr_javadoccomment">   * @return the average load</em>
+<a class="jxr_linenumber" name="2376" href="#2376">2376</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="2377" href="#2377">2377</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">double</strong> getAverageLoad() {
+<a class="jxr_linenumber" name="2378" href="#2378">2378</a>     <strong class="jxr_keyword">if</strong> (<strong class="jxr_keyword">this</strong>.assignmentManager == <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="2379" href="#2379">2379</a>       <strong class="jxr_keyword">return</strong> 0;
+<a class="jxr_linenumber" name="2380" href="#2380">2380</a>     }
+<a class="jxr_linenumber" name="2381" href="#2381">2381</a> 
+<a class="jxr_linenumber" name="2382" href="#2382">2382</a>     <a href="../../../../../org/apache/hadoop/hbase/master/RegionStates.html">RegionStates</a> regionStates = <strong class="jxr_keyword">this</strong>.assignmentManager.getRegionStates();
+<a class="jxr_linenumber" name="2383" href="#2383">2383</a>     <strong class="jxr_keyword">if</strong> (regionStates == <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="2384" href="#2384">2384</a>       <strong class="jxr_keyword">return</strong> 0;
+<a class="jxr_linenumber" name="2385" href="#2385">2385</a>     }
+<a class="jxr_linenumber" name="2386" href="#2386">2386</a>     <strong class="jxr_keyword">return</strong> regionStates.getAverageLoad();
+<a class="jxr_linenumber" name="2387" href="#2387">2387</a>   }
+<a class="jxr_linenumber" name="2388" href="#2388">2388</a> 
+<a class="jxr_linenumber" name="2389" href="#2389">2389</a>   @Override
+<a class="jxr_linenumber" name="2390" href="#2390">2390</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> registerService(Service instance) {
+<a class="jxr_linenumber" name="2391" href="#2391">2391</a>     <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="2392" href="#2392">2392</a> <em class="jxr_comment">     * No stacking of instances is allowed for a single service name</em>
+<a class="jxr_linenumber" name="2393" href="#2393">2393</a> <em class="jxr_comment">     */</em>
+<a class="jxr_linenumber" name="2394" href="#2394">2394</a>     Descriptors.ServiceDescriptor serviceDesc = instance.getDescriptorForType();
+<a class="jxr_linenumber" name="2395" href="#2395">2395</a>     <strong class="jxr_keyword">if</strong> (coprocessorServiceHandlers.containsKey(serviceDesc.getFullName())) {
+<a class="jxr_linenumber" name="2396" href="#2396">2396</a>       LOG.error(<span class="jxr_string">"Coprocessor service "</span>+serviceDesc.getFullName()+
+<a class="jxr_linenumber" name="2397" href="#2397">2397</a>           <span class="jxr_string">" already registered, rejecting request from "</span>+instance
+<a class="jxr_linenumber" name="2398" href="#2398">2398</a>       );
+<a class="jxr_linenumber" name="2399" href="#2399">2399</a>       <strong class="jxr_keyword">return</strong> false;
+<a class="jxr_linenumber" name="2400" href="#2400">2400</a>     }
+<a class="jxr_linenumber" name="2401" href="#2401">2401</a> 
+<a class="jxr_linenumber" name="2402" href="#2402">2402</a>     coprocessorServiceHandlers.put(serviceDesc.getFullName(), instance);
+<a class="jxr_linenumber" name="2403" href="#2403">2403</a>     <strong class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
+<a class="jxr_linenumber" name="2404" href="#2404">2404</a>       LOG.debug(<span class="jxr_string">"Registered master coprocessor service: service="</span>+serviceDesc.getFullName());
+<a class="jxr_linenumber" name="2405" href="#2405">2405</a>     }
+<a class="jxr_linenumber" name="2406" href="#2406">2406</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">true</strong>;
+<a class="jxr_linenumber" name="2407" href="#2407">2407</a>   }
+<a class="jxr_linenumber" name="2408" href="#2408">2408</a> 
+<a class="jxr_linenumber" name="2409" href="#2409">2409</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="2410" href="#2410">2410</a> <em class="jxr_javadoccomment">   * Utility for constructing an instance of the passed HMaster class.</em>
+<a class="jxr_linenumber" name="2411" href="#2411">2411</a> <em class="jxr_javadoccomment">   * @param masterClass</em>
+<a class="jxr_linenumber" name="2412" href="#2412">2412</a> <em class="jxr_javadoccomment">   * @param conf</em>
+<a class="jxr_linenumber" name="2413" href="#2413">2413</a> <em class="jxr_javadoccomment">   * @return HMaster instance.</em>
+<a class="jxr_linenumber" name="2414" href="#2414">2414</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="2415" href="#2415">2415</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../../org/apache/hadoop/hbase/master/HMaster.html">HMaster</a> constructMaster(Class&lt;? <strong class="jxr_keyword">extends</strong> HMaster&gt; masterClass,
+<a class="jxr_linenumber" name="2416" href="#2416">2416</a>       <strong class="jxr_keyword">final</strong> Configuration conf, <strong class="jxr_keyword">final</strong> <a href="../../../../../org/apache/hadoop/hbase/CoordinatedStateManager.html">CoordinatedStateManager</a> cp)  {
+<a class="jxr_linenumber" name="2417" href="#2417">2417</a>     <strong class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="2418" href="#2418">2418</a>       Constructor&lt;? <strong class="jxr_keyword">extends</strong> HMaster&gt; c =
+<a class="jxr_linenumber" name="2419" href="#2419">2419</a>         masterClass.getConstructor(Configuration.<strong class="jxr_keyword">class</strong>, CoordinatedStateManager.<strong class="jxr_keyword">class</strong>);
+<a class="jxr_linenumber" name="2420" href="#2420">2420</a>       <strong class="jxr_keyword">return</strong> c.newInstance(conf, cp);
+<a class="jxr_linenumber" name="2421" href="#2421">2421</a>     } <strong class="jxr_keyword">catch</strong>(Exception e) {
+<a class="jxr_linenumber" name="2422" href="#2422">2422</a>       Throwable error = e;
+<a class="jxr_linenumber" name="2423" href="#2423">2423</a>       <strong class="jxr_keyword">if</strong> (e instanceof InvocationTargetException &amp;&amp;
+<a class="jxr_linenumber" name="2424" href="#2424">2424</a>           ((InvocationTargetException)e).getTargetException() != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="2425" href="#2425">2425</a>         error = ((InvocationTargetException)e).getTargetException();
+<a class="jxr_linenumber" name="2426" href="#2426">2426</a>       }
+<a class="jxr_linenumber" name="2427" href="#2427">2427</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> RuntimeException(<span class="jxr_string">"Failed construction of Master: "</span> + masterClass.toString() + <span class="jxr_string">". "</span>
+<a class="jxr_linenumber" name="2428" href="#2428">2428</a>         , error);
+<a class="jxr_linenumber" name="2429" href="#2429">2429</a>     }
+<a class="jxr_linenumber" name="2430" href="#2430">2430</a>   }
+<a class="jxr_linenumber" name="2431" href="#2431">2431</a> 
+<a class="jxr_linenumber" name="2432" href="#2432">2432</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="2433" href="#2433">2433</a> <em class="jxr_javadoccomment">   * @see org.apache.hadoop.hbase.master.HMasterCommandLine</em>
+<a class="jxr_linenumber" name="2434" href="#2434">2434</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="2435" href="#2435">2435</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> main(String [] args) {
+<a class="jxr_linenumber" name="2436" href="#2436">2436</a>     VersionInfo.logVersion();
+<a class="jxr_linenumber" name="2437" href="#2437">2437</a>     <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/master/HMasterCommandLine.html">HMasterCommandLine</a>(HMaster.<strong class="jxr_keyword">class</strong>).doMain(args);
 <a class="jxr_linenumber" name="2438" href="#2438">2438</a>   }
 <a class="jxr_linenumber" name="2439" href="#2439">2439</a> 
-<a class="jxr_linenumber" name="2440" href="#2440">2440</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="2441" href="#2441">2441</a> <em class="jxr_javadoccomment">   * Exposed for TESTING!</em>
-<a class="jxr_linenumber" name="2442" href="#2442">2442</a> <em class="jxr_javadoccomment">   * @return the underlying snapshot manager</em>
-<a class="jxr_linenumber" name="2443" href="#2443">2443</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="2444" href="#2444">2444</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/hadoop/hbase/master/snapshot/SnapshotManager.html">SnapshotManager</a> getSnapshotManagerForTesting() {
-<a class="jxr_linenumber" name="2445" href="#2445">2445</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.snapshotManager;
-<a class="jxr_linenumber" name="2446" href="#2446">2446</a>   }
-<a class="jxr_linenumber" name="2447" href="#2447">2447</a> 
-<a class="jxr_linenumber" name="2448" href="#2448">2448</a>   @Override
-<a class="jxr_linenumber" name="2449" href="#2449">2449</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> createNamespace(
-<a class="jxr_linenumber" name="2450" href="#2450">2450</a>       <strong class="jxr_keyword">final</strong> <a href="../../../../../org/apache/hadoop/hbase/NamespaceDescriptor.html">NamespaceDescriptor</a> descriptor,
-<a class="jxr_linenumber" name="2451" href="#2451">2451</a>       <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> nonceGroup,
-<a class="jxr_linenumber" name="2452" href="#2452">2452</a>       <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> nonce) <strong class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="2453" href="#2453">2453</a>     TableName.isLegalNamespaceName(Bytes.toBytes(descriptor.getName()));
-<a class="jxr_linenumber" name="2454" href="#2454">2454</a>     checkNamespaceManagerReady();
-<a class="jxr_linenumber" name="2455" href="#2455">2455</a>     <strong class="jxr_keyword">if</strong> (cpHost != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="2456" href="#2456">2456</a>       <strong class="jxr_keyword">if</strong> (cpHost.preCreateNamespace(descriptor)) {
-<a class="jxr_linenumber" name="2457" href="#2457">2457</a>         <strong class="jxr_keyword">return</strong>;
-<a class="jxr_linenumber" name="2458" href="#2458">2458</a>       }
-<a class="jxr_linenumber" name="2459" href="#2459">2459</a>     }
-<a class="jxr_linenumber" name="2460" href="#2460">2460</a>     createNamespaceSync(descriptor, nonceGroup, nonce);
-<a class="jxr_linenumber" name="2461" href="#2461">2461</a>     <strong class="jxr_keyword">if</strong> (cpHost != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="2462" href="#2462">2462</a>       cpHost.postCreateNamespace(descriptor);
+<a class="jxr_linenumber" name="2440" href="#2440">2440</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html">HFileCleaner</a> getHFileCleaner() {
+<a class="jxr_linenumber" name="2441" href="#2441">2441</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.hfileCleaner;
+<a class="jxr_linenumber" name="2442" href="#2442">2442</a>   }
+<a class="jxr_linenumber" name="2443" href="#2443">2443</a> 
+<a class="jxr_linenumber" name="2444" href="#2444">2444</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="2445" href="#2445">2445</a> <em class="jxr_javadoccomment">   * Exposed for TESTING!</em>
+<a class="jxr_linenumber" name="2446" href="#2446">2446</a> <em class="jxr_javadoccomment">   * @return the underlying snapshot manager</em>
+<a class="jxr_linenumber" name="2447" href="#2447">2447</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="2448" href="#2448">2448</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/hadoop/hbase/master/snapshot/SnapshotManager.html">SnapshotManager</a> getSnapshotManagerForTesting() {
+<a class="jxr_linenumber" name="2449" href="#2449">2449</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.snapshotManager;
+<a class="jxr_linenumber" name="2450" href="#2450">2450</a>   }
+<a class="jxr_linenumber" name="2451" href="#2451">2451</a> 
+<a class="jxr_linenumber" name="2452" href="#2452">2452</a>   @Override
+<a class="jxr_linenumber" name="2453" href="#2453">2453</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> createNamespace(
+<a class="jxr_linenumber" name="2454" href="#2454">2454</a>       <strong class="jxr_keyword">final</strong> <a href="../../../../../org/apache/hadoop/hbase/NamespaceDescriptor.html">NamespaceDescriptor</a> descriptor,
+<a class="jxr_linenumber" name="2455" href="#2455">2455</a>       <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> nonceGroup,
+<a class="jxr_linenumber" name="2456" href="#2456">2456</a>       <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> nonce) <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="2457" href="#2457">2457</a>     TableName.isLegalNamespaceName(Bytes.toBytes(descriptor.getName()));
+<a class="jxr_linenumber" name="2458" href="#2458">2458</a>     checkNamespaceManagerReady();
+<a class="jxr_linenumber" name="2459" href="#2459">2459</a>     <strong class="jxr_keyword">if</strong> (cpHost != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="2460" href="#2460">2460</a>       <strong class="jxr_keyword">if</strong> (cpHost.preCreateNamespace(descriptor)) {
+<a class="jxr_linenumber" name="2461" href="#2461">2461</a>         <strong class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="2462" href="#2462">2462</a>       }
 <a class="jxr_linenumber" name="2463" href="#2463">2463</a>     }
-<a class="jxr_linenumber" name="2464" href="#2464">2464</a>   }
-<a class="jxr_linenumber" name="2465" href="#2465">2465</a> 
-<a class="jxr_linenumber" name="2466" href="#2466">2466</a>   @Override
-<a class="jxr_linenumber" name="2467" href="#2467">2467</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> createNamespaceSync(
-<a class="jxr_linenumber" name="2468" href="#2468">2468</a>       <strong class="jxr_keyword">final</strong> <a href="../../../../../org/apache/hadoop/hbase/NamespaceDescriptor.html">NamespaceDescriptor</a> descriptor,
-<a class="jxr_linenumber" name="2469" href="#2469">2469</a>       <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> nonceGroup,
-<a class="jxr_linenumber" name="2470" href="#2470">2470</a>       <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> nonce) <strong class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="2471" href="#2471">2471</a>     LOG.info(getClientIdAuditPrefix() + <span class="jxr_string">" creating "</span> + descriptor);
-<a class="jxr_linenumber" name="2472" href="#2472">2472</a>     <em class="jxr_comment">// Execute the operation synchronously - wait for the operation to complete before continuing.</em>
-<a class="jxr_linenumber" name="2473" href="#2473">2473</a>     <strong class="jxr_keyword">long</strong> procId = <strong class="jxr_keyword">this</strong>.procedureExecutor.submitProcedure(
-<a class="jxr_linenumber" name="2474" href="#2474">2474</a>       <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/master/procedure/CreateNamespaceProcedure.html">CreateNamespaceProcedure</a>(procedureExecutor.getEnvironment(), descriptor),
-<a class="jxr_linenumber" name="2475" href="#2475">2475</a>       nonceGroup,
-<a class="jxr_linenumber" name="2476" href="#2476">2476</a>       nonce);
-<a class="jxr_linenumber" name="2477" href="#2477">2477</a>     ProcedureSyncWait.waitForProcedureToComplete(procedureExecutor, procId);
-<a class="jxr_linenumber" name="2478" href="#2478">2478</a>   }
-<a class="jxr_linenumber" name="2479" href="#2479">2479</a> 
-<a class="jxr_linenumber" name="2480" href="#2480">2480</a>   @Override
-<a class="jxr_linenumber" name="2481" href="#2481">2481</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> modifyNamespace(
-<a class="jxr_linenumber" name="2482" href="#2482">2482</a>       <strong class="jxr_keyword">final</strong> <a href="../../../../../org/apache/hadoop/hbase/NamespaceDescriptor.html">NamespaceDescriptor</a> descriptor,
-<a class="jxr_linenumber" name="2483" href="#2483">2483</a>       <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> nonceGroup,
-<a class="jxr_linenumber" name="2484" href="#2484">2484</a>       <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> nonce) <strong class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="2485" href="#2485">2485</a>     TableName.isLegalNamespaceName(Bytes.toBytes(descriptor.getName()));
-<a class="jxr_linenumber" name="2486" href="#2486">2486</a>     checkNamespaceManagerReady();
-<a class="jxr_linenumber" name="2487" href="#2487">2487</a>     <strong class="jxr_keyword">if</strong> (cpHost != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="2488" href="#2488">2488</a>       <strong class="jxr_keyword">if</strong> (cpHost.preModifyNamespace(descriptor)) {
-<a class="jxr_linenumber" name="2489" href="#2489">2489</a>         <strong class="jxr_keyword">return</strong>;
-<a class="jxr_linenumber" name="2490" href="#2490">2490</a>       }
-<a class="jxr_linenumber" name="2491" href="#2491">2491</a>     }
-<a class="jxr_linenumber" name="2492" href="#2492">2492</a>     LOG.info(getClientIdAuditPrefix() + <span class="jxr_string">" modify "</span> + descriptor);
-<a class="jxr_linenumber" name="2493" href="#2493">2493</a>     <em class="jxr_comment">// Execute the operation synchronously - wait for the operation to complete before continuing.</em>
-<a class="jxr_linenumber" name="2494" href="#2494">2494</a>     <strong class="jxr_keyword">long</strong> procId = <strong class="jxr_keyword">this</strong>.procedureExecutor.submitProcedure(
-<a class="jxr_linenumber" name="2495" href="#2495">2495</a>       <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/master/procedure/ModifyNamespaceProcedure.html">ModifyNamespaceProcedure</a>(procedureExecutor.getEnvironment(), descriptor),
-<a class="jxr_linenumber" name="2496" href="#2496">2496</a>       nonceGroup,
-<a class="jxr_linenumber" name="2497" href="#2497">2497</a>       nonce);
-<a class="jxr_linenumber" name="2498" href="#2498">2498</a>     ProcedureSyncWait.waitForProcedureToComplete(procedureExecutor, procId);
-<a class="jxr_linenumber" name="2499" href="#2499">2499</a>     <strong class="jxr_keyword">if</strong> (cpHost != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="2500" href="#2500">2500</a>       cpHost.postModifyNamespace(descriptor);
-<a class="jxr_linenumber" name="2501" href="#2501">2501</a>     }
-<a class="jxr_linenumber" name="2502" href="#2502">2502</a>   }
-<a class="jxr_linenumber" name="2503" href="#2503">2503</a> 
-<a class="jxr_linenumber" name="2504" href="#2504">2504</a>   @Override
-<a class="jxr_linenumber" name="2505" href="#2505">2505</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> deleteNamespace(
-<a class="jxr_linenumber" name="2506" href="#2506">2506</a>       <strong class="jxr_keyword">final</strong> String name,
-<a class="jxr_linenumber" name="2507" href="#2507">2507</a>       <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> nonceGroup,
-<a class="jxr_linenumber" name="2508" href="#2508">2508</a>       <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> nonce) <strong class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="2509" href="#2509">2509</a>     checkNamespaceManagerReady();
-<a class="jxr_linenumber" name="2510" href="#2510">2510</a>     <strong class="jxr_keyword">if</strong> (cpHost != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="2511" href="#2511">2511</a>       <strong class="jxr_keyword">if</strong> (cpHost.preDeleteNamespace(name)) {
-<a class="jxr_linenumber" name="2512" href="#2512">2512</a>         <strong class="jxr_keyword">return</strong>;
-<a class="jxr_linenumber" name="2513" href="#2513">2513</a>       }
-<a class="jxr_linenumber" name="2514" href="#2514">2514</a>     }
-<a class="jxr_linenumber" name="2515" href="#2515">2515</a>     LOG.info(getClientIdAuditPrefix() + <span class="jxr_string">" delete "</span> + name);
-<a class="jxr_linenumber" name="2516" href="#2516">2516</a>     <em class="jxr_comment">// Execute the operation synchronously - wait for the operation to complete before continuing.</em>
-<a class="jxr_linenumber" name="2517" href="#2517">2517</a>     <strong class="jxr_keyword">long</strong> procId = <strong class="jxr_keyword">this</strong>.procedureExecutor.submitProcedure(
-<a class="jxr_linenumber" name="2518" href="#2518">2518</a>       <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/master/procedure/DeleteNamespaceProcedure.html">DeleteNamespaceProcedure</a>(procedureExecutor.getEnvironment(), name),
-<a class="jxr_linenumber" name="2519" href="#2519">2519</a>       nonceGroup,
-<a class="jxr_linenumber" name="2520" href="#2520">2520</a>       nonce);
-<a class="jxr_linenumber" name="2521" href="#2521">2521</a>     ProcedureSyncWait.waitForProcedureToComplete(procedureExecutor, procId);
-<a class="jxr_linenumber" name="2522" href="#2522">2522</a>     <strong class="jxr_keyword">if</strong> (cpHost != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="2523" href="#2523">2523</a>       cpHost.postDeleteNamespace(name);
-<a class="jxr_linenumber" name="2524" href="#2524">2524</a>     }
-<a class="jxr_linenumber" name="2525" href="#2525">2525</a>   }
-<a class="jxr_linenumber" name="2526" href="#2526">2526</a> 
-<a class="jxr_linenumber" name="2527" href="#2527">2527</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="2528" href="#2528">2528</a> <em class="jxr_javadoccomment">   * Ensure that the specified namespace exists, otherwise throws a NamespaceNotFoundException</em>
-<a class="jxr_linenumber" name="2529" href="#2529">2529</a> <em class="jxr_javadoccomment">   *</em>
-<a class="jxr_linenumber" name="2530" href="#2530">2530</a> <em class="jxr_javadoccomment">   * @param name the namespace to check</em>
-<a class="jxr_linenumber" name="2531" href="#2531">2531</a> <em class="jxr_javadoccomment">   * @throws IOException if the namespace manager is not ready yet.</em>
-<a class="jxr_linenumber" name="2532" href="#2532">2532</a> <em class="jxr_javadoccomment">   * @throws NamespaceNotFoundException if the namespace does not exists</em>
-<a class="jxr_linenumber" name="2533" href="#2533">2533</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="2534" href="#2534">2534</a>   <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> ensureNamespaceExists(<strong class="jxr_keyword">final</strong> String name)
-<a class="jxr_linenumber" name="2535" href="#2535">2535</a>       <strong class="jxr_keyword">throws</strong> IOException, <a href="../../../../../org/apache/hadoop/hbase/NamespaceNotFoundException.html">NamespaceNotFoundException</a> {
-<a class="jxr_linenumber" name="2536" href="#2536">2536</a>     checkNamespaceManagerReady();
-<a class="jxr_linenumber" name="2537" href="#2537">2537</a>     <a href="../../../../../org/apache/hadoop/hbase/NamespaceDescriptor.html">NamespaceDescriptor</a> nsd = tableNamespaceManager.get(name);
-<a class="jxr_linenumber" name="2538" href="#2538">2538</a>     <strong class="jxr_keyword">if</strong> (nsd == <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="2539" href="#2539">2539</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/NamespaceNotFoundException.html">NamespaceNotFoundException</a>(name);
-<a class="jxr_linenumber" name="2540" href="#2540">2540</a>     }
-<a class="jxr_linenumber" name="2541" href="#2541">2541</a>   }
-<a class="jxr_linenumber" name="2542" href="#2542">2542</a> 
-<a class="jxr_linenumber" name="2543" href="#2543">2543</a>   @Override
-<a class="jxr_linenumber" name="2544" href="#2544">2544</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/hadoop/hbase/NamespaceDescriptor.html">NamespaceDescriptor</a> getNamespaceDescriptor(String name) <strong class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="2545" href="#2545">2545</a>     checkNamespaceManagerReady();
+<a class="jxr_linenumber" name="2464" href="#2464">2464</a>     createNamespaceSync(descriptor, nonceGroup, nonce);
+<a class="jxr_linenumber" name="2465" href="#2465">2465</a>     <strong class="jxr_keyword">if</strong> (cpHost != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="2466" href="#2466">2466</a>       cpHost.postCreateNamespace(descriptor);
+<a class="jxr_linenumber" name="2467" href="#2467">2467</a>     }
+<a class="jxr_linenumber" name="2468" href="#2468">2468</a>   }
+<a class="jxr_linenumber" name="2469" href="#2469">2469</a> 
+<a class="jxr_linenumber" name="2470" href="#2470">2470</a>   @Override
+<a class="jxr_linenumber" name="2471" href="#2471">2471</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> createNamespaceSync(
+<a class="jxr_linenumber" name="2472" href="#2472">2472</a>       <strong class="jxr_keyword">final</strong> <a href="../../../../../org/apache/hadoop/hbase/NamespaceDescriptor.html">NamespaceDescriptor</a> descriptor,
+<a class="jxr_linenumber" name="2473" href="#2473">2473</a>       <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> nonceGroup,
+<a class="jxr_linenumber" name="2474" href="#2474">2474</a>       <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> nonce) <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="2475" href="#2475">2475</a>     LOG.info(getClientIdAuditPrefix() + <span class="jxr_string">" creating "</span> + descriptor);
+<a class="jxr_linenumber" name="2476" href="#2476">2476</a>     <em class="jxr_comment">// Execute the operation synchronously - wait for the operation to complete before continuing.</em>
+<a class="jxr_linenumber" name="2477" href="#2477">2477</a>     <strong class="jxr_keyword">long</strong> procId = <strong class="jxr_keyword">this</strong>.procedureExecutor.submitProcedure(
+<a class="jxr_linenumber" name="2478" href="#2478">2478</a>       <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/master/procedure/CreateNamespaceProcedure.html">CreateNamespaceProcedure</a>(procedureExecutor.getEnvironment(), descriptor),
+<a class="jxr_linenumber" name="2479" href="#2479">2479</a>       nonceGroup,
+<a class="jxr_linenumber" name="2480" href="#2480">2480</a>       nonce);
+<a class="jxr_linenumber" name="2481" href="#2481">2481</a>     ProcedureSyncWait.waitForProcedureToComplete(procedureExecutor, procId);
+<a class="jxr_linenumber" name="2482" href="#2482">2482</a>   }
+<a class="jxr_linenumber" name="2483" href="#2483">2483</a> 
+<a class="jxr_linenumber" name="2484" href="#2484">2484</a>   @Override
+<a class="jxr_linenumber" name="2485" href="#2485">2485</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> modifyNamespace(
+<a class="jxr_linenumber" name="2486" href="#2486">2486</a>       <strong class="jxr_keyword">final</strong> <a href="../../../../../org/apache/hadoop/hbase/NamespaceDescriptor.html">NamespaceDescriptor</a> descriptor,
+<a class="jxr_linenumber" name="2487" href="#2487">2487</a>       <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> nonceGroup,
+<a class="jxr_linenumber" name="2488" href="#2488">2488</a>       <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> nonce) <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="2489" href="#2489">2489</a>     TableName.isLegalNamespaceName(Bytes.toBytes(descriptor.getName()));
+<a class="jxr_linenumber" name="2490" href="#2490">2490</a>     checkNamespaceManagerReady();
+<a class="jxr_linenumber" name="2491" href="#2491">2491</a>     <strong class="jxr_keyword">if</strong> (cpHost != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="2492" href="#2492">2492</a>       <strong class="jxr_keyword">if</strong> (cpHost.preModifyNamespace(descriptor)) {
+<a class="jxr_linenumber" name="2493" href="#2493">2493</a>         <strong class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="2494" href="#2494">2494</a>       }
+<a class="jxr_linenumber" name="2495" href="#2495">2495</a>     }
+<a class="jxr_linenumber" name="2496" href="#2496">2496</a>     LOG.info(getClientIdAuditPrefix() + <span class="jxr_string">" modify "</span> + descriptor);
+<a class="jxr_linenumber" name="2497" href="#2497">2497</a>     <em class="jxr_comment">// Execute the operation synchronously - wait for the operation to complete before continuing.</em>
+<a class="jxr_linenumber" name="2498" href="#2498">2498</a>     <strong class="jxr_keyword">long</strong> procId = <strong class="jxr_keyword">this</strong>.procedureExecutor.submitProcedure(
+<a class="jxr_linenumber" name="2499" href="#2499">2499</a>       <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/master/procedure/ModifyNamespaceProcedure.html">ModifyNamespaceProcedure</a>(procedureExecutor.getEnvironment(), descriptor),
+<a class="jxr_linenumber" name="2500" href="#2500">2500</a>       nonceGroup,
+<a class="jxr_linenumber" name="2501" href="#2501">2501</a>       nonce);
+<a class="jxr_linenumber" name="2502" href="#2502">2502</a>     ProcedureSyncWait.waitForProcedureToComplete(procedureExecutor, procId);
+<a class="jxr_linenumber" name="2503" href="#2503">2503</a>     <strong class="jxr_keyword">if</strong> (cpHost != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="2504" href="#2504">2504</a>       cpHost.postModifyNamespace(descriptor);
+<a class="jxr_linenumber" name="2505" href="#2505">2505</a>     }
+<a class="jxr_linenumber" name="2506" href="#2506">2506</a>   }
+<a class="jxr_linenumber" name="2507" href="#2507">2507</a> 
+<a class="jxr_linenumber" name="2508" href="#2508">2508</a>   @Override
+<a class="jxr_linenumber" name="2509" href="#2509">2509</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> deleteNamespace(
+<a class="jxr_linenumber" name="2510" href="#2510">2510</a>       <strong class="jxr_keyword">final</strong> String name,
+<a class="jxr_linenumber" name="2511" href="#2511">2511</a>       <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> nonceGroup,
+<a class="jxr_linenumber" name="2512" href="#2512">2512</a>       <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> nonce) <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="2513" href="#2513">2513</a>     checkNamespaceManagerReady();
+<a class="jxr_linenumber" name="2514" href="#2514">2514</a>     <strong class="jxr_keyword">if</strong> (cpHost != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="2515" href="#2515">2515</a>       <strong class="jxr_keyword">if</strong> (cpHost.preDeleteNamespace(name)) {
+<a class="jxr_linenumber" name="2516" href="#2516">2516</a>         <strong class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="2517" href="#2517">2517</a>       }
+<a class="jxr_linenumber" name="2518" href="#2518">2518</a>     }
+<a class="jxr_linenumber" name="2519" href="#2519">2519</a>     LOG.info(getClientIdAuditPrefix() + <span class="jxr_string">" delete "</span> + name);
+<a class="jxr_linenumber" name="2520" href="#2520">2520</a>     <em class="jxr_comment">// Execute the operation synchronously - wait for the operation to complete before continuing.</em>
+<a class="jxr_linenumber" name="2521" href="#2521">2521</a>     <strong class="jxr_keyword">long</strong> procId = <strong class="jxr_keyword">this</strong>.procedureExecutor.submitProcedure(
+<a class="jxr_linenumber" name="2522" href="#2522">2522</a>       <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/master/procedure/DeleteNamespaceProcedure.html">DeleteNamespaceProcedure</a>(procedureExecutor.getEnvironment(), name),
+<a class="jxr_linenumber" name="2523" href="#2523">2523</a>       nonceGroup,
+<a class="jxr_linenumber" name="2524" href="#2524">2524</a>       nonce);
+<a class="jxr_linenumber" name="2525" href="#2525">2525</a>     ProcedureSyncWait.waitForProcedureToComplete(procedureExecutor, procId);
+<a class="jxr_linenumber" name="2526" href="#2526">2526</a>     <strong class="jxr_keyword">if</strong> (cpHost != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="2527" href="#2527">2527</a>       cpHost.postDeleteNamespace(name);
+<a class="jxr_linenumber" name="2528" href="#2528">2528</a>     }
+<a class="jxr_linenumber" name

<TRUNCATED>

Mime
View raw message