hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject [03/35] hbase-site git commit: Published site at 9250bf809155ebe93fd6ae8a0485b22c744fdf70.
Date Tue, 15 Nov 2016 05:45:54 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f17356a7/xref/org/apache/hadoop/hbase/replication/ReplicationQueuesZKImpl.html
----------------------------------------------------------------------
diff --git a/xref/org/apache/hadoop/hbase/replication/ReplicationQueuesZKImpl.html b/xref/org/apache/hadoop/hbase/replication/ReplicationQueuesZKImpl.html
index d089d65..e342d7a 100644
--- a/xref/org/apache/hadoop/hbase/replication/ReplicationQueuesZKImpl.html
+++ b/xref/org/apache/hadoop/hbase/replication/ReplicationQueuesZKImpl.html
@@ -261,145 +261,153 @@
 <a class="jxr_linenumber" name="251" href="#251">251</a>   }
 <a class="jxr_linenumber" name="252" href="#252">252</a>
 <a class="jxr_linenumber" name="253" href="#253">253</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="254" href="#254">254</a> <em class="jxr_javadoccomment">   * It "atomically" copies all the wals queues from another region server and returns them all</em>
-<a class="jxr_linenumber" name="255" href="#255">255</a> <em class="jxr_javadoccomment">   * sorted per peer cluster (appended with the dead server's znode).</em>
+<a class="jxr_linenumber" name="254" href="#254">254</a> <em class="jxr_javadoccomment">   * It "atomically" copies one peer's wals queue from another dead region server and returns them</em>
+<a class="jxr_linenumber" name="255" href="#255">255</a> <em class="jxr_javadoccomment">   * all sorted. The new peer id is equal to the old peer id appended with the dead server's znode.</em>
 <a class="jxr_linenumber" name="256" href="#256">256</a> <em class="jxr_javadoccomment">   * @param znode pertaining to the region server to copy the queues from</em>
-<a class="jxr_linenumber" name="257" href="#257">257</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="258" href="#258">258</a>   <strong class="jxr_keyword">private</strong> Pair&lt;String, SortedSet&lt;String&gt;&gt; moveQueueUsingMulti(String znode, String peerId) {
-<a class="jxr_linenumber" name="259" href="#259">259</a>     <strong class="jxr_keyword">try</strong> {
-<a class="jxr_linenumber" name="260" href="#260">260</a>       <em class="jxr_comment">// hbase/replication/rs/deadrs</em>
-<a class="jxr_linenumber" name="261" href="#261">261</a>       String deadRSZnodePath = ZKUtil.joinZNode(<strong class="jxr_keyword">this</strong>.queuesZNode, znode);
-<a class="jxr_linenumber" name="262" href="#262">262</a>       List&lt;ZKUtilOp&gt; listOfOps = <strong class="jxr_keyword">new</strong> ArrayList&lt;&gt;();
-<a class="jxr_linenumber" name="263" href="#263">263</a>       <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationQueueInfo.html">ReplicationQueueInfo</a> replicationQueueInfo = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationQueueInfo.html">ReplicationQueueInfo</a>(peerId);
-<a class="jxr_linenumber" name="264" href="#264">264</a>       <strong class="jxr_keyword">if</strong> (!peerExists(replicationQueueInfo.getPeerId())) {
-<a class="jxr_linenumber" name="265" href="#265">265</a>         <em class="jxr_comment">// the orphaned queues must be moved, otherwise the delete op of dead rs will fail,</em>
-<a class="jxr_linenumber" name="266" href="#266">266</a>         <em class="jxr_comment">// this will cause the whole multi op fail.</em>
-<a class="jxr_linenumber" name="267" href="#267">267</a>         <em class="jxr_comment">// NodeFailoverWorker will skip the orphaned queues.</em>
-<a class="jxr_linenumber" name="268" href="#268">268</a>         LOG.warn(<span class="jxr_string">"Peer "</span> + peerId +
-<a class="jxr_linenumber" name="269" href="#269">269</a>             <span class="jxr_string">" didn't exist, will move its queue to avoid the failure of multi op"</span>);
-<a class="jxr_linenumber" name="270" href="#270">270</a>       }
-<a class="jxr_linenumber" name="271" href="#271">271</a>       String newPeerId = peerId + <span class="jxr_string">"-"</span> + znode;
-<a class="jxr_linenumber" name="272" href="#272">272</a>       String newPeerZnode = ZKUtil.joinZNode(<strong class="jxr_keyword">this</strong>.myQueuesZnode, newPeerId);
-<a class="jxr_linenumber" name="273" href="#273">273</a>       <em class="jxr_comment">// check the logs queue for the old peer cluster</em>
-<a class="jxr_linenumber" name="274" href="#274">274</a>       String oldClusterZnode = ZKUtil.joinZNode(deadRSZnodePath, peerId);
-<a class="jxr_linenumber" name="275" href="#275">275</a>       List&lt;String&gt; wals = ZKUtil.listChildrenNoWatch(<strong class="jxr_keyword">this</strong>.zookeeper, oldClusterZnode);
-<a class="jxr_linenumber" name="276" href="#276">276</a>       SortedSet&lt;String&gt; logQueue = <strong class="jxr_keyword">new</strong> TreeSet&lt;&gt;();
-<a class="jxr_linenumber" name="277" href="#277">277</a>       <strong class="jxr_keyword">if</strong> (wals == <strong class="jxr_keyword">null</strong> || wals.size() == 0) {
-<a class="jxr_linenumber" name="278" href="#278">278</a>         listOfOps.add(ZKUtilOp.deleteNodeFailSilent(oldClusterZnode));
-<a class="jxr_linenumber" name="279" href="#279">279</a>       } <strong class="jxr_keyword">else</strong> {
-<a class="jxr_linenumber" name="280" href="#280">280</a>         <em class="jxr_comment">// create the new cluster znode</em>
-<a class="jxr_linenumber" name="281" href="#281">281</a>         <a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html">ZKUtilOp</a> op = ZKUtilOp.createAndFailSilent(newPeerZnode, HConstants.EMPTY_BYTE_ARRAY);
-<a class="jxr_linenumber" name="282" href="#282">282</a>         listOfOps.add(op);
-<a class="jxr_linenumber" name="283" href="#283">283</a>         <em class="jxr_comment">// get the offset of the logs and set it to new znodes</em>
-<a class="jxr_linenumber" name="284" href="#284">284</a>         <strong class="jxr_keyword">for</strong> (String wal : wals) {
-<a class="jxr_linenumber" name="285" href="#285">285</a>           String oldWalZnode = ZKUtil.joinZNode(oldClusterZnode, wal);
-<a class="jxr_linenumber" name="286" href="#286">286</a>           byte[] logOffset = ZKUtil.getData(<strong class="jxr_keyword">this</strong>.zookeeper, oldWalZnode);
-<a class="jxr_linenumber" name="287" href="#287">287</a>           LOG.debug(<span class="jxr_string">"Creating "</span> + wal + <span class="jxr_string">" with data "</span> + Bytes.toString(logOffset));
-<a class="jxr_linenumber" name="288" href="#288">288</a>           String newLogZnode = ZKUtil.joinZNode(newPeerZnode, wal);
-<a class="jxr_linenumber" name="289" href="#289">289</a>           listOfOps.add(ZKUtilOp.createAndFailSilent(newLogZnode, logOffset));
-<a class="jxr_linenumber" name="290" href="#290">290</a>           listOfOps.add(ZKUtilOp.deleteNodeFailSilent(oldWalZnode));
-<a class="jxr_linenumber" name="291" href="#291">291</a>           logQueue.add(wal);
-<a class="jxr_linenumber" name="292" href="#292">292</a>         }
-<a class="jxr_linenumber" name="293" href="#293">293</a>         <em class="jxr_comment">// add delete op for peer</em>
-<a class="jxr_linenumber" name="294" href="#294">294</a>         listOfOps.add(ZKUtilOp.deleteNodeFailSilent(oldClusterZnode));
-<a class="jxr_linenumber" name="295" href="#295">295</a>
-<a class="jxr_linenumber" name="296" href="#296">296</a>         <strong class="jxr_keyword">if</strong> (LOG.isTraceEnabled())
-<a class="jxr_linenumber" name="297" href="#297">297</a>           LOG.trace(<span class="jxr_string">" The multi list size is: "</span> + listOfOps.size());
-<a class="jxr_linenumber" name="298" href="#298">298</a>       }
-<a class="jxr_linenumber" name="299" href="#299">299</a>       ZKUtil.multiOrSequential(<strong class="jxr_keyword">this</strong>.zookeeper, listOfOps, false);
-<a class="jxr_linenumber" name="300" href="#300">300</a>       <strong class="jxr_keyword">if</strong> (LOG.isTraceEnabled())
-<a class="jxr_linenumber" name="301" href="#301">301</a>         LOG.trace(<span class="jxr_string">"Atomically moved the dead regionserver logs. "</span>);
-<a class="jxr_linenumber" name="302" href="#302">302</a>       <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> Pair&lt;&gt;(newPeerId, logQueue);
-<a class="jxr_linenumber" name="303" href="#303">303</a>     } <strong class="jxr_keyword">catch</strong> (KeeperException e) {
-<a class="jxr_linenumber" name="304" href="#304">304</a>       <em class="jxr_comment">// Multi call failed; it looks like some other regionserver took away the logs.</em>
-<a class="jxr_linenumber" name="305" href="#305">305</a>       LOG.warn(<span class="jxr_string">"Got exception in copyQueuesFromRSUsingMulti: "</span>, e);
-<a class="jxr_linenumber" name="306" href="#306">306</a>     } <strong class="jxr_keyword">catch</strong> (InterruptedException e) {
-<a class="jxr_linenumber" name="307" href="#307">307</a>       LOG.warn(<span class="jxr_string">"Got exception in copyQueuesFromRSUsingMulti: "</span>, e);
-<a class="jxr_linenumber" name="308" href="#308">308</a>       Thread.currentThread().interrupt();
-<a class="jxr_linenumber" name="309" href="#309">309</a>     }
-<a class="jxr_linenumber" name="310" href="#310">310</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
-<a class="jxr_linenumber" name="311" href="#311">311</a>   }
-<a class="jxr_linenumber" name="312" href="#312">312</a>
-<a class="jxr_linenumber" name="313" href="#313">313</a>   @Override
-<a class="jxr_linenumber" name="314" href="#314">314</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> addHFileRefs(String peerId, List&lt;String&gt; files) <strong class="jxr_keyword">throws</strong> ReplicationException {
-<a class="jxr_linenumber" name="315" href="#315">315</a>     String peerZnode = ZKUtil.joinZNode(<strong class="jxr_keyword">this</strong>.hfileRefsZNode, peerId);
-<a class="jxr_linenumber" name="316" href="#316">316</a>     <strong class="jxr_keyword">boolean</strong> debugEnabled = LOG.isDebugEnabled();
-<a class="jxr_linenumber" name="317" href="#317">317</a>     <strong class="jxr_keyword">if</strong> (debugEnabled) {
-<a class="jxr_linenumber" name="318" href="#318">318</a>       LOG.debug(<span class="jxr_string">"Adding hfile references "</span> + files + <span class="jxr_string">" in queue "</span> + peerZnode);
-<a class="jxr_linenumber" name="319" href="#319">319</a>     }
-<a class="jxr_linenumber" name="320" href="#320">320</a>     List&lt;ZKUtilOp&gt; listOfOps = <strong class="jxr_keyword">new</strong> ArrayList&lt;ZKUtil.ZKUtilOp&gt;();
-<a class="jxr_linenumber" name="321" href="#321">321</a>     <strong class="jxr_keyword">int</strong> size = files.size();
-<a class="jxr_linenumber" name="322" href="#322">322</a>     <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i &lt; size; i++) {
-<a class="jxr_linenumber" name="323" href="#323">323</a>       listOfOps.add(ZKUtilOp.createAndFailSilent(ZKUtil.joinZNode(peerZnode, files.get(i)),
-<a class="jxr_linenumber" name="324" href="#324">324</a>         HConstants.EMPTY_BYTE_ARRAY));
-<a class="jxr_linenumber" name="325" href="#325">325</a>     }
-<a class="jxr_linenumber" name="326" href="#326">326</a>     <strong class="jxr_keyword">if</strong> (debugEnabled) {
-<a class="jxr_linenumber" name="327" href="#327">327</a>       LOG.debug(<span class="jxr_string">" The multi list size for adding hfile references in zk for node "</span> + peerZnode
-<a class="jxr_linenumber" name="328" href="#328">328</a>           + <span class="jxr_string">" is "</span> + listOfOps.size());
-<a class="jxr_linenumber" name="329" href="#329">329</a>     }
-<a class="jxr_linenumber" name="330" href="#330">330</a>     <strong class="jxr_keyword">try</strong> {
-<a class="jxr_linenumber" name="331" href="#331">331</a>       ZKUtil.multiOrSequential(<strong class="jxr_keyword">this</strong>.zookeeper, listOfOps, <strong class="jxr_keyword">true</strong>);
-<a class="jxr_linenumber" name="332" href="#332">332</a>     } <strong class="jxr_keyword">catch</strong> (KeeperException e) {
-<a class="jxr_linenumber" name="333" href="#333">333</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationException.html">ReplicationException</a>(<span class="jxr_string">"Failed to create hfile reference znode="</span> + e.getPath(), e);
-<a class="jxr_linenumber" name="334" href="#334">334</a>     }
-<a class="jxr_linenumber" name="335" href="#335">335</a>   }
-<a class="jxr_linenumber" name="336" href="#336">336</a>
-<a class="jxr_linenumber" name="337" href="#337">337</a>   @Override
-<a class="jxr_linenumber" name="338" href="#338">338</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> removeHFileRefs(String peerId, List&lt;String&gt; files) {
-<a class="jxr_linenumber" name="339" href="#339">339</a>     String peerZnode = ZKUtil.joinZNode(<strong class="jxr_keyword">this</strong>.hfileRefsZNode, peerId);
-<a class="jxr_linenumber" name="340" href="#340">340</a>     <strong class="jxr_keyword">boolean</strong> debugEnabled = LOG.isDebugEnabled();
-<a class="jxr_linenumber" name="341" href="#341">341</a>     <strong class="jxr_keyword">if</strong> (debugEnabled) {
-<a class="jxr_linenumber" name="342" href="#342">342</a>       LOG.debug(<span class="jxr_string">"Removing hfile references "</span> + files + <span class="jxr_string">" from queue "</span> + peerZnode);
-<a class="jxr_linenumber" name="343" href="#343">343</a>     }
-<a class="jxr_linenumber" name="344" href="#344">344</a>     List&lt;ZKUtilOp&gt; listOfOps = <strong class="jxr_keyword">new</strong> ArrayList&lt;ZKUtil.ZKUtilOp&gt;();
-<a class="jxr_linenumber" name="345" href="#345">345</a>     <strong class="jxr_keyword">int</strong> size = files.size();
-<a class="jxr_linenumber" name="346" href="#346">346</a>     <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i &lt; size; i++) {
-<a class="jxr_linenumber" name="347" href="#347">347</a>       listOfOps.add(ZKUtilOp.deleteNodeFailSilent(ZKUtil.joinZNode(peerZnode, files.get(i))));
-<a class="jxr_linenumber" name="348" href="#348">348</a>     }
+<a class="jxr_linenumber" name="257" href="#257">257</a> <em class="jxr_javadoccomment">   * @peerId peerId pertaining to the queue need to be copied</em>
+<a class="jxr_linenumber" name="258" href="#258">258</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="259" href="#259">259</a>   <strong class="jxr_keyword">private</strong> Pair&lt;String, SortedSet&lt;String&gt;&gt; moveQueueUsingMulti(String znode, String peerId) {
+<a class="jxr_linenumber" name="260" href="#260">260</a>     <strong class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="261" href="#261">261</a>       <em class="jxr_comment">// hbase/replication/rs/deadrs</em>
+<a class="jxr_linenumber" name="262" href="#262">262</a>       String deadRSZnodePath = ZKUtil.joinZNode(<strong class="jxr_keyword">this</strong>.queuesZNode, znode);
+<a class="jxr_linenumber" name="263" href="#263">263</a>       List&lt;ZKUtilOp&gt; listOfOps = <strong class="jxr_keyword">new</strong> ArrayList&lt;&gt;();
+<a class="jxr_linenumber" name="264" href="#264">264</a>       <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationQueueInfo.html">ReplicationQueueInfo</a> replicationQueueInfo = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationQueueInfo.html">ReplicationQueueInfo</a>(peerId);
+<a class="jxr_linenumber" name="265" href="#265">265</a>
+<a class="jxr_linenumber" name="266" href="#266">266</a>       String newPeerId = peerId + <span class="jxr_string">"-"</span> + znode;
+<a class="jxr_linenumber" name="267" href="#267">267</a>       String newPeerZnode = ZKUtil.joinZNode(<strong class="jxr_keyword">this</strong>.myQueuesZnode, newPeerId);
+<a class="jxr_linenumber" name="268" href="#268">268</a>       <em class="jxr_comment">// check the logs queue for the old peer cluster</em>
+<a class="jxr_linenumber" name="269" href="#269">269</a>       String oldClusterZnode = ZKUtil.joinZNode(deadRSZnodePath, peerId);
+<a class="jxr_linenumber" name="270" href="#270">270</a>       List&lt;String&gt; wals = ZKUtil.listChildrenNoWatch(<strong class="jxr_keyword">this</strong>.zookeeper, oldClusterZnode);
+<a class="jxr_linenumber" name="271" href="#271">271</a>
+<a class="jxr_linenumber" name="272" href="#272">272</a>       <strong class="jxr_keyword">if</strong> (!peerExists(replicationQueueInfo.getPeerId())) {
+<a class="jxr_linenumber" name="273" href="#273">273</a>         LOG.warn(<span class="jxr_string">"Peer "</span> + replicationQueueInfo.getPeerId() +
+<a class="jxr_linenumber" name="274" href="#274">274</a>                 <span class="jxr_string">" didn't exist, will move its queue to avoid the failure of multi op"</span>);
+<a class="jxr_linenumber" name="275" href="#275">275</a>         <strong class="jxr_keyword">for</strong> (String wal : wals) {
+<a class="jxr_linenumber" name="276" href="#276">276</a>           String oldWalZnode = ZKUtil.joinZNode(oldClusterZnode, wal);
+<a class="jxr_linenumber" name="277" href="#277">277</a>           listOfOps.add(ZKUtilOp.deleteNodeFailSilent(oldWalZnode));
+<a class="jxr_linenumber" name="278" href="#278">278</a>         }
+<a class="jxr_linenumber" name="279" href="#279">279</a>         listOfOps.add(ZKUtilOp.deleteNodeFailSilent(oldClusterZnode));
+<a class="jxr_linenumber" name="280" href="#280">280</a>         ZKUtil.multiOrSequential(<strong class="jxr_keyword">this</strong>.zookeeper, listOfOps, false);
+<a class="jxr_linenumber" name="281" href="#281">281</a>         <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="282" href="#282">282</a>       }
+<a class="jxr_linenumber" name="283" href="#283">283</a>
+<a class="jxr_linenumber" name="284" href="#284">284</a>       SortedSet&lt;String&gt; logQueue = <strong class="jxr_keyword">new</strong> TreeSet&lt;&gt;();
+<a class="jxr_linenumber" name="285" href="#285">285</a>       <strong class="jxr_keyword">if</strong> (wals == <strong class="jxr_keyword">null</strong> || wals.size() == 0) {
+<a class="jxr_linenumber" name="286" href="#286">286</a>         listOfOps.add(ZKUtilOp.deleteNodeFailSilent(oldClusterZnode));
+<a class="jxr_linenumber" name="287" href="#287">287</a>       } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="288" href="#288">288</a>         <em class="jxr_comment">// create the new cluster znode</em>
+<a class="jxr_linenumber" name="289" href="#289">289</a>         <a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html">ZKUtilOp</a> op = ZKUtilOp.createAndFailSilent(newPeerZnode, HConstants.EMPTY_BYTE_ARRAY);
+<a class="jxr_linenumber" name="290" href="#290">290</a>         listOfOps.add(op);
+<a class="jxr_linenumber" name="291" href="#291">291</a>         <em class="jxr_comment">// get the offset of the logs and set it to new znodes</em>
+<a class="jxr_linenumber" name="292" href="#292">292</a>         <strong class="jxr_keyword">for</strong> (String wal : wals) {
+<a class="jxr_linenumber" name="293" href="#293">293</a>           String oldWalZnode = ZKUtil.joinZNode(oldClusterZnode, wal);
+<a class="jxr_linenumber" name="294" href="#294">294</a>           byte[] logOffset = ZKUtil.getData(<strong class="jxr_keyword">this</strong>.zookeeper, oldWalZnode);
+<a class="jxr_linenumber" name="295" href="#295">295</a>           LOG.debug(<span class="jxr_string">"Creating "</span> + wal + <span class="jxr_string">" with data "</span> + Bytes.toString(logOffset));
+<a class="jxr_linenumber" name="296" href="#296">296</a>           String newLogZnode = ZKUtil.joinZNode(newPeerZnode, wal);
+<a class="jxr_linenumber" name="297" href="#297">297</a>           listOfOps.add(ZKUtilOp.createAndFailSilent(newLogZnode, logOffset));
+<a class="jxr_linenumber" name="298" href="#298">298</a>           listOfOps.add(ZKUtilOp.deleteNodeFailSilent(oldWalZnode));
+<a class="jxr_linenumber" name="299" href="#299">299</a>           logQueue.add(wal);
+<a class="jxr_linenumber" name="300" href="#300">300</a>         }
+<a class="jxr_linenumber" name="301" href="#301">301</a>         <em class="jxr_comment">// add delete op for peer</em>
+<a class="jxr_linenumber" name="302" href="#302">302</a>         listOfOps.add(ZKUtilOp.deleteNodeFailSilent(oldClusterZnode));
+<a class="jxr_linenumber" name="303" href="#303">303</a>
+<a class="jxr_linenumber" name="304" href="#304">304</a>         <strong class="jxr_keyword">if</strong> (LOG.isTraceEnabled())
+<a class="jxr_linenumber" name="305" href="#305">305</a>           LOG.trace(<span class="jxr_string">" The multi list size is: "</span> + listOfOps.size());
+<a class="jxr_linenumber" name="306" href="#306">306</a>       }
+<a class="jxr_linenumber" name="307" href="#307">307</a>       ZKUtil.multiOrSequential(<strong class="jxr_keyword">this</strong>.zookeeper, listOfOps, false);
+<a class="jxr_linenumber" name="308" href="#308">308</a>
+<a class="jxr_linenumber" name="309" href="#309">309</a>       LOG.info(<span class="jxr_string">"Atomically moved "</span> + znode + <span class="jxr_string">"/"</span> + peerId + <span class="jxr_string">"'s WALs to my queue"</span>);
+<a class="jxr_linenumber" name="310" href="#310">310</a>       <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> Pair&lt;&gt;(newPeerId, logQueue);
+<a class="jxr_linenumber" name="311" href="#311">311</a>     } <strong class="jxr_keyword">catch</strong> (KeeperException e) {
+<a class="jxr_linenumber" name="312" href="#312">312</a>       <em class="jxr_comment">// Multi call failed; it looks like some other regionserver took away the logs.</em>
+<a class="jxr_linenumber" name="313" href="#313">313</a>       LOG.warn(<span class="jxr_string">"Got exception in copyQueuesFromRSUsingMulti: "</span>, e);
+<a class="jxr_linenumber" name="314" href="#314">314</a>     } <strong class="jxr_keyword">catch</strong> (InterruptedException e) {
+<a class="jxr_linenumber" name="315" href="#315">315</a>       LOG.warn(<span class="jxr_string">"Got exception in copyQueuesFromRSUsingMulti: "</span>, e);
+<a class="jxr_linenumber" name="316" href="#316">316</a>       Thread.currentThread().interrupt();
+<a class="jxr_linenumber" name="317" href="#317">317</a>     }
+<a class="jxr_linenumber" name="318" href="#318">318</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="319" href="#319">319</a>   }
+<a class="jxr_linenumber" name="320" href="#320">320</a>
+<a class="jxr_linenumber" name="321" href="#321">321</a>   @Override
+<a class="jxr_linenumber" name="322" href="#322">322</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> addHFileRefs(String peerId, List&lt;String&gt; files) <strong class="jxr_keyword">throws</strong> ReplicationException {
+<a class="jxr_linenumber" name="323" href="#323">323</a>     String peerZnode = ZKUtil.joinZNode(<strong class="jxr_keyword">this</strong>.hfileRefsZNode, peerId);
+<a class="jxr_linenumber" name="324" href="#324">324</a>     <strong class="jxr_keyword">boolean</strong> debugEnabled = LOG.isDebugEnabled();
+<a class="jxr_linenumber" name="325" href="#325">325</a>     <strong class="jxr_keyword">if</strong> (debugEnabled) {
+<a class="jxr_linenumber" name="326" href="#326">326</a>       LOG.debug(<span class="jxr_string">"Adding hfile references "</span> + files + <span class="jxr_string">" in queue "</span> + peerZnode);
+<a class="jxr_linenumber" name="327" href="#327">327</a>     }
+<a class="jxr_linenumber" name="328" href="#328">328</a>     List&lt;ZKUtilOp&gt; listOfOps = <strong class="jxr_keyword">new</strong> ArrayList&lt;ZKUtil.ZKUtilOp&gt;();
+<a class="jxr_linenumber" name="329" href="#329">329</a>     <strong class="jxr_keyword">int</strong> size = files.size();
+<a class="jxr_linenumber" name="330" href="#330">330</a>     <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i &lt; size; i++) {
+<a class="jxr_linenumber" name="331" href="#331">331</a>       listOfOps.add(ZKUtilOp.createAndFailSilent(ZKUtil.joinZNode(peerZnode, files.get(i)),
+<a class="jxr_linenumber" name="332" href="#332">332</a>         HConstants.EMPTY_BYTE_ARRAY));
+<a class="jxr_linenumber" name="333" href="#333">333</a>     }
+<a class="jxr_linenumber" name="334" href="#334">334</a>     <strong class="jxr_keyword">if</strong> (debugEnabled) {
+<a class="jxr_linenumber" name="335" href="#335">335</a>       LOG.debug(<span class="jxr_string">" The multi list size for adding hfile references in zk for node "</span> + peerZnode
+<a class="jxr_linenumber" name="336" href="#336">336</a>           + <span class="jxr_string">" is "</span> + listOfOps.size());
+<a class="jxr_linenumber" name="337" href="#337">337</a>     }
+<a class="jxr_linenumber" name="338" href="#338">338</a>     <strong class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="339" href="#339">339</a>       ZKUtil.multiOrSequential(<strong class="jxr_keyword">this</strong>.zookeeper, listOfOps, <strong class="jxr_keyword">true</strong>);
+<a class="jxr_linenumber" name="340" href="#340">340</a>     } <strong class="jxr_keyword">catch</strong> (KeeperException e) {
+<a class="jxr_linenumber" name="341" href="#341">341</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationException.html">ReplicationException</a>(<span class="jxr_string">"Failed to create hfile reference znode="</span> + e.getPath(), e);
+<a class="jxr_linenumber" name="342" href="#342">342</a>     }
+<a class="jxr_linenumber" name="343" href="#343">343</a>   }
+<a class="jxr_linenumber" name="344" href="#344">344</a>
+<a class="jxr_linenumber" name="345" href="#345">345</a>   @Override
+<a class="jxr_linenumber" name="346" href="#346">346</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> removeHFileRefs(String peerId, List&lt;String&gt; files) {
+<a class="jxr_linenumber" name="347" href="#347">347</a>     String peerZnode = ZKUtil.joinZNode(<strong class="jxr_keyword">this</strong>.hfileRefsZNode, peerId);
+<a class="jxr_linenumber" name="348" href="#348">348</a>     <strong class="jxr_keyword">boolean</strong> debugEnabled = LOG.isDebugEnabled();
 <a class="jxr_linenumber" name="349" href="#349">349</a>     <strong class="jxr_keyword">if</strong> (debugEnabled) {
-<a class="jxr_linenumber" name="350" href="#350">350</a>       LOG.debug(<span class="jxr_string">" The multi list size for removing hfile references in zk for node "</span> + peerZnode
-<a class="jxr_linenumber" name="351" href="#351">351</a>           + <span class="jxr_string">" is "</span> + listOfOps.size());
-<a class="jxr_linenumber" name="352" href="#352">352</a>     }
-<a class="jxr_linenumber" name="353" href="#353">353</a>     <strong class="jxr_keyword">try</strong> {
-<a class="jxr_linenumber" name="354" href="#354">354</a>       ZKUtil.multiOrSequential(<strong class="jxr_keyword">this</strong>.zookeeper, listOfOps, <strong class="jxr_keyword">true</strong>);
-<a class="jxr_linenumber" name="355" href="#355">355</a>     } <strong class="jxr_keyword">catch</strong> (KeeperException e) {
-<a class="jxr_linenumber" name="356" href="#356">356</a>       LOG.error(<span class="jxr_string">"Failed to remove hfile reference znode="</span> + e.getPath(), e);
-<a class="jxr_linenumber" name="357" href="#357">357</a>     }
-<a class="jxr_linenumber" name="358" href="#358">358</a>   }
-<a class="jxr_linenumber" name="359" href="#359">359</a>
-<a class="jxr_linenumber" name="360" href="#360">360</a>   @Override
-<a class="jxr_linenumber" name="361" href="#361">361</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> addPeerToHFileRefs(String peerId) <strong class="jxr_keyword">throws</strong> ReplicationException {
-<a class="jxr_linenumber" name="362" href="#362">362</a>     String peerZnode = ZKUtil.joinZNode(<strong class="jxr_keyword">this</strong>.hfileRefsZNode, peerId);
-<a class="jxr_linenumber" name="363" href="#363">363</a>     <strong class="jxr_keyword">try</strong> {
-<a class="jxr_linenumber" name="364" href="#364">364</a>       <strong class="jxr_keyword">if</strong> (ZKUtil.checkExists(<strong class="jxr_keyword">this</strong>.zookeeper, peerZnode) == -1) {
-<a class="jxr_linenumber" name="365" href="#365">365</a>         LOG.info(<span class="jxr_string">"Adding peer "</span> + peerId + <span class="jxr_string">" to hfile reference queue."</span>);
-<a class="jxr_linenumber" name="366" href="#366">366</a>         ZKUtil.createWithParents(<strong class="jxr_keyword">this</strong>.zookeeper, peerZnode);
-<a class="jxr_linenumber" name="367" href="#367">367</a>       }
-<a class="jxr_linenumber" name="368" href="#368">368</a>     } <strong class="jxr_keyword">catch</strong> (KeeperException e) {
-<a class="jxr_linenumber" name="369" href="#369">369</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationException.html">ReplicationException</a>(<span class="jxr_string">"Failed to add peer "</span> + peerId + <span class="jxr_string">" to hfile reference queue."</span>,
-<a class="jxr_linenumber" name="370" href="#370">370</a>           e);
-<a class="jxr_linenumber" name="371" href="#371">371</a>     }
-<a class="jxr_linenumber" name="372" href="#372">372</a>   }
-<a class="jxr_linenumber" name="373" href="#373">373</a>
-<a class="jxr_linenumber" name="374" href="#374">374</a>   @Override
-<a class="jxr_linenumber" name="375" href="#375">375</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> removePeerFromHFileRefs(String peerId) {
-<a class="jxr_linenumber" name="376" href="#376">376</a>     <strong class="jxr_keyword">final</strong> String peerZnode = ZKUtil.joinZNode(<strong class="jxr_keyword">this</strong>.hfileRefsZNode, peerId);
-<a class="jxr_linenumber" name="377" href="#377">377</a>     <strong class="jxr_keyword">try</strong> {
-<a class="jxr_linenumber" name="378" href="#378">378</a>       <strong class="jxr_keyword">if</strong> (ZKUtil.checkExists(<strong class="jxr_keyword">this</strong>.zookeeper, peerZnode) == -1) {
-<a class="jxr_linenumber" name="379" href="#379">379</a>         <strong class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
-<a class="jxr_linenumber" name="380" href="#380">380</a>           LOG.debug(<span class="jxr_string">"Peer "</span> + peerZnode + <span class="jxr_string">" not found in hfile reference queue."</span>);
-<a class="jxr_linenumber" name="381" href="#381">381</a>         }
-<a class="jxr_linenumber" name="382" href="#382">382</a>         <strong class="jxr_keyword">return</strong>;
-<a class="jxr_linenumber" name="383" href="#383">383</a>       } <strong class="jxr_keyword">else</strong> {
-<a class="jxr_linenumber" name="384" href="#384">384</a>         LOG.info(<span class="jxr_string">"Removing peer "</span> + peerZnode + <span class="jxr_string">" from hfile reference queue."</span>);
-<a class="jxr_linenumber" name="385" href="#385">385</a>         ZKUtil.deleteNodeRecursively(<strong class="jxr_keyword">this</strong>.zookeeper, peerZnode);
-<a class="jxr_linenumber" name="386" href="#386">386</a>       }
-<a class="jxr_linenumber" name="387" href="#387">387</a>     } <strong class="jxr_keyword">catch</strong> (KeeperException e) {
-<a class="jxr_linenumber" name="388" href="#388">388</a>       LOG.error(<span class="jxr_string">"Ignoring the exception to remove peer "</span> + peerId + <span class="jxr_string">" from hfile reference queue."</span>,
-<a class="jxr_linenumber" name="389" href="#389">389</a>         e);
-<a class="jxr_linenumber" name="390" href="#390">390</a>     }
-<a class="jxr_linenumber" name="391" href="#391">391</a>   }
-<a class="jxr_linenumber" name="392" href="#392">392</a> }
+<a class="jxr_linenumber" name="350" href="#350">350</a>       LOG.debug(<span class="jxr_string">"Removing hfile references "</span> + files + <span class="jxr_string">" from queue "</span> + peerZnode);
+<a class="jxr_linenumber" name="351" href="#351">351</a>     }
+<a class="jxr_linenumber" name="352" href="#352">352</a>     List&lt;ZKUtilOp&gt; listOfOps = <strong class="jxr_keyword">new</strong> ArrayList&lt;ZKUtil.ZKUtilOp&gt;();
+<a class="jxr_linenumber" name="353" href="#353">353</a>     <strong class="jxr_keyword">int</strong> size = files.size();
+<a class="jxr_linenumber" name="354" href="#354">354</a>     <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i &lt; size; i++) {
+<a class="jxr_linenumber" name="355" href="#355">355</a>       listOfOps.add(ZKUtilOp.deleteNodeFailSilent(ZKUtil.joinZNode(peerZnode, files.get(i))));
+<a class="jxr_linenumber" name="356" href="#356">356</a>     }
+<a class="jxr_linenumber" name="357" href="#357">357</a>     <strong class="jxr_keyword">if</strong> (debugEnabled) {
+<a class="jxr_linenumber" name="358" href="#358">358</a>       LOG.debug(<span class="jxr_string">" The multi list size for removing hfile references in zk for node "</span> + peerZnode
+<a class="jxr_linenumber" name="359" href="#359">359</a>           + <span class="jxr_string">" is "</span> + listOfOps.size());
+<a class="jxr_linenumber" name="360" href="#360">360</a>     }
+<a class="jxr_linenumber" name="361" href="#361">361</a>     <strong class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="362" href="#362">362</a>       ZKUtil.multiOrSequential(<strong class="jxr_keyword">this</strong>.zookeeper, listOfOps, <strong class="jxr_keyword">true</strong>);
+<a class="jxr_linenumber" name="363" href="#363">363</a>     } <strong class="jxr_keyword">catch</strong> (KeeperException e) {
+<a class="jxr_linenumber" name="364" href="#364">364</a>       LOG.error(<span class="jxr_string">"Failed to remove hfile reference znode="</span> + e.getPath(), e);
+<a class="jxr_linenumber" name="365" href="#365">365</a>     }
+<a class="jxr_linenumber" name="366" href="#366">366</a>   }
+<a class="jxr_linenumber" name="367" href="#367">367</a>
+<a class="jxr_linenumber" name="368" href="#368">368</a>   @Override
+<a class="jxr_linenumber" name="369" href="#369">369</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> addPeerToHFileRefs(String peerId) <strong class="jxr_keyword">throws</strong> ReplicationException {
+<a class="jxr_linenumber" name="370" href="#370">370</a>     String peerZnode = ZKUtil.joinZNode(<strong class="jxr_keyword">this</strong>.hfileRefsZNode, peerId);
+<a class="jxr_linenumber" name="371" href="#371">371</a>     <strong class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="372" href="#372">372</a>       <strong class="jxr_keyword">if</strong> (ZKUtil.checkExists(<strong class="jxr_keyword">this</strong>.zookeeper, peerZnode) == -1) {
+<a class="jxr_linenumber" name="373" href="#373">373</a>         LOG.info(<span class="jxr_string">"Adding peer "</span> + peerId + <span class="jxr_string">" to hfile reference queue."</span>);
+<a class="jxr_linenumber" name="374" href="#374">374</a>         ZKUtil.createWithParents(<strong class="jxr_keyword">this</strong>.zookeeper, peerZnode);
+<a class="jxr_linenumber" name="375" href="#375">375</a>       }
+<a class="jxr_linenumber" name="376" href="#376">376</a>     } <strong class="jxr_keyword">catch</strong> (KeeperException e) {
+<a class="jxr_linenumber" name="377" href="#377">377</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/replication/ReplicationException.html">ReplicationException</a>(<span class="jxr_string">"Failed to add peer "</span> + peerId + <span class="jxr_string">" to hfile reference queue."</span>,
+<a class="jxr_linenumber" name="378" href="#378">378</a>           e);
+<a class="jxr_linenumber" name="379" href="#379">379</a>     }
+<a class="jxr_linenumber" name="380" href="#380">380</a>   }
+<a class="jxr_linenumber" name="381" href="#381">381</a>
+<a class="jxr_linenumber" name="382" href="#382">382</a>   @Override
+<a class="jxr_linenumber" name="383" href="#383">383</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> removePeerFromHFileRefs(String peerId) {
+<a class="jxr_linenumber" name="384" href="#384">384</a>     <strong class="jxr_keyword">final</strong> String peerZnode = ZKUtil.joinZNode(<strong class="jxr_keyword">this</strong>.hfileRefsZNode, peerId);
+<a class="jxr_linenumber" name="385" href="#385">385</a>     <strong class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="386" href="#386">386</a>       <strong class="jxr_keyword">if</strong> (ZKUtil.checkExists(<strong class="jxr_keyword">this</strong>.zookeeper, peerZnode) == -1) {
+<a class="jxr_linenumber" name="387" href="#387">387</a>         <strong class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
+<a class="jxr_linenumber" name="388" href="#388">388</a>           LOG.debug(<span class="jxr_string">"Peer "</span> + peerZnode + <span class="jxr_string">" not found in hfile reference queue."</span>);
+<a class="jxr_linenumber" name="389" href="#389">389</a>         }
+<a class="jxr_linenumber" name="390" href="#390">390</a>         <strong class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="391" href="#391">391</a>       } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="392" href="#392">392</a>         LOG.info(<span class="jxr_string">"Removing peer "</span> + peerZnode + <span class="jxr_string">" from hfile reference queue."</span>);
+<a class="jxr_linenumber" name="393" href="#393">393</a>         ZKUtil.deleteNodeRecursively(<strong class="jxr_keyword">this</strong>.zookeeper, peerZnode);
+<a class="jxr_linenumber" name="394" href="#394">394</a>       }
+<a class="jxr_linenumber" name="395" href="#395">395</a>     } <strong class="jxr_keyword">catch</strong> (KeeperException e) {
+<a class="jxr_linenumber" name="396" href="#396">396</a>       LOG.error(<span class="jxr_string">"Ignoring the exception to remove peer "</span> + peerId + <span class="jxr_string">" from hfile reference queue."</span>,
+<a class="jxr_linenumber" name="397" href="#397">397</a>         e);
+<a class="jxr_linenumber" name="398" href="#398">398</a>     }
+<a class="jxr_linenumber" name="399" href="#399">399</a>   }
+<a class="jxr_linenumber" name="400" href="#400">400</a> }
 </pre>
 <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
 </html>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f17356a7/xref/org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmpl.html
