hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [20/37] hbase-site git commit: Published site at .
Date Tue, 17 Oct 2017 15:15:54 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd10ee7c/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/DumpReplicationQueues.WarnOnlyStoppable.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/DumpReplicationQueues.WarnOnlyStoppable.html b/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/DumpReplicationQueues.WarnOnlyStoppable.html
index 9ff27a4..80dadb3 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/DumpReplicationQueues.WarnOnlyStoppable.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/DumpReplicationQueues.WarnOnlyStoppable.html
@@ -44,29 +44,29 @@
 <span class="sourceLineNo">036</span>import org.apache.hadoop.fs.FileSystem;<a name="line.36"></a>
 <span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.Abortable;<a name="line.37"></a>
 <span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.HBaseConfiguration;<a name="line.38"></a>
-<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.Stoppable;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.client.Admin;<a name="line.40"></a>
-<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.client.ClusterConnection;<a name="line.41"></a>
-<span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.client.ConnectionFactory;<a name="line.42"></a>
-<span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.client.HBaseAdmin;<a name="line.43"></a>
-<span class="sourceLineNo">044</span>import org.apache.hadoop.hbase.client.replication.TableCFs;<a name="line.44"></a>
-<span class="sourceLineNo">045</span>import org.apache.hadoop.hbase.io.WALLink;<a name="line.45"></a>
-<span class="sourceLineNo">046</span>import org.apache.hadoop.hbase.procedure2.util.StringUtils;<a name="line.46"></a>
-<span class="sourceLineNo">047</span>import org.apache.hadoop.hbase.replication.ReplicationFactory;<a name="line.47"></a>
-<span class="sourceLineNo">048</span>import org.apache.hadoop.hbase.replication.ReplicationPeerConfig;<a name="line.48"></a>
-<span class="sourceLineNo">049</span>import org.apache.hadoop.hbase.replication.ReplicationPeerDescription;<a name="line.49"></a>
-<span class="sourceLineNo">050</span>import org.apache.hadoop.hbase.replication.ReplicationPeers;<a name="line.50"></a>
-<span class="sourceLineNo">051</span>import org.apache.hadoop.hbase.replication.ReplicationQueueInfo;<a name="line.51"></a>
-<span class="sourceLineNo">052</span>import org.apache.hadoop.hbase.replication.ReplicationQueues;<a name="line.52"></a>
-<span class="sourceLineNo">053</span>import org.apache.hadoop.hbase.replication.ReplicationQueuesClient;<a name="line.53"></a>
-<span class="sourceLineNo">054</span>import org.apache.hadoop.hbase.replication.ReplicationQueuesClientArguments;<a name="line.54"></a>
-<span class="sourceLineNo">055</span>import org.apache.hadoop.hbase.replication.ReplicationTracker;<a name="line.55"></a>
-<span class="sourceLineNo">056</span>import org.apache.hadoop.hbase.zookeeper.ZKUtil;<a name="line.56"></a>
-<span class="sourceLineNo">057</span>import org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher;<a name="line.57"></a>
-<span class="sourceLineNo">058</span>import org.apache.hadoop.util.Tool;<a name="line.58"></a>
-<span class="sourceLineNo">059</span>import org.apache.hadoop.util.ToolRunner;<a name="line.59"></a>
-<span class="sourceLineNo">060</span>import org.apache.zookeeper.KeeperException;<a name="line.60"></a>
-<span class="sourceLineNo">061</span><a name="line.61"></a>
+<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.ServerName;<a name="line.39"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.Stoppable;<a name="line.40"></a>
+<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.client.Admin;<a name="line.41"></a>
+<span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.client.ClusterConnection;<a name="line.42"></a>
+<span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.client.ConnectionFactory;<a name="line.43"></a>
+<span class="sourceLineNo">044</span>import org.apache.hadoop.hbase.client.HBaseAdmin;<a name="line.44"></a>
+<span class="sourceLineNo">045</span>import org.apache.hadoop.hbase.client.replication.TableCFs;<a name="line.45"></a>
+<span class="sourceLineNo">046</span>import org.apache.hadoop.hbase.io.WALLink;<a name="line.46"></a>
+<span class="sourceLineNo">047</span>import org.apache.hadoop.hbase.procedure2.util.StringUtils;<a name="line.47"></a>
+<span class="sourceLineNo">048</span>import org.apache.hadoop.hbase.replication.ReplicationFactory;<a name="line.48"></a>
+<span class="sourceLineNo">049</span>import org.apache.hadoop.hbase.replication.ReplicationPeerConfig;<a name="line.49"></a>
+<span class="sourceLineNo">050</span>import org.apache.hadoop.hbase.replication.ReplicationPeerDescription;<a name="line.50"></a>
+<span class="sourceLineNo">051</span>import org.apache.hadoop.hbase.replication.ReplicationPeers;<a name="line.51"></a>
+<span class="sourceLineNo">052</span>import org.apache.hadoop.hbase.replication.ReplicationQueueInfo;<a name="line.52"></a>
+<span class="sourceLineNo">053</span>import org.apache.hadoop.hbase.replication.ReplicationQueues;<a name="line.53"></a>
+<span class="sourceLineNo">054</span>import org.apache.hadoop.hbase.replication.ReplicationQueuesClient;<a name="line.54"></a>
+<span class="sourceLineNo">055</span>import org.apache.hadoop.hbase.replication.ReplicationQueuesClientArguments;<a name="line.55"></a>
+<span class="sourceLineNo">056</span>import org.apache.hadoop.hbase.replication.ReplicationTracker;<a name="line.56"></a>
+<span class="sourceLineNo">057</span>import org.apache.hadoop.hbase.zookeeper.ZKUtil;<a name="line.57"></a>
+<span class="sourceLineNo">058</span>import org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher;<a name="line.58"></a>
+<span class="sourceLineNo">059</span>import org.apache.hadoop.util.Tool;<a name="line.59"></a>
+<span class="sourceLineNo">060</span>import org.apache.hadoop.util.ToolRunner;<a name="line.60"></a>
+<span class="sourceLineNo">061</span>import org.apache.zookeeper.KeeperException;<a name="line.61"></a>
 <span class="sourceLineNo">062</span>import org.apache.hadoop.hbase.shaded.com.google.common.util.concurrent.AtomicLongMap;<a name="line.62"></a>
 <span class="sourceLineNo">063</span><a name="line.63"></a>
 <span class="sourceLineNo">064</span>/**<a name="line.64"></a>
@@ -364,7 +364,7 @@
 <span class="sourceLineNo">356</span><a name="line.356"></a>
 <span class="sourceLineNo">357</span>    StringBuilder sb = new StringBuilder();<a name="line.357"></a>
 <span class="sourceLineNo">358</span><a name="line.358"></a>
-<span class="sourceLineNo">359</span>    List&lt;String&gt; deadServers ;<a name="line.359"></a>
+<span class="sourceLineNo">359</span>    List&lt;ServerName&gt; deadServers;<a name="line.359"></a>
 <span class="sourceLineNo">360</span><a name="line.360"></a>
 <span class="sourceLineNo">361</span>    sb.append("Dumping replication queue info for RegionServer: [" + regionserver + "]" + "\n");<a name="line.361"></a>
 <span class="sourceLineNo">362</span>    sb.append("    Queue znode: " + queueId + "\n");<a name="line.362"></a>
@@ -393,59 +393,60 @@
 <span class="sourceLineNo">385</span>    }<a name="line.385"></a>
 <span class="sourceLineNo">386</span>    return sb.toString();<a name="line.386"></a>
 <span class="sourceLineNo">387</span>  }<a name="line.387"></a>
-<span class="sourceLineNo">388</span>  /**<a name="line.388"></a>
-<span class="sourceLineNo">389</span>   *  return total size in bytes from a list of WALs<a name="line.389"></a>
-<span class="sourceLineNo">390</span>   */<a name="line.390"></a>
-<span class="sourceLineNo">391</span>  private long getTotalWALSize(FileSystem fs, List&lt;String&gt; wals, String server) throws IOException {<a name="line.391"></a>
-<span class="sourceLineNo">392</span>    int size = 0;<a name="line.392"></a>
-<span class="sourceLineNo">393</span>    FileStatus fileStatus;<a name="line.393"></a>
-<span class="sourceLineNo">394</span><a name="line.394"></a>
-<span class="sourceLineNo">395</span>    for (String wal : wals) {<a name="line.395"></a>
-<span class="sourceLineNo">396</span>      try {<a name="line.396"></a>
-<span class="sourceLineNo">397</span>        fileStatus = (new WALLink(getConf(), server, wal)).getFileStatus(fs);<a name="line.397"></a>
-<span class="sourceLineNo">398</span>      } catch (IOException e) {<a name="line.398"></a>
-<span class="sourceLineNo">399</span>        if (e instanceof FileNotFoundException) {<a name="line.399"></a>
-<span class="sourceLineNo">400</span>          numWalsNotFound++;<a name="line.400"></a>
-<span class="sourceLineNo">401</span>          LOG.warn("WAL " + wal + " couldn't be found, skipping", e);<a name="line.401"></a>
-<span class="sourceLineNo">402</span>        } else {<a name="line.402"></a>
-<span class="sourceLineNo">403</span>          LOG.warn("Can't get file status of WAL " + wal + ", skipping", e);<a name="line.403"></a>
-<span class="sourceLineNo">404</span>        }<a name="line.404"></a>
-<span class="sourceLineNo">405</span>        continue;<a name="line.405"></a>
-<span class="sourceLineNo">406</span>      }<a name="line.406"></a>
-<span class="sourceLineNo">407</span>      size += fileStatus.getLen();<a name="line.407"></a>
-<span class="sourceLineNo">408</span>    }<a name="line.408"></a>
-<span class="sourceLineNo">409</span><a name="line.409"></a>
-<span class="sourceLineNo">410</span>    totalSizeOfWALs += size;<a name="line.410"></a>
-<span class="sourceLineNo">411</span>    return size;<a name="line.411"></a>
-<span class="sourceLineNo">412</span>  }<a name="line.412"></a>
-<span class="sourceLineNo">413</span><a name="line.413"></a>
-<span class="sourceLineNo">414</span>  private static class WarnOnlyAbortable implements Abortable {<a name="line.414"></a>
-<span class="sourceLineNo">415</span>    @Override<a name="line.415"></a>
-<span class="sourceLineNo">416</span>    public void abort(String why, Throwable e) {<a name="line.416"></a>
-<span class="sourceLineNo">417</span>      LOG.warn("DumpReplicationQueue received abort, ignoring.  Reason: " + why);<a name="line.417"></a>
-<span class="sourceLineNo">418</span>      if (LOG.isDebugEnabled()) {<a name="line.418"></a>
-<span class="sourceLineNo">419</span>        LOG.debug(e);<a name="line.419"></a>
-<span class="sourceLineNo">420</span>      }<a name="line.420"></a>
-<span class="sourceLineNo">421</span>    }<a name="line.421"></a>
-<span class="sourceLineNo">422</span><a name="line.422"></a>
-<span class="sourceLineNo">423</span>    @Override<a name="line.423"></a>
-<span class="sourceLineNo">424</span>    public boolean isAborted() {<a name="line.424"></a>
-<span class="sourceLineNo">425</span>      return false;<a name="line.425"></a>
-<span class="sourceLineNo">426</span>    }<a name="line.426"></a>
-<span class="sourceLineNo">427</span>  }<a name="line.427"></a>
-<span class="sourceLineNo">428</span><a name="line.428"></a>
-<span class="sourceLineNo">429</span>  private static class WarnOnlyStoppable implements Stoppable {<a name="line.429"></a>
-<span class="sourceLineNo">430</span>    @Override<a name="line.430"></a>
-<span class="sourceLineNo">431</span>    public void stop(String why) {<a name="line.431"></a>
-<span class="sourceLineNo">432</span>      LOG.warn("DumpReplicationQueue received stop, ignoring.  Reason: " + why);<a name="line.432"></a>
-<span class="sourceLineNo">433</span>    }<a name="line.433"></a>
-<span class="sourceLineNo">434</span><a name="line.434"></a>
-<span class="sourceLineNo">435</span>    @Override<a name="line.435"></a>
-<span class="sourceLineNo">436</span>    public boolean isStopped() {<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">388</span><a name="line.388"></a>
+<span class="sourceLineNo">389</span>  /**<a name="line.389"></a>
+<span class="sourceLineNo">390</span>   *  return total size in bytes from a list of WALs<a name="line.390"></a>
+<span class="sourceLineNo">391</span>   */<a name="line.391"></a>
+<span class="sourceLineNo">392</span>  private long getTotalWALSize(FileSystem fs, List&lt;String&gt; wals, String server) throws IOException {<a name="line.392"></a>
+<span class="sourceLineNo">393</span>    int size = 0;<a name="line.393"></a>
+<span class="sourceLineNo">394</span>    FileStatus fileStatus;<a name="line.394"></a>
+<span class="sourceLineNo">395</span><a name="line.395"></a>
+<span class="sourceLineNo">396</span>    for (String wal : wals) {<a name="line.396"></a>
+<span class="sourceLineNo">397</span>      try {<a name="line.397"></a>
+<span class="sourceLineNo">398</span>        fileStatus = (new WALLink(getConf(), server, wal)).getFileStatus(fs);<a name="line.398"></a>
+<span class="sourceLineNo">399</span>      } catch (IOException e) {<a name="line.399"></a>
+<span class="sourceLineNo">400</span>        if (e instanceof FileNotFoundException) {<a name="line.400"></a>
+<span class="sourceLineNo">401</span>          numWalsNotFound++;<a name="line.401"></a>
+<span class="sourceLineNo">402</span>          LOG.warn("WAL " + wal + " couldn't be found, skipping", e);<a name="line.402"></a>
+<span class="sourceLineNo">403</span>        } else {<a name="line.403"></a>
+<span class="sourceLineNo">404</span>          LOG.warn("Can't get file status of WAL " + wal + ", skipping", e);<a name="line.404"></a>
+<span class="sourceLineNo">405</span>        }<a name="line.405"></a>
+<span class="sourceLineNo">406</span>        continue;<a name="line.406"></a>
+<span class="sourceLineNo">407</span>      }<a name="line.407"></a>
+<span class="sourceLineNo">408</span>      size += fileStatus.getLen();<a name="line.408"></a>
+<span class="sourceLineNo">409</span>    }<a name="line.409"></a>
+<span class="sourceLineNo">410</span><a name="line.410"></a>
+<span class="sourceLineNo">411</span>    totalSizeOfWALs += size;<a name="line.411"></a>
+<span class="sourceLineNo">412</span>    return size;<a name="line.412"></a>
+<span class="sourceLineNo">413</span>  }<a name="line.413"></a>
+<span class="sourceLineNo">414</span><a name="line.414"></a>
+<span class="sourceLineNo">415</span>  private static class WarnOnlyAbortable implements Abortable {<a name="line.415"></a>
+<span class="sourceLineNo">416</span>    @Override<a name="line.416"></a>
+<span class="sourceLineNo">417</span>    public void abort(String why, Throwable e) {<a name="line.417"></a>
+<span class="sourceLineNo">418</span>      LOG.warn("DumpReplicationQueue received abort, ignoring.  Reason: " + why);<a name="line.418"></a>
+<span class="sourceLineNo">419</span>      if (LOG.isDebugEnabled()) {<a name="line.419"></a>
+<span class="sourceLineNo">420</span>        LOG.debug(e);<a name="line.420"></a>
+<span class="sourceLineNo">421</span>      }<a name="line.421"></a>
+<span class="sourceLineNo">422</span>    }<a name="line.422"></a>
+<span class="sourceLineNo">423</span><a name="line.423"></a>
+<span class="sourceLineNo">424</span>    @Override<a name="line.424"></a>
+<span class="sourceLineNo">425</span>    public boolean isAborted() {<a name="line.425"></a>
+<span class="sourceLineNo">426</span>      return false;<a name="line.426"></a>
+<span class="sourceLineNo">427</span>    }<a name="line.427"></a>
+<span class="sourceLineNo">428</span>  }<a name="line.428"></a>
+<span class="sourceLineNo">429</span><a name="line.429"></a>
+<span class="sourceLineNo">430</span>  private static class WarnOnlyStoppable implements Stoppable {<a name="line.430"></a>
+<span class="sourceLineNo">431</span>    @Override<a name="line.431"></a>
+<span class="sourceLineNo">432</span>    public void stop(String why) {<a name="line.432"></a>
+<span class="sourceLineNo">433</span>      LOG.warn("DumpReplicationQueue received stop, ignoring.  Reason: " + why);<a name="line.433"></a>
+<span class="sourceLineNo">434</span>    }<a name="line.434"></a>
+<span class="sourceLineNo">435</span><a name="line.435"></a>
+<span class="sourceLineNo">436</span>    @Override<a name="line.436"></a>
+<span class="sourceLineNo">437</span>    public boolean isStopped() {<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>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd10ee7c/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/DumpReplicationQueues.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/DumpReplicationQueues.html b/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/DumpReplicationQueues.html
index 9ff27a4..80dadb3 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/DumpReplicationQueues.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/DumpReplicationQueues.html
@@ -44,29 +44,29 @@
 <span class="sourceLineNo">036</span>import org.apache.hadoop.fs.FileSystem;<a name="line.36"></a>
 <span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.Abortable;<a name="line.37"></a>
 <span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.HBaseConfiguration;<a name="line.38"></a>
-<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.Stoppable;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.client.Admin;<a name="line.40"></a>
-<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.client.ClusterConnection;<a name="line.41"></a>
-<span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.client.ConnectionFactory;<a name="line.42"></a>
-<span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.client.HBaseAdmin;<a name="line.43"></a>
-<span class="sourceLineNo">044</span>import org.apache.hadoop.hbase.client.replication.TableCFs;<a name="line.44"></a>
-<span class="sourceLineNo">045</span>import org.apache.hadoop.hbase.io.WALLink;<a name="line.45"></a>
-<span class="sourceLineNo">046</span>import org.apache.hadoop.hbase.procedure2.util.StringUtils;<a name="line.46"></a>
-<span class="sourceLineNo">047</span>import org.apache.hadoop.hbase.replication.ReplicationFactory;<a name="line.47"></a>
-<span class="sourceLineNo">048</span>import org.apache.hadoop.hbase.replication.ReplicationPeerConfig;<a name="line.48"></a>
-<span class="sourceLineNo">049</span>import org.apache.hadoop.hbase.replication.ReplicationPeerDescription;<a name="line.49"></a>
-<span class="sourceLineNo">050</span>import org.apache.hadoop.hbase.replication.ReplicationPeers;<a name="line.50"></a>
-<span class="sourceLineNo">051</span>import org.apache.hadoop.hbase.replication.ReplicationQueueInfo;<a name="line.51"></a>
-<span class="sourceLineNo">052</span>import org.apache.hadoop.hbase.replication.ReplicationQueues;<a name="line.52"></a>
-<span class="sourceLineNo">053</span>import org.apache.hadoop.hbase.replication.ReplicationQueuesClient;<a name="line.53"></a>
-<span class="sourceLineNo">054</span>import org.apache.hadoop.hbase.replication.ReplicationQueuesClientArguments;<a name="line.54"></a>
-<span class="sourceLineNo">055</span>import org.apache.hadoop.hbase.replication.ReplicationTracker;<a name="line.55"></a>
-<span class="sourceLineNo">056</span>import org.apache.hadoop.hbase.zookeeper.ZKUtil;<a name="line.56"></a>
-<span class="sourceLineNo">057</span>import org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher;<a name="line.57"></a>
-<span class="sourceLineNo">058</span>import org.apache.hadoop.util.Tool;<a name="line.58"></a>
-<span class="sourceLineNo">059</span>import org.apache.hadoop.util.ToolRunner;<a name="line.59"></a>
-<span class="sourceLineNo">060</span>import org.apache.zookeeper.KeeperException;<a name="line.60"></a>
-<span class="sourceLineNo">061</span><a name="line.61"></a>
+<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.ServerName;<a name="line.39"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.Stoppable;<a name="line.40"></a>
+<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.client.Admin;<a name="line.41"></a>
+<span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.client.ClusterConnection;<a name="line.42"></a>
+<span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.client.ConnectionFactory;<a name="line.43"></a>
+<span class="sourceLineNo">044</span>import org.apache.hadoop.hbase.client.HBaseAdmin;<a name="line.44"></a>
+<span class="sourceLineNo">045</span>import org.apache.hadoop.hbase.client.replication.TableCFs;<a name="line.45"></a>
+<span class="sourceLineNo">046</span>import org.apache.hadoop.hbase.io.WALLink;<a name="line.46"></a>
+<span class="sourceLineNo">047</span>import org.apache.hadoop.hbase.procedure2.util.StringUtils;<a name="line.47"></a>
+<span class="sourceLineNo">048</span>import org.apache.hadoop.hbase.replication.ReplicationFactory;<a name="line.48"></a>
+<span class="sourceLineNo">049</span>import org.apache.hadoop.hbase.replication.ReplicationPeerConfig;<a name="line.49"></a>
+<span class="sourceLineNo">050</span>import org.apache.hadoop.hbase.replication.ReplicationPeerDescription;<a name="line.50"></a>
+<span class="sourceLineNo">051</span>import org.apache.hadoop.hbase.replication.ReplicationPeers;<a name="line.51"></a>
+<span class="sourceLineNo">052</span>import org.apache.hadoop.hbase.replication.ReplicationQueueInfo;<a name="line.52"></a>
+<span class="sourceLineNo">053</span>import org.apache.hadoop.hbase.replication.ReplicationQueues;<a name="line.53"></a>
+<span class="sourceLineNo">054</span>import org.apache.hadoop.hbase.replication.ReplicationQueuesClient;<a name="line.54"></a>
+<span class="sourceLineNo">055</span>import org.apache.hadoop.hbase.replication.ReplicationQueuesClientArguments;<a name="line.55"></a>
+<span class="sourceLineNo">056</span>import org.apache.hadoop.hbase.replication.ReplicationTracker;<a name="line.56"></a>
+<span class="sourceLineNo">057</span>import org.apache.hadoop.hbase.zookeeper.ZKUtil;<a name="line.57"></a>
+<span class="sourceLineNo">058</span>import org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher;<a name="line.58"></a>
+<span class="sourceLineNo">059</span>import org.apache.hadoop.util.Tool;<a name="line.59"></a>
+<span class="sourceLineNo">060</span>import org.apache.hadoop.util.ToolRunner;<a name="line.60"></a>
+<span class="sourceLineNo">061</span>import org.apache.zookeeper.KeeperException;<a name="line.61"></a>
 <span class="sourceLineNo">062</span>import org.apache.hadoop.hbase.shaded.com.google.common.util.concurrent.AtomicLongMap;<a name="line.62"></a>
 <span class="sourceLineNo">063</span><a name="line.63"></a>
 <span class="sourceLineNo">064</span>/**<a name="line.64"></a>
@@ -364,7 +364,7 @@
 <span class="sourceLineNo">356</span><a name="line.356"></a>
 <span class="sourceLineNo">357</span>    StringBuilder sb = new StringBuilder();<a name="line.357"></a>
 <span class="sourceLineNo">358</span><a name="line.358"></a>
-<span class="sourceLineNo">359</span>    List&lt;String&gt; deadServers ;<a name="line.359"></a>
+<span class="sourceLineNo">359</span>    List&lt;ServerName&gt; deadServers;<a name="line.359"></a>
 <span class="sourceLineNo">360</span><a name="line.360"></a>
 <span class="sourceLineNo">361</span>    sb.append("Dumping replication queue info for RegionServer: [" + regionserver + "]" + "\n");<a name="line.361"></a>
 <span class="sourceLineNo">362</span>    sb.append("    Queue znode: " + queueId + "\n");<a name="line.362"></a>
@@ -393,59 +393,60 @@
 <span class="sourceLineNo">385</span>    }<a name="line.385"></a>
 <span class="sourceLineNo">386</span>    return sb.toString();<a name="line.386"></a>
 <span class="sourceLineNo">387</span>  }<a name="line.387"></a>
-<span class="sourceLineNo">388</span>  /**<a name="line.388"></a>
-<span class="sourceLineNo">389</span>   *  return total size in bytes from a list of WALs<a name="line.389"></a>
-<span class="sourceLineNo">390</span>   */<a name="line.390"></a>
-<span class="sourceLineNo">391</span>  private long getTotalWALSize(FileSystem fs, List&lt;String&gt; wals, String server) throws IOException {<a name="line.391"></a>
-<span class="sourceLineNo">392</span>    int size = 0;<a name="line.392"></a>
-<span class="sourceLineNo">393</span>    FileStatus fileStatus;<a name="line.393"></a>
-<span class="sourceLineNo">394</span><a name="line.394"></a>
-<span class="sourceLineNo">395</span>    for (String wal : wals) {<a name="line.395"></a>
-<span class="sourceLineNo">396</span>      try {<a name="line.396"></a>
-<span class="sourceLineNo">397</span>        fileStatus = (new WALLink(getConf(), server, wal)).getFileStatus(fs);<a name="line.397"></a>
-<span class="sourceLineNo">398</span>      } catch (IOException e) {<a name="line.398"></a>
-<span class="sourceLineNo">399</span>        if (e instanceof FileNotFoundException) {<a name="line.399"></a>
-<span class="sourceLineNo">400</span>          numWalsNotFound++;<a name="line.400"></a>
-<span class="sourceLineNo">401</span>          LOG.warn("WAL " + wal + " couldn't be found, skipping", e);<a name="line.401"></a>
-<span class="sourceLineNo">402</span>        } else {<a name="line.402"></a>
-<span class="sourceLineNo">403</span>          LOG.warn("Can't get file status of WAL " + wal + ", skipping", e);<a name="line.403"></a>
-<span class="sourceLineNo">404</span>        }<a name="line.404"></a>
-<span class="sourceLineNo">405</span>        continue;<a name="line.405"></a>
-<span class="sourceLineNo">406</span>      }<a name="line.406"></a>
-<span class="sourceLineNo">407</span>      size += fileStatus.getLen();<a name="line.407"></a>
-<span class="sourceLineNo">408</span>    }<a name="line.408"></a>
-<span class="sourceLineNo">409</span><a name="line.409"></a>
-<span class="sourceLineNo">410</span>    totalSizeOfWALs += size;<a name="line.410"></a>
-<span class="sourceLineNo">411</span>    return size;<a name="line.411"></a>
-<span class="sourceLineNo">412</span>  }<a name="line.412"></a>
-<span class="sourceLineNo">413</span><a name="line.413"></a>
-<span class="sourceLineNo">414</span>  private static class WarnOnlyAbortable implements Abortable {<a name="line.414"></a>
-<span class="sourceLineNo">415</span>    @Override<a name="line.415"></a>
-<span class="sourceLineNo">416</span>    public void abort(String why, Throwable e) {<a name="line.416"></a>
-<span class="sourceLineNo">417</span>      LOG.warn("DumpReplicationQueue received abort, ignoring.  Reason: " + why);<a name="line.417"></a>
-<span class="sourceLineNo">418</span>      if (LOG.isDebugEnabled()) {<a name="line.418"></a>
-<span class="sourceLineNo">419</span>        LOG.debug(e);<a name="line.419"></a>
-<span class="sourceLineNo">420</span>      }<a name="line.420"></a>
-<span class="sourceLineNo">421</span>    }<a name="line.421"></a>
-<span class="sourceLineNo">422</span><a name="line.422"></a>
-<span class="sourceLineNo">423</span>    @Override<a name="line.423"></a>
-<span class="sourceLineNo">424</span>    public boolean isAborted() {<a name="line.424"></a>
-<span class="sourceLineNo">425</span>      return false;<a name="line.425"></a>
-<span class="sourceLineNo">426</span>    }<a name="line.426"></a>
-<span class="sourceLineNo">427</span>  }<a name="line.427"></a>
-<span class="sourceLineNo">428</span><a name="line.428"></a>
-<span class="sourceLineNo">429</span>  private static class WarnOnlyStoppable implements Stoppable {<a name="line.429"></a>
-<span class="sourceLineNo">430</span>    @Override<a name="line.430"></a>
-<span class="sourceLineNo">431</span>    public void stop(String why) {<a name="line.431"></a>
-<span class="sourceLineNo">432</span>      LOG.warn("DumpReplicationQueue received stop, ignoring.  Reason: " + why);<a name="line.432"></a>
-<span class="sourceLineNo">433</span>    }<a name="line.433"></a>
-<span class="sourceLineNo">434</span><a name="line.434"></a>
-<span class="sourceLineNo">435</span>    @Override<a name="line.435"></a>
-<span class="sourceLineNo">436</span>    public boolean isStopped() {<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">388</span><a name="line.388"></a>
+<span class="sourceLineNo">389</span>  /**<a name="line.389"></a>
+<span class="sourceLineNo">390</span>   *  return total size in bytes from a list of WALs<a name="line.390"></a>
+<span class="sourceLineNo">391</span>   */<a name="line.391"></a>
+<span class="sourceLineNo">392</span>  private long getTotalWALSize(FileSystem fs, List&lt;String&gt; wals, String server) throws IOException {<a name="line.392"></a>
+<span class="sourceLineNo">393</span>    int size = 0;<a name="line.393"></a>
+<span class="sourceLineNo">394</span>    FileStatus fileStatus;<a name="line.394"></a>
+<span class="sourceLineNo">395</span><a name="line.395"></a>
+<span class="sourceLineNo">396</span>    for (String wal : wals) {<a name="line.396"></a>
+<span class="sourceLineNo">397</span>      try {<a name="line.397"></a>
+<span class="sourceLineNo">398</span>        fileStatus = (new WALLink(getConf(), server, wal)).getFileStatus(fs);<a name="line.398"></a>
+<span class="sourceLineNo">399</span>      } catch (IOException e) {<a name="line.399"></a>
+<span class="sourceLineNo">400</span>        if (e instanceof FileNotFoundException) {<a name="line.400"></a>
+<span class="sourceLineNo">401</span>          numWalsNotFound++;<a name="line.401"></a>
+<span class="sourceLineNo">402</span>          LOG.warn("WAL " + wal + " couldn't be found, skipping", e);<a name="line.402"></a>
+<span class="sourceLineNo">403</span>        } else {<a name="line.403"></a>
+<span class="sourceLineNo">404</span>          LOG.warn("Can't get file status of WAL " + wal + ", skipping", e);<a name="line.404"></a>
+<span class="sourceLineNo">405</span>        }<a name="line.405"></a>
+<span class="sourceLineNo">406</span>        continue;<a name="line.406"></a>
+<span class="sourceLineNo">407</span>      }<a name="line.407"></a>
+<span class="sourceLineNo">408</span>      size += fileStatus.getLen();<a name="line.408"></a>
+<span class="sourceLineNo">409</span>    }<a name="line.409"></a>
+<span class="sourceLineNo">410</span><a name="line.410"></a>
+<span class="sourceLineNo">411</span>    totalSizeOfWALs += size;<a name="line.411"></a>
+<span class="sourceLineNo">412</span>    return size;<a name="line.412"></a>
+<span class="sourceLineNo">413</span>  }<a name="line.413"></a>
+<span class="sourceLineNo">414</span><a name="line.414"></a>
+<span class="sourceLineNo">415</span>  private static class WarnOnlyAbortable implements Abortable {<a name="line.415"></a>
+<span class="sourceLineNo">416</span>    @Override<a name="line.416"></a>
+<span class="sourceLineNo">417</span>    public void abort(String why, Throwable e) {<a name="line.417"></a>
+<span class="sourceLineNo">418</span>      LOG.warn("DumpReplicationQueue received abort, ignoring.  Reason: " + why);<a name="line.418"></a>
+<span class="sourceLineNo">419</span>      if (LOG.isDebugEnabled()) {<a name="line.419"></a>
+<span class="sourceLineNo">420</span>        LOG.debug(e);<a name="line.420"></a>
+<span class="sourceLineNo">421</span>      }<a name="line.421"></a>
+<span class="sourceLineNo">422</span>    }<a name="line.422"></a>
+<span class="sourceLineNo">423</span><a name="line.423"></a>
+<span class="sourceLineNo">424</span>    @Override<a name="line.424"></a>
+<span class="sourceLineNo">425</span>    public boolean isAborted() {<a name="line.425"></a>
+<span class="sourceLineNo">426</span>      return false;<a name="line.426"></a>
+<span class="sourceLineNo">427</span>    }<a name="line.427"></a>
+<span class="sourceLineNo">428</span>  }<a name="line.428"></a>
+<span class="sourceLineNo">429</span><a name="line.429"></a>
+<span class="sourceLineNo">430</span>  private static class WarnOnlyStoppable implements Stoppable {<a name="line.430"></a>
+<span class="sourceLineNo">431</span>    @Override<a name="line.431"></a>
+<span class="sourceLineNo">432</span>    public void stop(String why) {<a name="line.432"></a>
+<span class="sourceLineNo">433</span>      LOG.warn("DumpReplicationQueue received stop, ignoring.  Reason: " + why);<a name="line.433"></a>
+<span class="sourceLineNo">434</span>    }<a name="line.434"></a>
+<span class="sourceLineNo">435</span><a name="line.435"></a>
+<span class="sourceLineNo">436</span>    @Override<a name="line.436"></a>
+<span class="sourceLineNo">437</span>    public boolean isStopped() {<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>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd10ee7c/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/RecoveredReplicationSource.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/RecoveredReplicationSource.html b/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/RecoveredReplicationSource.html
index 09f573e..45d7578 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/RecoveredReplicationSource.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/replication/regionserver/RecoveredReplicationSource.html
@@ -37,167 +37,174 @@
 <span class="sourceLineNo">029</span>import org.apache.hadoop.fs.FileStatus;<a name="line.29"></a>
 <span class="sourceLineNo">030</span>import org.apache.hadoop.fs.FileSystem;<a name="line.30"></a>
 <span class="sourceLineNo">031</span>import org.apache.hadoop.fs.Path;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.Stoppable;<a name="line.32"></a>
-<span class="sourceLineNo">033</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.replication.ReplicationEndpoint;<a name="line.34"></a>
-<span class="sourceLineNo">035</span>import org.apache.hadoop.hbase.replication.ReplicationPeers;<a name="line.35"></a>
-<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.replication.ReplicationQueues;<a name="line.36"></a>
-<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.util.FSUtils;<a name="line.37"></a>
-<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.util.Threads;<a name="line.38"></a>
-<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.wal.AbstractFSWALProvider;<a name="line.39"></a>
-<span class="sourceLineNo">040</span><a name="line.40"></a>
-<span class="sourceLineNo">041</span>/**<a name="line.41"></a>
-<span class="sourceLineNo">042</span> * Class that handles the recovered source of a replication stream, which is transfered from<a name="line.42"></a>
-<span class="sourceLineNo">043</span> * another dead region server. This will be closed when all logs are pushed to peer cluster.<a name="line.43"></a>
-<span class="sourceLineNo">044</span> */<a name="line.44"></a>
-<span class="sourceLineNo">045</span>@InterfaceAudience.Private<a name="line.45"></a>
-<span class="sourceLineNo">046</span>public class RecoveredReplicationSource extends ReplicationSource {<a name="line.46"></a>
-<span class="sourceLineNo">047</span><a name="line.47"></a>
-<span class="sourceLineNo">048</span>  private static final Log LOG = LogFactory.getLog(RecoveredReplicationSource.class);<a name="line.48"></a>
-<span class="sourceLineNo">049</span><a name="line.49"></a>
-<span class="sourceLineNo">050</span>  private String actualPeerId;<a name="line.50"></a>
-<span class="sourceLineNo">051</span><a name="line.51"></a>
-<span class="sourceLineNo">052</span>  @Override<a name="line.52"></a>
-<span class="sourceLineNo">053</span>  public void init(Configuration conf, FileSystem fs, ReplicationSourceManager manager,<a name="line.53"></a>
-<span class="sourceLineNo">054</span>      ReplicationQueues replicationQueues, ReplicationPeers replicationPeers, Stoppable stopper,<a name="line.54"></a>
-<span class="sourceLineNo">055</span>      String peerClusterZnode, UUID clusterId, ReplicationEndpoint replicationEndpoint,<a name="line.55"></a>
-<span class="sourceLineNo">056</span>      WALFileLengthProvider walFileLengthProvider, MetricsSource metrics) throws IOException {<a name="line.56"></a>
-<span class="sourceLineNo">057</span>    super.init(conf, fs, manager, replicationQueues, replicationPeers, stopper, peerClusterZnode,<a name="line.57"></a>
-<span class="sourceLineNo">058</span>      clusterId, replicationEndpoint, walFileLengthProvider, metrics);<a name="line.58"></a>
-<span class="sourceLineNo">059</span>    this.actualPeerId = this.replicationQueueInfo.getPeerId();<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>  @Override<a name="line.62"></a>
-<span class="sourceLineNo">063</span>  protected void tryStartNewShipper(String walGroupId, PriorityBlockingQueue&lt;Path&gt; queue) {<a name="line.63"></a>
-<span class="sourceLineNo">064</span>    final RecoveredReplicationSourceShipper worker =<a name="line.64"></a>
-<span class="sourceLineNo">065</span>        new RecoveredReplicationSourceShipper(conf, walGroupId, queue, this,<a name="line.65"></a>
-<span class="sourceLineNo">066</span>            this.replicationQueues);<a name="line.66"></a>
-<span class="sourceLineNo">067</span>    ReplicationSourceShipper extant = workerThreads.putIfAbsent(walGroupId, worker);<a name="line.67"></a>
-<span class="sourceLineNo">068</span>    if (extant != null) {<a name="line.68"></a>
-<span class="sourceLineNo">069</span>      LOG.debug("Someone has beat us to start a worker thread for wal group " + walGroupId);<a name="line.69"></a>
-<span class="sourceLineNo">070</span>    } else {<a name="line.70"></a>
-<span class="sourceLineNo">071</span>      LOG.debug("Starting up worker for wal group " + walGroupId);<a name="line.71"></a>
-<span class="sourceLineNo">072</span>      worker.startup(getUncaughtExceptionHandler());<a name="line.72"></a>
-<span class="sourceLineNo">073</span>      worker.setWALReader(<a name="line.73"></a>
-<span class="sourceLineNo">074</span>        startNewWALReader(worker.getName(), walGroupId, queue, worker.getStartPosition()));<a name="line.74"></a>
-<span class="sourceLineNo">075</span>      workerThreads.put(walGroupId, worker);<a name="line.75"></a>
-<span class="sourceLineNo">076</span>    }<a name="line.76"></a>
-<span class="sourceLineNo">077</span>  }<a name="line.77"></a>
-<span class="sourceLineNo">078</span><a name="line.78"></a>
-<span class="sourceLineNo">079</span>  @Override<a name="line.79"></a>
-<span class="sourceLineNo">080</span>  protected ReplicationSourceWALReader startNewWALReader(String threadName,<a name="line.80"></a>
-<span class="sourceLineNo">081</span>      String walGroupId, PriorityBlockingQueue&lt;Path&gt; queue, long startPosition) {<a name="line.81"></a>
-<span class="sourceLineNo">082</span>    ReplicationSourceWALReader walReader = new RecoveredReplicationSourceWALReader(fs,<a name="line.82"></a>
-<span class="sourceLineNo">083</span>        conf, queue, startPosition, walEntryFilter, this);<a name="line.83"></a>
-<span class="sourceLineNo">084</span>    Threads.setDaemonThreadRunning(walReader, threadName<a name="line.84"></a>
-<span class="sourceLineNo">085</span>        + ".replicationSource.replicationWALReaderThread." + walGroupId + "," + peerClusterZnode,<a name="line.85"></a>
-<span class="sourceLineNo">086</span>      getUncaughtExceptionHandler());<a name="line.86"></a>
-<span class="sourceLineNo">087</span>    return walReader;<a name="line.87"></a>
-<span class="sourceLineNo">088</span>  }<a name="line.88"></a>
-<span class="sourceLineNo">089</span><a name="line.89"></a>
-<span class="sourceLineNo">090</span>  public void locateRecoveredPaths(PriorityBlockingQueue&lt;Path&gt; queue) throws IOException {<a name="line.90"></a>
-<span class="sourceLineNo">091</span>    boolean hasPathChanged = false;<a name="line.91"></a>
-<span class="sourceLineNo">092</span>    PriorityBlockingQueue&lt;Path&gt; newPaths =<a name="line.92"></a>
-<span class="sourceLineNo">093</span>        new PriorityBlockingQueue&lt;Path&gt;(queueSizePerGroup, new LogsComparator());<a name="line.93"></a>
-<span class="sourceLineNo">094</span>    pathsLoop: for (Path path : queue) {<a name="line.94"></a>
-<span class="sourceLineNo">095</span>      if (fs.exists(path)) { // still in same location, don't need to do anything<a name="line.95"></a>
-<span class="sourceLineNo">096</span>        newPaths.add(path);<a name="line.96"></a>
-<span class="sourceLineNo">097</span>        continue;<a name="line.97"></a>
-<span class="sourceLineNo">098</span>      }<a name="line.98"></a>
-<span class="sourceLineNo">099</span>      // Path changed - try to find the right path.<a name="line.99"></a>
-<span class="sourceLineNo">100</span>      hasPathChanged = true;<a name="line.100"></a>
-<span class="sourceLineNo">101</span>      if (stopper instanceof ReplicationSyncUp.DummyServer) {<a name="line.101"></a>
-<span class="sourceLineNo">102</span>        // In the case of disaster/recovery, HMaster may be shutdown/crashed before flush data<a name="line.102"></a>
-<span class="sourceLineNo">103</span>        // from .logs to .oldlogs. Loop into .logs folders and check whether a match exists<a name="line.103"></a>
-<span class="sourceLineNo">104</span>        Path newPath = getReplSyncUpPath(path);<a name="line.104"></a>
-<span class="sourceLineNo">105</span>        newPaths.add(newPath);<a name="line.105"></a>
-<span class="sourceLineNo">106</span>        continue;<a name="line.106"></a>
-<span class="sourceLineNo">107</span>      } else {<a name="line.107"></a>
-<span class="sourceLineNo">108</span>        // See if Path exists in the dead RS folder (there could be a chain of failures<a name="line.108"></a>
-<span class="sourceLineNo">109</span>        // to look at)<a name="line.109"></a>
-<span class="sourceLineNo">110</span>        List&lt;String&gt; deadRegionServers = this.replicationQueueInfo.getDeadRegionServers();<a name="line.110"></a>
-<span class="sourceLineNo">111</span>        LOG.info("NB dead servers : " + deadRegionServers.size());<a name="line.111"></a>
-<span class="sourceLineNo">112</span>        final Path walDir = FSUtils.getWALRootDir(conf);<a name="line.112"></a>
-<span class="sourceLineNo">113</span>        for (String curDeadServerName : deadRegionServers) {<a name="line.113"></a>
-<span class="sourceLineNo">114</span>          final Path deadRsDirectory =<a name="line.114"></a>
-<span class="sourceLineNo">115</span>              new Path(walDir, AbstractFSWALProvider.getWALDirectoryName(curDeadServerName));<a name="line.115"></a>
-<span class="sourceLineNo">116</span>          Path[] locs = new Path[] { new Path(deadRsDirectory, path.getName()), new Path(<a name="line.116"></a>
-<span class="sourceLineNo">117</span>              deadRsDirectory.suffix(AbstractFSWALProvider.SPLITTING_EXT), path.getName()) };<a name="line.117"></a>
-<span class="sourceLineNo">118</span>          for (Path possibleLogLocation : locs) {<a name="line.118"></a>
-<span class="sourceLineNo">119</span>            LOG.info("Possible location " + possibleLogLocation.toUri().toString());<a name="line.119"></a>
-<span class="sourceLineNo">120</span>            if (manager.getFs().exists(possibleLogLocation)) {<a name="line.120"></a>
-<span class="sourceLineNo">121</span>              // We found the right new location<a name="line.121"></a>
-<span class="sourceLineNo">122</span>              LOG.info("Log " + path + " still exists at " + possibleLogLocation);<a name="line.122"></a>
-<span class="sourceLineNo">123</span>              newPaths.add(possibleLogLocation);<a name="line.123"></a>
-<span class="sourceLineNo">124</span>              continue pathsLoop;<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>        // didn't find a new location<a name="line.128"></a>
-<span class="sourceLineNo">129</span>        LOG.error(<a name="line.129"></a>
-<span class="sourceLineNo">130</span>          String.format("WAL Path %s doesn't exist and couldn't find its new location", path));<a name="line.130"></a>
-<span class="sourceLineNo">131</span>        newPaths.add(path);<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>    if (hasPathChanged) {<a name="line.135"></a>
-<span class="sourceLineNo">136</span>      if (newPaths.size() != queue.size()) { // this shouldn't happen<a name="line.136"></a>
-<span class="sourceLineNo">137</span>        LOG.error("Recovery queue size is incorrect");<a name="line.137"></a>
-<span class="sourceLineNo">138</span>        throw new IOException("Recovery queue size error");<a name="line.138"></a>
-<span class="sourceLineNo">139</span>      }<a name="line.139"></a>
-<span class="sourceLineNo">140</span>      // put the correct locations in the queue<a name="line.140"></a>
-<span class="sourceLineNo">141</span>      // since this is a recovered queue with no new incoming logs,<a name="line.141"></a>
-<span class="sourceLineNo">142</span>      // there shouldn't be any concurrency issues<a name="line.142"></a>
-<span class="sourceLineNo">143</span>      queue.clear();<a name="line.143"></a>
-<span class="sourceLineNo">144</span>      for (Path path : newPaths) {<a name="line.144"></a>
-<span class="sourceLineNo">145</span>        queue.add(path);<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>  }<a name="line.148"></a>
-<span class="sourceLineNo">149</span><a name="line.149"></a>
-<span class="sourceLineNo">150</span>  // N.B. the ReplicationSyncUp tool sets the manager.getWALDir to the root of the wal<a name="line.150"></a>
-<span class="sourceLineNo">151</span>  // area rather than to the wal area for a particular region server.<a name="line.151"></a>
-<span class="sourceLineNo">152</span>  private Path getReplSyncUpPath(Path path) throws IOException {<a name="line.152"></a>
-<span class="sourceLineNo">153</span>    FileStatus[] rss = fs.listStatus(manager.getLogDir());<a name="line.153"></a>
-<span class="sourceLineNo">154</span>    for (FileStatus rs : rss) {<a name="line.154"></a>
-<span class="sourceLineNo">155</span>      Path p = rs.getPath();<a name="line.155"></a>
-<span class="sourceLineNo">156</span>      FileStatus[] logs = fs.listStatus(p);<a name="line.156"></a>
-<span class="sourceLineNo">157</span>      for (FileStatus log : logs) {<a name="line.157"></a>
-<span class="sourceLineNo">158</span>        p = new Path(p, log.getPath().getName());<a name="line.158"></a>
-<span class="sourceLineNo">159</span>        if (p.getName().equals(path.getName())) {<a name="line.159"></a>
-<span class="sourceLineNo">160</span>          LOG.info("Log " + p.getName() + " found at " + p);<a name="line.160"></a>
-<span class="sourceLineNo">161</span>          return p;<a name="line.161"></a>
-<span class="sourceLineNo">162</span>        }<a name="line.162"></a>
-<span class="sourceLineNo">163</span>      }<a name="line.163"></a>
-<span class="sourceLineNo">164</span>    }<a name="line.164"></a>
-<span class="sourceLineNo">165</span>    LOG.error("Didn't find path for: " + path.getName());<a name="line.165"></a>
-<span class="sourceLineNo">166</span>    return path;<a name="line.166"></a>
-<span class="sourceLineNo">167</span>  }<a name="line.167"></a>
-<span class="sourceLineNo">168</span><a name="line.168"></a>
-<span class="sourceLineNo">169</span>  public void tryFinish() {<a name="line.169"></a>
-<span class="sourceLineNo">170</span>    // use synchronize to make sure one last thread will clean the queue<a name="line.170"></a>
-<span class="sourceLineNo">171</span>    synchronized (workerThreads) {<a name="line.171"></a>
-<span class="sourceLineNo">172</span>      Threads.sleep(100);// wait a short while for other worker thread to fully exit<a name="line.172"></a>
-<span class="sourceLineNo">173</span>      boolean allTasksDone = true;<a name="line.173"></a>
-<span class="sourceLineNo">174</span>      for (ReplicationSourceShipper worker : workerThreads.values()) {<a name="line.174"></a>
-<span class="sourceLineNo">175</span>        if (!worker.isFinished()) {<a name="line.175"></a>
-<span class="sourceLineNo">176</span>          allTasksDone = false;<a name="line.176"></a>
-<span class="sourceLineNo">177</span>          break;<a name="line.177"></a>
-<span class="sourceLineNo">178</span>        }<a name="line.178"></a>
-<span class="sourceLineNo">179</span>      }<a name="line.179"></a>
-<span class="sourceLineNo">180</span>      if (allTasksDone) {<a name="line.180"></a>
-<span class="sourceLineNo">181</span>        manager.closeRecoveredQueue(this);<a name="line.181"></a>
-<span class="sourceLineNo">182</span>        LOG.info("Finished recovering queue " + peerClusterZnode + " with the following stats: "<a name="line.182"></a>
-<span class="sourceLineNo">183</span>            + getStats());<a name="line.183"></a>
-<span class="sourceLineNo">184</span>      }<a name="line.184"></a>
-<span class="sourceLineNo">185</span>    }<a name="line.185"></a>
-<span class="sourceLineNo">186</span>  }<a name="line.186"></a>
-<span class="sourceLineNo">187</span><a name="line.187"></a>
-<span class="sourceLineNo">188</span>  @Override<a name="line.188"></a>
-<span class="sourceLineNo">189</span>  public String getPeerId() {<a name="line.189"></a>
-<span class="sourceLineNo">190</span>    return this.actualPeerId;<a name="line.190"></a>
-<span class="sourceLineNo">191</span>  }<a name="line.191"></a>
-<span class="sourceLineNo">192</span>}<a name="line.192"></a>
+<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.Server;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.ServerName;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.hadoop.hbase.replication.ReplicationEndpoint;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.replication.ReplicationPeers;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.replication.ReplicationQueues;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.util.FSUtils;<a name="line.38"></a>
+<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.util.Threads;<a name="line.39"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.wal.AbstractFSWALProvider;<a name="line.40"></a>
+<span class="sourceLineNo">041</span><a name="line.41"></a>
+<span class="sourceLineNo">042</span>/**<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * Class that handles the recovered source of a replication stream, which is transfered from<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * another dead region server. This will be closed when all logs are pushed to peer cluster.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> */<a name="line.45"></a>
+<span class="sourceLineNo">046</span>@InterfaceAudience.Private<a name="line.46"></a>
+<span class="sourceLineNo">047</span>public class RecoveredReplicationSource extends ReplicationSource {<a name="line.47"></a>
+<span class="sourceLineNo">048</span><a name="line.48"></a>
+<span class="sourceLineNo">049</span>  private static final Log LOG = LogFactory.getLog(RecoveredReplicationSource.class);<a name="line.49"></a>
+<span class="sourceLineNo">050</span><a name="line.50"></a>
+<span class="sourceLineNo">051</span>  private String actualPeerId;<a name="line.51"></a>
+<span class="sourceLineNo">052</span><a name="line.52"></a>
+<span class="sourceLineNo">053</span>  @Override<a name="line.53"></a>
+<span class="sourceLineNo">054</span>  public void init(Configuration conf, FileSystem fs, ReplicationSourceManager manager,<a name="line.54"></a>
+<span class="sourceLineNo">055</span>      ReplicationQueues replicationQueues, ReplicationPeers replicationPeers, Server server,<a name="line.55"></a>
+<span class="sourceLineNo">056</span>      String peerClusterZnode, UUID clusterId, ReplicationEndpoint replicationEndpoint,<a name="line.56"></a>
+<span class="sourceLineNo">057</span>      WALFileLengthProvider walFileLengthProvider, MetricsSource metrics) throws IOException {<a name="line.57"></a>
+<span class="sourceLineNo">058</span>    super.init(conf, fs, manager, replicationQueues, replicationPeers, server, peerClusterZnode,<a name="line.58"></a>
+<span class="sourceLineNo">059</span>      clusterId, replicationEndpoint, walFileLengthProvider, metrics);<a name="line.59"></a>
+<span class="sourceLineNo">060</span>    this.actualPeerId = this.replicationQueueInfo.getPeerId();<a name="line.60"></a>
+<span class="sourceLineNo">061</span>  }<a name="line.61"></a>
+<span class="sourceLineNo">062</span><a name="line.62"></a>
+<span class="sourceLineNo">063</span>  @Override<a name="line.63"></a>
+<span class="sourceLineNo">064</span>  protected void tryStartNewShipper(String walGroupId, PriorityBlockingQueue&lt;Path&gt; queue) {<a name="line.64"></a>
+<span class="sourceLineNo">065</span>    final RecoveredReplicationSourceShipper worker =<a name="line.65"></a>
+<span class="sourceLineNo">066</span>        new RecoveredReplicationSourceShipper(conf, walGroupId, queue, this,<a name="line.66"></a>
+<span class="sourceLineNo">067</span>            this.replicationQueues);<a name="line.67"></a>
+<span class="sourceLineNo">068</span>    ReplicationSourceShipper extant = workerThreads.putIfAbsent(walGroupId, worker);<a name="line.68"></a>
+<span class="sourceLineNo">069</span>    if (extant != null) {<a name="line.69"></a>
+<span class="sourceLineNo">070</span>      LOG.debug("Someone has beat us to start a worker thread for wal group " + walGroupId);<a name="line.70"></a>
+<span class="sourceLineNo">071</span>    } else {<a name="line.71"></a>
+<span class="sourceLineNo">072</span>      LOG.debug("Starting up worker for wal group " + walGroupId);<a name="line.72"></a>
+<span class="sourceLineNo">073</span>      worker.startup(getUncaughtExceptionHandler());<a name="line.73"></a>
+<span class="sourceLineNo">074</span>      worker.setWALReader(<a name="line.74"></a>
+<span class="sourceLineNo">075</span>        startNewWALReader(worker.getName(), walGroupId, queue, worker.getStartPosition()));<a name="line.75"></a>
+<span class="sourceLineNo">076</span>      workerThreads.put(walGroupId, worker);<a name="line.76"></a>
+<span class="sourceLineNo">077</span>    }<a name="line.77"></a>
+<span class="sourceLineNo">078</span>  }<a name="line.78"></a>
+<span class="sourceLineNo">079</span><a name="line.79"></a>
+<span class="sourceLineNo">080</span>  @Override<a name="line.80"></a>
+<span class="sourceLineNo">081</span>  protected ReplicationSourceWALReader startNewWALReader(String threadName,<a name="line.81"></a>
+<span class="sourceLineNo">082</span>      String walGroupId, PriorityBlockingQueue&lt;Path&gt; queue, long startPosition) {<a name="line.82"></a>
+<span class="sourceLineNo">083</span>    ReplicationSourceWALReader walReader = new RecoveredReplicationSourceWALReader(fs,<a name="line.83"></a>
+<span class="sourceLineNo">084</span>        conf, queue, startPosition, walEntryFilter, this);<a name="line.84"></a>
+<span class="sourceLineNo">085</span>    Threads.setDaemonThreadRunning(walReader, threadName<a name="line.85"></a>
+<span class="sourceLineNo">086</span>        + ".replicationSource.replicationWALReaderThread." + walGroupId + "," + peerClusterZnode,<a name="line.86"></a>
+<span class="sourceLineNo">087</span>      getUncaughtExceptionHandler());<a name="line.87"></a>
+<span class="sourceLineNo">088</span>    return walReader;<a name="line.88"></a>
+<span class="sourceLineNo">089</span>  }<a name="line.89"></a>
+<span class="sourceLineNo">090</span><a name="line.90"></a>
+<span class="sourceLineNo">091</span>  public void locateRecoveredPaths(PriorityBlockingQueue&lt;Path&gt; queue) throws IOException {<a name="line.91"></a>
+<span class="sourceLineNo">092</span>    boolean hasPathChanged = false;<a name="line.92"></a>
+<span class="sourceLineNo">093</span>    PriorityBlockingQueue&lt;Path&gt; newPaths =<a name="line.93"></a>
+<span class="sourceLineNo">094</span>        new PriorityBlockingQueue&lt;Path&gt;(queueSizePerGroup, new LogsComparator());<a name="line.94"></a>
+<span class="sourceLineNo">095</span>    pathsLoop: for (Path path : queue) {<a name="line.95"></a>
+<span class="sourceLineNo">096</span>      if (fs.exists(path)) { // still in same location, don't need to do anything<a name="line.96"></a>
+<span class="sourceLineNo">097</span>        newPaths.add(path);<a name="line.97"></a>
+<span class="sourceLineNo">098</span>        continue;<a name="line.98"></a>
+<span class="sourceLineNo">099</span>      }<a name="line.99"></a>
+<span class="sourceLineNo">100</span>      // Path changed - try to find the right path.<a name="line.100"></a>
+<span class="sourceLineNo">101</span>      hasPathChanged = true;<a name="line.101"></a>
+<span class="sourceLineNo">102</span>      if (server instanceof ReplicationSyncUp.DummyServer) {<a name="line.102"></a>
+<span class="sourceLineNo">103</span>        // In the case of disaster/recovery, HMaster may be shutdown/crashed before flush data<a name="line.103"></a>
+<span class="sourceLineNo">104</span>        // from .logs to .oldlogs. Loop into .logs folders and check whether a match exists<a name="line.104"></a>
+<span class="sourceLineNo">105</span>        Path newPath = getReplSyncUpPath(path);<a name="line.105"></a>
+<span class="sourceLineNo">106</span>        newPaths.add(newPath);<a name="line.106"></a>
+<span class="sourceLineNo">107</span>        continue;<a name="line.107"></a>
+<span class="sourceLineNo">108</span>      } else {<a name="line.108"></a>
+<span class="sourceLineNo">109</span>        // See if Path exists in the dead RS folder (there could be a chain of failures<a name="line.109"></a>
+<span class="sourceLineNo">110</span>        // to look at)<a name="line.110"></a>
+<span class="sourceLineNo">111</span>        List&lt;ServerName&gt; deadRegionServers = this.replicationQueueInfo.getDeadRegionServers();<a name="line.111"></a>
+<span class="sourceLineNo">112</span>        LOG.info("NB dead servers : " + deadRegionServers.size());<a name="line.112"></a>
+<span class="sourceLineNo">113</span>        final Path walDir = FSUtils.getWALRootDir(conf);<a name="line.113"></a>
+<span class="sourceLineNo">114</span>        for (ServerName curDeadServerName : deadRegionServers) {<a name="line.114"></a>
+<span class="sourceLineNo">115</span>          final Path deadRsDirectory =<a name="line.115"></a>
+<span class="sourceLineNo">116</span>              new Path(walDir, AbstractFSWALProvider.getWALDirectoryName(curDeadServerName<a name="line.116"></a>
+<span class="sourceLineNo">117</span>                  .getServerName()));<a name="line.117"></a>
+<span class="sourceLineNo">118</span>          Path[] locs = new Path[] { new Path(deadRsDirectory, path.getName()), new Path(<a name="line.118"></a>
+<span class="sourceLineNo">119</span>              deadRsDirectory.suffix(AbstractFSWALProvider.SPLITTING_EXT), path.getName()) };<a name="line.119"></a>
+<span class="sourceLineNo">120</span>          for (Path possibleLogLocation : locs) {<a name="line.120"></a>
+<span class="sourceLineNo">121</span>            LOG.info("Possible location " + possibleLogLocation.toUri().toString());<a name="line.121"></a>
+<span class="sourceLineNo">122</span>            if (manager.getFs().exists(possibleLogLocation)) {<a name="line.122"></a>
+<span class="sourceLineNo">123</span>              // We found the right new location<a name="line.123"></a>
+<span class="sourceLineNo">124</span>              LOG.info("Log " + path + " still exists at " + possibleLogLocation);<a name="line.124"></a>
+<span class="sourceLineNo">125</span>              newPaths.add(possibleLogLocation);<a name="line.125"></a>
+<span class="sourceLineNo">126</span>              continue pathsLoop;<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>        // didn't find a new location<a name="line.130"></a>
+<span class="sourceLineNo">131</span>        LOG.error(<a name="line.131"></a>
+<span class="sourceLineNo">132</span>          String.format("WAL Path %s doesn't exist and couldn't find its new location", path));<a name="line.132"></a>
+<span class="sourceLineNo">133</span>        newPaths.add(path);<a name="line.133"></a>
+<span class="sourceLineNo">134</span>      }<a name="line.134"></a>
+<span class="sourceLineNo">135</span>    }<a name="line.135"></a>
+<span class="sourceLineNo">136</span><a name="line.136"></a>
+<span class="sourceLineNo">137</span>    if (hasPathChanged) {<a name="line.137"></a>
+<span class="sourceLineNo">138</span>      if (newPaths.size() != queue.size()) { // this shouldn't happen<a name="line.138"></a>
+<span class="sourceLineNo">139</span>        LOG.error("Recovery queue size is incorrect");<a name="line.139"></a>
+<span class="sourceLineNo">140</span>        throw new IOException("Recovery queue size error");<a name="line.140"></a>
+<span class="sourceLineNo">141</span>      }<a name="line.141"></a>
+<span class="sourceLineNo">142</span>      // put the correct locations in the queue<a name="line.142"></a>
+<span class="sourceLineNo">143</span>      // since this is a recovered queue with no new incoming logs,<a name="line.143"></a>
+<span class="sourceLineNo">144</span>      // there shouldn't be any concurrency issues<a name="line.144"></a>
+<span class="sourceLineNo">145</span>      queue.clear();<a name="line.145"></a>
+<span class="sourceLineNo">146</span>      for (Path path : newPaths) {<a name="line.146"></a>
+<span class="sourceLineNo">147</span>        queue.add(path);<a name="line.147"></a>
+<span class="sourceLineNo">148</span>      }<a name="line.148"></a>
+<span class="sourceLineNo">149</span>    }<a name="line.149"></a>
+<span class="sourceLineNo">150</span>  }<a name="line.150"></a>
+<span class="sourceLineNo">151</span><a name="line.151"></a>
+<span class="sourceLineNo">152</span>  // N.B. the ReplicationSyncUp tool sets the manager.getWALDir to the root of the wal<a name="line.152"></a>
+<span class="sourceLineNo">153</span>  // area rather than to the wal area for a particular region server.<a name="line.153"></a>
+<span class="sourceLineNo">154</span>  private Path getReplSyncUpPath(Path path) throws IOException {<a name="line.154"></a>
+<span class="sourceLineNo">155</span>    FileStatus[] rss = fs.listStatus(manager.getLogDir());<a name="line.155"></a>
+<span class="sourceLineNo">156</span>    for (FileStatus rs : rss) {<a name="line.156"></a>
+<span class="sourceLineNo">157</span>      Path p = rs.getPath();<a name="line.157"></a>
+<span class="sourceLineNo">158</span>      FileStatus[] logs = fs.listStatus(p);<a name="line.158"></a>
+<span class="sourceLineNo">159</span>      for (FileStatus log : logs) {<a name="line.159"></a>
+<span class="sourceLineNo">160</span>        p = new Path(p, log.getPath().getName());<a name="line.160"></a>
+<span class="sourceLineNo">161</span>        if (p.getName().equals(path.getName())) {<a name="line.161"></a>
+<span class="sourceLineNo">162</span>          LOG.info("Log " + p.getName() + " found at " + p);<a name="line.162"></a>
+<span class="sourceLineNo">163</span>          return p;<a name="line.163"></a>
+<span class="sourceLineNo">164</span>        }<a name="line.164"></a>
+<span class="sourceLineNo">165</span>      }<a name="line.165"></a>
+<span class="sourceLineNo">166</span>    }<a name="line.166"></a>
+<span class="sourceLineNo">167</span>    LOG.error("Didn't find path for: " + path.getName());<a name="line.167"></a>
+<span class="sourceLineNo">168</span>    return path;<a name="line.168"></a>
+<span class="sourceLineNo">169</span>  }<a name="line.169"></a>
+<span class="sourceLineNo">170</span><a name="line.170"></a>
+<span class="sourceLineNo">171</span>  public void tryFinish() {<a name="line.171"></a>
+<span class="sourceLineNo">172</span>    // use synchronize to make sure one last thread will clean the queue<a name="line.172"></a>
+<span class="sourceLineNo">173</span>    synchronized (workerThreads) {<a name="line.173"></a>
+<span class="sourceLineNo">174</span>      Threads.sleep(100);// wait a short while for other worker thread to fully exit<a name="line.174"></a>
+<span class="sourceLineNo">175</span>      boolean allTasksDone = true;<a name="line.175"></a>
+<span class="sourceLineNo">176</span>      for (ReplicationSourceShipper worker : workerThreads.values()) {<a name="line.176"></a>
+<span class="sourceLineNo">177</span>        if (!worker.isFinished()) {<a name="line.177"></a>
+<span class="sourceLineNo">178</span>          allTasksDone = false;<a name="line.178"></a>
+<span class="sourceLineNo">179</span>          break;<a name="line.179"></a>
+<span class="sourceLineNo">180</span>        }<a name="line.180"></a>
+<span class="sourceLineNo">181</span>      }<a name="line.181"></a>
+<span class="sourceLineNo">182</span>      if (allTasksDone) {<a name="line.182"></a>
+<span class="sourceLineNo">183</span>        manager.closeRecoveredQueue(this);<a name="line.183"></a>
+<span class="sourceLineNo">184</span>        LOG.info("Finished recovering queue " + peerClusterZnode + " with the following stats: "<a name="line.184"></a>
+<span class="sourceLineNo">185</span>            + getStats());<a name="line.185"></a>
+<span class="sourceLineNo">186</span>      }<a name="line.186"></a>
+<span class="sourceLineNo">187</span>    }<a name="line.187"></a>
+<span class="sourceLineNo">188</span>  }<a name="line.188"></a>
+<span class="sourceLineNo">189</span><a name="line.189"></a>
+<span class="sourceLineNo">190</span>  @Override<a name="line.190"></a>
+<span class="sourceLineNo">191</span>  public String getPeerId() {<a name="line.191"></a>
+<span class="sourceLineNo">192</span>    return this.actualPeerId;<a name="line.192"></a>
+<span class="sourceLineNo">193</span>  }<a name="line.193"></a>
+<span class="sourceLineNo">194</span><a name="line.194"></a>
+<span class="sourceLineNo">195</span>  @Override<a name="line.195"></a>
+<span class="sourceLineNo">196</span>  public ServerName getServerWALsBelongTo() {<a name="line.196"></a>
+<span class="sourceLineNo">197</span>    return this.replicationQueueInfo.getDeadRegionServers().get(0);<a name="line.197"></a>
+<span class="sourceLineNo">198</span>  }<a name="line.198"></a>
+<span class="sourceLineNo">199</span>}<a name="line.199"></a>
 
 
 


Mime
View raw message