hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject [20/51] [partial] hbase-site git commit: Published site at 2f5767376f42c0416e025df412e3d5944a1b2a67.
Date Wed, 03 Feb 2016 17:25:53 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6a13df3e/testdevapidocs/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html b/testdevapidocs/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html
index d37f9dd..7e2adeb 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html
@@ -100,7 +100,7 @@
 <li class="blockList">
 <hr>
 <br>
-<pre>public class <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.70">TestReplicationSmallTests</a>
+<pre>public class <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.66">TestReplicationSmallTests</a>
 extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicationBase.html" title="class in org.apache.hadoop.hbase.replication">TestReplicationBase</a></pre>
 </li>
 </ul>
@@ -283,7 +283,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
 <ul class="blockListLast">
 <li class="blockList">
 <h4>LOG</h4>
-<pre>private static final&nbsp;org.apache.commons.logging.Log <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.72">LOG</a></pre>
+<pre>private static final&nbsp;org.apache.commons.logging.Log <a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.68">LOG</a></pre>
 </li>
 </ul>
 </li>
@@ -300,7 +300,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
 <ul class="blockListLast">
 <li class="blockList">
 <h4>TestReplicationSmallTests</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.70">TestReplicationSmallTests</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.66">TestReplicationSmallTests</a>()</pre>
 </li>
 </ul>
 </li>
@@ -317,7 +317,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
 <ul class="blockList">
 <li class="blockList">
 <h4>setUp</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.78">setUp</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.74">setUp</a>()
            throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <dl><dt><span class="strong">Throws:</span></dt>
 <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl>
@@ -329,7 +329,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
 <ul class="blockList">
 <li class="blockList">
 <h4>testDeleteTypes</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.119">testDeleteTypes</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.115">testDeleteTypes</a>()
                      throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Verify that version and column delete marker types are replicated
  correctly.</div>
@@ -343,7 +343,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
 <ul class="blockList">
 <li class="blockList">
 <h4>testSimplePutDelete</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.206">testSimplePutDelete</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.202">testSimplePutDelete</a>()
                          throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Add a row, check it's replicated, delete it, check's gone</div>
 <dl><dt><span class="strong">Throws:</span></dt>
@@ -356,7 +356,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
 <ul class="blockList">
 <li class="blockList">
 <h4>testSmallBatch</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.252">testSmallBatch</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.248">testSmallBatch</a>()
                     throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Try a small batch upload using the write buffer, check it's replicated</div>
 <dl><dt><span class="strong">Throws:</span></dt>
@@ -369,7 +369,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
 <ul class="blockList">
 <li class="blockList">
 <h4>testDisableEnable</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.294">testDisableEnable</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.290">testDisableEnable</a>()
                        throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Test disable/enable replication, trying to insert, make sure nothing's
  replicated, enable it, the insert should be replicated</div>
@@ -383,7 +383,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
 <ul class="blockList">
 <li class="blockList">
 <h4>testAddAndRemoveClusters</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.338">testAddAndRemoveClusters</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.334">testAddAndRemoveClusters</a>()
                               throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Integration test for TestReplicationAdmin, removes and re-add a peer
  cluster</div>
@@ -397,7 +397,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
 <ul class="blockList">
 <li class="blockList">
 <h4>testLoading</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.392">testLoading</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.388">testLoading</a>()
                  throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Do a more intense version testSmallBatch, one  that will trigger
  wal rolling and other non-trivial code paths</div>
@@ -411,7 +411,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
 <ul class="blockList">
 <li class="blockList">
 <h4>testVerifyRepJob</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.454">testVerifyRepJob</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.450">testVerifyRepJob</a>()
                       throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Do a small loading into a table, make sure the data is really the same,
  then run the VerifyReplication job to check the results. Do a second
@@ -426,7 +426,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
 <ul class="blockList">
 <li class="blockList">
 <h4>testHBase14905</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.499">testHBase14905</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.495">testHBase14905</a>()
                     throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <dl><dt><span class="strong">Throws:</span></dt>
 <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl>