----------------------------------------------------------------------
diff --git a/xref/org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmpl.html b/xref/org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmpl.html
index 7724787..0485e12 100644
--- a/xref/org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmpl.html
+++ b/xref/org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmpl.html
@@ -24,8 +24,8 @@
 <a class="jxr_linenumber" name="14" href="#14">14</a>    signature = <span class="jxr_string">"E1689F04F06BAD5E628913C375AEB2C0"</span>,
 <a class="jxr_linenumber" name="15" href="#15">15</a>    optionalArguments = {
 <a class="jxr_linenumber" name="16" href="#16">16</a>      @org.jamon.annotations.Argument(name = <span class="jxr_string">"filter"</span>, type = <span class="jxr_string">"String"</span>),
-<a class="jxr_linenumber" name="17" href="#17">17</a>      @org.jamon.annotations.Argument(name = <span class="jxr_string">"taskMonitor"</span>, type = <span class="jxr_string">"TaskMonitor"</span>),
-<a class="jxr_linenumber" name="18" href="#18">18</a>      @org.jamon.annotations.Argument(name = <span class="jxr_string">"format"</span>, type = <span class="jxr_string">"String"</span>)})
+<a class="jxr_linenumber" name="17" href="#17">17</a>      @org.jamon.annotations.Argument(name = <span class="jxr_string">"format"</span>, type = <span class="jxr_string">"String"</span>),
+<a class="jxr_linenumber" name="18" href="#18">18</a>      @org.jamon.annotations.Argument(name = <span class="jxr_string">"taskMonitor"</span>, type = <span class="jxr_string">"TaskMonitor"</span>)})
 <a class="jxr_linenumber" name="19" href="#19">19</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmpl.html">TaskMonitorTmpl</a>
 <a class="jxr_linenumber" name="20" href="#20">20</a>    <strong class="jxr_keyword">extends</strong> org.jamon.AbstractTemplateProxy
 <a class="jxr_linenumber" name="21" href="#21">21</a>  {
@@ -72,40 +72,40 @@
 <a class="jxr_linenumber" name="62" href="#62">62</a>        <strong class="jxr_keyword">return</strong> m_filter__IsNotDefault;
 <a class="jxr_linenumber" name="63" href="#63">63</a>      }
 <a class="jxr_linenumber" name="64" href="#64">64</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> m_filter__IsNotDefault;
