hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [22/36] hbase-site git commit: Published site at .
Date Sun, 07 Jan 2018 15:31:16 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f54ec79f/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationStateZKBase.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationStateZKBase.html b/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationStateZKBase.html
index 1643c98..5de2e3d 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationStateZKBase.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationStateZKBase.html
@@ -32,134 +32,136 @@
 <span class="sourceLineNo">024</span><a name="line.24"></a>
 <span class="sourceLineNo">025</span>import org.apache.hadoop.conf.Configuration;<a name="line.25"></a>
 <span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.Abortable;<a name="line.26"></a>
-<span class="sourceLineNo">027</span>import org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting;<a name="line.27"></a>
-<span class="sourceLineNo">028</span>import org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.ReplicationProtos;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.zookeeper.ZKConfig;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.zookeeper.ZKUtil;<a name="line.32"></a>
-<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.zookeeper.ZKWatcher;<a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.zookeeper.ZNodePaths;<a name="line.34"></a>
-<span class="sourceLineNo">035</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.35"></a>
-<span class="sourceLineNo">036</span>import org.apache.zookeeper.KeeperException;<a name="line.36"></a>
-<span class="sourceLineNo">037</span><a name="line.37"></a>
-<span class="sourceLineNo">038</span>/**<a name="line.38"></a>
-<span class="sourceLineNo">039</span> * This is a base class for maintaining replication state in zookeeper.<a name="line.39"></a>
-<span class="sourceLineNo">040</span> */<a name="line.40"></a>
-<span class="sourceLineNo">041</span>@InterfaceAudience.Private<a name="line.41"></a>
-<span class="sourceLineNo">042</span>public abstract class ReplicationStateZKBase {<a name="line.42"></a>
-<span class="sourceLineNo">043</span><a name="line.43"></a>
-<span class="sourceLineNo">044</span>  /**<a name="line.44"></a>
-<span class="sourceLineNo">045</span>   * The name of the znode that contains the replication status of a remote slave (i.e. peer)<a name="line.45"></a>
-<span class="sourceLineNo">046</span>   * cluster.<a name="line.46"></a>
-<span class="sourceLineNo">047</span>   */<a name="line.47"></a>
-<span class="sourceLineNo">048</span>  protected final String peerStateNodeName;<a name="line.48"></a>
-<span class="sourceLineNo">049</span>  /** The name of the base znode that contains all replication state. */<a name="line.49"></a>
-<span class="sourceLineNo">050</span>  protected final String replicationZNode;<a name="line.50"></a>
-<span class="sourceLineNo">051</span>  /** The name of the znode that contains a list of all remote slave (i.e. peer) clusters. */<a name="line.51"></a>
-<span class="sourceLineNo">052</span>  protected final String peersZNode;<a name="line.52"></a>
-<span class="sourceLineNo">053</span>  /** The name of the znode that contains all replication queues */<a name="line.53"></a>
-<span class="sourceLineNo">054</span>  protected final String queuesZNode;<a name="line.54"></a>
-<span class="sourceLineNo">055</span>  /** The name of the znode that contains queues of hfile references to be replicated */<a name="line.55"></a>
-<span class="sourceLineNo">056</span>  protected final String hfileRefsZNode;<a name="line.56"></a>
-<span class="sourceLineNo">057</span>  /** The cluster key of the local cluster */<a name="line.57"></a>
-<span class="sourceLineNo">058</span>  protected final String ourClusterKey;<a name="line.58"></a>
-<span class="sourceLineNo">059</span>  /** The name of the znode that contains tableCFs */<a name="line.59"></a>
-<span class="sourceLineNo">060</span>  protected final String tableCFsNodeName;<a name="line.60"></a>
-<span class="sourceLineNo">061</span><a name="line.61"></a>
-<span class="sourceLineNo">062</span>  protected final ZKWatcher zookeeper;<a name="line.62"></a>
-<span class="sourceLineNo">063</span>  protected final Configuration conf;<a name="line.63"></a>
-<span class="sourceLineNo">064</span>  protected final Abortable abortable;<a name="line.64"></a>
-<span class="sourceLineNo">065</span><a name="line.65"></a>
-<span class="sourceLineNo">066</span>  // Public for testing<a name="line.66"></a>
-<span class="sourceLineNo">067</span>  public static final byte[] ENABLED_ZNODE_BYTES =<a name="line.67"></a>
-<span class="sourceLineNo">068</span>      toByteArray(ReplicationProtos.ReplicationState.State.ENABLED);<a name="line.68"></a>
-<span class="sourceLineNo">069</span>  public static final byte[] DISABLED_ZNODE_BYTES =<a name="line.69"></a>
-<span class="sourceLineNo">070</span>      toByteArray(ReplicationProtos.ReplicationState.State.DISABLED);<a name="line.70"></a>
-<span class="sourceLineNo">071</span>  public static final String ZOOKEEPER_ZNODE_REPLICATION_HFILE_REFS_KEY =<a name="line.71"></a>
-<span class="sourceLineNo">072</span>      "zookeeper.znode.replication.hfile.refs";<a name="line.72"></a>
-<span class="sourceLineNo">073</span>  public static final String ZOOKEEPER_ZNODE_REPLICATION_HFILE_REFS_DEFAULT = "hfile-refs";<a name="line.73"></a>
-<span class="sourceLineNo">074</span><a name="line.74"></a>
-<span class="sourceLineNo">075</span>  public ReplicationStateZKBase(ZKWatcher zookeeper, Configuration conf,<a name="line.75"></a>
-<span class="sourceLineNo">076</span>                                Abortable abortable) {<a name="line.76"></a>
-<span class="sourceLineNo">077</span>    this.zookeeper = zookeeper;<a name="line.77"></a>
-<span class="sourceLineNo">078</span>    this.conf = conf;<a name="line.78"></a>
-<span class="sourceLineNo">079</span>    this.abortable = abortable;<a name="line.79"></a>
-<span class="sourceLineNo">080</span><a name="line.80"></a>
-<span class="sourceLineNo">081</span>    String replicationZNodeName = conf.get("zookeeper.znode.replication", "replication");<a name="line.81"></a>
-<span class="sourceLineNo">082</span>    String peersZNodeName = conf.get("zookeeper.znode.replication.peers", "peers");<a name="line.82"></a>
-<span class="sourceLineNo">083</span>    String queuesZNodeName = conf.get("zookeeper.znode.replication.rs", "rs");<a name="line.83"></a>
-<span class="sourceLineNo">084</span>    String hfileRefsZNodeName = conf.get(ZOOKEEPER_ZNODE_REPLICATION_HFILE_REFS_KEY,<a name="line.84"></a>
-<span class="sourceLineNo">085</span>      ZOOKEEPER_ZNODE_REPLICATION_HFILE_REFS_DEFAULT);<a name="line.85"></a>
-<span class="sourceLineNo">086</span>    this.peerStateNodeName = conf.get("zookeeper.znode.replication.peers.state", "peer-state");<a name="line.86"></a>
-<span class="sourceLineNo">087</span>    this.tableCFsNodeName = conf.get("zookeeper.znode.replication.peers.tableCFs", "tableCFs");<a name="line.87"></a>
-<span class="sourceLineNo">088</span>    this.ourClusterKey = ZKConfig.getZooKeeperClusterKey(this.conf);<a name="line.88"></a>
-<span class="sourceLineNo">089</span>    this.replicationZNode = ZNodePaths.joinZNode(this.zookeeper.znodePaths.baseZNode,<a name="line.89"></a>
-<span class="sourceLineNo">090</span>      replicationZNodeName);<a name="line.90"></a>
-<span class="sourceLineNo">091</span>    this.peersZNode = ZNodePaths.joinZNode(replicationZNode, peersZNodeName);<a name="line.91"></a>
-<span class="sourceLineNo">092</span>    this.queuesZNode = ZNodePaths.joinZNode(replicationZNode, queuesZNodeName);<a name="line.92"></a>
-<span class="sourceLineNo">093</span>    this.hfileRefsZNode = ZNodePaths.joinZNode(replicationZNode, hfileRefsZNodeName);<a name="line.93"></a>
-<span class="sourceLineNo">094</span>  }<a name="line.94"></a>
-<span class="sourceLineNo">095</span><a name="line.95"></a>
-<span class="sourceLineNo">096</span>  public List&lt;String&gt; getListOfReplicators() {<a name="line.96"></a>
-<span class="sourceLineNo">097</span>    List&lt;String&gt; result = null;<a name="line.97"></a>
-<span class="sourceLineNo">098</span>    try {<a name="line.98"></a>
-<span class="sourceLineNo">099</span>      result = ZKUtil.listChildrenNoWatch(this.zookeeper, this.queuesZNode);<a name="line.99"></a>
-<span class="sourceLineNo">100</span>    } catch (KeeperException e) {<a name="line.100"></a>
-<span class="sourceLineNo">101</span>      this.abortable.abort("Failed to get list of replicators", e);<a name="line.101"></a>
-<span class="sourceLineNo">102</span>    }<a name="line.102"></a>
-<span class="sourceLineNo">103</span>    return result;<a name="line.103"></a>
-<span class="sourceLineNo">104</span>  }<a name="line.104"></a>
-<span class="sourceLineNo">105</span><a name="line.105"></a>
-<span class="sourceLineNo">106</span>  /**<a name="line.106"></a>
-<span class="sourceLineNo">107</span>   * @param state<a name="line.107"></a>
-<span class="sourceLineNo">108</span>   * @return Serialized protobuf of &lt;code&gt;state&lt;/code&gt; with pb magic prefix prepended suitable for<a name="line.108"></a>
-<span class="sourceLineNo">109</span>   *         use as content of a peer-state znode under a peer cluster id as in<a name="line.109"></a>
-<span class="sourceLineNo">110</span>   *         /hbase/replication/peers/PEER_ID/peer-state.<a name="line.110"></a>
-<span class="sourceLineNo">111</span>   */<a name="line.111"></a>
-<span class="sourceLineNo">112</span>  protected static byte[] toByteArray(final ReplicationProtos.ReplicationState.State state) {<a name="line.112"></a>
-<span class="sourceLineNo">113</span>    ReplicationProtos.ReplicationState msg =<a name="line.113"></a>
-<span class="sourceLineNo">114</span>        ReplicationProtos.ReplicationState.newBuilder().setState(state).build();<a name="line.114"></a>
-<span class="sourceLineNo">115</span>    // There is no toByteArray on this pb Message?<a name="line.115"></a>
-<span class="sourceLineNo">116</span>    // 32 bytes is default which seems fair enough here.<a name="line.116"></a>
-<span class="sourceLineNo">117</span>    try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) {<a name="line.117"></a>
-<span class="sourceLineNo">118</span>      CodedOutputStream cos = CodedOutputStream.newInstance(baos, 16);<a name="line.118"></a>
-<span class="sourceLineNo">119</span>      msg.writeTo(cos);<a name="line.119"></a>
-<span class="sourceLineNo">120</span>      cos.flush();<a name="line.120"></a>
-<span class="sourceLineNo">121</span>      baos.flush();<a name="line.121"></a>
-<span class="sourceLineNo">122</span>      return ProtobufUtil.prependPBMagic(baos.toByteArray());<a name="line.122"></a>
-<span class="sourceLineNo">123</span>    } catch (IOException e) {<a name="line.123"></a>
-<span class="sourceLineNo">124</span>      throw new RuntimeException(e);<a name="line.124"></a>
-<span class="sourceLineNo">125</span>    }<a name="line.125"></a>
-<span class="sourceLineNo">126</span>  }<a name="line.126"></a>
-<span class="sourceLineNo">127</span><a name="line.127"></a>
-<span class="sourceLineNo">128</span>  protected boolean peerExists(String id) throws KeeperException {<a name="line.128"></a>
-<span class="sourceLineNo">129</span>    return ZKUtil.checkExists(this.zookeeper, ZNodePaths.joinZNode(this.peersZNode, id)) &gt;= 0;<a name="line.129"></a>
-<span class="sourceLineNo">130</span>  }<a name="line.130"></a>
-<span class="sourceLineNo">131</span><a name="line.131"></a>
-<span class="sourceLineNo">132</span>  /**<a name="line.132"></a>
-<span class="sourceLineNo">133</span>   * Determine if a ZK path points to a peer node.<a name="line.133"></a>
-<span class="sourceLineNo">134</span>   * @param path path to be checked<a name="line.134"></a>
-<span class="sourceLineNo">135</span>   * @return true if the path points to a peer node, otherwise false<a name="line.135"></a>
-<span class="sourceLineNo">136</span>   */<a name="line.136"></a>
-<span class="sourceLineNo">137</span>  protected boolean isPeerPath(String path) {<a name="line.137"></a>
-<span class="sourceLineNo">138</span>    return path.split("/").length == peersZNode.split("/").length + 1;<a name="line.138"></a>
-<span class="sourceLineNo">139</span>  }<a name="line.139"></a>
-<span class="sourceLineNo">140</span><a name="line.140"></a>
-<span class="sourceLineNo">141</span>  @VisibleForTesting<a name="line.141"></a>
-<span class="sourceLineNo">142</span>  protected String getTableCFsNode(String id) {<a name="line.142"></a>
-<span class="sourceLineNo">143</span>    return ZNodePaths.joinZNode(this.peersZNode, ZNodePaths.joinZNode(id, this.tableCFsNodeName));<a name="line.143"></a>
-<span class="sourceLineNo">144</span>  }<a name="line.144"></a>
-<span class="sourceLineNo">145</span><a name="line.145"></a>
-<span class="sourceLineNo">146</span>  @VisibleForTesting<a name="line.146"></a>
-<span class="sourceLineNo">147</span>  protected String getPeerStateNode(String id) {<a name="line.147"></a>
-<span class="sourceLineNo">148</span>    return ZNodePaths.joinZNode(this.peersZNode, ZNodePaths.joinZNode(id, this.peerStateNodeName));<a name="line.148"></a>
-<span class="sourceLineNo">149</span>  }<a name="line.149"></a>
-<span class="sourceLineNo">150</span>  @VisibleForTesting<a name="line.150"></a>
-<span class="sourceLineNo">151</span>  protected String getPeerNode(String id) {<a name="line.151"></a>
-<span class="sourceLineNo">152</span>    return ZNodePaths.joinZNode(this.peersZNode, id);<a name="line.152"></a>
-<span class="sourceLineNo">153</span>  }<a name="line.153"></a>
-<span class="sourceLineNo">154</span>}<a name="line.154"></a>
+<span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.zookeeper.ZKConfig;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.zookeeper.ZKUtil;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.zookeeper.ZKWatcher;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.zookeeper.ZNodePaths;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import org.apache.zookeeper.KeeperException;<a name="line.32"></a>
+<span class="sourceLineNo">033</span><a name="line.33"></a>
+<span class="sourceLineNo">034</span>import org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream;<a name="line.35"></a>
+<span class="sourceLineNo">036</span><a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.ReplicationProtos;<a name="line.38"></a>
+<span class="sourceLineNo">039</span><a name="line.39"></a>
+<span class="sourceLineNo">040</span>/**<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * This is a base class for maintaining replication state in zookeeper.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> */<a name="line.42"></a>
+<span class="sourceLineNo">043</span>@InterfaceAudience.Private<a name="line.43"></a>
+<span class="sourceLineNo">044</span>public abstract class ReplicationStateZKBase {<a name="line.44"></a>
+<span class="sourceLineNo">045</span><a name="line.45"></a>
+<span class="sourceLineNo">046</span>  /**<a name="line.46"></a>
+<span class="sourceLineNo">047</span>   * The name of the znode that contains the replication status of a remote slave (i.e. peer)<a name="line.47"></a>
+<span class="sourceLineNo">048</span>   * cluster.<a name="line.48"></a>
+<span class="sourceLineNo">049</span>   */<a name="line.49"></a>
+<span class="sourceLineNo">050</span>  protected final String peerStateNodeName;<a name="line.50"></a>
+<span class="sourceLineNo">051</span>  /** The name of the base znode that contains all replication state. */<a name="line.51"></a>
+<span class="sourceLineNo">052</span>  protected final String replicationZNode;<a name="line.52"></a>
+<span class="sourceLineNo">053</span>  /** The name of the znode that contains a list of all remote slave (i.e. peer) clusters. */<a name="line.53"></a>
+<span class="sourceLineNo">054</span>  protected final String peersZNode;<a name="line.54"></a>
+<span class="sourceLineNo">055</span>  /** The name of the znode that contains all replication queues */<a name="line.55"></a>
+<span class="sourceLineNo">056</span>  protected final String queuesZNode;<a name="line.56"></a>
+<span class="sourceLineNo">057</span>  /** The name of the znode that contains queues of hfile references to be replicated */<a name="line.57"></a>
+<span class="sourceLineNo">058</span>  protected final String hfileRefsZNode;<a name="line.58"></a>
+<span class="sourceLineNo">059</span>  /** The cluster key of the local cluster */<a name="line.59"></a>
+<span class="sourceLineNo">060</span>  protected final String ourClusterKey;<a name="line.60"></a>
+<span class="sourceLineNo">061</span>  /** The name of the znode that contains tableCFs */<a name="line.61"></a>
+<span class="sourceLineNo">062</span>  protected final String tableCFsNodeName;<a name="line.62"></a>
+<span class="sourceLineNo">063</span><a name="line.63"></a>
+<span class="sourceLineNo">064</span>  protected final ZKWatcher zookeeper;<a name="line.64"></a>
+<span class="sourceLineNo">065</span>  protected final Configuration conf;<a name="line.65"></a>
+<span class="sourceLineNo">066</span>  protected final Abortable abortable;<a name="line.66"></a>
+<span class="sourceLineNo">067</span><a name="line.67"></a>
+<span class="sourceLineNo">068</span>  // Public for testing<a name="line.68"></a>
+<span class="sourceLineNo">069</span>  public static final byte[] ENABLED_ZNODE_BYTES =<a name="line.69"></a>
+<span class="sourceLineNo">070</span>      toByteArray(ReplicationProtos.ReplicationState.State.ENABLED);<a name="line.70"></a>
+<span class="sourceLineNo">071</span>  public static final byte[] DISABLED_ZNODE_BYTES =<a name="line.71"></a>
+<span class="sourceLineNo">072</span>      toByteArray(ReplicationProtos.ReplicationState.State.DISABLED);<a name="line.72"></a>
+<span class="sourceLineNo">073</span>  public static final String ZOOKEEPER_ZNODE_REPLICATION_HFILE_REFS_KEY =<a name="line.73"></a>
+<span class="sourceLineNo">074</span>      "zookeeper.znode.replication.hfile.refs";<a name="line.74"></a>
+<span class="sourceLineNo">075</span>  public static final String ZOOKEEPER_ZNODE_REPLICATION_HFILE_REFS_DEFAULT = "hfile-refs";<a name="line.75"></a>
+<span class="sourceLineNo">076</span><a name="line.76"></a>
+<span class="sourceLineNo">077</span>  public ReplicationStateZKBase(ZKWatcher zookeeper, Configuration conf,<a name="line.77"></a>
+<span class="sourceLineNo">078</span>                                Abortable abortable) {<a name="line.78"></a>
+<span class="sourceLineNo">079</span>    this.zookeeper = zookeeper;<a name="line.79"></a>
+<span class="sourceLineNo">080</span>    this.conf = conf;<a name="line.80"></a>
+<span class="sourceLineNo">081</span>    this.abortable = abortable;<a name="line.81"></a>
+<span class="sourceLineNo">082</span><a name="line.82"></a>
+<span class="sourceLineNo">083</span>    String replicationZNodeName = conf.get("zookeeper.znode.replication", "replication");<a name="line.83"></a>
+<span class="sourceLineNo">084</span>    String peersZNodeName = conf.get("zookeeper.znode.replication.peers", "peers");<a name="line.84"></a>
+<span class="sourceLineNo">085</span>    String queuesZNodeName = conf.get("zookeeper.znode.replication.rs", "rs");<a name="line.85"></a>
+<span class="sourceLineNo">086</span>    String hfileRefsZNodeName = conf.get(ZOOKEEPER_ZNODE_REPLICATION_HFILE_REFS_KEY,<a name="line.86"></a>
+<span class="sourceLineNo">087</span>      ZOOKEEPER_ZNODE_REPLICATION_HFILE_REFS_DEFAULT);<a name="line.87"></a>
+<span class="sourceLineNo">088</span>    this.peerStateNodeName = conf.get("zookeeper.znode.replication.peers.state", "peer-state");<a name="line.88"></a>
+<span class="sourceLineNo">089</span>    this.tableCFsNodeName = conf.get("zookeeper.znode.replication.peers.tableCFs", "tableCFs");<a name="line.89"></a>
+<span class="sourceLineNo">090</span>    this.ourClusterKey = ZKConfig.getZooKeeperClusterKey(this.conf);<a name="line.90"></a>
+<span class="sourceLineNo">091</span>    this.replicationZNode = ZNodePaths.joinZNode(this.zookeeper.znodePaths.baseZNode,<a name="line.91"></a>
+<span class="sourceLineNo">092</span>      replicationZNodeName);<a name="line.92"></a>
+<span class="sourceLineNo">093</span>    this.peersZNode = ZNodePaths.joinZNode(replicationZNode, peersZNodeName);<a name="line.93"></a>
+<span class="sourceLineNo">094</span>    this.queuesZNode = ZNodePaths.joinZNode(replicationZNode, queuesZNodeName);<a name="line.94"></a>
+<span class="sourceLineNo">095</span>    this.hfileRefsZNode = ZNodePaths.joinZNode(replicationZNode, hfileRefsZNodeName);<a name="line.95"></a>
+<span class="sourceLineNo">096</span>  }<a name="line.96"></a>
+<span class="sourceLineNo">097</span><a name="line.97"></a>
+<span class="sourceLineNo">098</span>  public List&lt;String&gt; getListOfReplicators() {<a name="line.98"></a>
+<span class="sourceLineNo">099</span>    List&lt;String&gt; result = null;<a name="line.99"></a>
+<span class="sourceLineNo">100</span>    try {<a name="line.100"></a>
+<span class="sourceLineNo">101</span>      result = ZKUtil.listChildrenNoWatch(this.zookeeper, this.queuesZNode);<a name="line.101"></a>
+<span class="sourceLineNo">102</span>    } catch (KeeperException e) {<a name="line.102"></a>
+<span class="sourceLineNo">103</span>      this.abortable.abort("Failed to get list of replicators", e);<a name="line.103"></a>
+<span class="sourceLineNo">104</span>    }<a name="line.104"></a>
+<span class="sourceLineNo">105</span>    return result;<a name="line.105"></a>
+<span class="sourceLineNo">106</span>  }<a name="line.106"></a>
+<span class="sourceLineNo">107</span><a name="line.107"></a>
+<span class="sourceLineNo">108</span>  /**<a name="line.108"></a>
+<span class="sourceLineNo">109</span>   * @param state the state to convert into a byte array<a name="line.109"></a>
+<span class="sourceLineNo">110</span>   * @return Serialized protobuf of &lt;code&gt;state&lt;/code&gt; with pb magic prefix prepended suitable for<a name="line.110"></a>
+<span class="sourceLineNo">111</span>   *         use as content of a peer-state znode under a peer cluster id as in<a name="line.111"></a>
+<span class="sourceLineNo">112</span>   *         /hbase/replication/peers/PEER_ID/peer-state.<a name="line.112"></a>
+<span class="sourceLineNo">113</span>   */<a name="line.113"></a>
+<span class="sourceLineNo">114</span>  protected static byte[] toByteArray(final ReplicationProtos.ReplicationState.State state) {<a name="line.114"></a>
+<span class="sourceLineNo">115</span>    ReplicationProtos.ReplicationState msg =<a name="line.115"></a>
+<span class="sourceLineNo">116</span>        ReplicationProtos.ReplicationState.newBuilder().setState(state).build();<a name="line.116"></a>
+<span class="sourceLineNo">117</span>    // There is no toByteArray on this pb Message?<a name="line.117"></a>
+<span class="sourceLineNo">118</span>    // 32 bytes is default which seems fair enough here.<a name="line.118"></a>
+<span class="sourceLineNo">119</span>    try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) {<a name="line.119"></a>
+<span class="sourceLineNo">120</span>      CodedOutputStream cos = CodedOutputStream.newInstance(baos, 16);<a name="line.120"></a>
+<span class="sourceLineNo">121</span>      msg.writeTo(cos);<a name="line.121"></a>
+<span class="sourceLineNo">122</span>      cos.flush();<a name="line.122"></a>
+<span class="sourceLineNo">123</span>      baos.flush();<a name="line.123"></a>
+<span class="sourceLineNo">124</span>      return ProtobufUtil.prependPBMagic(baos.toByteArray());<a name="line.124"></a>
+<span class="sourceLineNo">125</span>    } catch (IOException e) {<a name="line.125"></a>
+<span class="sourceLineNo">126</span>      throw new RuntimeException(e);<a name="line.126"></a>
+<span class="sourceLineNo">127</span>    }<a name="line.127"></a>
+<span class="sourceLineNo">128</span>  }<a name="line.128"></a>
+<span class="sourceLineNo">129</span><a name="line.129"></a>
+<span class="sourceLineNo">130</span>  protected boolean peerExists(String id) throws KeeperException {<a name="line.130"></a>
+<span class="sourceLineNo">131</span>    return ZKUtil.checkExists(this.zookeeper, ZNodePaths.joinZNode(this.peersZNode, id)) &gt;= 0;<a name="line.131"></a>
+<span class="sourceLineNo">132</span>  }<a name="line.132"></a>
+<span class="sourceLineNo">133</span><a name="line.133"></a>
+<span class="sourceLineNo">134</span>  /**<a name="line.134"></a>
+<span class="sourceLineNo">135</span>   * Determine if a ZK path points to a peer node.<a name="line.135"></a>
+<span class="sourceLineNo">136</span>   * @param path path to be checked<a name="line.136"></a>
+<span class="sourceLineNo">137</span>   * @return true if the path points to a peer node, otherwise false<a name="line.137"></a>
+<span class="sourceLineNo">138</span>   */<a name="line.138"></a>
+<span class="sourceLineNo">139</span>  protected boolean isPeerPath(String path) {<a name="line.139"></a>
+<span class="sourceLineNo">140</span>    return path.split("/").length == peersZNode.split("/").length + 1;<a name="line.140"></a>
+<span class="sourceLineNo">141</span>  }<a name="line.141"></a>
+<span class="sourceLineNo">142</span><a name="line.142"></a>
+<span class="sourceLineNo">143</span>  @VisibleForTesting<a name="line.143"></a>
+<span class="sourceLineNo">144</span>  protected String getTableCFsNode(String id) {<a name="line.144"></a>
+<span class="sourceLineNo">145</span>    return ZNodePaths.joinZNode(this.peersZNode, ZNodePaths.joinZNode(id, this.tableCFsNodeName));<a name="line.145"></a>
+<span class="sourceLineNo">146</span>  }<a name="line.146"></a>
+<span class="sourceLineNo">147</span><a name="line.147"></a>
+<span class="sourceLineNo">148</span>  @VisibleForTesting<a name="line.148"></a>
+<span class="sourceLineNo">149</span>  protected String getPeerStateNode(String id) {<a name="line.149"></a>
+<span class="sourceLineNo">150</span>    return ZNodePaths.joinZNode(this.peersZNode, ZNodePaths.joinZNode(id, this.peerStateNodeName));<a name="line.150"></a>
+<span class="sourceLineNo">151</span>  }<a name="line.151"></a>
+<span class="sourceLineNo">152</span>  @VisibleForTesting<a name="line.152"></a>
+<span class="sourceLineNo">153</span>  protected String getPeerNode(String id) {<a name="line.153"></a>
+<span class="sourceLineNo">154</span>    return ZNodePaths.joinZNode(this.peersZNode, id);<a name="line.154"></a>
+<span class="sourceLineNo">155</span>  }<a name="line.155"></a>
+<span class="sourceLineNo">156</span>}<a name="line.156"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f54ec79f/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTableBase.CreateReplicationTableWorker.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTableBase.CreateReplicationTableWorker.html b/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTableBase.CreateReplicationTableWorker.html
index 1ef31b3..49ce142 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTableBase.CreateReplicationTableWorker.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTableBase.CreateReplicationTableWorker.html
@@ -26,45 +26,45 @@
 <span class="sourceLineNo">018</span>*/<a name="line.18"></a>
 <span class="sourceLineNo">019</span>package org.apache.hadoop.hbase.replication;<a name="line.19"></a>
 <span class="sourceLineNo">020</span><a name="line.20"></a>