@@ -438,7 +438,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
 <ul class="blockList">
 <li class="blockList">
 <h4>testVersionMismatchHBase14905</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.572">testVersionMismatchHBase14905</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.568">testVersionMismatchHBase14905</a>()
                                    throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <dl><dt><span class="strong">Throws:</span></dt>
 <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl>
@@ -450,7 +450,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
 <ul class="blockList">
 <li class="blockList">
 <h4>testCompactionWALEdits</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.655">testCompactionWALEdits</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.651">testCompactionWALEdits</a>()
                             throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Test for HBASE-9038, Replication.scopeWALEdits would NPE if it wasn't filtering out
  the compaction WALEdit</div>
@@ -464,7 +464,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
 <ul class="blockList">
 <li class="blockList">
 <h4>testVerifyListReplicatedTable</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.673">testVerifyListReplicatedTable</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.669">testVerifyListReplicatedTable</a>()
                                    throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Test for HBASE-8663
  Create two new Tables with colfamilies enabled for replication then run
@@ -480,7 +480,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/replication/TestReplicat
 <ul class="blockListLast">
 <li class="blockList">
 <h4>testReplicationStatus</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.728">testReplicationStatus</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.html#line.724">testReplicationStatus</a>()
                            throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Test for HBASE-9531
  put a few rows into htable1, which should be replicated to htable2

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6a13df3e/testdevapidocs/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html b/testdevapidocs/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html
index a53d97d..9f6118d 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html
@@ -784,7 +784,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/BaseTestHBaseFsck.h
 <ul class="blockList">
 <li class="blockList">
 <h4>testMissingFirstRegion</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1008">testMissingFirstRegion</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1013">testMissingFirstRegion</a>()
                             throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">This creates and fixes a bad table with a missing region which is the 1st region -- hole in
  meta and data missing in the fs.</div>
@@ -798,7 +798,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/BaseTestHBaseFsck.h
 <ul class="blockList">
 <li class="blockList">
 <h4>testRegionDeployedNotInHdfs</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1036">testRegionDeployedNotInHdfs</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1041">testRegionDeployedNotInHdfs</a>()
                                  throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">This creates and fixes a bad table with a missing region which is the 1st region -- hole in
  meta and data missing in the fs.</div>
@@ -812,7 +812,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/BaseTestHBaseFsck.h
 <ul class="blockList">
 <li class="blockList">
 <h4>testMissingLastRegion</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1064">testMissingLastRegion</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1069">testMissingLastRegion</a>()
                            throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">This creates and fixes a bad table with missing last region -- hole in meta and data missing in
  the fs.</div>
@@ -826,7 +826,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/BaseTestHBaseFsck.h
 <ul class="blockList">
 <li class="blockList">
 <h4>testFixAssignmentsAndNoHdfsChecking</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1092">testFixAssignmentsAndNoHdfsChecking</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1097">testFixAssignmentsAndNoHdfsChecking</a>()
                                          throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Test -noHdfsChecking option can detect and fix assignments issue.</div>
 <dl><dt><span class="strong">Throws:</span></dt>
@@ -839,7 +839,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/BaseTestHBaseFsck.h
 <ul class="blockList">
 <li class="blockList">
 <h4>testFixMetaNotWorkingWithNoHdfsChecking</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1145">testFixMetaNotWorkingWithNoHdfsChecking</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1150">testFixMetaNotWorkingWithNoHdfsChecking</a>()
                                              throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Test -noHdfsChecking option can detect region is not in meta but deployed.
  However, it can not fix it without checking Hdfs because we need to get
@@ -854,7 +854,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/BaseTestHBaseFsck.h
 <ul class="blockList">
 <li class="blockList">
 <h4>testFixHdfsHolesNotWorkingWithNoHdfsChecking</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1201">testFixHdfsHolesNotWorkingWithNoHdfsChecking</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1206">testFixHdfsHolesNotWorkingWithNoHdfsChecking</a>()
                                                   throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Test -fixHdfsHoles doesn't work with -noHdfsChecking option,
  and -noHdfsChecking can't detect orphan Hdfs region.</div>