-<a class="jxr_linenumber" name="65" href="#65">65</a>      <em class="jxr_comment">// 25, 1</em>
-<a class="jxr_linenumber" name="66" href="#66">66</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setTaskMonitor(<a href="../../../../../../org/apache/hadoop/hbase/monitoring/TaskMonitor.html">TaskMonitor</a> taskMonitor)
+<a class="jxr_linenumber" name="65" href="#65">65</a>      <em class="jxr_comment">// 27, 1</em>
+<a class="jxr_linenumber" name="66" href="#66">66</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setFormat(String format)
 <a class="jxr_linenumber" name="67" href="#67">67</a>      {
-<a class="jxr_linenumber" name="68" href="#68">68</a>        <em class="jxr_comment">// 25, 1</em>
-<a class="jxr_linenumber" name="69" href="#69">69</a>        m_taskMonitor = taskMonitor;
-<a class="jxr_linenumber" name="70" href="#70">70</a>        m_taskMonitor__IsNotDefault = <strong class="jxr_keyword">true</strong>;
+<a class="jxr_linenumber" name="68" href="#68">68</a>        <em class="jxr_comment">// 27, 1</em>
+<a class="jxr_linenumber" name="69" href="#69">69</a>        m_format = format;
+<a class="jxr_linenumber" name="70" href="#70">70</a>        m_format__IsNotDefault = <strong class="jxr_keyword">true</strong>;
 <a class="jxr_linenumber" name="71" href="#71">71</a>      }