-<span class="sourceLineNo">021</span>import org.apache.hadoop.hbase.CompareOperator;<a name="line.21"></a>
-<span class="sourceLineNo">022</span>import org.apache.hbase.thirdparty.com.google.common.util.concurrent.ThreadFactoryBuilder;<a name="line.22"></a>
-<span class="sourceLineNo">023</span>import org.apache.hadoop.conf.Configuration;<a name="line.23"></a>
-<span class="sourceLineNo">024</span>import org.apache.hadoop.hbase.Abortable;<a name="line.24"></a>
-<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.HColumnDescriptor;<a name="line.25"></a>
-<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.HConstants;<a name="line.26"></a>
-<span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.HTableDescriptor;<a name="line.27"></a>
-<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.NamespaceDescriptor;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.TableExistsException;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.TableName;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.client.Admin;<a name="line.32"></a>
-<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.client.Connection;<a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.client.ConnectionFactory;<a name="line.34"></a>
-<span class="sourceLineNo">035</span>import org.apache.hadoop.hbase.client.Get;<a name="line.35"></a>
-<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.client.Result;<a name="line.36"></a>
-<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.client.ResultScanner;<a name="line.37"></a>
-<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.client.Scan;<a name="line.38"></a>
-<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.client.Table;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.filter.CompareFilter;<a name="line.40"></a>
-<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.filter.SingleColumnValueFilter;<a name="line.41"></a>
-<span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.regionserver.BloomType;<a name="line.42"></a>
-<span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.43"></a>
-<span class="sourceLineNo">044</span>import org.apache.hadoop.hbase.util.RetryCounter;<a name="line.44"></a>
-<span class="sourceLineNo">045</span>import org.apache.hadoop.hbase.util.RetryCounterFactory;<a name="line.45"></a>
-<span class="sourceLineNo">046</span><a name="line.46"></a>
-<span class="sourceLineNo">047</span>import java.io.IOException;<a name="line.47"></a>
-<span class="sourceLineNo">048</span>import java.io.InterruptedIOException;<a name="line.48"></a>
-<span class="sourceLineNo">049</span>import java.util.ArrayList;<a name="line.49"></a>
-<span class="sourceLineNo">050</span>import java.util.Arrays;<a name="line.50"></a>
-<span class="sourceLineNo">051</span>import java.util.HashSet;<a name="line.51"></a>
-<span class="sourceLineNo">052</span>import java.util.List;<a name="line.52"></a>
-<span class="sourceLineNo">053</span>import java.util.Map;<a name="line.53"></a>
-<span class="sourceLineNo">054</span>import java.util.Set;<a name="line.54"></a>
-<span class="sourceLineNo">055</span>import java.util.concurrent.CountDownLatch;<a name="line.55"></a>
-<span class="sourceLineNo">056</span>import java.util.concurrent.Executor;<a name="line.56"></a>
-<span class="sourceLineNo">057</span>import java.util.concurrent.LinkedBlockingQueue;<a name="line.57"></a>
-<span class="sourceLineNo">058</span>import java.util.concurrent.ThreadPoolExecutor;<a name="line.58"></a>
-<span class="sourceLineNo">059</span>import java.util.concurrent.TimeUnit;<a name="line.59"></a>
+<span class="sourceLineNo">021</span>import java.io.IOException;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import java.io.InterruptedIOException;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import java.util.ArrayList;<a name="line.23"></a>
+<span class="sourceLineNo">024</span>import java.util.Arrays;<a name="line.24"></a>
+<span class="sourceLineNo">025</span>import java.util.HashSet;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import java.util.List;<a name="line.26"></a>
+<span class="sourceLineNo">027</span>import java.util.Map;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>import java.util.Set;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import java.util.concurrent.CountDownLatch;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import java.util.concurrent.Executor;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import java.util.concurrent.LinkedBlockingQueue;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import java.util.concurrent.ThreadPoolExecutor;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import java.util.concurrent.TimeUnit;<a name="line.33"></a>
+<span class="sourceLineNo">034</span><a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.hadoop.conf.Configuration;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.Abortable;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.CompareOperator;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.HColumnDescriptor;<a name="line.38"></a>
+<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.HConstants;<a name="line.39"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.HTableDescriptor;<a name="line.40"></a>
+<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.NamespaceDescriptor;<a name="line.41"></a>
+<span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.TableExistsException;<a name="line.42"></a>
+<span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.TableName;<a name="line.43"></a>
+<span class="sourceLineNo">044</span>import org.apache.hadoop.hbase.client.Admin;<a name="line.44"></a>
+<span class="sourceLineNo">045</span>import org.apache.hadoop.hbase.client.Connection;<a name="line.45"></a>
+<span class="sourceLineNo">046</span>import org.apache.hadoop.hbase.client.ConnectionFactory;<a name="line.46"></a>
+<span class="sourceLineNo">047</span>import org.apache.hadoop.hbase.client.Get;<a name="line.47"></a>
+<span class="sourceLineNo">048</span>import org.apache.hadoop.hbase.client.Result;<a name="line.48"></a>
+<span class="sourceLineNo">049</span>import org.apache.hadoop.hbase.client.ResultScanner;<a name="line.49"></a>
+<span class="sourceLineNo">050</span>import org.apache.hadoop.hbase.client.Scan;<a name="line.50"></a>
+<span class="sourceLineNo">051</span>import org.apache.hadoop.hbase.client.Table;<a name="line.51"></a>
+<span class="sourceLineNo">052</span>import org.apache.hadoop.hbase.filter.SingleColumnValueFilter;<a name="line.52"></a>
+<span class="sourceLineNo">053</span>import org.apache.hadoop.hbase.regionserver.BloomType;<a name="line.53"></a>
+<span class="sourceLineNo">054</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.54"></a>
+<span class="sourceLineNo">055</span>import org.apache.hadoop.hbase.util.RetryCounter;<a name="line.55"></a>
+<span class="sourceLineNo">056</span>import org.apache.hadoop.hbase.util.RetryCounterFactory;<a name="line.56"></a>
+<span class="sourceLineNo">057</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.57"></a>
+<span class="sourceLineNo">058</span><a name="line.58"></a>
+<span class="sourceLineNo">059</span>import org.apache.hbase.thirdparty.com.google.common.util.concurrent.ThreadFactoryBuilder;<a name="line.59"></a>
 <span class="sourceLineNo">060</span><a name="line.60"></a>
 <span class="sourceLineNo">061</span>/*<a name="line.61"></a>
 <span class="sourceLineNo">062</span> * Abstract class that provides an interface to the Replication Table. Which is currently<a name="line.62"></a>
@@ -329,12 +329,12 @@
 <span class="sourceLineNo">321</span>   *<a name="line.321"></a>
 <span class="sourceLineNo">322</span>   * @param server name of the server<a name="line.322"></a>
 <span class="sourceLineNo">323</span>   * @return a ResultScanner over the QueueIds belonging to the server<a name="line.323"></a>
-<span class="sourceLineNo">324</span>   * @throws IOException<a name="line.324"></a>
+<span class="sourceLineNo">324</span>   * @throws IOException if getting the table or the scanner fails<a name="line.324"></a>
 <span class="sourceLineNo">325</span>   */<a name="line.325"></a>
 <span class="sourceLineNo">326</span>  protected ResultScanner getQueuesBelongingToServer(String server) throws IOException {<a name="line.326"></a>
 <span class="sourceLineNo">327</span>    Scan scan = new Scan();<a name="line.327"></a>
 <span class="sourceLineNo">328</span>    SingleColumnValueFilter filterMyQueues = new SingleColumnValueFilter(CF_QUEUE, COL_QUEUE_OWNER,<a name="line.328"></a>
-<span class="sourceLineNo">329</span>    CompareOperator.EQUAL, Bytes.toBytes(server));<a name="line.329"></a>
+<span class="sourceLineNo">329</span>            CompareOperator.EQUAL, Bytes.toBytes(server));<a name="line.329"></a>
 <span class="sourceLineNo">330</span>    scan.setFilter(filterMyQueues);<a name="line.330"></a>
 <span class="sourceLineNo">331</span>    scan.addColumn(CF_QUEUE, COL_QUEUE_OWNER);<a name="line.331"></a>
 <span class="sourceLineNo">332</span>    scan.addColumn(CF_QUEUE, COL_QUEUE_OWNER_HISTORY);<a name="line.332"></a>