@@ -868,7 +868,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/BaseTestHBaseFsck.h
 <ul class="blockList">
 <li class="blockList">
 <h4>testQuarantineCorruptHFile</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1262">testQuarantineCorruptHFile</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1267">testQuarantineCorruptHFile</a>()
                                 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">This creates a table and then corrupts an hfile.  Hbck should quarantine the file.</div>
 <dl><dt><span class="strong">Throws:</span></dt>
@@ -881,7 +881,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/BaseTestHBaseFsck.h
 <ul class="blockList">
 <li class="blockList">
 <h4>testQuarantineMissingHFile</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1303">testQuarantineMissingHFile</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1308">testQuarantineMissingHFile</a>()
                                 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">This creates a table and simulates the race situation where a concurrent compaction or split
  has removed an hfile after the corruption checker learned about it.</div>
@@ -895,7 +895,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/BaseTestHBaseFsck.h
 <ul class="blockList">
 <li class="blockList">
 <h4>testDegenerateRegions</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1332">testDegenerateRegions</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1337">testDegenerateRegions</a>()
                            throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">This creates and fixes a bad table with regions that has startkey == endkey</div>
 <dl><dt><span class="strong">Throws:</span></dt>
@@ -908,7 +908,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/BaseTestHBaseFsck.h
 <ul class="blockList">
 <li class="blockList">
 <h4>testMissingRegionInfoQualifier</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1371">testMissingRegionInfoQualifier</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1376">testMissingRegionInfoQualifier</a>()
                                     throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Test mission REGIONINFO_QUALIFIER in hbase:meta</div>
 <dl><dt><span class="strong">Throws:</span></dt>
@@ -921,7 +921,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/BaseTestHBaseFsck.h
 <ul class="blockList">
 <li class="blockList">
 <h4>testErrorReporter</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1423">testErrorReporter</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1428">testErrorReporter</a>()
                        throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Test pluggable error reporter. It can be plugged in
  from system property or configuration.</div>
@@ -935,7 +935,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/BaseTestHBaseFsck.h
 <ul class="blockList">
 <li class="blockList">
 <h4>testCheckTableLocks</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1440">testCheckTableLocks</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1445">testCheckTableLocks</a>()
                          throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <dl><dt><span class="strong">Throws:</span></dt>
 <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl>
@@ -947,7 +947,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/BaseTestHBaseFsck.h
 <ul class="blockList">
 <li class="blockList">
 <h4>testCheckReplication</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1515">testCheckReplication</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1520">testCheckReplication</a>()
                           throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <dl><dt><span class="strong">Throws:</span></dt>
 <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl>
@@ -959,7 +959,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/BaseTestHBaseFsck.h
 <ul class="blockList">
 <li class="blockList">
 <h4>testHDFSRegioninfoMissing</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1570">testHDFSRegioninfoMissing</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1575">testHDFSRegioninfoMissing</a>()
                                throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">This creates and fixes a bad table with a missing region -- hole in meta
  and data present but .regioninfo missing (an orphan hdfs region)in the fs.</div>
@@ -973,7 +973,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/BaseTestHBaseFsck.h
 <ul class="blockList">
 <li class="blockList">
 <h4>testNotInMetaOrDeployedHole</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1607">testNotInMetaOrDeployedHole</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1612">testNotInMetaOrDeployedHole</a>()
                                  throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">This creates and fixes a bad table with a region that is missing meta and
  not assigned to a region server.</div>
@@ -987,7 +987,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/BaseTestHBaseFsck.h
 <ul class="blockList">
 <li class="blockList">
 <h4>testCleanUpDaughtersNotInMetaAfterFailedSplit</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1643">testCleanUpDaughtersNotInMetaAfterFailedSplit</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1648">testCleanUpDaughtersNotInMetaAfterFailedSplit</a>()
                                                    throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <dl><dt><span class="strong">Throws:</span></dt>
 <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl>
@@ -999,7 +999,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/BaseTestHBaseFsck.h
 <ul class="blockList">
 <li class="blockList">
 <h4>testNotInMetaHole</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1707">testNotInMetaHole</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1712">testNotInMetaHole</a>()
                        throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">This creates fixes a bad table with a hole in meta.</div>
 <dl><dt><span class="strong">Throws:</span></dt>