-<a class="jxr_linenumber" name="72" href="#72">72</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../../../org/apache/hadoop/hbase/monitoring/TaskMonitor.html">TaskMonitor</a> getTaskMonitor()
+<a class="jxr_linenumber" name="72" href="#72">72</a>      <strong class="jxr_keyword">public</strong> String getFormat()
 <a class="jxr_linenumber" name="73" href="#73">73</a>      {
-<a class="jxr_linenumber" name="74" href="#74">74</a>        <strong class="jxr_keyword">return</strong> m_taskMonitor;
+<a class="jxr_linenumber" name="74" href="#74">74</a>        <strong class="jxr_keyword">return</strong> m_format;
 <a class="jxr_linenumber" name="75" href="#75">75</a>      }
-<a class="jxr_linenumber" name="76" href="#76">76</a>      <strong class="jxr_keyword">private</strong> <a href="../../../../../../org/apache/hadoop/hbase/monitoring/TaskMonitor.html">TaskMonitor</a> m_taskMonitor;
-<a class="jxr_linenumber" name="77" href="#77">77</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> getTaskMonitor__IsNotDefault()
+<a class="jxr_linenumber" name="76" href="#76">76</a>      <strong class="jxr_keyword">private</strong> String m_format;
+<a class="jxr_linenumber" name="77" href="#77">77</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> getFormat__IsNotDefault()
 <a class="jxr_linenumber" name="78" href="#78">78</a>      {
-<a class="jxr_linenumber" name="79" href="#79">79</a>        <strong class="jxr_keyword">return</strong> m_taskMonitor__IsNotDefault;
+<a class="jxr_linenumber" name="79" href="#79">79</a>        <strong class="jxr_keyword">return</strong> m_format__IsNotDefault;
 <a class="jxr_linenumber" name="80" href="#80">80</a>      }