@@ -349,7 +349,7 @@
 <span class="sourceLineNo">341</span>   * the CreateReplicationWorker thread. It is up to the caller of this method to close the<a name="line.341"></a>
 <span class="sourceLineNo">342</span>   * returned Table<a name="line.342"></a>
 <span class="sourceLineNo">343</span>   * @return the Replication Table when it is created<a name="line.343"></a>
-<span class="sourceLineNo">344</span>   * @throws IOException<a name="line.344"></a>
+<span class="sourceLineNo">344</span>   * @throws IOException if getting the table or the scanner fails<a name="line.344"></a>
 <span class="sourceLineNo">345</span>   */<a name="line.345"></a>
 <span class="sourceLineNo">346</span>  protected Table getOrBlockOnReplicationTable() throws IOException {<a name="line.346"></a>
 <span class="sourceLineNo">347</span>    // Sleep until the Replication Table becomes available<a name="line.347"></a>
@@ -367,7 +367,7 @@
 <span class="sourceLineNo">359</span>   * Creates a new copy of the Replication Table and sets up the proper Table time outs for it<a name="line.359"></a>
 <span class="sourceLineNo">360</span>   *<a name="line.360"></a>
 <span class="sourceLineNo">361</span>   * @return the Replication Table<a name="line.361"></a>
-<span class="sourceLineNo">362</span>   * @throws IOException<a name="line.362"></a>
+<span class="sourceLineNo">362</span>   * @throws IOException if getting the table fails<a name="line.362"></a>
 <span class="sourceLineNo">363</span>   */<a name="line.363"></a>
 <span class="sourceLineNo">364</span>  private Table getAndSetUpReplicationTable() throws IOException {<a name="line.364"></a>
 <span class="sourceLineNo">365</span>    Table replicationTable = connection.getTable(REPLICATION_TABLE_NAME);<a name="line.365"></a>
@@ -421,7 +421,7 @@
 <span class="sourceLineNo">413</span>     * Create the replication table with the provided HColumnDescriptor REPLICATION_COL_DESCRIPTOR<a name="line.413"></a>
 <span class="sourceLineNo">414</span>     * in TableBasedReplicationQueuesImpl<a name="line.414"></a>
 <span class="sourceLineNo">415</span>     *<a name="line.415"></a>
-<span class="sourceLineNo">416</span>     * @throws IOException<a name="line.416"></a>
+<span class="sourceLineNo">416</span>     * @throws IOException if creating the table fails<a name="line.416"></a>
 <span class="sourceLineNo">417</span>     */<a name="line.417"></a>
 <span class="sourceLineNo">418</span>    private void createReplicationTable() throws IOException {<a name="line.418"></a>
 <span class="sourceLineNo">419</span>      HTableDescriptor replicationTableDescriptor = new HTableDescriptor(REPLICATION_TABLE_NAME);<a name="line.419"></a>
@@ -437,17 +437,16 @@
 <span class="sourceLineNo">429</span>     * Checks whether the Replication Table exists yet<a name="line.429"></a>
 <span class="sourceLineNo">430</span>     *<a name="line.430"></a>
 <span class="sourceLineNo">431</span>     * @return whether the Replication Table exists<a name="line.431"></a>
-<span class="sourceLineNo">432</span>     * @throws IOException<a name="line.432"></a>
-<span class="sourceLineNo">433</span>     */<a name="line.433"></a>
-<span class="sourceLineNo">434</span>    private boolean replicationTableExists() {<a name="line.434"></a>
-<span class="sourceLineNo">435</span>      try {<a name="line.435"></a>
-<span class="sourceLineNo">436</span>        return admin.tableExists(REPLICATION_TABLE_NAME);<a name="line.436"></a>
-<span class="sourceLineNo">437</span>      } catch (IOException e) {<a name="line.437"></a>
-<span class="sourceLineNo">438</span>        return false;<a name="line.438"></a>
-<span class="sourceLineNo">439</span>      }<a name="line.439"></a>
-<span class="sourceLineNo">440</span>    }<a name="line.440"></a>
-<span class="sourceLineNo">441</span>  }<a name="line.441"></a>
-<span class="sourceLineNo">442</span>}<a name="line.442"></a>
+<span class="sourceLineNo">432</span>     */<a name="line.432"></a>
+<span class="sourceLineNo">433</span>    private boolean replicationTableExists() {<a name="line.433"></a>
+<span class="sourceLineNo">434</span>      try {<a name="line.434"></a>
+<span class="sourceLineNo">435</span>        return admin.tableExists(REPLICATION_TABLE_NAME);<a name="line.435"></a>
+<span class="sourceLineNo">436</span>      } catch (IOException e) {<a name="line.436"></a>
+<span class="sourceLineNo">437</span>        return false;<a name="line.437"></a>
+<span class="sourceLineNo">438</span>      }<a name="line.438"></a>
+<span class="sourceLineNo">439</span>    }<a name="line.439"></a>
+<span class="sourceLineNo">440</span>  }<a name="line.440"></a>
+<span class="sourceLineNo">441</span>}<a name="line.441"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f54ec79f/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTableBase.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTableBase.html b/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTableBase.html
index 1ef31b3..49ce142 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTableBase.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTableBase.html
@@ -26,45 +26,45 @@
 <span class="sourceLineNo">018</span>*/<a name="line.18"></a>
 <span class="sourceLineNo">019</span>package org.apache.hadoop.hbase.replication;<a name="line.19"></a>
 <span class="sourceLineNo">020</span><a name="line.20"></a>