@@ -1012,7 +1012,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/BaseTestHBaseFsck.h
 <ul class="blockList">
 <li class="blockList">
 <h4>testNotInHdfs</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1747">testNotInHdfs</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1752">testNotInHdfs</a>()
                    throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">This creates and fixes a bad table with a region that is in meta but has
  no deployment or data hdfs</div>
@@ -1026,7 +1026,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/BaseTestHBaseFsck.h
 <ul class="blockList">
 <li class="blockList">
 <h4>testQuarantineMissingFamdir</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1786">testQuarantineMissingFamdir</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1791">testQuarantineMissingFamdir</a>()
                                  throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">This creates a table and simulates the race situation where a concurrent compaction or split
  has removed an colfam dir before the corruption checker got to it.</div>
@@ -1040,7 +1040,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/util/BaseTestHBaseFsck.h
 <ul class="blockListLast">
 <li class="blockList">
 <h4>testQuarantineMissingRegionDir</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1815">testQuarantineMissingRegionDir</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.html#line.1820">testQuarantineMissingRegionDir</a>()
                                     throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">This creates a table and simulates the race situation where a concurrent compaction or split
  has removed a region dir before the corruption checker got to it.</div>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6a13df3e/testdevapidocs/org/apache/hadoop/hbase/wal/package-tree.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/wal/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/wal/package-tree.html
index 8dd84e9..ba18d57 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/wal/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/wal/package-tree.html
@@ -120,8 +120,8 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="strong">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
 <ul>
-<li type="circle">org.apache.hadoop.hbase.wal.<a href="../../../../../org/apache/hadoop/hbase/wal/IOTestProvider.AllowedOperations.html" title="enum in org.apache.hadoop.hbase.wal"><span class="strong">IOTestProvider.AllowedOperations</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.wal.<a href="../../../../../org/apache/hadoop/hbase/wal/FaultyFSLog.FailureType.html" title="enum in org.apache.hadoop.hbase.wal"><span class="strong">FaultyFSLog.FailureType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.wal.<a href="../../../../../org/apache/hadoop/hbase/wal/IOTestProvider.AllowedOperations.html" title="enum in org.apache.hadoop.hbase.wal"><span class="strong">IOTestProvider.AllowedOperations</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6a13df3e/testdevapidocs/overview-tree.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/overview-tree.html b/testdevapidocs/overview-tree.html
index 83b1e41..474df8a 100644
--- a/testdevapidocs/overview-tree.html
+++ b/testdevapidocs/overview-tree.html
@@ -1026,6 +1026,7 @@
 </ul>
 </li>
 <li type="circle">org.apache.hadoop.hbase.<a href="org/apache/hadoop/hbase/HTestConst.html" title="class in org.apache.hadoop.hbase"><span class="strong">HTestConst</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="org/apache/hadoop/hbase/IncrementPerformanceTest.html" title="class in org.apache.hadoop.hbase"><span class="strong">IncrementPerformanceTest</span></a> (implements org.apache.hadoop.util.Tool)</li>
 <li type="circle">org.apache.hadoop.mapreduce.InputFormat&lt;K,V&gt;
 <ul>
 <li type="circle">org.apache.hadoop.mapreduce.lib.input.FileInputFormat&lt;K,V&gt;
@@ -2158,6 +2159,11 @@
 <li type="circle">org.apache.hadoop.hbase.filter.<a href="org/apache/hadoop/hbase/filter/TestInclusiveStopFilter.html" title="class in org.apache.hadoop.hbase.filter"><span class="strong">TestInclusiveStopFilter</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/TestIncrement.html" title="class in org.apache.hadoop.hbase.client"><span class="strong">TestIncrement</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.util.<a href="org/apache/hadoop/hbase/util/TestIncrementingEnvironmentEdge.html" title="class in org.apache.hadoop.hbase.util"><span class="strong">TestIncrementingEnvironmentEdge</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/TestIncrementsFromClientSide.html" title="class in org.apache.hadoop.hbase.client"><span class="strong">TestIncrementsFromClientSide</span></a>