-<a class="jxr_linenumber" name="81" href="#81">81</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> m_taskMonitor__IsNotDefault;
-<a class="jxr_linenumber" name="82" href="#82">82</a>      <em class="jxr_comment">// 27, 1</em>
-<a class="jxr_linenumber" name="83" href="#83">83</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setFormat(String format)
+<a class="jxr_linenumber" name="81" href="#81">81</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> m_format__IsNotDefault;
+<a class="jxr_linenumber" name="82" href="#82">82</a>      <em class="jxr_comment">// 25, 1</em>
+<a class="jxr_linenumber" name="83" href="#83">83</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setTaskMonitor(<a href="../../../../../../org/apache/hadoop/hbase/monitoring/TaskMonitor.html">TaskMonitor</a> taskMonitor)
 <a class="jxr_linenumber" name="84" href="#84">84</a>      {
-<a class="jxr_linenumber" name="85" href="#85">85</a>        <em class="jxr_comment">// 27, 1</em>
-<a class="jxr_linenumber" name="86" href="#86">86</a>        m_format = format;
-<a class="jxr_linenumber" name="87" href="#87">87</a>        m_format__IsNotDefault = <strong class="jxr_keyword">true</strong>;
+<a class="jxr_linenumber" name="85" href="#85">85</a>        <em class="jxr_comment">// 25, 1</em>
+<a class="jxr_linenumber" name="86" href="#86">86</a>        m_taskMonitor = taskMonitor;
+<a class="jxr_linenumber" name="87" href="#87">87</a>        m_taskMonitor__IsNotDefault = <strong class="jxr_keyword">true</strong>;
 <a class="jxr_linenumber" name="88" href="#88">88</a>      }