-<span class="sourceLineNo">021</span>import org.apache.hadoop.hbase.CompareOperator;<a name="line.21"></a>
-<span class="sourceLineNo">022</span>import org.apache.hbase.thirdparty.com.google.common.util.concurrent.ThreadFactoryBuilder;<a name="line.22"></a>
-<span class="sourceLineNo">023</span>import org.apache.hadoop.conf.Configuration;<a name="line.23"></a>
-<span class="sourceLineNo">024</span>import org.apache.hadoop.hbase.Abortable;<a name="line.24"></a>
-<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.HColumnDescriptor;<a name="line.25"></a>
-<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.HConstants;<a name="line.26"></a>
-<span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.HTableDescriptor;<a name="line.27"></a>
-<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.NamespaceDescriptor;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.TableExistsException;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.TableName;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.client.Admin;<a name="line.32"></a>
-<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.client.Connection;<a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.client.ConnectionFactory;<a name="line.34"></a>
-<span class="sourceLineNo">035</span>import org.apache.hadoop.hbase.client.Get;<a name="line.35"></a>
-<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.client.Result;<a name="line.36"></a>
-<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.client.ResultScanner;<a name="line.37"></a>
-<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.client.Scan;<a name="line.38"></a>
-<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.client.Table;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.filter.CompareFilter;<a name="line.40"></a>
-<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.filter.SingleColumnValueFilter;<a name="line.41"></a>
-<span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.regionserver.BloomType;<a name="line.42"></a>
-<span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.43"></a>
-<span class="sourceLineNo">044</span>import org.apache.hadoop.hbase.util.RetryCounter;<a name="line.44"></a>
-<span class="sourceLineNo">045</span>import org.apache.hadoop.hbase.util.RetryCounterFactory;<a name="line.45"></a>
-<span class="sourceLineNo">046</span><a name="line.46"></a>
-<span class="sourceLineNo">047</span>import java.io.IOException;<a name="line.47"></a>
-<span class="sourceLineNo">048</span>import java.io.InterruptedIOException;<a name="line.48"></a>
-<span class="sourceLineNo">049</span>import java.util.ArrayList;<a name="line.49"></a>
-<span class="sourceLineNo">050</span>import java.util.Arrays;<a name="line.50"></a>
-<span class="sourceLineNo">051</span>import java.util.HashSet;<a name="line.51"></a>
-<span class="sourceLineNo">052</span>import java.util.List;<a name="line.52"></a>
-<span class="sourceLineNo">053</span>import java.util.Map;<a name="line.53"></a>
-<span class="sourceLineNo">054</span>import java.util.Set;<a name="line.54"></a>
-<span class="sourceLineNo">055</span>import java.util.concurrent.CountDownLatch;<a name="line.55"></a>
-<span class="sourceLineNo">056</span>import java.util.concurrent.Executor;<a name="line.56"></a>
-<span class="sourceLineNo">057</span>import java.util.concurrent.LinkedBlockingQueue;<a name="line.57"></a>
-<span class="sourceLineNo">058</span>import java.util.concurrent.ThreadPoolExecutor;<a name="line.58"></a>
-<span class="sourceLineNo">059</span>import java.util.concurrent.TimeUnit;<a name="line.59"></a>
+<span class="sourceLineNo">021</span>import java.io.IOException;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import java.io.InterruptedIOException;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import java.util.ArrayList;<a name="line.23"></a>
+<span class="sourceLineNo">024</span>import java.util.Arrays;<a name="line.24"></a>
+<span class="sourceLineNo">025</span>import java.util.HashSet;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import java.util.List;<a name="line.26"></a>
+<span class="sourceLineNo">027</span>import java.util.Map;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>import java.util.Set;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import java.util.concurrent.CountDownLatch;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import java.util.concurrent.Executor;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import java.util.concurrent.LinkedBlockingQueue;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import java.util.concurrent.ThreadPoolExecutor;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import java.util.concurrent.TimeUnit;<a name="line.33"></a>
+<span class="sourceLineNo">034</span><a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.hadoop.conf.Configuration;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.Abortable;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.CompareOperator;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.HColumnDescriptor;<a name="line.38"></a>
+<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.HConstants;<a name="line.39"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.HTableDescriptor;<a name="line.40"></a>
+<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.NamespaceDescriptor;<a name="line.41"></a>
+<span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.TableExistsException;<a name="line.42"></a>
+<span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.TableName;<a name="line.43"></a>
+<span class="sourceLineNo">044</span>import org.apache.hadoop.hbase.client.Admin;<a name="line.44"></a>
+<span class="sourceLineNo">045</span>import org.apache.hadoop.hbase.client.Connection;<a name="line.45"></a>
+<span class="sourceLineNo">046</span>import org.apache.hadoop.hbase.client.ConnectionFactory;<a name="line.46"></a>
+<span class="sourceLineNo">047</span>import org.apache.hadoop.hbase.client.Get;<a name="line.47"></a>
+<span class="sourceLineNo">048</span>import org.apache.hadoop.hbase.client.Result;<a name="line.48"></a>
+<span class="sourceLineNo">049</span>import org.apache.hadoop.hbase.client.ResultScanner;<a name="line.49"></a>
+<span class="sourceLineNo">050</span>import org.apache.hadoop.hbase.client.Scan;<a name="line.50"></a>
+<span class="sourceLineNo">051</span>import org.apache.hadoop.hbase.client.Table;<a name="line.51"></a>
+<span class="sourceLineNo">052</span>import org.apache.hadoop.hbase.filter.SingleColumnValueFilter;<a name="line.52"></a>
+<span class="sourceLineNo">053</span>import org.apache.hadoop.hbase.regionserver.BloomType;<a name="line.53"></a>
+<span class="sourceLineNo">054</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.54"></a>
+<span class="sourceLineNo">055</span>import org.apache.hadoop.hbase.util.RetryCounter;<a name="line.55"></a>
+<span class="sourceLineNo">056</span>import org.apache.hadoop.hbase.util.RetryCounterFactory;<a name="line.56"></a>
+<span class="sourceLineNo">057</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.57"></a>
+<span class="sourceLineNo">058</span><a name="line.58"></a>
+<span class="sourceLineNo">059</span>import org.apache.hbase.thirdparty.com.google.common.util.concurrent.ThreadFactoryBuilder;<a name="line.59"></a>
 <span class="sourceLineNo">060</span><a name="line.60"></a>
 <span class="sourceLineNo">061</span>/*<a name="line.61"></a>
 <span class="sourceLineNo">062</span> * Abstract class that provides an interface to the Replication Table. Which is currently<a name="line.62"></a>
@@ -329,12 +329,12 @@
 <span class="sourceLineNo">321</span>   *<a name="line.321"></a>
 <span class="sourceLineNo">322</span>   * @param server name of the server<a name="line.322"></a>
 <span class="sourceLineNo">323</span>   * @return a ResultScanner over the QueueIds belonging to the server<a name="line.323"></a>
-<span class="sourceLineNo">324</span>   * @throws IOException<a name="line.324"></a>
+<span class="sourceLineNo">324</span>   * @throws IOException if getting the table or the scanner fails<a name="line.324"></a>
 <span class="sourceLineNo">325</span>   */<a name="line.325"></a>
 <span class="sourceLineNo">326</span>  protected ResultScanner getQueuesBelongingToServer(String server) throws IOException {<a name="line.326"></a>
 <span class="sourceLineNo">327</span>    Scan scan = new Scan();<a name="line.327"></a>
 <span class="sourceLineNo">328</span>    SingleColumnValueFilter filterMyQueues = new SingleColumnValueFilter(CF_QUEUE, COL_QUEUE_OWNER,<a name="line.328"></a>
-<span class="sourceLineNo">329</span>    CompareOperator.EQUAL, Bytes.toBytes(server));<a name="line.329"></a>
+<span class="sourceLineNo">329</span>            CompareOperator.EQUAL, Bytes.toBytes(server));<a name="line.329"></a>
 <span class="sourceLineNo">330</span>    scan.setFilter(filterMyQueues);<a name="line.330"></a>
 <span class="sourceLineNo">331</span>    scan.addColumn(CF_QUEUE, COL_QUEUE_OWNER);<a name="line.331"></a>
 <span class="sourceLineNo">332</span>    scan.addColumn(CF_QUEUE, COL_QUEUE_OWNER_HISTORY);<a name="line.332"></a>