+<ul>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/TestIncrementFromClientSideWithCoprocessor.html" title="class in org.apache.hadoop.hbase.client"><span class="strong">TestIncrementFromClientSideWithCoprocessor</span></a></li>
+</ul>
+</li>
 <li type="circle">org.apache.hadoop.hbase.<a href="org/apache/hadoop/hbase/TestInfoServers.html" title="class in org.apache.hadoop.hbase"><span class="strong">TestInfoServers</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="org/apache/hadoop/hbase/TestInterfaceAudienceAnnotations.html" title="class in org.apache.hadoop.hbase"><span class="strong">TestInterfaceAudienceAnnotations</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="org/apache/hadoop/hbase/TestInterfaceAudienceAnnotations.CloverInstrumentationFilter.html" title="class in org.apache.hadoop.hbase"><span class="strong">TestInterfaceAudienceAnnotations.CloverInstrumentationFilter</span></a> (implements org.apache.hadoop.hbase.<a href="org/apache/hadoop/hbase/ClassFinder.ClassFilter.html" title="interface in org.apache.hadoop.hbase">ClassFinder.ClassFilter</a>)</li>
@@ -2387,6 +2393,7 @@
 <li type="circle">org.apache.hadoop.hbase.filter.<a href="org/apache/hadoop/hbase/filter/TestRegexComparator.html" title="class in org.apache.hadoop.hbase.filter"><span class="strong">TestRegexComparator</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.filter.<a href="org/apache/hadoop/hbase/filter/TestRegexComparator.TestCase.html" title="class in org.apache.hadoop.hbase.filter"><span class="strong">TestRegexComparator.TestCase</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.<a href="org/apache/hadoop/hbase/regionserver/TestRegionFavoredNodes.html" title="class in org.apache.hadoop.hbase.regionserver"><span class="strong">TestRegionFavoredNodes</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="org/apache/hadoop/hbase/regionserver/TestRegionIncrement.html" title="class in org.apache.hadoop.hbase.regionserver"><span class="strong">TestRegionIncrement</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.master.balancer.<a href="org/apache/hadoop/hbase/master/balancer/TestRegionLocationFinder.html" title="class in org.apache.hadoop.hbase.master.balancer"><span class="strong">TestRegionLocationFinder</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="org/apache/hadoop/hbase/TestRegionLocations.html" title="class in org.apache.hadoop.hbase"><span class="strong">TestRegionLocations</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.<a href="org/apache/hadoop/hbase/regionserver/TestRegionMergeTransaction.html" title="class in org.apache.hadoop.hbase.regionserver"><span class="strong">TestRegionMergeTransaction</span></a></li>
@@ -2833,6 +2840,8 @@
 <li type="circle">org.apache.hadoop.hbase.<a href="org/apache/hadoop/hbase/TestMetaTableAccessor.MetaTask.html" title="class in org.apache.hadoop.hbase"><span class="strong">TestMetaTableAccessor.MetaTask</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="org/apache/hadoop/hbase/TestMetaTableLocator.WaitOnMetaThread.html" title="class in org.apache.hadoop.hbase"><span class="strong">TestMetaTableLocator.WaitOnMetaThread</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.<a href="org/apache/hadoop/hbase/regionserver/TestParallelPut.Putter.html" title="class in org.apache.hadoop.hbase.regionserver"><span class="strong">TestParallelPut.Putter</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="org/apache/hadoop/hbase/regionserver/TestRegionIncrement.CrossRowCellIncrementer.html" title="class in org.apache.hadoop.hbase.regionserver"><span class="strong">TestRegionIncrement.CrossRowCellIncrementer</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="org/apache/hadoop/hbase/regionserver/TestRegionIncrement.SingleCellIncrementer.html" title="class in org.apache.hadoop.hbase.regionserver"><span class="strong">TestRegionIncrement.SingleCellIncrementer</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.replication.regionserver.<a href="org/apache/hadoop/hbase/replication/regionserver/TestReplicationSourceManager.DummyNodeFailoverWorker.html" title="class in org.apache.hadoop.hbase.replication.regionserver"><span class="strong">TestReplicationSourceManager.DummyNodeFailoverWorker</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.util.<a href="org/apache/hadoop/hbase/util/TestStealJobQueue.TestTask.html" title="class in org.apache.hadoop.hbase.util"><span class="strong">TestStealJobQueue.TestTask</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;)</li>
 <li type="circle">org.apache.hadoop.hbase.zookeeper.<a href="org/apache/hadoop/hbase/zookeeper/TestZKLeaderManager.MockLeader.html" title="class in org.apache.hadoop.hbase.zookeeper"><span class="strong">TestZKLeaderManager.MockLeader</span></a> (implements org.apache.hadoop.hbase.Stoppable)</li>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/6a13df3e/testdevapidocs/src-html/org/apache/hadoop/hbase/IncrementPerformanceTest.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/IncrementPerformanceTest.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/IncrementPerformanceTest.html