-<a class="jxr_linenumber" name="89" href="#89">89</a>      <strong class="jxr_keyword">public</strong> String getFormat()
+<a class="jxr_linenumber" name="89" href="#89">89</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../../../org/apache/hadoop/hbase/monitoring/TaskMonitor.html">TaskMonitor</a> getTaskMonitor()
 <a class="jxr_linenumber" name="90" href="#90">90</a>      {
-<a class="jxr_linenumber" name="91" href="#91">91</a>        <strong class="jxr_keyword">return</strong> m_format;
+<a class="jxr_linenumber" name="91" href="#91">91</a>        <strong class="jxr_keyword">return</strong> m_taskMonitor;
 <a class="jxr_linenumber" name="92" href="#92">92</a>      }
-<a class="jxr_linenumber" name="93" href="#93">93</a>      <strong class="jxr_keyword">private</strong> String m_format;
-<a class="jxr_linenumber" name="94" href="#94">94</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> getFormat__IsNotDefault()
+<a class="jxr_linenumber" name="93" href="#93">93</a>      <strong class="jxr_keyword">private</strong> <a href="../../../../../../org/apache/hadoop/hbase/monitoring/TaskMonitor.html">TaskMonitor</a> m_taskMonitor;
+<a class="jxr_linenumber" name="94" href="#94">94</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> getTaskMonitor__IsNotDefault()
 <a class="jxr_linenumber" name="95" href="#95">95</a>      {
-<a class="jxr_linenumber" name="96" href="#96">96</a>        <strong class="jxr_keyword">return</strong> m_format__IsNotDefault;
+<a class="jxr_linenumber" name="96" href="#96">96</a>        <strong class="jxr_keyword">return</strong> m_taskMonitor__IsNotDefault;
 <a class="jxr_linenumber" name="97" href="#97">97</a>      }
