http://git-wip-us.apache.org/repos/asf/hbase-site/blob/55dfd6fe/devapidocs/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html b/devapidocs/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html index 1b44a8a..b0c526a 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html @@ -100,7 +100,7 @@ <hr> <br> <pre><a href="../../../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.Private.html" title="annotation in org.apache.hadoop.hbase.classification">@InterfaceAudience.Private</a> -public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.128">FSHLog</a> +public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.127">FSHLog</a> extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" title="interface in org.apache.hadoop.hbase.wal">WAL</a></pre> <div class="block">Implementation of <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" title="interface in org.apache.hadoop.hbase.wal"><code>WAL</code></a> to go against <code>FileSystem</code>; i.e. keep WALs in HDFS. @@ -468,8 +468,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl </tr> <tr class="altColor"> <td class="colFirst"><code>long</code></td> -<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#append(org.apache.hadoop.hbase.HTableDescriptor,%20org.apache.hadoop.hbase.HRegionInfo,%20org.apache.hadoop.hbase.wal.WALKey,%20org.apache.hadoop.hbase.regionserver.wal.WALEdit,%20boolean)">append</a></strong>(<a href="../../../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a> htd, - <a href="../../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> hri, +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#append(org.apache.hadoop.hbase.HRegionInfo,%20org.apache.hadoop.hbase.wal.WALKey,%20org.apache.hadoop.hbase.regionserver.wal.WALEdit,%20boolean)">append</a></strong>(<a href="../../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> hri, <a href="../../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> key, <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.regionserver.wal">WALEdit</a> edits, boolean inMemstore)</code> @@ -818,7 +817,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>LOG</h4> -<pre>private static final org.apache.commons.logging.Log <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.163">LOG</a></pre> +<pre>private static final org.apache.commons.logging.Log <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.162">LOG</a></pre> </li> </ul> <a name="DEFAULT_SLOW_SYNC_TIME_MS"> @@ -827,7 +826,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_SLOW_SYNC_TIME_MS</h4> -<pre>private static final int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.165">DEFAULT_SLOW_SYNC_TIME_MS</a></pre> +<pre>private static final int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.164">DEFAULT_SLOW_SYNC_TIME_MS</a></pre> <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.regionserver.wal.FSHLog.DEFAULT_SLOW_SYNC_TIME_MS">Constant Field Values</a></dd></dl> </li> </ul> @@ -837,7 +836,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>disruptor</h4> -<pre>private final com.lmax.disruptor.dsl.Disruptor<<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/RingBufferTruck.html" title="class in org.apache.hadoop.hbase.regionserver.wal">RingBufferTruck</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.175">disruptor</a></pre> +<pre>private final com.lmax.disruptor.dsl.Disruptor<<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/RingBufferTruck.html" title="class in org.apache.hadoop.hbase.regionserver.wal">RingBufferTruck</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.174">disruptor</a></pre> <div class="block">The nexus at which all incoming handlers meet. Does appends and sync with an ordering. Appends and syncs are each put on the ring which means handlers need to smash up against the ring twice (can we make it once only? ... maybe not since time to append @@ -852,7 +851,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>appendExecutor</h4> -<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.180">appendExecutor</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.179">appendExecutor</a></pre> <div class="block">An executorservice that runs the disruptor AppendEventHandler append executor.</div> </li> </ul> @@ -862,7 +861,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>ringBufferEventHandler</h4> -<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/FSHLog.RingBufferEventHandler.html" title="class in org.apache.hadoop.hbase.regionserver.wal">FSHLog.RingBufferEventHandler</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.188">ringBufferEventHandler</a></pre> +<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/FSHLog.RingBufferEventHandler.html" title="class in org.apache.hadoop.hbase.regionserver.wal">FSHLog.RingBufferEventHandler</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.187">ringBufferEventHandler</a></pre> <div class="block">This fellow is run by the above appendExecutor service but it is all about batching up appends and syncs; it may shutdown without cleaning out the last few appends or syncs. To guard against this, keep a reference to this handler and do explicit close on way out to make sure @@ -875,7 +874,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>syncFuturesByHandler</h4> -<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Thread.html?is-external=true" title="class or interface in java.lang">Thread</a>,<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/SyncFuture.html" title="class in org.apache.hadoop.hbase.regionserver.wal">SyncFuture</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.196">syncFuturesByHandler</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Thread.html?is-external=true" title="class or interface in java.lang">Thread</a>,<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/SyncFuture.html" title="class in org.apache.hadoop.hbase.regionserver.wal">SyncFuture</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.195">syncFuturesByHandler</a></pre> <div class="block">Map of <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/SyncFuture.html" title="class in org.apache.hadoop.hbase.regionserver.wal"><code>SyncFuture</code></a>s keyed by Handler objects. Used so we reuse SyncFutures. TODO: Reus FSWALEntry's rather than create them anew each time as we do SyncFutures here. TODO: Add a FSWalEntry and SyncFuture as thread locals on handlers rather than have them @@ -888,7 +887,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>highestUnsyncedSequence</h4> -<pre>private volatile long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.202">highestUnsyncedSequence</a></pre> +<pre>private volatile long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.201">highestUnsyncedSequence</a></pre> <div class="block">The highest known outstanding unsync'd WALEdit sequence number where sequence number is the ring buffer sequence. Maintained by the ring buffer consumer.</div> </li> @@ -899,7 +898,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>highestSyncedSequence</h4> -<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.209">highestSyncedSequence</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.208">highestSyncedSequence</a></pre> <div class="block">Updated to the ring buffer sequence of the last successful sync call. This can be less than <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#highestUnsyncedSequence"><code>highestUnsyncedSequence</code></a> for case where we have an append where a sync has not yet come in for it. Maintained by the syncing threads.</div> @@ -911,7 +910,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>fs</h4> -<pre>protected final org.apache.hadoop.fs.FileSystem <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.214">fs</a></pre> +<pre>protected final org.apache.hadoop.fs.FileSystem <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.213">fs</a></pre> <div class="block">file system instance</div> </li> </ul> @@ -921,7 +920,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>fullPathLogDir</h4> -<pre>private final org.apache.hadoop.fs.Path <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.219">fullPathLogDir</a></pre> +<pre>private final org.apache.hadoop.fs.Path <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.218">fullPathLogDir</a></pre> <div class="block">WAL directory, where all WAL files would be placed.</div> </li> </ul> @@ -931,7 +930,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>fullPathArchiveDir</h4> -<pre>private final org.apache.hadoop.fs.Path <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.224">fullPathArchiveDir</a></pre> +<pre>private final org.apache.hadoop.fs.Path <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.223">fullPathArchiveDir</a></pre> <div class="block">dir path where old logs are kept.</div> </li> </ul> @@ -941,7 +940,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>ourFiles</h4> -<pre>private final org.apache.hadoop.fs.PathFilter <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.229">ourFiles</a></pre> +<pre>private final org.apache.hadoop.fs.PathFilter <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.228">ourFiles</a></pre> <div class="block">Matches just those wal files that belong to this wal instance.</div> </li> </ul> @@ -951,7 +950,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>logFilePrefix</h4> -<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.234">logFilePrefix</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.233">logFilePrefix</a></pre> <div class="block">Prefix of a WAL file, usually the region server name it is hosted on.</div> </li> </ul> @@ -961,7 +960,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>logFileSuffix</h4> -<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.239">logFileSuffix</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.238">logFileSuffix</a></pre> <div class="block">Suffix included on generated wal file names</div> </li> </ul> @@ -971,7 +970,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>prefixPathStr</h4> -<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.244">prefixPathStr</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.243">prefixPathStr</a></pre> <div class="block">Prefix used when checking for wal membership.</div> </li> </ul> @@ -981,7 +980,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>coprocessorHost</h4> -<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/WALCoprocessorHost.html" title="class in org.apache.hadoop.hbase.regionserver.wal">WALCoprocessorHost</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.246">coprocessorHost</a></pre> +<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/WALCoprocessorHost.html" title="class in org.apache.hadoop.hbase.regionserver.wal">WALCoprocessorHost</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.245">coprocessorHost</a></pre> </li> </ul> <a name="conf"> @@ -990,7 +989,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>conf</h4> -<pre>protected final org.apache.hadoop.conf.Configuration <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.251">conf</a></pre> +<pre>protected final org.apache.hadoop.conf.Configuration <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.250">conf</a></pre> <div class="block">conf object</div> </li> </ul> @@ -1000,7 +999,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>listeners</h4> -<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/WALActionsListener.html" title="interface in org.apache.hadoop.hbase.regionserver.wal">WALActionsListener</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.254">listeners</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/WALActionsListener.html" title="interface in org.apache.hadoop.hbase.regionserver.wal">WALActionsListener</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.253">listeners</a></pre> <div class="block">Listeners that are called on WAL events.</div> </li> </ul> @@ -1010,7 +1009,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>hdfs_out</h4> -<pre>private org.apache.hadoop.fs.FSDataOutputStream <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.275">hdfs_out</a></pre> +<pre>private org.apache.hadoop.fs.FSDataOutputStream <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.274">hdfs_out</a></pre> <div class="block">FSDataOutputStream associated with the current SequenceFile.writer</div> </li> </ul> @@ -1020,7 +1019,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>minTolerableReplication</h4> -<pre>private final int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.280">minTolerableReplication</a></pre> +<pre>private final int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.279">minTolerableReplication</a></pre> </li> </ul> <a name="slowSyncNs"> @@ -1029,7 +1028,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>slowSyncNs</h4> -<pre>private final int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.282">slowSyncNs</a></pre> +<pre>private final int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.281">slowSyncNs</a></pre> </li> </ul> <a name="consecutiveLogRolls"> @@ -1038,7 +1037,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>consecutiveLogRolls</h4> -<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicInteger.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicInteger</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.288">consecutiveLogRolls</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicInteger.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicInteger</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.287">consecutiveLogRolls</a></pre> </li> </ul> <a name="lowReplicationRollLimit"> @@ -1047,7 +1046,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>lowReplicationRollLimit</h4> -<pre>private final int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.290">lowReplicationRollLimit</a></pre> +<pre>private final int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.289">lowReplicationRollLimit</a></pre> </li> </ul> <a name="lowReplicationRollEnabled"> @@ -1056,7 +1055,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>lowReplicationRollEnabled</h4> -<pre>private volatile boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.295">lowReplicationRollEnabled</a></pre> +<pre>private volatile boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.294">lowReplicationRollEnabled</a></pre> </li> </ul> <a name="sequenceIdAccounting"> @@ -1065,7 +1064,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>sequenceIdAccounting</h4> -<pre>private <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/SequenceIdAccounting.html" title="class in org.apache.hadoop.hbase.regionserver.wal">SequenceIdAccounting</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.302">sequenceIdAccounting</a></pre> +<pre>private <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/SequenceIdAccounting.html" title="class in org.apache.hadoop.hbase.regionserver.wal">SequenceIdAccounting</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.301">sequenceIdAccounting</a></pre> <div class="block">Class that does accounting of sequenceids in WAL subsystem. Holds oldest outstanding sequence id as yet not flushed as well as the most recent edit sequence id appended to the WAL. Has facility for answering questions such as "Is it safe to GC a WAL?".</div> @@ -1077,7 +1076,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>writer</h4> -<pre>volatile <a href="../../../../../../org/apache/hadoop/hbase/wal/WALProvider.Writer.html" title="interface in org.apache.hadoop.hbase.wal">WALProvider.Writer</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.307">writer</a></pre> +<pre>volatile <a href="../../../../../../org/apache/hadoop/hbase/wal/WALProvider.Writer.html" title="interface in org.apache.hadoop.hbase.wal">WALProvider.Writer</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.306">writer</a></pre> <div class="block">Current log file.</div> </li> </ul> @@ -1087,7 +1086,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>closeBarrier</h4> -<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/util/DrainBarrier.html" title="class in org.apache.hadoop.hbase.util">DrainBarrier</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.310">closeBarrier</a></pre> +<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/util/DrainBarrier.html" title="class in org.apache.hadoop.hbase.util">DrainBarrier</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.309">closeBarrier</a></pre> <div class="block">The barrier used to ensure that close() waits for all log rolls and flushes to finish.</div> </li> </ul> @@ -1097,7 +1096,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>rollWriterLock</h4> -<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/locks/ReentrantLock.html?is-external=true" title="class or interface in java.util.concurrent.locks">ReentrantLock</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.319">rollWriterLock</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/locks/ReentrantLock.html?is-external=true" title="class or interface in java.util.concurrent.locks">ReentrantLock</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.318">rollWriterLock</a></pre> <div class="block">This lock makes sure only one log roll runs at a time. Should not be taken while any other lock is held. We don't just use synchronized because that results in bogus and tedious findbugs warning when it thinks synchronized controls writer thread safety. It is held when @@ -1111,7 +1110,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>closed</h4> -<pre>private volatile boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.321">closed</a></pre> +<pre>private volatile boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.320">closed</a></pre> </li> </ul> <a name="shutdown"> @@ -1120,7 +1119,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>shutdown</h4> -<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicBoolean</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.322">shutdown</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicBoolean</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.321">shutdown</a></pre> </li> </ul> <a name="filenum"> @@ -1129,7 +1128,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>filenum</h4> -<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.325">filenum</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.324">filenum</a></pre> </li> </ul> <a name="numEntries"> @@ -1138,7 +1137,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>numEntries</h4> -<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicInteger.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicInteger</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.328">numEntries</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicInteger.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicInteger</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.327">numEntries</a></pre> </li> </ul> <a name="logrollsize"> @@ -1147,7 +1146,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>logrollsize</h4> -<pre>private final long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.331">logrollsize</a></pre> +<pre>private final long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.330">logrollsize</a></pre> </li> </ul> <a name="totalLogSize"> @@ -1156,7 +1155,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>totalLogSize</h4> -<pre>private <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.336">totalLogSize</a></pre> +<pre>private <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.335">totalLogSize</a></pre> <div class="block">The total size of wal</div> </li> </ul> @@ -1166,7 +1165,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>maxLogs</h4> -<pre>private final int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.343">maxLogs</a></pre> +<pre>private final int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.342">maxLogs</a></pre> </li> </ul> <a name="closeErrorsTolerated"> @@ -1175,7 +1174,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>closeErrorsTolerated</h4> -<pre>private final int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.346">closeErrorsTolerated</a></pre> +<pre>private final int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.345">closeErrorsTolerated</a></pre> <div class="block">Number of log close errors tolerated before we abort</div> </li> </ul> @@ -1185,7 +1184,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>closeErrorCount</h4> -<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicInteger.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicInteger</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.348">closeErrorCount</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicInteger.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicInteger</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.347">closeErrorCount</a></pre> </li> </ul> <a name="LOG_NAME_COMPARATOR"> @@ -1194,7 +1193,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>LOG_NAME_COMPARATOR</h4> -<pre>final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a><org.apache.hadoop.fs.Path> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.355">LOG_NAME_COMPARATOR</a></pre> +<pre>final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a><org.apache.hadoop.fs.Path> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.354">LOG_NAME_COMPARATOR</a></pre> <div class="block">WAL Comparator; it compares the timestamp (log filenum), present in the log file name. Throws an IllegalArgumentException if used to compare paths from different wals.</div> </li> @@ -1205,7 +1204,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>byWalRegionSequenceIds</h4> -<pre>private <a href="http://docs.oracle.com/javase/7/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><org.apache.hadoop.fs.Path,<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><byte[],<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.369">byWalRegionSequenceIds</a></pre> +<pre>private <a href="http://docs.oracle.com/javase/7/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><org.apache.hadoop.fs.Path,<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><byte[],<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.368">byWalRegionSequenceIds</a></pre> <div class="block">Map of WAL log file to the latest sequence ids of all regions it has entries of. The map is sorted by the log file creation timestamp (contained in the log file name).</div> </li> @@ -1216,7 +1215,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockListLast"> <li class="blockList"> <h4>FIXED_OVERHEAD</h4> -<pre>public static final long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1540">FIXED_OVERHEAD</a></pre> +<pre>public static final long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1539">FIXED_OVERHEAD</a></pre> </li> </ul> </li> @@ -1233,7 +1232,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>FSHLog</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.405">FSHLog</a>(org.apache.hadoop.fs.FileSystem fs, +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.404">FSHLog</a>(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path root, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> logDir, org.apache.hadoop.conf.Configuration conf) @@ -1250,7 +1249,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockListLast"> <li class="blockList"> <h4>FSHLog</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.434">FSHLog</a>(org.apache.hadoop.fs.FileSystem fs, +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.433">FSHLog</a>(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path rootDir, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> logDir, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> archiveDir, @@ -1290,7 +1289,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>registerWALActionsListener</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.258">registerWALActionsListener</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/WALActionsListener.html" title="interface in org.apache.hadoop.hbase.regionserver.wal">WALActionsListener</a> listener)</pre> +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.257">registerWALActionsListener</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/WALActionsListener.html" title="interface in org.apache.hadoop.hbase.regionserver.wal">WALActionsListener</a> listener)</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html#registerWALActionsListener(org.apache.hadoop.hbase.regionserver.wal.WALActionsListener)">WAL</a></code></strong></div> <div class="block">Registers WALActionsListener</div> <dl> @@ -1305,7 +1304,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>unregisterWALActionsListener</h4> -<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.263">unregisterWALActionsListener</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/WALActionsListener.html" title="interface in org.apache.hadoop.hbase.regionserver.wal">WALActionsListener</a> listener)</pre> +<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.262">unregisterWALActionsListener</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/WALActionsListener.html" title="interface in org.apache.hadoop.hbase.regionserver.wal">WALActionsListener</a> listener)</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html#unregisterWALActionsListener(org.apache.hadoop.hbase.regionserver.wal.WALActionsListener)">WAL</a></code></strong></div> <div class="block">Unregisters WALActionsListener</div> <dl> @@ -1320,7 +1319,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>getCoprocessorHost</h4> -<pre>public <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/WALCoprocessorHost.html" title="class in org.apache.hadoop.hbase.regionserver.wal">WALCoprocessorHost</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.268">getCoprocessorHost</a>()</pre> +<pre>public <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/WALCoprocessorHost.html" title="class in org.apache.hadoop.hbase.regionserver.wal">WALCoprocessorHost</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.267">getCoprocessorHost</a>()</pre> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html#getCoprocessorHost()">getCoprocessorHost</a></code> in interface <code><a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" title="interface in org.apache.hadoop.hbase.wal">WAL</a></code></dd> @@ -1333,7 +1332,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>calculateMaxLogFiles</h4> -<pre>private int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.569">calculateMaxLogFiles</a>(float memstoreSizeRatio, +<pre>private int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.568">calculateMaxLogFiles</a>(float memstoreSizeRatio, long logRollSize)</pre> </li> </ul> @@ -1343,7 +1342,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>getFiles</h4> -<pre>protected org.apache.hadoop.fs.FileStatus[] <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.579">getFiles</a>() +<pre>protected org.apache.hadoop.fs.FileStatus[] <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.578">getFiles</a>() throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Get the backing files associated with this WAL.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>may be null if there are no files.</dd> @@ -1357,7 +1356,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>getOutputStream</h4> -<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.592">getOutputStream</a>()</pre> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.591">getOutputStream</a>()</pre> <div class="block">Currently, we need to expose the writer's OutputStream to tests so that they can manipulate the default behavior (such as setting the maxRecoveryErrorCount value for example (see <code>TestWALReplay.testReplayEditsWrittenIntoWAL()</code>). This is done using reflection on the @@ -1372,7 +1371,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>rollWriter</h4> -<pre>public byte[][] <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.599">rollWriter</a>() +<pre>public byte[][] <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.598">rollWriter</a>() throws <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/FailedLogCloseException.html" title="class in org.apache.hadoop.hbase.regionserver.wal">FailedLogCloseException</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html#rollWriter()">WAL</a></code></strong></div> @@ -1398,7 +1397,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>getNewPath</h4> -<pre>private org.apache.hadoop.fs.Path <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.607">getNewPath</a>() +<pre>private org.apache.hadoop.fs.Path <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.606">getNewPath</a>() throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">retrieve the next path to use for writing. Increments the internal filenum.</div> @@ -1412,7 +1411,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>getOldPath</h4> -<pre>org.apache.hadoop.fs.Path <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.617">getOldPath</a>()</pre> +<pre>org.apache.hadoop.fs.Path <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.616">getOldPath</a>()</pre> </li> </ul> <a name="tellListenersAboutPreLogRoll(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)"> @@ -1421,7 +1420,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>tellListenersAboutPreLogRoll</h4> -<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.631">tellListenersAboutPreLogRoll</a>(org.apache.hadoop.fs.Path oldPath, +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.630">tellListenersAboutPreLogRoll</a>(org.apache.hadoop.fs.Path oldPath, org.apache.hadoop.fs.Path newPath) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Tell listeners about pre log roll.</div> @@ -1435,7 +1434,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>tellListenersAboutPostLogRoll</h4> -<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.644">tellListenersAboutPostLogRoll</a>(org.apache.hadoop.fs.Path oldPath, +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.643">tellListenersAboutPostLogRoll</a>(org.apache.hadoop.fs.Path oldPath, org.apache.hadoop.fs.Path newPath) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Tell listeners about post log roll.</div> @@ -1449,7 +1448,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>preemptiveSync</h4> -<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.658">preemptiveSync</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogWriter.html" title="class in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogWriter</a> nextWriter)</pre> +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.657">preemptiveSync</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogWriter.html" title="class in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogWriter</a> nextWriter)</pre> <div class="block">Run a sync after opening to set up the pipeline.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>nextWriter</code> - </dd><dd><code>startTimeNanos</code> - </dd></dl> </li> @@ -1460,7 +1459,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>rollWriter</h4> -<pre>public byte[][] <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.670">rollWriter</a>(boolean force) +<pre>public byte[][] <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.669">rollWriter</a>(boolean force) throws <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/FailedLogCloseException.html" title="class in org.apache.hadoop.hbase.regionserver.wal">FailedLogCloseException</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html#rollWriter(boolean)">WAL</a></code></strong></div> @@ -1488,7 +1487,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>createWriterInstance</h4> -<pre>protected <a href="../../../../../../org/apache/hadoop/hbase/wal/WALProvider.Writer.html" title="interface in org.apache.hadoop.hbase.wal">WALProvider.Writer</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.723">createWriterInstance</a>(org.apache.hadoop.fs.Path path) +<pre>protected <a href="../../../../../../org/apache/hadoop/hbase/wal/WALProvider.Writer.html" title="interface in org.apache.hadoop.hbase.wal">WALProvider.Writer</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.722">createWriterInstance</a>(org.apache.hadoop.fs.Path path) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">This method allows subclasses to inject different writers without having to extend other methods like rollWriter().</div> @@ -1503,7 +1502,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>cleanOldLogs</h4> -<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.731">cleanOldLogs</a>() +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.730">cleanOldLogs</a>() throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Archive old logs. A WAL is eligible for archiving if all its WALEdits have been flushed.</div> <dl><dt><span class="strong">Throws:</span></dt> @@ -1516,7 +1515,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>findRegionsToForceFlush</h4> -<pre>byte[][] <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.760">findRegionsToForceFlush</a>() +<pre>byte[][] <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.759">findRegionsToForceFlush</a>() throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">If the number of un-archived WAL files is greater than maximum allowed, check the first (oldest) WAL file, and returns those regions which should be flushed so that it can @@ -1532,7 +1531,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>afterCreatingZigZagLatch</h4> -<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.785">afterCreatingZigZagLatch</a>()</pre> +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.784">afterCreatingZigZagLatch</a>()</pre> <div class="block">Used to manufacture race condition reliably. For testing only.</div> <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#beforeWaitOnSafePoint()"><code>beforeWaitOnSafePoint()</code></a></dd></dl> </li> @@ -1543,7 +1542,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>beforeWaitOnSafePoint</h4> -<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.791">beforeWaitOnSafePoint</a>()</pre> +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.790">beforeWaitOnSafePoint</a>()</pre> <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#afterCreatingZigZagLatch()"><code>afterCreatingZigZagLatch()</code></a></dd></dl> </li> </ul> @@ -1553,7 +1552,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>replaceWriter</h4> -<pre>org.apache.hadoop.fs.Path <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.811">replaceWriter</a>(org.apache.hadoop.fs.Path oldPath, +<pre>org.apache.hadoop.fs.Path <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.810">replaceWriter</a>(org.apache.hadoop.fs.Path oldPath, org.apache.hadoop.fs.Path newPath, <a href="../../../../../../org/apache/hadoop/hbase/wal/WALProvider.Writer.html" title="interface in org.apache.hadoop.hbase.wal">WALProvider.Writer</a> nextWriter, org.apache.hadoop.fs.FSDataOutputStream nextHdfsOut) @@ -1579,7 +1578,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>getUnflushedEntriesCount</h4> -<pre>long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.909">getUnflushedEntriesCount</a>()</pre> +<pre>long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.908">getUnflushedEntriesCount</a>()</pre> </li> </ul> <a name="isUnflushedEntries()"> @@ -1588,7 +1587,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>isUnflushedEntries</h4> -<pre>boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.915">isUnflushedEntries</a>()</pre> +<pre>boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.914">isUnflushedEntries</a>()</pre> </li> </ul> <a name="getWALArchivePath(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)"> @@ -1597,7 +1596,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>getWALArchivePath</h4> -<pre>public static org.apache.hadoop.fs.Path <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.923">getWALArchivePath</a>(org.apache.hadoop.fs.Path archiveDir, +<pre>public static org.apache.hadoop.fs.Path <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.922">getWALArchivePath</a>(org.apache.hadoop.fs.Path archiveDir, org.apache.hadoop.fs.Path p)</pre> </li> </ul> @@ -1607,7 +1606,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>archiveLogFile</h4> -<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.927">archiveLogFile</a>(org.apache.hadoop.fs.Path p) +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.926">archiveLogFile</a>(org.apache.hadoop.fs.Path p) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <dl><dt><span class="strong">Throws:</span></dt> <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> @@ -1619,7 +1618,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>computeFilename</h4> -<pre>protected org.apache.hadoop.fs.Path <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.953">computeFilename</a>(long filenum)</pre> +<pre>protected org.apache.hadoop.fs.Path <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.952">computeFilename</a>(long filenum)</pre> <div class="block">This is a convenience method that computes a new filename with a given file-number.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>filenum</code> - to use</dd> @@ -1632,7 +1631,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>getCurrentFileName</h4> -<pre>public org.apache.hadoop.fs.Path <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.966">getCurrentFileName</a>()</pre> +<pre>public org.apache.hadoop.fs.Path <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.965">getCurrentFileName</a>()</pre> <div class="block">This is a convenience method that computes a new filename with a given using the current WAL file-number</div> <dl><dt><span class="strong">Returns:</span></dt><dd>Path</dd></dl> @@ -1644,7 +1643,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>toString</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.971">toString</a>()</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.970">toString</a>()</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html#toString()">WAL</a></code></strong></div> <div class="block">Human readable identifying information about the state of this WAL. Implementors are encouraged to include information appropriate for debugging. @@ -1664,7 +1663,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>getFileNumFromFileName</h4> -<pre>protected long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.983">getFileNumFromFileName</a>(org.apache.hadoop.fs.Path fileName)</pre> +<pre>protected long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.982">getFileNumFromFileName</a>(org.apache.hadoop.fs.Path fileName)</pre> <div class="block">A log file has a creation timestamp (in ms) in its file name (<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#filenum"><code>filenum</code></a>. This helper method returns the creation timestamp from a given log file. It extracts the timestamp assuming the filename is created with the @@ -1679,7 +1678,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>close</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.996">close</a>() +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.995">close</a>() throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html#close()">WAL</a></code></strong></div> <div class="block">Caller no longer needs any edits from this WAL. Implementers are free to reclaim @@ -1698,7 +1697,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>shutdown</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1026">shutdown</a>() +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1025">shutdown</a>() throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html#shutdown()">WAL</a></code></strong></div> <div class="block">Stop accepting new writes. If we have unsynced writes still in buffer, sync them. @@ -1710,14 +1709,13 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> </li> </ul> -<a name="append(org.apache.hadoop.hbase.HTableDescriptor, org.apache.hadoop.hbase.HRegionInfo, org.apache.hadoop.hbase.wal.WALKey, org.apache.hadoop.hbase.regionserver.wal.WALEdit, boolean)"> +<a name="append(org.apache.hadoop.hbase.HRegionInfo, org.apache.hadoop.hbase.wal.WALKey, org.apache.hadoop.hbase.regionserver.wal.WALEdit, boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>append</h4> -<pre>public long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1086">append</a>(<a href="../../../../../../org/apache/hadoop/hbase/HTableDescriptor.html" title="class in org.apache.hadoop.hbase">HTableDescriptor</a> htd, - <a href="../../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> hri, +<pre>public long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1085">append</a>(<a href="../../../../../../org/apache/hadoop/hbase/HRegionInfo.html" title="class in org.apache.hadoop.hbase">HRegionInfo</a> hri, <a href="../../../../../../org/apache/hadoop/hbase/wal/WALKey.html" title="class in org.apache.hadoop.hbase.wal">WALKey</a> key, <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/WALEdit.html" title="class in org.apache.hadoop.hbase.regionserver.wal">WALEdit</a> edits, boolean inMemstore) @@ -1735,9 +1733,8 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl otherwise, you will just have to wait on the WriteEntry to get filled in.</div> <dl> <dt><strong>Specified by:</strong></dt> -<dd><code><a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html#append(org.apache.hadoop.hbase.HTableDescriptor,%20org.apache.hadoop.hbase.HRegionInfo,%20org.apache.hadoop.hbase.wal.WALKey,%20org.apache.hadoop.hbase.regionserver.wal.WALEdit,%20boolean)">append</a></code> in interface <code><a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" title="interface in org.apache.hadoop.hbase.wal">WAL</a></code></dd> -<dt><span class="strong">Parameters:</span></dt><dd><code>htd</code> - used to give scope for replication TODO refactor out in favor of table name and - info</dd><dd><code>key</code> - Modified by this call; we add to it this edits region edit/sequence id.</dd><dd><code>edits</code> - Edits to append. MAY CONTAIN NO EDITS for case where we want to get an edit +<dd><code><a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html#append(org.apache.hadoop.hbase.HRegionInfo,%20org.apache.hadoop.hbase.wal.WALKey,%20org.apache.hadoop.hbase.regionserver.wal.WALEdit,%20boolean)">append</a></code> in interface <code><a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" title="interface in org.apache.hadoop.hbase.wal">WAL</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>hri</code> - the regioninfo associated with append</dd><dd><code>key</code> - Modified by this call; we add to it this edits region edit/sequence id.</dd><dd><code>edits</code> - Edits to append. MAY CONTAIN NO EDITS for case where we want to get an edit sequence id that is after all currently appended edits.</dd><dd><code>inMemstore</code> - Always true except for case where we are writing a compaction completion record into the WAL; in this case the entry is just so we can finish an unfinished compaction -- it is not an edit for memstore.</dd> @@ -1753,7 +1750,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>checkLogRoll</h4> -<pre>void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1283">checkLogRoll</a>()</pre> +<pre>void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1282">checkLogRoll</a>()</pre> <div class="block">Schedule a log roll if needed.</div> </li> </ul> @@ -1763,7 +1760,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>checkLowReplication</h4> -<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1304">checkLowReplication</a>()</pre> +<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1303">checkLowReplication</a>()</pre> </li> </ul> <a name="publishSyncOnRingBuffer()"> @@ -1772,7 +1769,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>publishSyncOnRingBuffer</h4> -<pre>private <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/SyncFuture.html" title="class in org.apache.hadoop.hbase.regionserver.wal">SyncFuture</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1351">publishSyncOnRingBuffer</a>()</pre> +<pre>private <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/SyncFuture.html" title="class in org.apache.hadoop.hbase.regionserver.wal">SyncFuture</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1350">publishSyncOnRingBuffer</a>()</pre> </li> </ul> <a name="publishSyncOnRingBuffer(org.apache.htrace.Span)"> @@ -1781,7 +1778,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>publishSyncOnRingBuffer</h4> -<pre>private <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/SyncFuture.html" title="class in org.apache.hadoop.hbase.regionserver.wal">SyncFuture</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1355">publishSyncOnRingBuffer</a>(org.apache.htrace.Span span)</pre> +<pre>private <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/SyncFuture.html" title="class in org.apache.hadoop.hbase.regionserver.wal">SyncFuture</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1354">publishSyncOnRingBuffer</a>(org.apache.htrace.Span span)</pre> </li> </ul> <a name="publishSyncThenBlockOnCompletion(org.apache.htrace.Span)"> @@ -1790,7 +1787,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>publishSyncThenBlockOnCompletion</h4> -<pre>private org.apache.htrace.Span <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1368">publishSyncThenBlockOnCompletion</a>(org.apache.htrace.Span span) +<pre>private org.apache.htrace.Span <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1367">publishSyncThenBlockOnCompletion</a>(org.apache.htrace.Span span) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <dl><dt><span class="strong">Throws:</span></dt> <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> @@ -1802,7 +1799,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>blockOnSync</h4> -<pre>private org.apache.htrace.Span <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1372">blockOnSync</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/SyncFuture.html" title="class in org.apache.hadoop.hbase.regionserver.wal">SyncFuture</a> syncFuture) +<pre>private org.apache.htrace.Span <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1371">blockOnSync</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/SyncFuture.html" title="class in org.apache.hadoop.hbase.regionserver.wal">SyncFuture</a> syncFuture) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <dl><dt><span class="strong">Throws:</span></dt> <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> @@ -1814,7 +1811,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>convertInterruptedExceptionToIOException</h4> -<pre>private <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1385">convertInterruptedExceptionToIOException</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a> ie)</pre> +<pre>private <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1384">convertInterruptedExceptionToIOException</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a> ie)</pre> </li> </ul> <a name="getSyncFuture(long, org.apache.htrace.Span)"> @@ -1823,7 +1820,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>getSyncFuture</h4> -<pre>private <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/SyncFuture.html" title="class in org.apache.hadoop.hbase.regionserver.wal">SyncFuture</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1392">getSyncFuture</a>(long sequence, +<pre>private <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/SyncFuture.html" title="class in org.apache.hadoop.hbase.regionserver.wal">SyncFuture</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1391">getSyncFuture</a>(long sequence, org.apache.htrace.Span span)</pre> </li> </ul> @@ -1833,7 +1830,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>postSync</h4> -<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1401">postSync</a>(long timeInNanos, +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1400">postSync</a>(long timeInNanos, int handlerSyncs)</pre> </li> </ul> @@ -1843,7 +1840,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>postAppend</h4> -<pre>private long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1417">postAppend</a>(<a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a> e, +<pre>private long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1416">postAppend</a>(<a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a> e, long elapsedTime)</pre> </li> </ul> @@ -1853,7 +1850,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>getLogReplication</h4> -<pre>int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1444">getLogReplication</a>()</pre> +<pre>int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1443">getLogReplication</a>()</pre> <div class="block">This method gets the datanode replication count for the current WAL. If the pipeline isn't started yet or is empty, you will get the default @@ -1872,7 +1869,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>sync</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1457">sync</a>() +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1456">sync</a>() throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html#sync()">WAL</a></code></strong></div> <div class="block">Sync what we have in the WAL.</div> @@ -1889,7 +1886,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>sync</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1468">sync</a>(long txid) +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1467">sync</a>(long txid) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html#sync(long)">WAL</a></code></strong></div> <div class="block">Sync the WAL if the txId was not already sync'd.</div> @@ -1907,7 +1904,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>requestLogRoll</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1483">requestLogRoll</a>()</pre> +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1482">requestLogRoll</a>()</pre> </li> </ul> <a name="requestLogRoll(boolean)"> @@ -1916,7 +1913,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>requestLogRoll</h4> -<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1487">requestLogRoll</a>(boolean tooFewReplicas)</pre> +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1486">requestLogRoll</a>(boolean tooFewReplicas)</pre> </li> </ul> <a name="getNumRolledLogFiles()"> @@ -1925,7 +1922,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>getNumRolledLogFiles</h4> -<pre>public int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1497">getNumRolledLogFiles</a>()</pre> +<pre>public int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1496">getNumRolledLogFiles</a>()</pre> <dl><dt><span class="strong">Returns:</span></dt><dd>the number of rolled log files</dd></dl> </li> </ul> @@ -1935,7 +1932,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>getNumLogFiles</h4> -<pre>public int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1503">getNumLogFiles</a>()</pre> +<pre>public int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1502">getNumLogFiles</a>()</pre> <dl><dt><span class="strong">Returns:</span></dt><dd>the number of log files in use</dd></dl> </li> </ul> @@ -1945,7 +1942,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>getLogFileSize</h4> -<pre>public long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1510">getLogFileSize</a>()</pre> +<pre>public long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1509">getLogFileSize</a>()</pre> <dl><dt><span class="strong">Returns:</span></dt><dd>the size of log files in use</dd></dl> </li> </ul> @@ -1955,7 +1952,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>startCacheFlush</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1515">startCacheFlush</a>(byte[] encodedRegionName, +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1514">startCacheFlush</a>(byte[] encodedRegionName, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><byte[]> families)</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html#startCacheFlush(byte[],%20java.util.Set)">WAL</a></code></strong></div> <div class="block">WAL keeps track of the sequence numbers that are as yet not flushed im memstores @@ -1983,7 +1980,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>completeCacheFlush</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1524">completeCacheFlush</a>(byte[] encodedRegionName)</pre> +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1523">completeCacheFlush</a>(byte[] encodedRegionName)</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html#completeCacheFlush(byte[])">WAL</a></code></strong></div> <div class="block">Complete the cache flush.</div> <dl> @@ -1999,7 +1996,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>abortCacheFlush</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1530">abortCacheFlush</a>(byte[] encodedRegionName)</pre> +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1529">abortCacheFlush</a>(byte[] encodedRegionName)</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html#abortCacheFlush(byte[])">WAL</a></code></strong></div> <div class="block">Abort a cache flush. Call if the flush fails. Note that the only recovery for an aborted flush currently is a restart of the regionserver so the @@ -2016,7 +2013,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>isLowReplicationRollEnabled</h4> -<pre>boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1536">isLowReplicationRollEnabled</a>()</pre> +<pre>boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1535">isLowReplicationRollEnabled</a>()</pre> </li> </ul> <a name="split(org.apache.hadoop.conf.Configuration, org.apache.hadoop.fs.Path)"> @@ -2025,7 +2022,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>split</h4> -<pre>private static void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1544">split</a>(org.apache.hadoop.conf.Configuration conf, +<pre>private static void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1543">split</a>(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path p) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <dl><dt><span class="strong">Throws:</span></dt> @@ -2038,7 +2035,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>getEarliestMemstoreSeqNum</h4> -<pre>public long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1561">getEarliestMemstoreSeqNum</a>(byte[] encodedRegionName)</pre> +<pre>public long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1560">getEarliestMemstoreSeqNum</a>(byte[] encodedRegionName)</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html#getEarliestMemstoreSeqNum(byte[])">WAL</a></code></strong></div> <div class="block">Gets the earliest unflushed sequence id in the memstore for the region.</div> <dl> @@ -2054,7 +2051,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>getEarliestMemstoreSeqNum</h4> -<pre>public long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1567">getEarliestMemstoreSeqNum</a>(byte[] encodedRegionName, +<pre>public long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1566">getEarliestMemstoreSeqNum</a>(byte[] encodedRegionName, byte[] familyName)</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html#getEarliestMemstoreSeqNum(byte[],%20byte[])">WAL</a></code></strong></div> <div class="block">Gets the earliest unflushed sequence id in the memstore for the store.</div> @@ -2071,7 +2068,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>atHeadOfRingBufferEventHandlerAppend</h4> -<pre>void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1924">atHeadOfRingBufferEventHandlerAppend</a>()</pre> +<pre>void <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/FSHLog.html#line.1921">atHeadOfRingBufferEventHandlerAppend</a>()</pre> <div class="block">Exposed for testing only. Use to tricks like halt the ring buffer appending.</div> </li> </ul> @@ -2081,7 +2078,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.html" titl <ul class="blockList"> <li class="blockList"> <h4>ensureIOException</h4> -<pre>private static <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a> <a href=
<TRUNCATED>