@@ -349,7 +349,7 @@
 <span class="sourceLineNo">341</span>   * the CreateReplicationWorker thread. It is up to the caller of this method to close the<a name="line.341"></a>
 <span class="sourceLineNo">342</span>   * returned Table<a name="line.342"></a>
 <span class="sourceLineNo">343</span>   * @return the Replication Table when it is created<a name="line.343"></a>
-<span class="sourceLineNo">344</span>   * @throws IOException<a name="line.344"></a>
+<span class="sourceLineNo">344</span>   * @throws IOException if getting the table or the scanner fails<a name="line.344"></a>
 <span class="sourceLineNo">345</span>   */<a name="line.345"></a>
 <span class="sourceLineNo">346</span>  protected Table getOrBlockOnReplicationTable() throws IOException {<a name="line.346"></a>
 <span class="sourceLineNo">347</span>    // Sleep until the Replication Table becomes available<a name="line.347"></a>
@@ -367,7 +367,7 @@
 <span class="sourceLineNo">359</span>   * Creates a new copy of the Replication Table and sets up the proper Table time outs for it<a name="line.359"></a>
 <span class="sourceLineNo">360</span>   *<a name="line.360"></a>
 <span class="sourceLineNo">361</span>   * @return the Replication Table<a name="line.361"></a>
-<span class="sourceLineNo">362</span>   * @throws IOException<a name="line.362"></a>
+<span class="sourceLineNo">362</span>   * @throws IOException if getting the table fails<a name="line.362"></a>
 <span class="sourceLineNo">363</span>   */<a name="line.363"></a>
 <span class="sourceLineNo">364</span>  private Table getAndSetUpReplicationTable() throws IOException {<a name="line.364"></a>
 <span class="sourceLineNo">365</span>    Table replicationTable = connection.getTable(REPLICATION_TABLE_NAME);<a name="line.365"></a>
@@ -421,7 +421,7 @@
 <span class="sourceLineNo">413</span>     * Create the replication table with the provided HColumnDescriptor REPLICATION_COL_DESCRIPTOR<a name="line.413"></a>
 <span class="sourceLineNo">414</span>     * in TableBasedReplicationQueuesImpl<a name="line.414"></a>
 <span class="sourceLineNo">415</span>     *<a name="line.415"></a>
-<span class="sourceLineNo">416</span>     * @throws IOException<a name="line.416"></a>
+<span class="sourceLineNo">416</span>     * @throws IOException if creating the table fails<a name="line.416"></a>
 <span class="sourceLineNo">417</span>     */<a name="line.417"></a>
 <span class="sourceLineNo">418</span>    private void createReplicationTable() throws IOException {<a name="line.418"></a>
 <span class="sourceLineNo">419</span>      HTableDescriptor replicationTableDescriptor = new HTableDescriptor(REPLICATION_TABLE_NAME);<a name="line.419"></a>
@@ -437,17 +437,16 @@
 <span class="sourceLineNo">429</span>     * Checks whether the Replication Table exists yet<a name="line.429"></a>
 <span class="sourceLineNo">430</span>     *<a name="line.430"></a>
 <span class="sourceLineNo">431</span>     * @return whether the Replication Table exists<a name="line.431"></a>
-<span class="sourceLineNo">432</span>     * @throws IOException<a name="line.432"></a>
-<span class="sourceLineNo">433</span>     */<a name="line.433"></a>
-<span class="sourceLineNo">434</span>    private boolean replicationTableExists() {<a name="line.434"></a>
-<span class="sourceLineNo">435</span>      try {<a name="line.435"></a>
-<span class="sourceLineNo">436</span>        return admin.tableExists(REPLICATION_TABLE_NAME);<a name="line.436"></a>
-<span class="sourceLineNo">437</span>      } catch (IOException e) {<a name="line.437"></a>
-<span class="sourceLineNo">438</span>        return false;<a name="line.438"></a>
-<span class="sourceLineNo">439</span>      }<a name="line.439"></a>
-<span class="sourceLineNo">440</span>    }<a name="line.440"></a>
-<span class="sourceLineNo">441</span>  }<a name="line.441"></a>
-<span class="sourceLineNo">442</span>}<a name="line.442"></a>
+<span class="sourceLineNo">432</span>     */<a name="line.432"></a>
+<span class="sourceLineNo">433</span>    private boolean replicationTableExists() {<a name="line.433"></a>
+<span class="sourceLineNo">434</span>      try {<a name="line.434"></a>
+<span class="sourceLineNo">435</span>        return admin.tableExists(REPLICATION_TABLE_NAME);<a name="line.435"></a>
+<span class="sourceLineNo">436</span>      } catch (IOException e) {<a name="line.436"></a>
+<span class="sourceLineNo">437</span>        return false;<a name="line.437"></a>
+<span class="sourceLineNo">438</span>      }<a name="line.438"></a>
+<span class="sourceLineNo">439</span>    }<a name="line.439"></a>
+<span class="sourceLineNo">440</span>  }<a name="line.440"></a>
+<span class="sourceLineNo">441</span>}<a name="line.441"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f54ec79f/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTracker.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTracker.html b/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTracker.html
index cae7b0a..5780e8b 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTracker.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTracker.html
@@ -43,7 +43,7 @@
 <span class="sourceLineNo">035</span><a name="line.35"></a>
 <span class="sourceLineNo">036</span>  /**<a name="line.36"></a>
 <span class="sourceLineNo">037</span>   * Register a replication listener to receive replication events.<a name="line.37"></a>
-<span class="sourceLineNo">038</span>   * @param listener<a name="line.38"></a>
+<span class="sourceLineNo">038</span>   * @param listener the listener to register<a name="line.38"></a>
 <span class="sourceLineNo">039</span>   */<a name="line.39"></a>
 <span class="sourceLineNo">040</span>  public void registerListener(ReplicationListener listener);<a name="line.40"></a>
 <span class="sourceLineNo">041</span><a name="line.41"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f54ec79f/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTrackerZKImpl.OtherRegionServerWatcher.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTrackerZKImpl.OtherRegionServerWatcher.html b/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTrackerZKImpl.OtherRegionServerWatcher.html