-<a class="jxr_linenumber" name="98" href="#98">98</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> m_format__IsNotDefault;
+<a class="jxr_linenumber" name="98" href="#98">98</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> m_taskMonitor__IsNotDefault;
 <a class="jxr_linenumber" name="99" href="#99">99</a>    }
 <a class="jxr_linenumber" name="100" href="#100">100</a>   @Override
 <a class="jxr_linenumber" name="101" href="#101">101</a>   <strong class="jxr_keyword">protected</strong> org.jamon.AbstractTemplateProxy.ImplData makeImplData()
@@ -124,17 +124,17 @@
 <a class="jxr_linenumber" name="114" href="#114">114</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
 <a class="jxr_linenumber" name="115" href="#115">115</a>   }
 <a class="jxr_linenumber" name="116" href="#116">116</a>
-<a class="jxr_linenumber" name="117" href="#117">117</a>   <strong class="jxr_keyword">protected</strong> <a href="../../../../../../org/apache/hadoop/hbase/monitoring/TaskMonitor.html">TaskMonitor</a> taskMonitor;
-<a class="jxr_linenumber" name="118" href="#118">118</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> org.apache.hadoop.hbase.tmpl.common.TaskMonitorTmpl setTaskMonitor(<a href="../../../../../../org/apache/hadoop/hbase/monitoring/TaskMonitor.html">TaskMonitor</a> p_taskMonitor)
+<a class="jxr_linenumber" name="117" href="#117">117</a>   <strong class="jxr_keyword">protected</strong> String format;
+<a class="jxr_linenumber" name="118" href="#118">118</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> org.apache.hadoop.hbase.tmpl.common.TaskMonitorTmpl setFormat(String p_format)
 <a class="jxr_linenumber" name="119" href="#119">119</a>   {
-<a class="jxr_linenumber" name="120" href="#120">120</a>     (getImplData()).setTaskMonitor(p_taskMonitor);
+<a class="jxr_linenumber" name="120" href="#120">120</a>     (getImplData()).setFormat(p_format);
 <a class="jxr_linenumber" name="121" href="#121">121</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
 <a class="jxr_linenumber" name="122" href="#122">122</a>   }
 <a class="jxr_linenumber" name="123" href="#123">123</a>