new file mode 100644
index 0000000..3c069f2
--- /dev/null
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/IncrementPerformanceTest.html
@@ -0,0 +1,200 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>/**<a name="line.1"></a>
+<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a>
+<span class="sourceLineNo">003</span> * or more contributor license agreements.  See the NOTICE file<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * distributed with this work for additional information<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * regarding copyright ownership.  The ASF licenses this file<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * "License"); you may not use this file except in compliance<a name="line.7"></a>
+<span class="sourceLineNo">008</span> * with the License.  You may obtain a copy of the License at<a name="line.8"></a>
+<span class="sourceLineNo">009</span> *<a name="line.9"></a>
+<span class="sourceLineNo">010</span> *     http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a>
+<span class="sourceLineNo">011</span> *<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * Unless required by applicable law or agreed to in writing, software<a name="line.12"></a>
+<span class="sourceLineNo">013</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * See the License for the specific language governing permissions and<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * limitations under the License.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> */<a name="line.17"></a>
+<span class="sourceLineNo">018</span>package org.apache.hadoop.hbase;<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>import java.io.IOException;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import java.util.HashSet;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import java.util.Set;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import java.util.concurrent.ExecutorService;<a name="line.23"></a>
+<span class="sourceLineNo">024</span>import java.util.concurrent.Executors;<a name="line.24"></a>
+<span class="sourceLineNo">025</span>import java.util.concurrent.Future;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import java.util.concurrent.atomic.AtomicInteger;<a name="line.26"></a>
+<span class="sourceLineNo">027</span><a name="line.27"></a>
+<span class="sourceLineNo">028</span>import org.apache.commons.logging.Log;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.commons.logging.LogFactory;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.conf.Configuration;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.client.Connection;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.client.ConnectionFactory;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.client.Table;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.hadoop.util.Tool;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>import org.apache.hadoop.util.ToolRunner;<a name="line.36"></a>
+<span class="sourceLineNo">037</span><a name="line.37"></a>
+<span class="sourceLineNo">038</span>import com.codahale.metrics.MetricRegistry;<a name="line.38"></a>
+<span class="sourceLineNo">039</span>import com.codahale.metrics.Snapshot;<a name="line.39"></a>
+<span class="sourceLineNo">040</span>import com.codahale.metrics.Timer;<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>/**<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * Simple Increments Performance Test. Run this from main. It is to go against a cluster.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * Presumption is the table exists already. Defaults are a zk ensemble of localhost:2181,<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * a tableName of 'tableName', a column famly name of 'columnFamilyName', with 80 threads by<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * default and 10000 increments per thread. To change any of these configs, pass -DNAME=VALUE as<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * in -DtableName="newTableName". It prints out configuration it is running with at the start and<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * on the end it prints out percentiles.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> */<a name="line.50"></a>
+<span class="sourceLineNo">051</span>public class IncrementPerformanceTest implements Tool {<a name="line.51"></a>
+<span class="sourceLineNo">052</span>  private static final Log LOG = LogFactory.getLog(IncrementPerformanceTest.class);<a name="line.52"></a>
+<span class="sourceLineNo">053</span>  private static final byte [] QUALIFIER = new byte [] {'q'};<a name="line.53"></a>
+<span class="sourceLineNo">054</span>  private Configuration conf;<a name="line.54"></a>
+<span class="sourceLineNo">055</span>  private final MetricRegistry metrics = new MetricRegistry();<a name="line.55"></a>
+<span class="sourceLineNo">056</span>  private static final String TABLENAME = "tableName";<a name="line.56"></a>
+<span class="sourceLineNo">057</span>  private static final String COLUMN_FAMILY = "columnFamilyName";<a name="line.57"></a>
+<span class="sourceLineNo">058</span>  private static final String THREAD_COUNT = "threadCount";<a name="line.58"></a>
+<span class="sourceLineNo">059</span>  private static final int DEFAULT_THREAD_COUNT = 80;<a name="line.59"></a>
+<span class="sourceLineNo">060</span>  private static final String INCREMENT_COUNT = "incrementCount";<a name="line.60"></a>
+<span class="sourceLineNo">061</span>  private static final int DEFAULT_INCREMENT_COUNT = 10000;<a name="line.61"></a>
+<span class="sourceLineNo">062</span><a name="line.62"></a>
+<span class="sourceLineNo">063</span>  IncrementPerformanceTest() {}<a name="line.63"></a>
+<span class="sourceLineNo">064</span><a name="line.64"></a>
+<span class="sourceLineNo">065</span>  public int run(final String [] args) throws Exception {<a name="line.65"></a>
+<span class="sourceLineNo">066</span>    Configuration conf = getConf();<a name="line.66"></a>
+<span class="sourceLineNo">067</span>    final TableName tableName = TableName.valueOf(conf.get(TABLENAME), TABLENAME);<a name="line.67"></a>
+<span class="sourceLineNo">068</span>    final byte [] columnFamilyName = Bytes.toBytes(conf.get(COLUMN_FAMILY, COLUMN_FAMILY));<a name="line.68"></a>
+<span class="sourceLineNo">069</span>    int threadCount = conf.getInt(THREAD_COUNT, DEFAULT_THREAD_COUNT);<a name="line.69"></a>
+<span class="sourceLineNo">070</span>    final int incrementCount = conf.getInt(INCREMENT_COUNT, DEFAULT_INCREMENT_COUNT);<a name="line.70"></a>
+<span class="sourceLineNo">071</span>    LOG.info("Running test with " + HConstants.ZOOKEEPER_QUORUM + "=" +<a name="line.71"></a>
+<span class="sourceLineNo">072</span>      getConf().get(HConstants.ZOOKEEPER_QUORUM) + ", tableName=" + tableName +<a name="line.72"></a>
+<span class="sourceLineNo">073</span>      ", columnFamilyName=" + columnFamilyName + ", threadCount=" + threadCount +<a name="line.73"></a>
+<span class="sourceLineNo">074</span>      ", incrementCount=" + incrementCount);<a name="line.74"></a>
+<span class="sourceLineNo">075</span><a name="line.75"></a>
+<span class="sourceLineNo">076</span>    ExecutorService service = Executors.newFixedThreadPool(threadCount);<a name="line.76"></a>
+<span class="sourceLineNo">077</span>    Set&lt;Future&lt;?&gt;&gt; futures = new HashSet&lt;Future&lt;?&gt;&gt;();<a name="line.77"></a>
+<span class="sourceLineNo">078</span>    final AtomicInteger integer = new AtomicInteger(0); // needed a simple "final" counter<a name="line.78"></a>
+<span class="sourceLineNo">079</span>    while (integer.incrementAndGet() &lt;= threadCount) {<a name="line.79"></a>
+<span class="sourceLineNo">080</span>      futures.add(service.submit(new Runnable() {<a name="line.80"></a>
+<span class="sourceLineNo">081</span>        @Override<a name="line.81"></a>
+<span class="sourceLineNo">082</span>        public void run() {<a name="line.82"></a>
+<span class="sourceLineNo">083</span>          try {<a name="line.83"></a>
+<span class="sourceLineNo">084</span>            try (Connection connection = ConnectionFactory.createConnection(getConf())) {<a name="line.84"></a>
+<span class="sourceLineNo">085</span>              try (Table table = connection.getTable(tableName)) {<a name="line.85"></a>
+<span class="sourceLineNo">086</span>                Timer timer = metrics.timer("increments");<a name="line.86"></a>
+<span class="sourceLineNo">087</span>                for (int i = 0; i &lt; incrementCount; i++) {<a name="line.87"></a>
+<span class="sourceLineNo">088</span>                  byte[] row = Bytes.toBytes(i);<a name="line.88"></a>
+<span class="sourceLineNo">089</span>                  Timer.Context context = timer.time();<a name="line.89"></a>
+<span class="sourceLineNo">090</span>                  try {<a name="line.90"></a>
+<span class="sourceLineNo">091</span>                    table.incrementColumnValue(row, columnFamilyName, QUALIFIER, 1l);<a name="line.91"></a>
+<span class="sourceLineNo">092</span>                  } catch (IOException e) {<a name="line.92"></a>
+<span class="sourceLineNo">093</span>                    // swallow..it's a test.<a name="line.93"></a>
+<span class="sourceLineNo">094</span>                  } finally {<a name="line.94"></a>
+<span class="sourceLineNo">095</span>                    context.stop();<a name="line.95"></a>
+<span class="sourceLineNo">096</span>                  }<a name="line.96"></a>
+<span class="sourceLineNo">097</span>                }<a name="line.97"></a>
+<span class="sourceLineNo">098</span>              }<a name="line.98"></a>
+<span class="sourceLineNo">099</span>            }<a name="line.99"></a>
+<span class="sourceLineNo">100</span>          } catch (IOException ioe) {<a name="line.100"></a>
+<span class="sourceLineNo">101</span>            throw new RuntimeException(ioe);<a name="line.101"></a>
+<span class="sourceLineNo">102</span>          }<a name="line.102"></a>
+<span class="sourceLineNo">103</span>        }<a name="line.103"></a>
+<span class="sourceLineNo">104</span>      }));<a name="line.104"></a>
+<span class="sourceLineNo">105</span>    }<a name="line.105"></a>
+<span class="sourceLineNo">106</span><a name="line.106"></a>
+<span class="sourceLineNo">107</span>    for(Future&lt;?&gt; future : futures) future.get();<a name="line.107"></a>
+<span class="sourceLineNo">108</span>    service.shutdown();<a name="line.108"></a>
+<span class="sourceLineNo">109</span>    Snapshot s = metrics.timer("increments").getSnapshot();<a name="line.109"></a>
+<span class="sourceLineNo">110</span>    LOG.info(String.format("75th=%s, 95th=%s, 99th=%s", s.get75thPercentile(),<a name="line.110"></a>
+<span class="sourceLineNo">111</span>        s.get95thPercentile(), s.get99thPercentile()));<a name="line.111"></a>
+<span class="sourceLineNo">112</span>    return 0;<a name="line.112"></a>
+<span class="sourceLineNo">113</span>  }<a name="line.113"></a>
+<span class="sourceLineNo">114</span><a name="line.114"></a>
+<span class="sourceLineNo">115</span>  @Override<a name="line.115"></a>
+<span class="sourceLineNo">116</span>  public Configuration getConf() {<a name="line.116"></a>
+<span class="sourceLineNo">117</span>    return this.conf;<a name="line.117"></a>
+<span class="sourceLineNo">118</span>  }<a name="line.118"></a>
+<span class="sourceLineNo">119</span><a name="line.119"></a>
+<span class="sourceLineNo">120</span>  @Override<a name="line.120"></a>
+<span class="sourceLineNo">121</span>  public void setConf(Configuration conf) {<a name="line.121"></a>
+<span class="sourceLineNo">122</span>    this.conf = conf;<a name="line.122"></a>
+<span class="sourceLineNo">123</span>  }<a name="line.123"></a>
+<span class="sourceLineNo">124</span><a name="line.124"></a>
+<span class="sourceLineNo">125</span>  public static void main(String[] args) throws Exception {<a name="line.125"></a>
+<span class="sourceLineNo">126</span>    System.exit(ToolRunner.run(HBaseConfiguration.create(), new IncrementPerformanceTest(), args));<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>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>


Mime
View raw message