index c79cc41..da921c8 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTrackerZKImpl.OtherRegionServerWatcher.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTrackerZKImpl.OtherRegionServerWatcher.html
@@ -30,13 +30,13 @@
 <span class="sourceLineNo">022</span>import java.util.List;<a name="line.22"></a>
 <span class="sourceLineNo">023</span>import java.util.concurrent.CopyOnWriteArrayList;<a name="line.23"></a>
 <span class="sourceLineNo">024</span><a name="line.24"></a>
-<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.zookeeper.ZKListener;<a name="line.25"></a>
-<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.zookeeper.ZKWatcher;<a name="line.26"></a>
-<span class="sourceLineNo">027</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.27"></a>
-<span class="sourceLineNo">028</span>import org.apache.hadoop.conf.Configuration;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.Abortable;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.Stoppable;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.zookeeper.ZKUtil;<a name="line.31"></a>
+<span class="sourceLineNo">025</span>import org.apache.hadoop.conf.Configuration;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.Abortable;<a name="line.26"></a>
+<span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.Stoppable;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.zookeeper.ZKListener;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.zookeeper.ZKUtil;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.zookeeper.ZKWatcher;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.31"></a>
 <span class="sourceLineNo">032</span>import org.apache.zookeeper.KeeperException;<a name="line.32"></a>
 <span class="sourceLineNo">033</span>import org.slf4j.Logger;<a name="line.33"></a>
 <span class="sourceLineNo">034</span>import org.slf4j.LoggerFactory;<a name="line.34"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f54ec79f/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTrackerZKImpl.PeersWatcher.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTrackerZKImpl.PeersWatcher.html b/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTrackerZKImpl.PeersWatcher.html