-<a class="jxr_linenumber" name="124" href="#124">124</a>   <strong class="jxr_keyword">protected</strong> String format;
-<a class="jxr_linenumber" name="125" href="#125">125</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> org.apache.hadoop.hbase.tmpl.common.TaskMonitorTmpl setFormat(String p_format)
+<a class="jxr_linenumber" name="124" href="#124">124</a>   <strong class="jxr_keyword">protected</strong> <a href="../../../../../../org/apache/hadoop/hbase/monitoring/TaskMonitor.html">TaskMonitor</a> taskMonitor;
+<a class="jxr_linenumber" name="125" href="#125">125</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> org.apache.hadoop.hbase.tmpl.common.TaskMonitorTmpl setTaskMonitor(<a href="../../../../../../org/apache/hadoop/hbase/monitoring/TaskMonitor.html">TaskMonitor</a> p_taskMonitor)
 <a class="jxr_linenumber" name="126" href="#126">126</a>   {
-<a class="jxr_linenumber" name="127" href="#127">127</a>     (getImplData()).setFormat(p_format);
+<a class="jxr_linenumber" name="127" href="#127">127</a>     (getImplData()).setTaskMonitor(p_taskMonitor);
 <a class="jxr_linenumber" name="128" href="#128">128</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
 <a class="jxr_linenumber" name="129" href="#129">129</a>   }
 <a class="jxr_linenumber" name="130" href="#130">130</a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f17356a7/xref/org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmplImpl.html
----------------------------------------------------------------------
diff --git a/xref/org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmplImpl.html b/xref/org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmplImpl.html
index 84edfba..bbb418d 100644
--- a/xref/org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmplImpl.html
+++ b/xref/org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmplImpl.html
@@ -26,21 +26,21 @@
 <a class="jxr_linenumber" name="16" href="#16">16</a>  
 <a class="jxr_linenumber" name="17" href="#17">17</a>  {
 <a class="jxr_linenumber" name="18" href="#18">18</a>    <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> String filter;
-<a class="jxr_linenumber" name="19" href="#19">19</a>    <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> <a href="../../../../../../org/apache/hadoop/hbase/monitoring/TaskMonitor.html">TaskMonitor</a> taskMonitor;
-<a class="jxr_linenumber" name="20" href="#20">20</a>    <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> String format;
+<a class="jxr_linenumber" name="19" href="#19">19</a>    <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> String format;
+<a class="jxr_linenumber" name="20" href="#20">20</a>    <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> <a href="../../../../../../org/apache/hadoop/hbase/monitoring/TaskMonitor.html">TaskMonitor</a> taskMonitor;
 <a class="jxr_linenumber" name="21" href="#21">21</a>    <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">static</strong> org.apache.hadoop.hbase.tmpl.common.TaskMonitorTmpl.ImplData __jamon_setOptionalArguments(org.apache.hadoop.hbase.tmpl.common.TaskMonitorTmpl.ImplData p_implData)
 <a class="jxr_linenumber" name="22" href="#22">22</a>    {
 <a class="jxr_linenumber" name="23" href="#23">23</a>      <strong class="jxr_keyword">if</strong>(! p_implData.getFilter__IsNotDefault())
 <a class="jxr_linenumber" name="24" href="#24">24</a>      {
 <a class="jxr_linenumber" name="25" href="#25">25</a>        p_implData.setFilter(<span class="jxr_string">"general"</span>);
 <a class="jxr_linenumber" name="26" href="#26">26</a>      }
-<a class="jxr_linenumber" name="27" href="#27">27</a>      <strong class="jxr_keyword">if</strong>(! p_implData.getTaskMonitor__IsNotDefault())
+<a class="jxr_linenumber" name="27" href="#27">27</a>      <strong class="jxr_keyword">if</strong>(! p_implData.getFormat__IsNotDefault())
 <a class="jxr_linenumber" name="28" href="#28">28</a>      {
-<a class="jxr_linenumber" name="29" href="#29">29</a>        p_implData.setTaskMonitor(TaskMonitor.get());
+<a class="jxr_linenumber" name="29" href="#29">29</a>        p_implData.setFormat(<span class="jxr_string">"html"</span>);
 <a class="jxr_linenumber" name="30" href="#30">30</a>      }
-<a class="jxr_linenumber" name="31" href="#31">31</a>      <strong class="jxr_keyword">if</strong>(! p_implData.getFormat__IsNotDefault())
+<a class="jxr_linenumber" name="31" href="#31">31</a>      <strong class="jxr_keyword">if</strong>(! p_implData.getTaskMonitor__IsNotDefault())
 <a class="jxr_linenumber" name="32" href="#32">32</a>      {
-<a class="jxr_linenumber" name="33" href="#33">33</a>        p_implData.setFormat(<span class="jxr_string">"html"</span>);
+<a class="jxr_linenumber" name="33" href="#33">33</a>        p_implData.setTaskMonitor(TaskMonitor.get());
 <a class="jxr_linenumber" name="34" href="#34">34</a>      }
 <a class="jxr_linenumber" name="35" href="#35">35</a>      <strong class="jxr_keyword">return</strong> p_implData;
 <a class="jxr_linenumber" name="36" href="#36">36</a>    }
@@ -48,8 +48,8 @@
 <a class="jxr_linenumber" name="38" href="#38">38</a>    {
 <a class="jxr_linenumber" name="39" href="#39">39</a>      <strong class="jxr_keyword">super</strong>(p_templateManager, __jamon_setOptionalArguments(p_implData));
 <a class="jxr_linenumber" name="40" href="#40">40</a>      filter = p_implData.getFilter();
-<a class="jxr_linenumber" name="41" href="#41">41</a>      taskMonitor = p_implData.getTaskMonitor();
-<a class="jxr_linenumber" name="42" href="#42">42</a>      format = p_implData.getFormat();
+<a class="jxr_linenumber" name="41" href="#41">41</a>      format = p_implData.getFormat();
+<a class="jxr_linenumber" name="42" href="#42">42</a>      taskMonitor = p_implData.getTaskMonitor();
 <a class="jxr_linenumber" name="43" href="#43">43</a>    }
 <a class="jxr_linenumber" name="44" href="#44">44</a>
 <a class="jxr_linenumber" name="45" href="#45">45</a>    @Override <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> renderNoFlush(<strong class="jxr_keyword">final</strong> java.io.Writer jamonWriter)


Mime
View raw message