index c79cc41..da921c8 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTrackerZKImpl.PeersWatcher.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTrackerZKImpl.PeersWatcher.html
@@ -30,13 +30,13 @@
 <span class="sourceLineNo">022</span>import java.util.List;<a name="line.22"></a>
 <span class="sourceLineNo">023</span>import java.util.concurrent.CopyOnWriteArrayList;<a name="line.23"></a>
 <span class="sourceLineNo">024</span><a name="line.24"></a>
-<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.zookeeper.ZKListener;<a name="line.25"></a>
-<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.zookeeper.ZKWatcher;<a name="line.26"></a>
-<span class="sourceLineNo">027</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.27"></a>
-<span class="sourceLineNo">028</span>import org.apache.hadoop.conf.Configuration;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.Abortable;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.Stoppable;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.zookeeper.ZKUtil;<a name="line.31"></a>
+<span class="sourceLineNo">025</span>import org.apache.hadoop.conf.Configuration;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.Abortable;<a name="line.26"></a>
+<span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.Stoppable;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.zookeeper.ZKListener;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.zookeeper.ZKUtil;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.zookeeper.ZKWatcher;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.31"></a>
 <span class="sourceLineNo">032</span>import org.apache.zookeeper.KeeperException;<a name="line.32"></a>
 <span class="sourceLineNo">033</span>import org.slf4j.Logger;<a name="line.33"></a>
 <span class="sourceLineNo">034</span>import org.slf4j.LoggerFactory;<a name="line.34"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f54ec79f/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTrackerZKImpl.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTrackerZKImpl.html b/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTrackerZKImpl.html
index c79cc41..da921c8 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTrackerZKImpl.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationTrackerZKImpl.html
@@ -30,13 +30,13 @@
 <span class="sourceLineNo">022</span>import java.util.List;<a name="line.22"></a>
 <span class="sourceLineNo">023</span>import java.util.concurrent.CopyOnWriteArrayList;<a name="line.23"></a>
 <span class="sourceLineNo">024</span><a name="line.24"></a>
-<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.zookeeper.ZKListener;<a name="line.25"></a>
-<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.zookeeper.ZKWatcher;<a name="line.26"></a>
-<span class="sourceLineNo">027</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.27"></a>
-<span class="sourceLineNo">028</span>import org.apache.hadoop.conf.Configuration;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.Abortable;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.Stoppable;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.zookeeper.ZKUtil;<a name="line.31"></a>
+<span class="sourceLineNo">025</span>import org.apache.hadoop.conf.Configuration;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.Abortable;<a name="line.26"></a>
+<span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.Stoppable;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.zookeeper.ZKListener;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.zookeeper.ZKUtil;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.zookeeper.ZKWatcher;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.31"></a>
 <span class="sourceLineNo">032</span>import org.apache.zookeeper.KeeperException;<a name="line.32"></a>
 <span class="sourceLineNo">033</span>import org.slf4j.Logger;<a name="line.33"></a>
 <span class="sourceLineNo">034</span>import org.slf4j.LoggerFactory;<a name="line.34"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f54ec79f/devapidocs/src-html/org/apache/hadoop/hbase/thrift/HbaseHandlerMetricsProxy.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/thrift/HbaseHandlerMetricsProxy.html b/devapidocs/src-html/org/apache/hadoop/hbase/thrift/HbaseHandlerMetricsProxy.html
index 540b675..c61210b 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/thrift/HbaseHandlerMetricsProxy.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/thrift/HbaseHandlerMetricsProxy.html
@@ -42,7 +42,7 @@
 <span class="sourceLineNo">034</span> * time of each call to ThriftMetrics.<a name="line.34"></a>
 <span class="sourceLineNo">035</span> */<a name="line.35"></a>
 <span class="sourceLineNo">036</span>@InterfaceAudience.Private<a name="line.36"></a>
-<span class="sourceLineNo">037</span>public class HbaseHandlerMetricsProxy implements InvocationHandler {<a name="line.37"></a>
+<span class="sourceLineNo">037</span>public final class HbaseHandlerMetricsProxy implements InvocationHandler {<a name="line.37"></a>
 <span class="sourceLineNo">038</span><a name="line.38"></a>
 <span class="sourceLineNo">039</span>  private static final Logger LOG = LoggerFactory.getLogger(<a name="line.39"></a>
 <span class="sourceLineNo">040</span>      HbaseHandlerMetricsProxy.class);<a name="line.40"></a>


Mime
View raw message