You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by gi...@apache.org on 2018/01/06 15:19:31 UTC

[01/15] hbase-site git commit: Published site at .

Repository: hbase-site
Updated Branches:
  refs/heads/asf-site fcaea4194 -> e2d0ccd79


http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.html
index 9bf2cd5..1af43cf 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.html
@@ -706,7 +706,7 @@
 <span class="sourceLineNo">698</span>      try {<a name="line.698"></a>
 <span class="sourceLineNo">699</span>        TableName tableName = selected.getTableName();<a name="line.699"></a>
 <span class="sourceLineNo">700</span>        // possible DataBlockEncoding ids<a name="line.700"></a>
-<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 6};<a name="line.701"></a>
+<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 7};<a name="line.701"></a>
 <span class="sourceLineNo">702</span>        short id = (short) possibleIds[RandomUtils.nextInt(0, possibleIds.length)];<a name="line.702"></a>
 <span class="sourceLineNo">703</span>        LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +<a name="line.703"></a>
 <span class="sourceLineNo">704</span>            " in table: " + tableName);<a name="line.704"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AllValidPaths.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AllValidPaths.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AllValidPaths.html
index 0bf0031..0b808f1 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AllValidPaths.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AllValidPaths.html
@@ -396,48 +396,67 @@
 <span class="sourceLineNo">388</span>    t.join();<a name="line.388"></a>
 <span class="sourceLineNo">389</span>  }<a name="line.389"></a>
 <span class="sourceLineNo">390</span><a name="line.390"></a>
-<span class="sourceLineNo">391</span>  private void createFiles(FileSystem fs, Path parentDir, int numOfFiles) throws IOException {<a name="line.391"></a>
-<span class="sourceLineNo">392</span>    Random random = new Random();<a name="line.392"></a>
-<span class="sourceLineNo">393</span>    for (int i = 0; i &lt; numOfFiles; i++) {<a name="line.393"></a>
-<span class="sourceLineNo">394</span>      int xMega = 1 + random.nextInt(3); // size of each file is between 1~3M<a name="line.394"></a>
-<span class="sourceLineNo">395</span>      try (FSDataOutputStream fsdos = fs.create(new Path(parentDir, "file-" + i))) {<a name="line.395"></a>
-<span class="sourceLineNo">396</span>        for (int m = 0; m &lt; xMega; m++) {<a name="line.396"></a>
-<span class="sourceLineNo">397</span>          byte[] M = new byte[1024 * 1024];<a name="line.397"></a>
-<span class="sourceLineNo">398</span>          random.nextBytes(M);<a name="line.398"></a>
-<span class="sourceLineNo">399</span>          fsdos.write(M);<a name="line.399"></a>
-<span class="sourceLineNo">400</span>        }<a name="line.400"></a>
-<span class="sourceLineNo">401</span>      }<a name="line.401"></a>
-<span class="sourceLineNo">402</span>    }<a name="line.402"></a>
-<span class="sourceLineNo">403</span>  }<a name="line.403"></a>
-<span class="sourceLineNo">404</span><a name="line.404"></a>
-<span class="sourceLineNo">405</span>  private static class AllValidPaths extends CleanerChore&lt;BaseHFileCleanerDelegate&gt; {<a name="line.405"></a>
-<span class="sourceLineNo">406</span><a name="line.406"></a>
-<span class="sourceLineNo">407</span>    public AllValidPaths(String name, Stoppable s, Configuration conf, FileSystem fs,<a name="line.407"></a>
-<span class="sourceLineNo">408</span>        Path oldFileDir, String confkey) {<a name="line.408"></a>
-<span class="sourceLineNo">409</span>      super(name, Integer.MAX_VALUE, s, conf, fs, oldFileDir, confkey);<a name="line.409"></a>
-<span class="sourceLineNo">410</span>    }<a name="line.410"></a>
-<span class="sourceLineNo">411</span><a name="line.411"></a>
-<span class="sourceLineNo">412</span>    // all paths are valid<a name="line.412"></a>
-<span class="sourceLineNo">413</span>    @Override<a name="line.413"></a>
-<span class="sourceLineNo">414</span>    protected boolean validate(Path file) {<a name="line.414"></a>
-<span class="sourceLineNo">415</span>      return true;<a name="line.415"></a>
-<span class="sourceLineNo">416</span>    }<a name="line.416"></a>
-<span class="sourceLineNo">417</span>  };<a name="line.417"></a>
-<span class="sourceLineNo">418</span><a name="line.418"></a>
-<span class="sourceLineNo">419</span>  public static class AlwaysDelete extends BaseHFileCleanerDelegate {<a name="line.419"></a>
-<span class="sourceLineNo">420</span>    @Override<a name="line.420"></a>
-<span class="sourceLineNo">421</span>    public boolean isFileDeletable(FileStatus fStat) {<a name="line.421"></a>
-<span class="sourceLineNo">422</span>      return true;<a name="line.422"></a>
-<span class="sourceLineNo">423</span>    }<a name="line.423"></a>
-<span class="sourceLineNo">424</span>  }<a name="line.424"></a>
+<span class="sourceLineNo">391</span>  @Test<a name="line.391"></a>
+<span class="sourceLineNo">392</span>  public void testMinimumNumberOfThreads() throws Exception {<a name="line.392"></a>
+<span class="sourceLineNo">393</span>    Stoppable stop = new StoppableImplementation();<a name="line.393"></a>
+<span class="sourceLineNo">394</span>    Configuration conf = UTIL.getConfiguration();<a name="line.394"></a>
+<span class="sourceLineNo">395</span>    Path testDir = UTIL.getDataTestDir();<a name="line.395"></a>
+<span class="sourceLineNo">396</span>    FileSystem fs = UTIL.getTestFileSystem();<a name="line.396"></a>
+<span class="sourceLineNo">397</span>    String confKey = "hbase.test.cleaner.delegates";<a name="line.397"></a>
+<span class="sourceLineNo">398</span>    conf.set(confKey, AlwaysDelete.class.getName());<a name="line.398"></a>
+<span class="sourceLineNo">399</span>    conf.set(CleanerChore.CHORE_POOL_SIZE, "2");<a name="line.399"></a>
+<span class="sourceLineNo">400</span>    AllValidPaths chore = new AllValidPaths("test-file-cleaner", stop, conf, fs, testDir, confKey);<a name="line.400"></a>
+<span class="sourceLineNo">401</span>    int numProcs = Runtime.getRuntime().availableProcessors();<a name="line.401"></a>
+<span class="sourceLineNo">402</span>    // Sanity<a name="line.402"></a>
+<span class="sourceLineNo">403</span>    assertEquals(numProcs, chore.calculatePoolSize(Integer.toString(numProcs)));<a name="line.403"></a>
+<span class="sourceLineNo">404</span>    // The implementation does not allow us to set more threads than we have processors<a name="line.404"></a>
+<span class="sourceLineNo">405</span>    assertEquals(numProcs, chore.calculatePoolSize(Integer.toString(numProcs + 2)));<a name="line.405"></a>
+<span class="sourceLineNo">406</span>    // Force us into the branch that is multiplying 0.0 against the number of processors<a name="line.406"></a>
+<span class="sourceLineNo">407</span>    assertEquals(1, chore.calculatePoolSize("0.0"));<a name="line.407"></a>
+<span class="sourceLineNo">408</span>  }<a name="line.408"></a>
+<span class="sourceLineNo">409</span><a name="line.409"></a>
+<span class="sourceLineNo">410</span>  private void createFiles(FileSystem fs, Path parentDir, int numOfFiles) throws IOException {<a name="line.410"></a>
+<span class="sourceLineNo">411</span>    Random random = new Random();<a name="line.411"></a>
+<span class="sourceLineNo">412</span>    for (int i = 0; i &lt; numOfFiles; i++) {<a name="line.412"></a>
+<span class="sourceLineNo">413</span>      int xMega = 1 + random.nextInt(3); // size of each file is between 1~3M<a name="line.413"></a>
+<span class="sourceLineNo">414</span>      try (FSDataOutputStream fsdos = fs.create(new Path(parentDir, "file-" + i))) {<a name="line.414"></a>
+<span class="sourceLineNo">415</span>        for (int m = 0; m &lt; xMega; m++) {<a name="line.415"></a>
+<span class="sourceLineNo">416</span>          byte[] M = new byte[1024 * 1024];<a name="line.416"></a>
+<span class="sourceLineNo">417</span>          random.nextBytes(M);<a name="line.417"></a>
+<span class="sourceLineNo">418</span>          fsdos.write(M);<a name="line.418"></a>
+<span class="sourceLineNo">419</span>        }<a name="line.419"></a>
+<span class="sourceLineNo">420</span>      }<a name="line.420"></a>
+<span class="sourceLineNo">421</span>    }<a name="line.421"></a>
+<span class="sourceLineNo">422</span>  }<a name="line.422"></a>
+<span class="sourceLineNo">423</span><a name="line.423"></a>
+<span class="sourceLineNo">424</span>  private static class AllValidPaths extends CleanerChore&lt;BaseHFileCleanerDelegate&gt; {<a name="line.424"></a>
 <span class="sourceLineNo">425</span><a name="line.425"></a>
-<span class="sourceLineNo">426</span>  public static class NeverDelete extends BaseHFileCleanerDelegate {<a name="line.426"></a>
-<span class="sourceLineNo">427</span>    @Override<a name="line.427"></a>
-<span class="sourceLineNo">428</span>    public boolean isFileDeletable(FileStatus fStat) {<a name="line.428"></a>
-<span class="sourceLineNo">429</span>      return false;<a name="line.429"></a>
-<span class="sourceLineNo">430</span>    }<a name="line.430"></a>
-<span class="sourceLineNo">431</span>  }<a name="line.431"></a>
-<span class="sourceLineNo">432</span>}<a name="line.432"></a>
+<span class="sourceLineNo">426</span>    public AllValidPaths(String name, Stoppable s, Configuration conf, FileSystem fs,<a name="line.426"></a>
+<span class="sourceLineNo">427</span>        Path oldFileDir, String confkey) {<a name="line.427"></a>
+<span class="sourceLineNo">428</span>      super(name, Integer.MAX_VALUE, s, conf, fs, oldFileDir, confkey);<a name="line.428"></a>
+<span class="sourceLineNo">429</span>    }<a name="line.429"></a>
+<span class="sourceLineNo">430</span><a name="line.430"></a>
+<span class="sourceLineNo">431</span>    // all paths are valid<a name="line.431"></a>
+<span class="sourceLineNo">432</span>    @Override<a name="line.432"></a>
+<span class="sourceLineNo">433</span>    protected boolean validate(Path file) {<a name="line.433"></a>
+<span class="sourceLineNo">434</span>      return true;<a name="line.434"></a>
+<span class="sourceLineNo">435</span>    }<a name="line.435"></a>
+<span class="sourceLineNo">436</span>  };<a name="line.436"></a>
+<span class="sourceLineNo">437</span><a name="line.437"></a>
+<span class="sourceLineNo">438</span>  public static class AlwaysDelete extends BaseHFileCleanerDelegate {<a name="line.438"></a>
+<span class="sourceLineNo">439</span>    @Override<a name="line.439"></a>
+<span class="sourceLineNo">440</span>    public boolean isFileDeletable(FileStatus fStat) {<a name="line.440"></a>
+<span class="sourceLineNo">441</span>      return true;<a name="line.441"></a>
+<span class="sourceLineNo">442</span>    }<a name="line.442"></a>
+<span class="sourceLineNo">443</span>  }<a name="line.443"></a>
+<span class="sourceLineNo">444</span><a name="line.444"></a>
+<span class="sourceLineNo">445</span>  public static class NeverDelete extends BaseHFileCleanerDelegate {<a name="line.445"></a>
+<span class="sourceLineNo">446</span>    @Override<a name="line.446"></a>
+<span class="sourceLineNo">447</span>    public boolean isFileDeletable(FileStatus fStat) {<a name="line.447"></a>
+<span class="sourceLineNo">448</span>      return false;<a name="line.448"></a>
+<span class="sourceLineNo">449</span>    }<a name="line.449"></a>
+<span class="sourceLineNo">450</span>  }<a name="line.450"></a>
+<span class="sourceLineNo">451</span>}<a name="line.451"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AlwaysDelete.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AlwaysDelete.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AlwaysDelete.html
index 0bf0031..0b808f1 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AlwaysDelete.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AlwaysDelete.html
@@ -396,48 +396,67 @@
 <span class="sourceLineNo">388</span>    t.join();<a name="line.388"></a>
 <span class="sourceLineNo">389</span>  }<a name="line.389"></a>
 <span class="sourceLineNo">390</span><a name="line.390"></a>
-<span class="sourceLineNo">391</span>  private void createFiles(FileSystem fs, Path parentDir, int numOfFiles) throws IOException {<a name="line.391"></a>
-<span class="sourceLineNo">392</span>    Random random = new Random();<a name="line.392"></a>
-<span class="sourceLineNo">393</span>    for (int i = 0; i &lt; numOfFiles; i++) {<a name="line.393"></a>
-<span class="sourceLineNo">394</span>      int xMega = 1 + random.nextInt(3); // size of each file is between 1~3M<a name="line.394"></a>
-<span class="sourceLineNo">395</span>      try (FSDataOutputStream fsdos = fs.create(new Path(parentDir, "file-" + i))) {<a name="line.395"></a>
-<span class="sourceLineNo">396</span>        for (int m = 0; m &lt; xMega; m++) {<a name="line.396"></a>
-<span class="sourceLineNo">397</span>          byte[] M = new byte[1024 * 1024];<a name="line.397"></a>
-<span class="sourceLineNo">398</span>          random.nextBytes(M);<a name="line.398"></a>
-<span class="sourceLineNo">399</span>          fsdos.write(M);<a name="line.399"></a>
-<span class="sourceLineNo">400</span>        }<a name="line.400"></a>
-<span class="sourceLineNo">401</span>      }<a name="line.401"></a>
-<span class="sourceLineNo">402</span>    }<a name="line.402"></a>
-<span class="sourceLineNo">403</span>  }<a name="line.403"></a>
-<span class="sourceLineNo">404</span><a name="line.404"></a>
-<span class="sourceLineNo">405</span>  private static class AllValidPaths extends CleanerChore&lt;BaseHFileCleanerDelegate&gt; {<a name="line.405"></a>
-<span class="sourceLineNo">406</span><a name="line.406"></a>
-<span class="sourceLineNo">407</span>    public AllValidPaths(String name, Stoppable s, Configuration conf, FileSystem fs,<a name="line.407"></a>
-<span class="sourceLineNo">408</span>        Path oldFileDir, String confkey) {<a name="line.408"></a>
-<span class="sourceLineNo">409</span>      super(name, Integer.MAX_VALUE, s, conf, fs, oldFileDir, confkey);<a name="line.409"></a>
-<span class="sourceLineNo">410</span>    }<a name="line.410"></a>
-<span class="sourceLineNo">411</span><a name="line.411"></a>
-<span class="sourceLineNo">412</span>    // all paths are valid<a name="line.412"></a>
-<span class="sourceLineNo">413</span>    @Override<a name="line.413"></a>
-<span class="sourceLineNo">414</span>    protected boolean validate(Path file) {<a name="line.414"></a>
-<span class="sourceLineNo">415</span>      return true;<a name="line.415"></a>
-<span class="sourceLineNo">416</span>    }<a name="line.416"></a>
-<span class="sourceLineNo">417</span>  };<a name="line.417"></a>
-<span class="sourceLineNo">418</span><a name="line.418"></a>
-<span class="sourceLineNo">419</span>  public static class AlwaysDelete extends BaseHFileCleanerDelegate {<a name="line.419"></a>
-<span class="sourceLineNo">420</span>    @Override<a name="line.420"></a>
-<span class="sourceLineNo">421</span>    public boolean isFileDeletable(FileStatus fStat) {<a name="line.421"></a>
-<span class="sourceLineNo">422</span>      return true;<a name="line.422"></a>
-<span class="sourceLineNo">423</span>    }<a name="line.423"></a>
-<span class="sourceLineNo">424</span>  }<a name="line.424"></a>
+<span class="sourceLineNo">391</span>  @Test<a name="line.391"></a>
+<span class="sourceLineNo">392</span>  public void testMinimumNumberOfThreads() throws Exception {<a name="line.392"></a>
+<span class="sourceLineNo">393</span>    Stoppable stop = new StoppableImplementation();<a name="line.393"></a>
+<span class="sourceLineNo">394</span>    Configuration conf = UTIL.getConfiguration();<a name="line.394"></a>
+<span class="sourceLineNo">395</span>    Path testDir = UTIL.getDataTestDir();<a name="line.395"></a>
+<span class="sourceLineNo">396</span>    FileSystem fs = UTIL.getTestFileSystem();<a name="line.396"></a>
+<span class="sourceLineNo">397</span>    String confKey = "hbase.test.cleaner.delegates";<a name="line.397"></a>
+<span class="sourceLineNo">398</span>    conf.set(confKey, AlwaysDelete.class.getName());<a name="line.398"></a>
+<span class="sourceLineNo">399</span>    conf.set(CleanerChore.CHORE_POOL_SIZE, "2");<a name="line.399"></a>
+<span class="sourceLineNo">400</span>    AllValidPaths chore = new AllValidPaths("test-file-cleaner", stop, conf, fs, testDir, confKey);<a name="line.400"></a>
+<span class="sourceLineNo">401</span>    int numProcs = Runtime.getRuntime().availableProcessors();<a name="line.401"></a>
+<span class="sourceLineNo">402</span>    // Sanity<a name="line.402"></a>
+<span class="sourceLineNo">403</span>    assertEquals(numProcs, chore.calculatePoolSize(Integer.toString(numProcs)));<a name="line.403"></a>
+<span class="sourceLineNo">404</span>    // The implementation does not allow us to set more threads than we have processors<a name="line.404"></a>
+<span class="sourceLineNo">405</span>    assertEquals(numProcs, chore.calculatePoolSize(Integer.toString(numProcs + 2)));<a name="line.405"></a>
+<span class="sourceLineNo">406</span>    // Force us into the branch that is multiplying 0.0 against the number of processors<a name="line.406"></a>
+<span class="sourceLineNo">407</span>    assertEquals(1, chore.calculatePoolSize("0.0"));<a name="line.407"></a>
+<span class="sourceLineNo">408</span>  }<a name="line.408"></a>
+<span class="sourceLineNo">409</span><a name="line.409"></a>
+<span class="sourceLineNo">410</span>  private void createFiles(FileSystem fs, Path parentDir, int numOfFiles) throws IOException {<a name="line.410"></a>
+<span class="sourceLineNo">411</span>    Random random = new Random();<a name="line.411"></a>
+<span class="sourceLineNo">412</span>    for (int i = 0; i &lt; numOfFiles; i++) {<a name="line.412"></a>
+<span class="sourceLineNo">413</span>      int xMega = 1 + random.nextInt(3); // size of each file is between 1~3M<a name="line.413"></a>
+<span class="sourceLineNo">414</span>      try (FSDataOutputStream fsdos = fs.create(new Path(parentDir, "file-" + i))) {<a name="line.414"></a>
+<span class="sourceLineNo">415</span>        for (int m = 0; m &lt; xMega; m++) {<a name="line.415"></a>
+<span class="sourceLineNo">416</span>          byte[] M = new byte[1024 * 1024];<a name="line.416"></a>
+<span class="sourceLineNo">417</span>          random.nextBytes(M);<a name="line.417"></a>
+<span class="sourceLineNo">418</span>          fsdos.write(M);<a name="line.418"></a>
+<span class="sourceLineNo">419</span>        }<a name="line.419"></a>
+<span class="sourceLineNo">420</span>      }<a name="line.420"></a>
+<span class="sourceLineNo">421</span>    }<a name="line.421"></a>
+<span class="sourceLineNo">422</span>  }<a name="line.422"></a>
+<span class="sourceLineNo">423</span><a name="line.423"></a>
+<span class="sourceLineNo">424</span>  private static class AllValidPaths extends CleanerChore&lt;BaseHFileCleanerDelegate&gt; {<a name="line.424"></a>
 <span class="sourceLineNo">425</span><a name="line.425"></a>
-<span class="sourceLineNo">426</span>  public static class NeverDelete extends BaseHFileCleanerDelegate {<a name="line.426"></a>
-<span class="sourceLineNo">427</span>    @Override<a name="line.427"></a>
-<span class="sourceLineNo">428</span>    public boolean isFileDeletable(FileStatus fStat) {<a name="line.428"></a>
-<span class="sourceLineNo">429</span>      return false;<a name="line.429"></a>
-<span class="sourceLineNo">430</span>    }<a name="line.430"></a>
-<span class="sourceLineNo">431</span>  }<a name="line.431"></a>
-<span class="sourceLineNo">432</span>}<a name="line.432"></a>
+<span class="sourceLineNo">426</span>    public AllValidPaths(String name, Stoppable s, Configuration conf, FileSystem fs,<a name="line.426"></a>
+<span class="sourceLineNo">427</span>        Path oldFileDir, String confkey) {<a name="line.427"></a>
+<span class="sourceLineNo">428</span>      super(name, Integer.MAX_VALUE, s, conf, fs, oldFileDir, confkey);<a name="line.428"></a>
+<span class="sourceLineNo">429</span>    }<a name="line.429"></a>
+<span class="sourceLineNo">430</span><a name="line.430"></a>
+<span class="sourceLineNo">431</span>    // all paths are valid<a name="line.431"></a>
+<span class="sourceLineNo">432</span>    @Override<a name="line.432"></a>
+<span class="sourceLineNo">433</span>    protected boolean validate(Path file) {<a name="line.433"></a>
+<span class="sourceLineNo">434</span>      return true;<a name="line.434"></a>
+<span class="sourceLineNo">435</span>    }<a name="line.435"></a>
+<span class="sourceLineNo">436</span>  };<a name="line.436"></a>
+<span class="sourceLineNo">437</span><a name="line.437"></a>
+<span class="sourceLineNo">438</span>  public static class AlwaysDelete extends BaseHFileCleanerDelegate {<a name="line.438"></a>
+<span class="sourceLineNo">439</span>    @Override<a name="line.439"></a>
+<span class="sourceLineNo">440</span>    public boolean isFileDeletable(FileStatus fStat) {<a name="line.440"></a>
+<span class="sourceLineNo">441</span>      return true;<a name="line.441"></a>
+<span class="sourceLineNo">442</span>    }<a name="line.442"></a>
+<span class="sourceLineNo">443</span>  }<a name="line.443"></a>
+<span class="sourceLineNo">444</span><a name="line.444"></a>
+<span class="sourceLineNo">445</span>  public static class NeverDelete extends BaseHFileCleanerDelegate {<a name="line.445"></a>
+<span class="sourceLineNo">446</span>    @Override<a name="line.446"></a>
+<span class="sourceLineNo">447</span>    public boolean isFileDeletable(FileStatus fStat) {<a name="line.447"></a>
+<span class="sourceLineNo">448</span>      return false;<a name="line.448"></a>
+<span class="sourceLineNo">449</span>    }<a name="line.449"></a>
+<span class="sourceLineNo">450</span>  }<a name="line.450"></a>
+<span class="sourceLineNo">451</span>}<a name="line.451"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.NeverDelete.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.NeverDelete.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.NeverDelete.html
index 0bf0031..0b808f1 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.NeverDelete.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.NeverDelete.html
@@ -396,48 +396,67 @@
 <span class="sourceLineNo">388</span>    t.join();<a name="line.388"></a>
 <span class="sourceLineNo">389</span>  }<a name="line.389"></a>
 <span class="sourceLineNo">390</span><a name="line.390"></a>
-<span class="sourceLineNo">391</span>  private void createFiles(FileSystem fs, Path parentDir, int numOfFiles) throws IOException {<a name="line.391"></a>
-<span class="sourceLineNo">392</span>    Random random = new Random();<a name="line.392"></a>
-<span class="sourceLineNo">393</span>    for (int i = 0; i &lt; numOfFiles; i++) {<a name="line.393"></a>
-<span class="sourceLineNo">394</span>      int xMega = 1 + random.nextInt(3); // size of each file is between 1~3M<a name="line.394"></a>
-<span class="sourceLineNo">395</span>      try (FSDataOutputStream fsdos = fs.create(new Path(parentDir, "file-" + i))) {<a name="line.395"></a>
-<span class="sourceLineNo">396</span>        for (int m = 0; m &lt; xMega; m++) {<a name="line.396"></a>
-<span class="sourceLineNo">397</span>          byte[] M = new byte[1024 * 1024];<a name="line.397"></a>
-<span class="sourceLineNo">398</span>          random.nextBytes(M);<a name="line.398"></a>
-<span class="sourceLineNo">399</span>          fsdos.write(M);<a name="line.399"></a>
-<span class="sourceLineNo">400</span>        }<a name="line.400"></a>
-<span class="sourceLineNo">401</span>      }<a name="line.401"></a>
-<span class="sourceLineNo">402</span>    }<a name="line.402"></a>
-<span class="sourceLineNo">403</span>  }<a name="line.403"></a>
-<span class="sourceLineNo">404</span><a name="line.404"></a>
-<span class="sourceLineNo">405</span>  private static class AllValidPaths extends CleanerChore&lt;BaseHFileCleanerDelegate&gt; {<a name="line.405"></a>
-<span class="sourceLineNo">406</span><a name="line.406"></a>
-<span class="sourceLineNo">407</span>    public AllValidPaths(String name, Stoppable s, Configuration conf, FileSystem fs,<a name="line.407"></a>
-<span class="sourceLineNo">408</span>        Path oldFileDir, String confkey) {<a name="line.408"></a>
-<span class="sourceLineNo">409</span>      super(name, Integer.MAX_VALUE, s, conf, fs, oldFileDir, confkey);<a name="line.409"></a>
-<span class="sourceLineNo">410</span>    }<a name="line.410"></a>
-<span class="sourceLineNo">411</span><a name="line.411"></a>
-<span class="sourceLineNo">412</span>    // all paths are valid<a name="line.412"></a>
-<span class="sourceLineNo">413</span>    @Override<a name="line.413"></a>
-<span class="sourceLineNo">414</span>    protected boolean validate(Path file) {<a name="line.414"></a>
-<span class="sourceLineNo">415</span>      return true;<a name="line.415"></a>
-<span class="sourceLineNo">416</span>    }<a name="line.416"></a>
-<span class="sourceLineNo">417</span>  };<a name="line.417"></a>
-<span class="sourceLineNo">418</span><a name="line.418"></a>
-<span class="sourceLineNo">419</span>  public static class AlwaysDelete extends BaseHFileCleanerDelegate {<a name="line.419"></a>
-<span class="sourceLineNo">420</span>    @Override<a name="line.420"></a>
-<span class="sourceLineNo">421</span>    public boolean isFileDeletable(FileStatus fStat) {<a name="line.421"></a>
-<span class="sourceLineNo">422</span>      return true;<a name="line.422"></a>
-<span class="sourceLineNo">423</span>    }<a name="line.423"></a>
-<span class="sourceLineNo">424</span>  }<a name="line.424"></a>
+<span class="sourceLineNo">391</span>  @Test<a name="line.391"></a>
+<span class="sourceLineNo">392</span>  public void testMinimumNumberOfThreads() throws Exception {<a name="line.392"></a>
+<span class="sourceLineNo">393</span>    Stoppable stop = new StoppableImplementation();<a name="line.393"></a>
+<span class="sourceLineNo">394</span>    Configuration conf = UTIL.getConfiguration();<a name="line.394"></a>
+<span class="sourceLineNo">395</span>    Path testDir = UTIL.getDataTestDir();<a name="line.395"></a>
+<span class="sourceLineNo">396</span>    FileSystem fs = UTIL.getTestFileSystem();<a name="line.396"></a>
+<span class="sourceLineNo">397</span>    String confKey = "hbase.test.cleaner.delegates";<a name="line.397"></a>
+<span class="sourceLineNo">398</span>    conf.set(confKey, AlwaysDelete.class.getName());<a name="line.398"></a>
+<span class="sourceLineNo">399</span>    conf.set(CleanerChore.CHORE_POOL_SIZE, "2");<a name="line.399"></a>
+<span class="sourceLineNo">400</span>    AllValidPaths chore = new AllValidPaths("test-file-cleaner", stop, conf, fs, testDir, confKey);<a name="line.400"></a>
+<span class="sourceLineNo">401</span>    int numProcs = Runtime.getRuntime().availableProcessors();<a name="line.401"></a>
+<span class="sourceLineNo">402</span>    // Sanity<a name="line.402"></a>
+<span class="sourceLineNo">403</span>    assertEquals(numProcs, chore.calculatePoolSize(Integer.toString(numProcs)));<a name="line.403"></a>
+<span class="sourceLineNo">404</span>    // The implementation does not allow us to set more threads than we have processors<a name="line.404"></a>
+<span class="sourceLineNo">405</span>    assertEquals(numProcs, chore.calculatePoolSize(Integer.toString(numProcs + 2)));<a name="line.405"></a>
+<span class="sourceLineNo">406</span>    // Force us into the branch that is multiplying 0.0 against the number of processors<a name="line.406"></a>
+<span class="sourceLineNo">407</span>    assertEquals(1, chore.calculatePoolSize("0.0"));<a name="line.407"></a>
+<span class="sourceLineNo">408</span>  }<a name="line.408"></a>
+<span class="sourceLineNo">409</span><a name="line.409"></a>
+<span class="sourceLineNo">410</span>  private void createFiles(FileSystem fs, Path parentDir, int numOfFiles) throws IOException {<a name="line.410"></a>
+<span class="sourceLineNo">411</span>    Random random = new Random();<a name="line.411"></a>
+<span class="sourceLineNo">412</span>    for (int i = 0; i &lt; numOfFiles; i++) {<a name="line.412"></a>
+<span class="sourceLineNo">413</span>      int xMega = 1 + random.nextInt(3); // size of each file is between 1~3M<a name="line.413"></a>
+<span class="sourceLineNo">414</span>      try (FSDataOutputStream fsdos = fs.create(new Path(parentDir, "file-" + i))) {<a name="line.414"></a>
+<span class="sourceLineNo">415</span>        for (int m = 0; m &lt; xMega; m++) {<a name="line.415"></a>
+<span class="sourceLineNo">416</span>          byte[] M = new byte[1024 * 1024];<a name="line.416"></a>
+<span class="sourceLineNo">417</span>          random.nextBytes(M);<a name="line.417"></a>
+<span class="sourceLineNo">418</span>          fsdos.write(M);<a name="line.418"></a>
+<span class="sourceLineNo">419</span>        }<a name="line.419"></a>
+<span class="sourceLineNo">420</span>      }<a name="line.420"></a>
+<span class="sourceLineNo">421</span>    }<a name="line.421"></a>
+<span class="sourceLineNo">422</span>  }<a name="line.422"></a>
+<span class="sourceLineNo">423</span><a name="line.423"></a>
+<span class="sourceLineNo">424</span>  private static class AllValidPaths extends CleanerChore&lt;BaseHFileCleanerDelegate&gt; {<a name="line.424"></a>
 <span class="sourceLineNo">425</span><a name="line.425"></a>
-<span class="sourceLineNo">426</span>  public static class NeverDelete extends BaseHFileCleanerDelegate {<a name="line.426"></a>
-<span class="sourceLineNo">427</span>    @Override<a name="line.427"></a>
-<span class="sourceLineNo">428</span>    public boolean isFileDeletable(FileStatus fStat) {<a name="line.428"></a>
-<span class="sourceLineNo">429</span>      return false;<a name="line.429"></a>
-<span class="sourceLineNo">430</span>    }<a name="line.430"></a>
-<span class="sourceLineNo">431</span>  }<a name="line.431"></a>
-<span class="sourceLineNo">432</span>}<a name="line.432"></a>
+<span class="sourceLineNo">426</span>    public AllValidPaths(String name, Stoppable s, Configuration conf, FileSystem fs,<a name="line.426"></a>
+<span class="sourceLineNo">427</span>        Path oldFileDir, String confkey) {<a name="line.427"></a>
+<span class="sourceLineNo">428</span>      super(name, Integer.MAX_VALUE, s, conf, fs, oldFileDir, confkey);<a name="line.428"></a>
+<span class="sourceLineNo">429</span>    }<a name="line.429"></a>
+<span class="sourceLineNo">430</span><a name="line.430"></a>
+<span class="sourceLineNo">431</span>    // all paths are valid<a name="line.431"></a>
+<span class="sourceLineNo">432</span>    @Override<a name="line.432"></a>
+<span class="sourceLineNo">433</span>    protected boolean validate(Path file) {<a name="line.433"></a>
+<span class="sourceLineNo">434</span>      return true;<a name="line.434"></a>
+<span class="sourceLineNo">435</span>    }<a name="line.435"></a>
+<span class="sourceLineNo">436</span>  };<a name="line.436"></a>
+<span class="sourceLineNo">437</span><a name="line.437"></a>
+<span class="sourceLineNo">438</span>  public static class AlwaysDelete extends BaseHFileCleanerDelegate {<a name="line.438"></a>
+<span class="sourceLineNo">439</span>    @Override<a name="line.439"></a>
+<span class="sourceLineNo">440</span>    public boolean isFileDeletable(FileStatus fStat) {<a name="line.440"></a>
+<span class="sourceLineNo">441</span>      return true;<a name="line.441"></a>
+<span class="sourceLineNo">442</span>    }<a name="line.442"></a>
+<span class="sourceLineNo">443</span>  }<a name="line.443"></a>
+<span class="sourceLineNo">444</span><a name="line.444"></a>
+<span class="sourceLineNo">445</span>  public static class NeverDelete extends BaseHFileCleanerDelegate {<a name="line.445"></a>
+<span class="sourceLineNo">446</span>    @Override<a name="line.446"></a>
+<span class="sourceLineNo">447</span>    public boolean isFileDeletable(FileStatus fStat) {<a name="line.447"></a>
+<span class="sourceLineNo">448</span>      return false;<a name="line.448"></a>
+<span class="sourceLineNo">449</span>    }<a name="line.449"></a>
+<span class="sourceLineNo">450</span>  }<a name="line.450"></a>
+<span class="sourceLineNo">451</span>}<a name="line.451"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html
index 0bf0031..0b808f1 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html
@@ -396,48 +396,67 @@
 <span class="sourceLineNo">388</span>    t.join();<a name="line.388"></a>
 <span class="sourceLineNo">389</span>  }<a name="line.389"></a>
 <span class="sourceLineNo">390</span><a name="line.390"></a>
-<span class="sourceLineNo">391</span>  private void createFiles(FileSystem fs, Path parentDir, int numOfFiles) throws IOException {<a name="line.391"></a>
-<span class="sourceLineNo">392</span>    Random random = new Random();<a name="line.392"></a>
-<span class="sourceLineNo">393</span>    for (int i = 0; i &lt; numOfFiles; i++) {<a name="line.393"></a>
-<span class="sourceLineNo">394</span>      int xMega = 1 + random.nextInt(3); // size of each file is between 1~3M<a name="line.394"></a>
-<span class="sourceLineNo">395</span>      try (FSDataOutputStream fsdos = fs.create(new Path(parentDir, "file-" + i))) {<a name="line.395"></a>
-<span class="sourceLineNo">396</span>        for (int m = 0; m &lt; xMega; m++) {<a name="line.396"></a>
-<span class="sourceLineNo">397</span>          byte[] M = new byte[1024 * 1024];<a name="line.397"></a>
-<span class="sourceLineNo">398</span>          random.nextBytes(M);<a name="line.398"></a>
-<span class="sourceLineNo">399</span>          fsdos.write(M);<a name="line.399"></a>
-<span class="sourceLineNo">400</span>        }<a name="line.400"></a>
-<span class="sourceLineNo">401</span>      }<a name="line.401"></a>
-<span class="sourceLineNo">402</span>    }<a name="line.402"></a>
-<span class="sourceLineNo">403</span>  }<a name="line.403"></a>
-<span class="sourceLineNo">404</span><a name="line.404"></a>
-<span class="sourceLineNo">405</span>  private static class AllValidPaths extends CleanerChore&lt;BaseHFileCleanerDelegate&gt; {<a name="line.405"></a>
-<span class="sourceLineNo">406</span><a name="line.406"></a>
-<span class="sourceLineNo">407</span>    public AllValidPaths(String name, Stoppable s, Configuration conf, FileSystem fs,<a name="line.407"></a>
-<span class="sourceLineNo">408</span>        Path oldFileDir, String confkey) {<a name="line.408"></a>
-<span class="sourceLineNo">409</span>      super(name, Integer.MAX_VALUE, s, conf, fs, oldFileDir, confkey);<a name="line.409"></a>
-<span class="sourceLineNo">410</span>    }<a name="line.410"></a>
-<span class="sourceLineNo">411</span><a name="line.411"></a>
-<span class="sourceLineNo">412</span>    // all paths are valid<a name="line.412"></a>
-<span class="sourceLineNo">413</span>    @Override<a name="line.413"></a>
-<span class="sourceLineNo">414</span>    protected boolean validate(Path file) {<a name="line.414"></a>
-<span class="sourceLineNo">415</span>      return true;<a name="line.415"></a>
-<span class="sourceLineNo">416</span>    }<a name="line.416"></a>
-<span class="sourceLineNo">417</span>  };<a name="line.417"></a>
-<span class="sourceLineNo">418</span><a name="line.418"></a>
-<span class="sourceLineNo">419</span>  public static class AlwaysDelete extends BaseHFileCleanerDelegate {<a name="line.419"></a>
-<span class="sourceLineNo">420</span>    @Override<a name="line.420"></a>
-<span class="sourceLineNo">421</span>    public boolean isFileDeletable(FileStatus fStat) {<a name="line.421"></a>
-<span class="sourceLineNo">422</span>      return true;<a name="line.422"></a>
-<span class="sourceLineNo">423</span>    }<a name="line.423"></a>
-<span class="sourceLineNo">424</span>  }<a name="line.424"></a>
+<span class="sourceLineNo">391</span>  @Test<a name="line.391"></a>
+<span class="sourceLineNo">392</span>  public void testMinimumNumberOfThreads() throws Exception {<a name="line.392"></a>
+<span class="sourceLineNo">393</span>    Stoppable stop = new StoppableImplementation();<a name="line.393"></a>
+<span class="sourceLineNo">394</span>    Configuration conf = UTIL.getConfiguration();<a name="line.394"></a>
+<span class="sourceLineNo">395</span>    Path testDir = UTIL.getDataTestDir();<a name="line.395"></a>
+<span class="sourceLineNo">396</span>    FileSystem fs = UTIL.getTestFileSystem();<a name="line.396"></a>
+<span class="sourceLineNo">397</span>    String confKey = "hbase.test.cleaner.delegates";<a name="line.397"></a>
+<span class="sourceLineNo">398</span>    conf.set(confKey, AlwaysDelete.class.getName());<a name="line.398"></a>
+<span class="sourceLineNo">399</span>    conf.set(CleanerChore.CHORE_POOL_SIZE, "2");<a name="line.399"></a>
+<span class="sourceLineNo">400</span>    AllValidPaths chore = new AllValidPaths("test-file-cleaner", stop, conf, fs, testDir, confKey);<a name="line.400"></a>
+<span class="sourceLineNo">401</span>    int numProcs = Runtime.getRuntime().availableProcessors();<a name="line.401"></a>
+<span class="sourceLineNo">402</span>    // Sanity<a name="line.402"></a>
+<span class="sourceLineNo">403</span>    assertEquals(numProcs, chore.calculatePoolSize(Integer.toString(numProcs)));<a name="line.403"></a>
+<span class="sourceLineNo">404</span>    // The implementation does not allow us to set more threads than we have processors<a name="line.404"></a>
+<span class="sourceLineNo">405</span>    assertEquals(numProcs, chore.calculatePoolSize(Integer.toString(numProcs + 2)));<a name="line.405"></a>
+<span class="sourceLineNo">406</span>    // Force us into the branch that is multiplying 0.0 against the number of processors<a name="line.406"></a>
+<span class="sourceLineNo">407</span>    assertEquals(1, chore.calculatePoolSize("0.0"));<a name="line.407"></a>
+<span class="sourceLineNo">408</span>  }<a name="line.408"></a>
+<span class="sourceLineNo">409</span><a name="line.409"></a>
+<span class="sourceLineNo">410</span>  private void createFiles(FileSystem fs, Path parentDir, int numOfFiles) throws IOException {<a name="line.410"></a>
+<span class="sourceLineNo">411</span>    Random random = new Random();<a name="line.411"></a>
+<span class="sourceLineNo">412</span>    for (int i = 0; i &lt; numOfFiles; i++) {<a name="line.412"></a>
+<span class="sourceLineNo">413</span>      int xMega = 1 + random.nextInt(3); // size of each file is between 1~3M<a name="line.413"></a>
+<span class="sourceLineNo">414</span>      try (FSDataOutputStream fsdos = fs.create(new Path(parentDir, "file-" + i))) {<a name="line.414"></a>
+<span class="sourceLineNo">415</span>        for (int m = 0; m &lt; xMega; m++) {<a name="line.415"></a>
+<span class="sourceLineNo">416</span>          byte[] M = new byte[1024 * 1024];<a name="line.416"></a>
+<span class="sourceLineNo">417</span>          random.nextBytes(M);<a name="line.417"></a>
+<span class="sourceLineNo">418</span>          fsdos.write(M);<a name="line.418"></a>
+<span class="sourceLineNo">419</span>        }<a name="line.419"></a>
+<span class="sourceLineNo">420</span>      }<a name="line.420"></a>
+<span class="sourceLineNo">421</span>    }<a name="line.421"></a>
+<span class="sourceLineNo">422</span>  }<a name="line.422"></a>
+<span class="sourceLineNo">423</span><a name="line.423"></a>
+<span class="sourceLineNo">424</span>  private static class AllValidPaths extends CleanerChore&lt;BaseHFileCleanerDelegate&gt; {<a name="line.424"></a>
 <span class="sourceLineNo">425</span><a name="line.425"></a>
-<span class="sourceLineNo">426</span>  public static class NeverDelete extends BaseHFileCleanerDelegate {<a name="line.426"></a>
-<span class="sourceLineNo">427</span>    @Override<a name="line.427"></a>
-<span class="sourceLineNo">428</span>    public boolean isFileDeletable(FileStatus fStat) {<a name="line.428"></a>
-<span class="sourceLineNo">429</span>      return false;<a name="line.429"></a>
-<span class="sourceLineNo">430</span>    }<a name="line.430"></a>
-<span class="sourceLineNo">431</span>  }<a name="line.431"></a>
-<span class="sourceLineNo">432</span>}<a name="line.432"></a>
+<span class="sourceLineNo">426</span>    public AllValidPaths(String name, Stoppable s, Configuration conf, FileSystem fs,<a name="line.426"></a>
+<span class="sourceLineNo">427</span>        Path oldFileDir, String confkey) {<a name="line.427"></a>
+<span class="sourceLineNo">428</span>      super(name, Integer.MAX_VALUE, s, conf, fs, oldFileDir, confkey);<a name="line.428"></a>
+<span class="sourceLineNo">429</span>    }<a name="line.429"></a>
+<span class="sourceLineNo">430</span><a name="line.430"></a>
+<span class="sourceLineNo">431</span>    // all paths are valid<a name="line.431"></a>
+<span class="sourceLineNo">432</span>    @Override<a name="line.432"></a>
+<span class="sourceLineNo">433</span>    protected boolean validate(Path file) {<a name="line.433"></a>
+<span class="sourceLineNo">434</span>      return true;<a name="line.434"></a>
+<span class="sourceLineNo">435</span>    }<a name="line.435"></a>
+<span class="sourceLineNo">436</span>  };<a name="line.436"></a>
+<span class="sourceLineNo">437</span><a name="line.437"></a>
+<span class="sourceLineNo">438</span>  public static class AlwaysDelete extends BaseHFileCleanerDelegate {<a name="line.438"></a>
+<span class="sourceLineNo">439</span>    @Override<a name="line.439"></a>
+<span class="sourceLineNo">440</span>    public boolean isFileDeletable(FileStatus fStat) {<a name="line.440"></a>
+<span class="sourceLineNo">441</span>      return true;<a name="line.441"></a>
+<span class="sourceLineNo">442</span>    }<a name="line.442"></a>
+<span class="sourceLineNo">443</span>  }<a name="line.443"></a>
+<span class="sourceLineNo">444</span><a name="line.444"></a>
+<span class="sourceLineNo">445</span>  public static class NeverDelete extends BaseHFileCleanerDelegate {<a name="line.445"></a>
+<span class="sourceLineNo">446</span>    @Override<a name="line.446"></a>
+<span class="sourceLineNo">447</span>    public boolean isFileDeletable(FileStatus fStat) {<a name="line.447"></a>
+<span class="sourceLineNo">448</span>      return false;<a name="line.448"></a>
+<span class="sourceLineNo">449</span>    }<a name="line.449"></a>
+<span class="sourceLineNo">450</span>  }<a name="line.450"></a>
+<span class="sourceLineNo">451</span>}<a name="line.451"></a>
 
 
 


[03/15] hbase-site git commit: Published site at .

Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/integration.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/integration.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/integration.html
index 950f691..0d4b158 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/integration.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/integration.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-shaded-client archetype &#x2013; CI Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -126,7 +126,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/issue-tracking.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/issue-tracking.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/issue-tracking.html
index 9e1a12d..5e6bac0 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/issue-tracking.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/issue-tracking.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-shaded-client archetype &#x2013; Issue Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -123,7 +123,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/license.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/license.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/license.html
index 1f82a02..d6d5647 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/license.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/license.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-shaded-client archetype &#x2013; Project Licenses</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -326,7 +326,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/mail-lists.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/mail-lists.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/mail-lists.html
index 22a2e38..4c78a10 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/mail-lists.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/mail-lists.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-shaded-client archetype &#x2013; Project Mailing Lists</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -176,7 +176,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/plugin-management.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/plugin-management.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/plugin-management.html
index 880f23b..09085e1 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/plugin-management.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/plugin-management.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-shaded-client archetype &#x2013; Project Plugin Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -271,7 +271,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/plugins.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/plugins.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/plugins.html
index fc2b52c..642dab3 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/plugins.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/plugins.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-shaded-client archetype &#x2013; Project Plugins</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -226,7 +226,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-info.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-info.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-info.html
index 0822ce6..a361757 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-info.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-info.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-shaded-client archetype &#x2013; Project Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -167,7 +167,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-reports.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-reports.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-reports.html
index c35f833..e789361 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-reports.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-reports.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-shaded-client archetype &#x2013; Generated Reports</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -128,7 +128,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-summary.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-summary.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-summary.html
index 2071adb..db1e03e 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-summary.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-summary.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-shaded-client archetype &#x2013; Project Summary</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -166,7 +166,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/source-repository.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/source-repository.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/source-repository.html
index 41b2230..1baf9cd 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/source-repository.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/source-repository.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-shaded-client archetype &#x2013; Source Code Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -134,7 +134,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/team-list.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/team-list.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/team-list.html
index 7d399c0..527b73e 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/team-list.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/team-list.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-shaded-client archetype &#x2013; Project Team</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -553,7 +553,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/index.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/index.html b/hbase-build-configuration/hbase-archetypes/index.html
index 7228a3f..0a140db 100644
--- a/hbase-build-configuration/hbase-archetypes/index.html
+++ b/hbase-build-configuration/hbase-archetypes/index.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetypes &#x2013; About</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -135,7 +135,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/integration.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/integration.html b/hbase-build-configuration/hbase-archetypes/integration.html
index 9ef9eb7..1fb220e 100644
--- a/hbase-build-configuration/hbase-archetypes/integration.html
+++ b/hbase-build-configuration/hbase-archetypes/integration.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetypes &#x2013; CI Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -126,7 +126,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/issue-tracking.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/issue-tracking.html b/hbase-build-configuration/hbase-archetypes/issue-tracking.html
index ab943c1..5dfcacf 100644
--- a/hbase-build-configuration/hbase-archetypes/issue-tracking.html
+++ b/hbase-build-configuration/hbase-archetypes/issue-tracking.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetypes &#x2013; Issue Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -123,7 +123,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/license.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/license.html b/hbase-build-configuration/hbase-archetypes/license.html
index f3ecfc7..a25a850 100644
--- a/hbase-build-configuration/hbase-archetypes/license.html
+++ b/hbase-build-configuration/hbase-archetypes/license.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetypes &#x2013; Project Licenses</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -326,7 +326,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/mail-lists.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/mail-lists.html b/hbase-build-configuration/hbase-archetypes/mail-lists.html
index c46d1f7..8590f02 100644
--- a/hbase-build-configuration/hbase-archetypes/mail-lists.html
+++ b/hbase-build-configuration/hbase-archetypes/mail-lists.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetypes &#x2013; Project Mailing Lists</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -176,7 +176,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/plugin-management.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/plugin-management.html b/hbase-build-configuration/hbase-archetypes/plugin-management.html
index c0fbe78..54cfa41 100644
--- a/hbase-build-configuration/hbase-archetypes/plugin-management.html
+++ b/hbase-build-configuration/hbase-archetypes/plugin-management.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetypes &#x2013; Project Plugin Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -271,7 +271,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/plugins.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/plugins.html b/hbase-build-configuration/hbase-archetypes/plugins.html
index 4a8fd63..401e12a 100644
--- a/hbase-build-configuration/hbase-archetypes/plugins.html
+++ b/hbase-build-configuration/hbase-archetypes/plugins.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetypes &#x2013; Project Plugins</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -214,7 +214,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/project-info.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/project-info.html b/hbase-build-configuration/hbase-archetypes/project-info.html
index c775738..0b3b0ef 100644
--- a/hbase-build-configuration/hbase-archetypes/project-info.html
+++ b/hbase-build-configuration/hbase-archetypes/project-info.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetypes &#x2013; Project Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -167,7 +167,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/project-summary.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/project-summary.html b/hbase-build-configuration/hbase-archetypes/project-summary.html
index c1572b7..13a5321 100644
--- a/hbase-build-configuration/hbase-archetypes/project-summary.html
+++ b/hbase-build-configuration/hbase-archetypes/project-summary.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetypes &#x2013; Project Summary</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -163,7 +163,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/source-repository.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/source-repository.html b/hbase-build-configuration/hbase-archetypes/source-repository.html
index 2874a2a..0b1b8c2 100644
--- a/hbase-build-configuration/hbase-archetypes/source-repository.html
+++ b/hbase-build-configuration/hbase-archetypes/source-repository.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetypes &#x2013; Source Code Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -134,7 +134,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/team-list.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/team-list.html b/hbase-build-configuration/hbase-archetypes/team-list.html
index ca99fab..264a263 100644
--- a/hbase-build-configuration/hbase-archetypes/team-list.html
+++ b/hbase-build-configuration/hbase-archetypes/team-list.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetypes &#x2013; Project Team</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -553,7 +553,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-spark/checkstyle.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-spark/checkstyle.html b/hbase-build-configuration/hbase-spark/checkstyle.html
index 7099156..ca502e5 100644
--- a/hbase-build-configuration/hbase-spark/checkstyle.html
+++ b/hbase-build-configuration/hbase-spark/checkstyle.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Spark &#x2013; Checkstyle Results</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -150,7 +150,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-spark/dependencies.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-spark/dependencies.html b/hbase-build-configuration/hbase-spark/dependencies.html
index 6e1529c..8b9a537 100644
--- a/hbase-build-configuration/hbase-spark/dependencies.html
+++ b/hbase-build-configuration/hbase-spark/dependencies.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Spark &#x2013; Project Dependencies</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -5692,7 +5692,7 @@ file comparators, endian transformation classes, and much more.</p>
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-spark/dependency-convergence.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-spark/dependency-convergence.html b/hbase-build-configuration/hbase-spark/dependency-convergence.html
index e70b15d..6dca143 100644
--- a/hbase-build-configuration/hbase-spark/dependency-convergence.html
+++ b/hbase-build-configuration/hbase-spark/dependency-convergence.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Spark &#x2013; Reactor Dependency Convergence</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -912,7 +912,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-spark/dependency-info.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-spark/dependency-info.html b/hbase-build-configuration/hbase-spark/dependency-info.html
index 1c0a642..7f6b2f2 100644
--- a/hbase-build-configuration/hbase-spark/dependency-info.html
+++ b/hbase-build-configuration/hbase-spark/dependency-info.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Spark &#x2013; Dependency Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -147,7 +147,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-spark/dependency-management.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-spark/dependency-management.html b/hbase-build-configuration/hbase-spark/dependency-management.html
index a971a75..22a9d11 100644
--- a/hbase-build-configuration/hbase-spark/dependency-management.html
+++ b/hbase-build-configuration/hbase-spark/dependency-management.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Spark &#x2013; Project Dependency Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -810,7 +810,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-spark/index.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-spark/index.html b/hbase-build-configuration/hbase-spark/index.html
index 6bfa51c..6c09bb3 100644
--- a/hbase-build-configuration/hbase-spark/index.html
+++ b/hbase-build-configuration/hbase-spark/index.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Spark &#x2013; About</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -119,7 +119,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-spark/integration.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-spark/integration.html b/hbase-build-configuration/hbase-spark/integration.html
index e281464..3cec330 100644
--- a/hbase-build-configuration/hbase-spark/integration.html
+++ b/hbase-build-configuration/hbase-spark/integration.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Spark &#x2013; CI Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -126,7 +126,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-spark/issue-tracking.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-spark/issue-tracking.html b/hbase-build-configuration/hbase-spark/issue-tracking.html
index b78567e..1018970 100644
--- a/hbase-build-configuration/hbase-spark/issue-tracking.html
+++ b/hbase-build-configuration/hbase-spark/issue-tracking.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Spark &#x2013; Issue Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -123,7 +123,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-spark/license.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-spark/license.html b/hbase-build-configuration/hbase-spark/license.html
index a1033a5..083a197 100644
--- a/hbase-build-configuration/hbase-spark/license.html
+++ b/hbase-build-configuration/hbase-spark/license.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Spark &#x2013; Project Licenses</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -326,7 +326,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-spark/mail-lists.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-spark/mail-lists.html b/hbase-build-configuration/hbase-spark/mail-lists.html
index a8e5aac..782e940 100644
--- a/hbase-build-configuration/hbase-spark/mail-lists.html
+++ b/hbase-build-configuration/hbase-spark/mail-lists.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Spark &#x2013; Project Mailing Lists</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -176,7 +176,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-spark/plugin-management.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-spark/plugin-management.html b/hbase-build-configuration/hbase-spark/plugin-management.html
index 6ac8892..cf422e6 100644
--- a/hbase-build-configuration/hbase-spark/plugin-management.html
+++ b/hbase-build-configuration/hbase-spark/plugin-management.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Spark &#x2013; Project Plugin Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -271,7 +271,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-spark/plugins.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-spark/plugins.html b/hbase-build-configuration/hbase-spark/plugins.html
index df9ccb5..2d777d1 100644
--- a/hbase-build-configuration/hbase-spark/plugins.html
+++ b/hbase-build-configuration/hbase-spark/plugins.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Spark &#x2013; Project Plugins</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -238,7 +238,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-spark/project-info.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-spark/project-info.html b/hbase-build-configuration/hbase-spark/project-info.html
index a9445c3..9b21027 100644
--- a/hbase-build-configuration/hbase-spark/project-info.html
+++ b/hbase-build-configuration/hbase-spark/project-info.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Spark &#x2013; Project Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -167,7 +167,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-spark/project-reports.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-spark/project-reports.html b/hbase-build-configuration/hbase-spark/project-reports.html
index 7425433..709a9ae 100644
--- a/hbase-build-configuration/hbase-spark/project-reports.html
+++ b/hbase-build-configuration/hbase-spark/project-reports.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Spark &#x2013; Generated Reports</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -131,7 +131,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-spark/project-summary.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-spark/project-summary.html b/hbase-build-configuration/hbase-spark/project-summary.html
index 6524e68..1fc854b 100644
--- a/hbase-build-configuration/hbase-spark/project-summary.html
+++ b/hbase-build-configuration/hbase-spark/project-summary.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Spark &#x2013; Project Summary</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -166,7 +166,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-spark/source-repository.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-spark/source-repository.html b/hbase-build-configuration/hbase-spark/source-repository.html
index 1f80347..a7907e0 100644
--- a/hbase-build-configuration/hbase-spark/source-repository.html
+++ b/hbase-build-configuration/hbase-spark/source-repository.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Spark &#x2013; Source Code Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -134,7 +134,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-spark/team-list.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-spark/team-list.html b/hbase-build-configuration/hbase-spark/team-list.html
index 3d086f1..d55b2ca 100644
--- a/hbase-build-configuration/hbase-spark/team-list.html
+++ b/hbase-build-configuration/hbase-spark/team-list.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Spark &#x2013; Project Team</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -553,7 +553,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/index.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/index.html b/hbase-build-configuration/index.html
index 9a0f6c6..636c943 100644
--- a/hbase-build-configuration/index.html
+++ b/hbase-build-configuration/index.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Build Configuration &#x2013; About</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -119,7 +119,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/integration.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/integration.html b/hbase-build-configuration/integration.html
index ff4bb63..1186f92 100644
--- a/hbase-build-configuration/integration.html
+++ b/hbase-build-configuration/integration.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Build Configuration &#x2013; CI Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -126,7 +126,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/issue-tracking.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/issue-tracking.html b/hbase-build-configuration/issue-tracking.html
index 692ba35..1a54892 100644
--- a/hbase-build-configuration/issue-tracking.html
+++ b/hbase-build-configuration/issue-tracking.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Build Configuration &#x2013; Issue Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -123,7 +123,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/license.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/license.html b/hbase-build-configuration/license.html
index ceca01a6..37423da 100644
--- a/hbase-build-configuration/license.html
+++ b/hbase-build-configuration/license.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Build Configuration &#x2013; Project Licenses</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -326,7 +326,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/mail-lists.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/mail-lists.html b/hbase-build-configuration/mail-lists.html
index 7387378..3b4d29b 100644
--- a/hbase-build-configuration/mail-lists.html
+++ b/hbase-build-configuration/mail-lists.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Build Configuration &#x2013; Project Mailing Lists</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -176,7 +176,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/plugin-management.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/plugin-management.html b/hbase-build-configuration/plugin-management.html
index f23b115..cbf38cf 100644
--- a/hbase-build-configuration/plugin-management.html
+++ b/hbase-build-configuration/plugin-management.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Build Configuration &#x2013; Project Plugin Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -271,7 +271,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/plugins.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/plugins.html b/hbase-build-configuration/plugins.html
index ee8eaec..e381030 100644
--- a/hbase-build-configuration/plugins.html
+++ b/hbase-build-configuration/plugins.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Build Configuration &#x2013; Project Plugins</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -214,7 +214,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/project-info.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/project-info.html b/hbase-build-configuration/project-info.html
index 1ff9c55..1b33b1a 100644
--- a/hbase-build-configuration/project-info.html
+++ b/hbase-build-configuration/project-info.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Build Configuration &#x2013; Project Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -167,7 +167,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/project-summary.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/project-summary.html b/hbase-build-configuration/project-summary.html
index 00c630f..288820b 100644
--- a/hbase-build-configuration/project-summary.html
+++ b/hbase-build-configuration/project-summary.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Build Configuration &#x2013; Project Summary</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -163,7 +163,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/source-repository.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/source-repository.html b/hbase-build-configuration/source-repository.html
index 1c8725c..ff73e34 100644
--- a/hbase-build-configuration/source-repository.html
+++ b/hbase-build-configuration/source-repository.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Build Configuration &#x2013; Source Code Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -134,7 +134,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/team-list.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/team-list.html b/hbase-build-configuration/team-list.html
index 1a96f86..611e47f 100644
--- a/hbase-build-configuration/team-list.html
+++ b/hbase-build-configuration/team-list.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Build Configuration &#x2013; Project Team</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -553,7 +553,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-shaded-check-invariants/checkstyle.html
----------------------------------------------------------------------
diff --git a/hbase-shaded-check-invariants/checkstyle.html b/hbase-shaded-check-invariants/checkstyle.html
index d1ce8c5..d28ee7a 100644
--- a/hbase-shaded-check-invariants/checkstyle.html
+++ b/hbase-shaded-check-invariants/checkstyle.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase Shaded Packaging Invariants &#x2013; Checkstyle Results</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -150,7 +150,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-shaded-check-invariants/dependencies.html
----------------------------------------------------------------------
diff --git a/hbase-shaded-check-invariants/dependencies.html b/hbase-shaded-check-invariants/dependencies.html
index a2de474..a3c74d0 100644
--- a/hbase-shaded-check-invariants/dependencies.html
+++ b/hbase-shaded-check-invariants/dependencies.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase Shaded Packaging Invariants &#x2013; Project Dependencies</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -2883,7 +2883,7 @@ Jackson JSON processor's data binding functionality.</p>
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-shaded-check-invariants/dependency-convergence.html
----------------------------------------------------------------------
diff --git a/hbase-shaded-check-invariants/dependency-convergence.html b/hbase-shaded-check-invariants/dependency-convergence.html
index 09a4c39..eba0e62 100644
--- a/hbase-shaded-check-invariants/dependency-convergence.html
+++ b/hbase-shaded-check-invariants/dependency-convergence.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase Shaded Packaging Invariants &#x2013; Reactor Dependency Convergence</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -912,7 +912,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-shaded-check-invariants/dependency-info.html
----------------------------------------------------------------------
diff --git a/hbase-shaded-check-invariants/dependency-info.html b/hbase-shaded-check-invariants/dependency-info.html
index 684bda5..4529fa8 100644
--- a/hbase-shaded-check-invariants/dependency-info.html
+++ b/hbase-shaded-check-invariants/dependency-info.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase Shaded Packaging Invariants &#x2013; Dependency Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -148,7 +148,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-shaded-check-invariants/dependency-management.html
----------------------------------------------------------------------
diff --git a/hbase-shaded-check-invariants/dependency-management.html b/hbase-shaded-check-invariants/dependency-management.html
index 58e6f1d..3c545c3 100644
--- a/hbase-shaded-check-invariants/dependency-management.html
+++ b/hbase-shaded-check-invariants/dependency-management.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase Shaded Packaging Invariants &#x2013; Project Dependency Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -810,7 +810,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-shaded-check-invariants/index.html
----------------------------------------------------------------------
diff --git a/hbase-shaded-check-invariants/index.html b/hbase-shaded-check-invariants/index.html
index b61a503..a13e75b 100644
--- a/hbase-shaded-check-invariants/index.html
+++ b/hbase-shaded-check-invariants/index.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase Shaded Packaging Invariants &#x2013; About</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -122,7 +122,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-shaded-check-invariants/integration.html
----------------------------------------------------------------------
diff --git a/hbase-shaded-check-invariants/integration.html b/hbase-shaded-check-invariants/integration.html
index afa2cd2..f526718 100644
--- a/hbase-shaded-check-invariants/integration.html
+++ b/hbase-shaded-check-invariants/integration.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase Shaded Packaging Invariants &#x2013; CI Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -126,7 +126,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-shaded-check-invariants/issue-tracking.html
----------------------------------------------------------------------
diff --git a/hbase-shaded-check-invariants/issue-tracking.html b/hbase-shaded-check-invariants/issue-tracking.html
index e1277d9..a283a16 100644
--- a/hbase-shaded-check-invariants/issue-tracking.html
+++ b/hbase-shaded-check-invariants/issue-tracking.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase Shaded Packaging Invariants &#x2013; Issue Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -123,7 +123,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-shaded-check-invariants/license.html
----------------------------------------------------------------------
diff --git a/hbase-shaded-check-invariants/license.html b/hbase-shaded-check-invariants/license.html
index 0ec41a3..cfe60d8 100644
--- a/hbase-shaded-check-invariants/license.html
+++ b/hbase-shaded-check-invariants/license.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase Shaded Packaging Invariants &#x2013; Project Licenses</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -326,7 +326,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-shaded-check-invariants/mail-lists.html
----------------------------------------------------------------------
diff --git a/hbase-shaded-check-invariants/mail-lists.html b/hbase-shaded-check-invariants/mail-lists.html
index 33b45e4..1572048 100644
--- a/hbase-shaded-check-invariants/mail-lists.html
+++ b/hbase-shaded-check-invariants/mail-lists.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase Shaded Packaging Invariants &#x2013; Project Mailing Lists</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -176,7 +176,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-shaded-check-invariants/plugin-management.html
----------------------------------------------------------------------
diff --git a/hbase-shaded-check-invariants/plugin-management.html b/hbase-shaded-check-invariants/plugin-management.html
index 1342ff0..c6849c2 100644
--- a/hbase-shaded-check-invariants/plugin-management.html
+++ b/hbase-shaded-check-invariants/plugin-management.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase Shaded Packaging Invariants &#x2013; Project Plugin Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -271,7 +271,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-shaded-check-invariants/plugins.html
----------------------------------------------------------------------
diff --git a/hbase-shaded-check-invariants/plugins.html b/hbase-shaded-check-invariants/plugins.html
index 13e441a..f2fbd2b 100644
--- a/hbase-shaded-check-invariants/plugins.html
+++ b/hbase-shaded-check-invariants/plugins.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase Shaded Packaging Invariants &#x2013; Project Plugins</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -218,7 +218,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-shaded-check-invariants/project-info.html
----------------------------------------------------------------------
diff --git a/hbase-shaded-check-invariants/project-info.html b/hbase-shaded-check-invariants/project-info.html
index 2febba7..a58fdb3 100644
--- a/hbase-shaded-check-invariants/project-info.html
+++ b/hbase-shaded-check-invariants/project-info.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase Shaded Packaging Invariants &#x2013; Project Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -170,7 +170,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-shaded-check-invariants/project-reports.html
----------------------------------------------------------------------
diff --git a/hbase-shaded-check-invariants/project-reports.html b/hbase-shaded-check-invariants/project-reports.html
index 8befdfe..170a943 100644
--- a/hbase-shaded-check-invariants/project-reports.html
+++ b/hbase-shaded-check-invariants/project-reports.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase Shaded Packaging Invariants &#x2013; Generated Reports</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -128,7 +128,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-shaded-check-invariants/project-summary.html
----------------------------------------------------------------------
diff --git a/hbase-shaded-check-invariants/project-summary.html b/hbase-shaded-check-invariants/project-summary.html
index 9264fd7..7c28ee7 100644
--- a/hbase-shaded-check-invariants/project-summary.html
+++ b/hbase-shaded-check-invariants/project-summary.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase Shaded Packaging Invariants &#x2013; Project Summary</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -166,7 +166,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 


[07/15] hbase-site git commit: Published site at .

Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrContext.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrContext.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrContext.html
index 4d770af..f2100fa 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrContext.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrContext.html
@@ -34,424 +34,425 @@
 <span class="sourceLineNo">026</span>import java.util.Arrays;<a name="line.26"></a>
 <span class="sourceLineNo">027</span>import java.util.List;<a name="line.27"></a>
 <span class="sourceLineNo">028</span><a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.slf4j.Logger;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.slf4j.LoggerFactory;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>import org.apache.hadoop.conf.Configuration;<a name="line.32"></a>
-<span class="sourceLineNo">033</span>import org.apache.hadoop.fs.Path;<a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.hadoop.fs.FileSystem;<a name="line.34"></a>
-<span class="sourceLineNo">035</span>import org.apache.hadoop.fs.FSDataInputStream;<a name="line.35"></a>
-<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.codec.Codec;<a name="line.36"></a>
-<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.io.LimitInputStream;<a name="line.37"></a>
-<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.HBaseInterfaceAudience;<a name="line.38"></a>
-<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos;<a name="line.40"></a>
-<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALHeader.Builder;<a name="line.41"></a>
-<span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALKey;<a name="line.42"></a>
-<span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALTrailer;<a name="line.43"></a>
-<span class="sourceLineNo">044</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.44"></a>
-<span class="sourceLineNo">045</span>import org.apache.hadoop.hbase.wal.WAL.Entry;<a name="line.45"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.conf.Configuration;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.fs.Path;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.hadoop.fs.FileSystem;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import org.apache.hadoop.fs.FSDataInputStream;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.codec.Codec;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.HBaseInterfaceAudience;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALHeader.Builder;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALKey;<a name="line.38"></a>
+<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALTrailer;<a name="line.39"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.40"></a>
+<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.wal.WAL.Entry;<a name="line.41"></a>
+<span class="sourceLineNo">042</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.42"></a>
+<span class="sourceLineNo">043</span><a name="line.43"></a>
+<span class="sourceLineNo">044</span>import org.slf4j.Logger;<a name="line.44"></a>
+<span class="sourceLineNo">045</span>import org.slf4j.LoggerFactory;<a name="line.45"></a>
 <span class="sourceLineNo">046</span><a name="line.46"></a>
-<span class="sourceLineNo">047</span>import org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream;<a name="line.47"></a>
-<span class="sourceLineNo">048</span>import org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException;<a name="line.48"></a>
-<span class="sourceLineNo">049</span><a name="line.49"></a>
-<span class="sourceLineNo">050</span>/**<a name="line.50"></a>
-<span class="sourceLineNo">051</span> * A Protobuf based WAL has the following structure:<a name="line.51"></a>
-<span class="sourceLineNo">052</span> * &lt;p&gt;<a name="line.52"></a>
-<span class="sourceLineNo">053</span> * &amp;lt;PB_WAL_MAGIC&amp;gt;&amp;lt;WALHeader&amp;gt;&amp;lt;WALEdits&amp;gt;...&amp;lt;WALEdits&amp;gt;&amp;lt;Trailer&amp;gt;<a name="line.53"></a>
-<span class="sourceLineNo">054</span> * &amp;lt;TrailerSize&amp;gt; &amp;lt;PB_WAL_COMPLETE_MAGIC&amp;gt;<a name="line.54"></a>
-<span class="sourceLineNo">055</span> * &lt;/p&gt;<a name="line.55"></a>
-<span class="sourceLineNo">056</span> * The Reader reads meta information (WAL Compression state, WALTrailer, etc) in<a name="line.56"></a>
-<span class="sourceLineNo">057</span> * ProtobufLogReader#initReader(FSDataInputStream). A WALTrailer is an extensible structure<a name="line.57"></a>
-<span class="sourceLineNo">058</span> * which is appended at the end of the WAL. This is empty for now; it can contain some meta<a name="line.58"></a>
-<span class="sourceLineNo">059</span> * information such as Region level stats, etc in future.<a name="line.59"></a>
-<span class="sourceLineNo">060</span> */<a name="line.60"></a>
-<span class="sourceLineNo">061</span>@InterfaceAudience.LimitedPrivate({HBaseInterfaceAudience.COPROC, HBaseInterfaceAudience.PHOENIX,<a name="line.61"></a>
-<span class="sourceLineNo">062</span>  HBaseInterfaceAudience.CONFIG})<a name="line.62"></a>
-<span class="sourceLineNo">063</span>public class ProtobufLogReader extends ReaderBase {<a name="line.63"></a>
-<span class="sourceLineNo">064</span>  private static final Logger LOG = LoggerFactory.getLogger(ProtobufLogReader.class);<a name="line.64"></a>
-<span class="sourceLineNo">065</span>  // public for WALFactory until we move everything to o.a.h.h.wal<a name="line.65"></a>
-<span class="sourceLineNo">066</span>  @InterfaceAudience.Private<a name="line.66"></a>
-<span class="sourceLineNo">067</span>  public static final byte[] PB_WAL_MAGIC = Bytes.toBytes("PWAL");<a name="line.67"></a>
-<span class="sourceLineNo">068</span>  // public for TestWALSplit<a name="line.68"></a>
-<span class="sourceLineNo">069</span>  @InterfaceAudience.Private<a name="line.69"></a>
-<span class="sourceLineNo">070</span>  public static final byte[] PB_WAL_COMPLETE_MAGIC = Bytes.toBytes("LAWP");<a name="line.70"></a>
-<span class="sourceLineNo">071</span>  /**<a name="line.71"></a>
-<span class="sourceLineNo">072</span>   * Configuration name of WAL Trailer's warning size. If a waltrailer's size is greater than the<a name="line.72"></a>
-<span class="sourceLineNo">073</span>   * configured size, providers should log a warning. e.g. this is used with Protobuf reader/writer.<a name="line.73"></a>
-<span class="sourceLineNo">074</span>   */<a name="line.74"></a>
-<span class="sourceLineNo">075</span>  static final String WAL_TRAILER_WARN_SIZE = "hbase.regionserver.waltrailer.warn.size";<a name="line.75"></a>
-<span class="sourceLineNo">076</span>  static final int DEFAULT_WAL_TRAILER_WARN_SIZE = 1024 * 1024; // 1MB<a name="line.76"></a>
-<span class="sourceLineNo">077</span><a name="line.77"></a>
-<span class="sourceLineNo">078</span>  protected FSDataInputStream inputStream;<a name="line.78"></a>
-<span class="sourceLineNo">079</span>  protected Codec.Decoder cellDecoder;<a name="line.79"></a>
-<span class="sourceLineNo">080</span>  protected WALCellCodec.ByteStringUncompressor byteStringUncompressor;<a name="line.80"></a>
-<span class="sourceLineNo">081</span>  protected boolean hasCompression = false;<a name="line.81"></a>
-<span class="sourceLineNo">082</span>  protected boolean hasTagCompression = false;<a name="line.82"></a>
-<span class="sourceLineNo">083</span>  // walEditsStopOffset is the position of the last byte to read. After reading the last WALEdit<a name="line.83"></a>
-<span class="sourceLineNo">084</span>  // entry in the wal, the inputstream's position is equal to walEditsStopOffset.<a name="line.84"></a>
-<span class="sourceLineNo">085</span>  private long walEditsStopOffset;<a name="line.85"></a>
-<span class="sourceLineNo">086</span>  private boolean trailerPresent;<a name="line.86"></a>
-<span class="sourceLineNo">087</span>  protected WALTrailer trailer;<a name="line.87"></a>
-<span class="sourceLineNo">088</span>  // maximum size of the wal Trailer in bytes. If a user writes/reads a trailer with size larger<a name="line.88"></a>
-<span class="sourceLineNo">089</span>  // than this size, it is written/read respectively, with a WARN message in the log.<a name="line.89"></a>
-<span class="sourceLineNo">090</span>  protected int trailerWarnSize;<a name="line.90"></a>
-<span class="sourceLineNo">091</span>  private static List&lt;String&gt; writerClsNames = new ArrayList&lt;&gt;();<a name="line.91"></a>
-<span class="sourceLineNo">092</span>  static {<a name="line.92"></a>
-<span class="sourceLineNo">093</span>    writerClsNames.add(ProtobufLogWriter.class.getSimpleName());<a name="line.93"></a>
-<span class="sourceLineNo">094</span>    writerClsNames.add(AsyncProtobufLogWriter.class.getSimpleName());<a name="line.94"></a>
-<span class="sourceLineNo">095</span>  }<a name="line.95"></a>
-<span class="sourceLineNo">096</span>  <a name="line.96"></a>
-<span class="sourceLineNo">097</span>  // cell codec classname<a name="line.97"></a>
-<span class="sourceLineNo">098</span>  private String codecClsName = null;<a name="line.98"></a>
-<span class="sourceLineNo">099</span><a name="line.99"></a>
-<span class="sourceLineNo">100</span>  @InterfaceAudience.Private<a name="line.100"></a>
-<span class="sourceLineNo">101</span>  public long trailerSize() {<a name="line.101"></a>
-<span class="sourceLineNo">102</span>    if (trailerPresent) {<a name="line.102"></a>
-<span class="sourceLineNo">103</span>      // sizeof PB_WAL_COMPLETE_MAGIC + sizof trailerSize + trailer<a name="line.103"></a>
-<span class="sourceLineNo">104</span>      final long calculatedSize = PB_WAL_COMPLETE_MAGIC.length + Bytes.SIZEOF_INT + trailer.getSerializedSize();<a name="line.104"></a>
-<span class="sourceLineNo">105</span>      final long expectedSize = fileLength - walEditsStopOffset;<a name="line.105"></a>
-<span class="sourceLineNo">106</span>      if (expectedSize != calculatedSize) {<a name="line.106"></a>
-<span class="sourceLineNo">107</span>        LOG.warn("After parsing the trailer, we expect the total footer to be "+ expectedSize +" bytes, but we calculate it as being " + calculatedSize);<a name="line.107"></a>
-<span class="sourceLineNo">108</span>      }<a name="line.108"></a>
-<span class="sourceLineNo">109</span>      return expectedSize;<a name="line.109"></a>
-<span class="sourceLineNo">110</span>    } else {<a name="line.110"></a>
-<span class="sourceLineNo">111</span>      return -1L;<a name="line.111"></a>
-<span class="sourceLineNo">112</span>    }<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>  enum WALHdrResult {<a name="line.115"></a>
-<span class="sourceLineNo">116</span>    EOF,                   // stream is at EOF when method starts<a name="line.116"></a>
-<span class="sourceLineNo">117</span>    SUCCESS,<a name="line.117"></a>
-<span class="sourceLineNo">118</span>    UNKNOWN_WRITER_CLS     // name of writer class isn't recognized<a name="line.118"></a>
-<span class="sourceLineNo">119</span>  }<a name="line.119"></a>
-<span class="sourceLineNo">120</span>  <a name="line.120"></a>
-<span class="sourceLineNo">121</span>  // context for WALHdr carrying information such as Cell Codec classname<a name="line.121"></a>
-<span class="sourceLineNo">122</span>  static class WALHdrContext {<a name="line.122"></a>
-<span class="sourceLineNo">123</span>    WALHdrResult result;<a name="line.123"></a>
-<span class="sourceLineNo">124</span>    String cellCodecClsName;<a name="line.124"></a>
-<span class="sourceLineNo">125</span>    <a name="line.125"></a>
-<span class="sourceLineNo">126</span>    WALHdrContext(WALHdrResult result, String cellCodecClsName) {<a name="line.126"></a>
-<span class="sourceLineNo">127</span>      this.result = result;<a name="line.127"></a>
-<span class="sourceLineNo">128</span>      this.cellCodecClsName = cellCodecClsName;<a name="line.128"></a>
-<span class="sourceLineNo">129</span>    }<a name="line.129"></a>
-<span class="sourceLineNo">130</span>    WALHdrResult getResult() {<a name="line.130"></a>
-<span class="sourceLineNo">131</span>      return result;<a name="line.131"></a>
-<span class="sourceLineNo">132</span>    }<a name="line.132"></a>
-<span class="sourceLineNo">133</span>    String getCellCodecClsName() {<a name="line.133"></a>
-<span class="sourceLineNo">134</span>      return cellCodecClsName;<a name="line.134"></a>
-<span class="sourceLineNo">135</span>    }<a name="line.135"></a>
-<span class="sourceLineNo">136</span>  }<a name="line.136"></a>
-<span class="sourceLineNo">137</span><a name="line.137"></a>
-<span class="sourceLineNo">138</span>  public ProtobufLogReader() {<a name="line.138"></a>
-<span class="sourceLineNo">139</span>    super();<a name="line.139"></a>
-<span class="sourceLineNo">140</span>  }<a name="line.140"></a>
-<span class="sourceLineNo">141</span><a name="line.141"></a>
-<span class="sourceLineNo">142</span>  @Override<a name="line.142"></a>
-<span class="sourceLineNo">143</span>  public void close() throws IOException {<a name="line.143"></a>
-<span class="sourceLineNo">144</span>    if (this.inputStream != null) {<a name="line.144"></a>
-<span class="sourceLineNo">145</span>      this.inputStream.close();<a name="line.145"></a>
-<span class="sourceLineNo">146</span>      this.inputStream = null;<a name="line.146"></a>
-<span class="sourceLineNo">147</span>    }<a name="line.147"></a>
-<span class="sourceLineNo">148</span>  }<a name="line.148"></a>
-<span class="sourceLineNo">149</span><a name="line.149"></a>
-<span class="sourceLineNo">150</span>  @Override<a name="line.150"></a>
-<span class="sourceLineNo">151</span>  public long getPosition() throws IOException {<a name="line.151"></a>
-<span class="sourceLineNo">152</span>    return inputStream.getPos();<a name="line.152"></a>
-<span class="sourceLineNo">153</span>  }<a name="line.153"></a>
-<span class="sourceLineNo">154</span><a name="line.154"></a>
-<span class="sourceLineNo">155</span>  @Override<a name="line.155"></a>
-<span class="sourceLineNo">156</span>  public void reset() throws IOException {<a name="line.156"></a>
-<span class="sourceLineNo">157</span>    String clsName = initInternal(null, false);<a name="line.157"></a>
-<span class="sourceLineNo">158</span>    initAfterCompression(clsName); // We need a new decoder (at least).<a name="line.158"></a>
-<span class="sourceLineNo">159</span>  }<a name="line.159"></a>
-<span class="sourceLineNo">160</span><a name="line.160"></a>
-<span class="sourceLineNo">161</span>  @Override<a name="line.161"></a>
-<span class="sourceLineNo">162</span>  public void init(FileSystem fs, Path path, Configuration conf, FSDataInputStream stream)<a name="line.162"></a>
-<span class="sourceLineNo">163</span>      throws IOException {<a name="line.163"></a>
-<span class="sourceLineNo">164</span>    this.trailerWarnSize = conf.getInt(WAL_TRAILER_WARN_SIZE, DEFAULT_WAL_TRAILER_WARN_SIZE);<a name="line.164"></a>
-<span class="sourceLineNo">165</span>    super.init(fs, path, conf, stream);<a name="line.165"></a>
-<span class="sourceLineNo">166</span>  }<a name="line.166"></a>
-<span class="sourceLineNo">167</span><a name="line.167"></a>
-<span class="sourceLineNo">168</span>  @Override<a name="line.168"></a>
-<span class="sourceLineNo">169</span>  protected String initReader(FSDataInputStream stream) throws IOException {<a name="line.169"></a>
-<span class="sourceLineNo">170</span>    return initInternal(stream, true);<a name="line.170"></a>
-<span class="sourceLineNo">171</span>  }<a name="line.171"></a>
-<span class="sourceLineNo">172</span><a name="line.172"></a>
-<span class="sourceLineNo">173</span>  /*<a name="line.173"></a>
-<span class="sourceLineNo">174</span>   * Returns names of the accepted writer classes<a name="line.174"></a>
-<span class="sourceLineNo">175</span>   */<a name="line.175"></a>
-<span class="sourceLineNo">176</span>  public List&lt;String&gt; getWriterClsNames() {<a name="line.176"></a>
-<span class="sourceLineNo">177</span>    return writerClsNames;<a name="line.177"></a>
-<span class="sourceLineNo">178</span>  }<a name="line.178"></a>
-<span class="sourceLineNo">179</span>  <a name="line.179"></a>
-<span class="sourceLineNo">180</span>  /*<a name="line.180"></a>
-<span class="sourceLineNo">181</span>   * Returns the cell codec classname<a name="line.181"></a>
-<span class="sourceLineNo">182</span>   */<a name="line.182"></a>
-<span class="sourceLineNo">183</span>  public String getCodecClsName() {<a name="line.183"></a>
-<span class="sourceLineNo">184</span>      return codecClsName;<a name="line.184"></a>
-<span class="sourceLineNo">185</span>  }<a name="line.185"></a>
-<span class="sourceLineNo">186</span><a name="line.186"></a>
-<span class="sourceLineNo">187</span>  protected WALHdrContext readHeader(Builder builder, FSDataInputStream stream)<a name="line.187"></a>
-<span class="sourceLineNo">188</span>      throws IOException {<a name="line.188"></a>
-<span class="sourceLineNo">189</span>     boolean res = builder.mergeDelimitedFrom(stream);<a name="line.189"></a>
-<span class="sourceLineNo">190</span>     if (!res) return new WALHdrContext(WALHdrResult.EOF, null);<a name="line.190"></a>
-<span class="sourceLineNo">191</span>     if (builder.hasWriterClsName() &amp;&amp;<a name="line.191"></a>
-<span class="sourceLineNo">192</span>         !getWriterClsNames().contains(builder.getWriterClsName())) {<a name="line.192"></a>
-<span class="sourceLineNo">193</span>       return new WALHdrContext(WALHdrResult.UNKNOWN_WRITER_CLS, null);<a name="line.193"></a>
-<span class="sourceLineNo">194</span>     }<a name="line.194"></a>
-<span class="sourceLineNo">195</span>     String clsName = null;<a name="line.195"></a>
-<span class="sourceLineNo">196</span>     if (builder.hasCellCodecClsName()) {<a name="line.196"></a>
-<span class="sourceLineNo">197</span>       clsName = builder.getCellCodecClsName();<a name="line.197"></a>
-<span class="sourceLineNo">198</span>     }<a name="line.198"></a>
-<span class="sourceLineNo">199</span>     return new WALHdrContext(WALHdrResult.SUCCESS, clsName);<a name="line.199"></a>
-<span class="sourceLineNo">200</span>  }<a name="line.200"></a>
-<span class="sourceLineNo">201</span><a name="line.201"></a>
-<span class="sourceLineNo">202</span>  private String initInternal(FSDataInputStream stream, boolean isFirst)<a name="line.202"></a>
-<span class="sourceLineNo">203</span>      throws IOException {<a name="line.203"></a>
-<span class="sourceLineNo">204</span>    close();<a name="line.204"></a>
-<span class="sourceLineNo">205</span>    long expectedPos = PB_WAL_MAGIC.length;<a name="line.205"></a>
-<span class="sourceLineNo">206</span>    if (stream == null) {<a name="line.206"></a>
-<span class="sourceLineNo">207</span>      stream = fs.open(path);<a name="line.207"></a>
-<span class="sourceLineNo">208</span>      stream.seek(expectedPos);<a name="line.208"></a>
-<span class="sourceLineNo">209</span>    }<a name="line.209"></a>
-<span class="sourceLineNo">210</span>    if (stream.getPos() != expectedPos) {<a name="line.210"></a>
-<span class="sourceLineNo">211</span>      throw new IOException("The stream is at invalid position: " + stream.getPos());<a name="line.211"></a>
-<span class="sourceLineNo">212</span>    }<a name="line.212"></a>
-<span class="sourceLineNo">213</span>    // Initialize metadata or, when we reset, just skip the header.<a name="line.213"></a>
-<span class="sourceLineNo">214</span>    WALProtos.WALHeader.Builder builder = WALProtos.WALHeader.newBuilder();<a name="line.214"></a>
-<span class="sourceLineNo">215</span>    WALHdrContext hdrCtxt = readHeader(builder, stream);<a name="line.215"></a>
-<span class="sourceLineNo">216</span>    WALHdrResult walHdrRes = hdrCtxt.getResult();<a name="line.216"></a>
-<span class="sourceLineNo">217</span>    if (walHdrRes == WALHdrResult.EOF) {<a name="line.217"></a>
-<span class="sourceLineNo">218</span>      throw new EOFException("Couldn't read WAL PB header");<a name="line.218"></a>
-<span class="sourceLineNo">219</span>    }<a name="line.219"></a>
-<span class="sourceLineNo">220</span>    if (walHdrRes == WALHdrResult.UNKNOWN_WRITER_CLS) {<a name="line.220"></a>
-<span class="sourceLineNo">221</span>      throw new IOException("Got unknown writer class: " + builder.getWriterClsName());<a name="line.221"></a>
-<span class="sourceLineNo">222</span>    }<a name="line.222"></a>
-<span class="sourceLineNo">223</span>    if (isFirst) {<a name="line.223"></a>
-<span class="sourceLineNo">224</span>      WALProtos.WALHeader header = builder.build();<a name="line.224"></a>
-<span class="sourceLineNo">225</span>      this.hasCompression = header.hasHasCompression() &amp;&amp; header.getHasCompression();<a name="line.225"></a>
-<span class="sourceLineNo">226</span>      this.hasTagCompression = header.hasHasTagCompression() &amp;&amp; header.getHasTagCompression();<a name="line.226"></a>
-<span class="sourceLineNo">227</span>    }<a name="line.227"></a>
-<span class="sourceLineNo">228</span>    this.inputStream = stream;<a name="line.228"></a>
-<span class="sourceLineNo">229</span>    this.walEditsStopOffset = this.fileLength;<a name="line.229"></a>
-<span class="sourceLineNo">230</span>    long currentPosition = stream.getPos();<a name="line.230"></a>
-<span class="sourceLineNo">231</span>    trailerPresent = setTrailerIfPresent();<a name="line.231"></a>
-<span class="sourceLineNo">232</span>    this.seekOnFs(currentPosition);<a name="line.232"></a>
-<span class="sourceLineNo">233</span>    if (LOG.isTraceEnabled()) {<a name="line.233"></a>
-<span class="sourceLineNo">234</span>      LOG.trace("After reading the trailer: walEditsStopOffset: " + this.walEditsStopOffset<a name="line.234"></a>
-<span class="sourceLineNo">235</span>          + ", fileLength: " + this.fileLength + ", " + "trailerPresent: " + (trailerPresent ? "true, size: " + trailer.getSerializedSize() : "false") + ", currentPosition: " + currentPosition);<a name="line.235"></a>
-<span class="sourceLineNo">236</span>    }<a name="line.236"></a>
-<span class="sourceLineNo">237</span>    <a name="line.237"></a>
-<span class="sourceLineNo">238</span>    codecClsName = hdrCtxt.getCellCodecClsName();<a name="line.238"></a>
-<span class="sourceLineNo">239</span>    <a name="line.239"></a>
-<span class="sourceLineNo">240</span>    return hdrCtxt.getCellCodecClsName();<a name="line.240"></a>
-<span class="sourceLineNo">241</span>  }<a name="line.241"></a>
-<span class="sourceLineNo">242</span><a name="line.242"></a>
-<span class="sourceLineNo">243</span>  /**<a name="line.243"></a>
-<span class="sourceLineNo">244</span>   * To check whether a trailer is present in a WAL, it seeks to position (fileLength -<a name="line.244"></a>
-<span class="sourceLineNo">245</span>   * PB_WAL_COMPLETE_MAGIC.size() - Bytes.SIZEOF_INT). It reads the int value to know the size of<a name="line.245"></a>
-<span class="sourceLineNo">246</span>   * the trailer, and checks whether the trailer is present at the end or not by comparing the last<a name="line.246"></a>
-<span class="sourceLineNo">247</span>   * PB_WAL_COMPLETE_MAGIC.size() bytes. In case trailer is not present, it returns false;<a name="line.247"></a>
-<span class="sourceLineNo">248</span>   * otherwise, sets the trailer and sets this.walEditsStopOffset variable up to the point just<a name="line.248"></a>
-<span class="sourceLineNo">249</span>   * before the trailer.<a name="line.249"></a>
-<span class="sourceLineNo">250</span>   * &lt;ul&gt;<a name="line.250"></a>
-<span class="sourceLineNo">251</span>   * The trailer is ignored in case:<a name="line.251"></a>
-<span class="sourceLineNo">252</span>   * &lt;li&gt;fileLength is 0 or not correct (when file is under recovery, etc).<a name="line.252"></a>
-<span class="sourceLineNo">253</span>   * &lt;li&gt;the trailer size is negative.<a name="line.253"></a>
-<span class="sourceLineNo">254</span>   * &lt;/ul&gt;<a name="line.254"></a>
-<span class="sourceLineNo">255</span>   * &lt;p&gt;<a name="line.255"></a>
-<span class="sourceLineNo">256</span>   * In case the trailer size &gt; this.trailerMaxSize, it is read after a WARN message.<a name="line.256"></a>
-<span class="sourceLineNo">257</span>   * @return true if a valid trailer is present<a name="line.257"></a>
-<span class="sourceLineNo">258</span>   * @throws IOException<a name="line.258"></a>
-<span class="sourceLineNo">259</span>   */<a name="line.259"></a>
-<span class="sourceLineNo">260</span>  private boolean setTrailerIfPresent() {<a name="line.260"></a>
-<span class="sourceLineNo">261</span>    try {<a name="line.261"></a>
-<span class="sourceLineNo">262</span>      long trailerSizeOffset = this.fileLength - (PB_WAL_COMPLETE_MAGIC.length + Bytes.SIZEOF_INT);<a name="line.262"></a>
-<span class="sourceLineNo">263</span>      if (trailerSizeOffset &lt;= 0) return false;// no trailer possible.<a name="line.263"></a>
-<span class="sourceLineNo">264</span>      this.seekOnFs(trailerSizeOffset);<a name="line.264"></a>
-<span class="sourceLineNo">265</span>      // read the int as trailer size.<a name="line.265"></a>
-<span class="sourceLineNo">266</span>      int trailerSize = this.inputStream.readInt();<a name="line.266"></a>
-<span class="sourceLineNo">267</span>      ByteBuffer buf = ByteBuffer.allocate(ProtobufLogReader.PB_WAL_COMPLETE_MAGIC.length);<a name="line.267"></a>
-<span class="sourceLineNo">268</span>      this.inputStream.readFully(buf.array(), buf.arrayOffset(), buf.capacity());<a name="line.268"></a>
-<span class="sourceLineNo">269</span>      if (!Arrays.equals(buf.array(), PB_WAL_COMPLETE_MAGIC)) {<a name="line.269"></a>
-<span class="sourceLineNo">270</span>        LOG.trace("No trailer found.");<a name="line.270"></a>
-<span class="sourceLineNo">271</span>        return false;<a name="line.271"></a>
-<span class="sourceLineNo">272</span>      }<a name="line.272"></a>
-<span class="sourceLineNo">273</span>      if (trailerSize &lt; 0) {<a name="line.273"></a>
-<span class="sourceLineNo">274</span>        LOG.warn("Invalid trailer Size " + trailerSize + ", ignoring the trailer");<a name="line.274"></a>
-<span class="sourceLineNo">275</span>        return false;<a name="line.275"></a>
-<span class="sourceLineNo">276</span>      } else if (trailerSize &gt; this.trailerWarnSize) {<a name="line.276"></a>
-<span class="sourceLineNo">277</span>        // continue reading after warning the user.<a name="line.277"></a>
-<span class="sourceLineNo">278</span>        LOG.warn("Please investigate WALTrailer usage. Trailer size &gt; maximum configured size : "<a name="line.278"></a>
-<span class="sourceLineNo">279</span>          + trailerSize + " &gt; " + this.trailerWarnSize);<a name="line.279"></a>
-<span class="sourceLineNo">280</span>      }<a name="line.280"></a>
-<span class="sourceLineNo">281</span>      // seek to the position where trailer starts.<a name="line.281"></a>
-<span class="sourceLineNo">282</span>      long positionOfTrailer = trailerSizeOffset - trailerSize;<a name="line.282"></a>
-<span class="sourceLineNo">283</span>      this.seekOnFs(positionOfTrailer);<a name="line.283"></a>
-<span class="sourceLineNo">284</span>      // read the trailer.<a name="line.284"></a>
-<span class="sourceLineNo">285</span>      buf = ByteBuffer.allocate(trailerSize);// for trailer.<a name="line.285"></a>
-<span class="sourceLineNo">286</span>      this.inputStream.readFully(buf.array(), buf.arrayOffset(), buf.capacity());<a name="line.286"></a>
-<span class="sourceLineNo">287</span>      trailer = WALTrailer.parseFrom(buf.array());<a name="line.287"></a>
-<span class="sourceLineNo">288</span>      this.walEditsStopOffset = positionOfTrailer;<a name="line.288"></a>
-<span class="sourceLineNo">289</span>      return true;<a name="line.289"></a>
-<span class="sourceLineNo">290</span>    } catch (IOException ioe) {<a name="line.290"></a>
-<span class="sourceLineNo">291</span>      LOG.warn("Got IOE while reading the trailer. Continuing as if no trailer is present.", ioe);<a name="line.291"></a>
-<span class="sourceLineNo">292</span>    }<a name="line.292"></a>
-<span class="sourceLineNo">293</span>    return false;<a name="line.293"></a>
-<span class="sourceLineNo">294</span>  }<a name="line.294"></a>
-<span class="sourceLineNo">295</span><a name="line.295"></a>
-<span class="sourceLineNo">296</span>  protected WALCellCodec getCodec(Configuration conf, String cellCodecClsName,<a name="line.296"></a>
-<span class="sourceLineNo">297</span>      CompressionContext compressionContext) throws IOException {<a name="line.297"></a>
-<span class="sourceLineNo">298</span>    return WALCellCodec.create(conf, cellCodecClsName, compressionContext);<a name="line.298"></a>
-<span class="sourceLineNo">299</span>  }<a name="line.299"></a>
-<span class="sourceLineNo">300</span><a name="line.300"></a>
-<span class="sourceLineNo">301</span>  @Override<a name="line.301"></a>
-<span class="sourceLineNo">302</span>  protected void initAfterCompression() throws IOException {<a name="line.302"></a>
-<span class="sourceLineNo">303</span>    initAfterCompression(null);<a name="line.303"></a>
-<span class="sourceLineNo">304</span>  }<a name="line.304"></a>
-<span class="sourceLineNo">305</span>  <a name="line.305"></a>
-<span class="sourceLineNo">306</span>  @Override<a name="line.306"></a>
-<span class="sourceLineNo">307</span>  protected void initAfterCompression(String cellCodecClsName) throws IOException {<a name="line.307"></a>
-<span class="sourceLineNo">308</span>    WALCellCodec codec = getCodec(this.conf, cellCodecClsName, this.compressionContext);<a name="line.308"></a>
-<span class="sourceLineNo">309</span>    this.cellDecoder = codec.getDecoder(this.inputStream);<a name="line.309"></a>
-<span class="sourceLineNo">310</span>    if (this.hasCompression) {<a name="line.310"></a>
-<span class="sourceLineNo">311</span>      this.byteStringUncompressor = codec.getByteStringUncompressor();<a name="line.311"></a>
-<span class="sourceLineNo">312</span>    }<a name="line.312"></a>
-<span class="sourceLineNo">313</span>  }<a name="line.313"></a>
-<span class="sourceLineNo">314</span><a name="line.314"></a>
-<span class="sourceLineNo">315</span>  @Override<a name="line.315"></a>
-<span class="sourceLineNo">316</span>  protected boolean hasCompression() {<a name="line.316"></a>
-<span class="sourceLineNo">317</span>    return this.hasCompression;<a name="line.317"></a>
-<span class="sourceLineNo">318</span>  }<a name="line.318"></a>
-<span class="sourceLineNo">319</span><a name="line.319"></a>
-<span class="sourceLineNo">320</span>  @Override<a name="line.320"></a>
-<span class="sourceLineNo">321</span>  protected boolean hasTagCompression() {<a name="line.321"></a>
-<span class="sourceLineNo">322</span>    return this.hasTagCompression;<a name="line.322"></a>
-<span class="sourceLineNo">323</span>  }<a name="line.323"></a>
-<span class="sourceLineNo">324</span><a name="line.324"></a>
-<span class="sourceLineNo">325</span>  @Override<a name="line.325"></a>
-<span class="sourceLineNo">326</span>  protected boolean readNext(Entry entry) throws IOException {<a name="line.326"></a>
-<span class="sourceLineNo">327</span>    while (true) {<a name="line.327"></a>
-<span class="sourceLineNo">328</span>      // OriginalPosition might be &lt; 0 on local fs; if so, it is useless to us.<a name="line.328"></a>
-<span class="sourceLineNo">329</span>      long originalPosition = this.inputStream.getPos();<a name="line.329"></a>
-<span class="sourceLineNo">330</span>      if (trailerPresent &amp;&amp; originalPosition &gt; 0 &amp;&amp; originalPosition == this.walEditsStopOffset) {<a name="line.330"></a>
-<span class="sourceLineNo">331</span>        if (LOG.isTraceEnabled()) {<a name="line.331"></a>
-<span class="sourceLineNo">332</span>          LOG.trace("Reached end of expected edits area at offset " + originalPosition);<a name="line.332"></a>
-<span class="sourceLineNo">333</span>        }<a name="line.333"></a>
-<span class="sourceLineNo">334</span>        return false;<a name="line.334"></a>
-<span class="sourceLineNo">335</span>      }<a name="line.335"></a>
-<span class="sourceLineNo">336</span>      WALKey.Builder builder = WALKey.newBuilder();<a name="line.336"></a>
-<span class="sourceLineNo">337</span>      long size = 0;<a name="line.337"></a>
-<span class="sourceLineNo">338</span>      try {<a name="line.338"></a>
-<span class="sourceLineNo">339</span>        long available = -1;<a name="line.339"></a>
-<span class="sourceLineNo">340</span>        try {<a name="line.340"></a>
-<span class="sourceLineNo">341</span>          int firstByte = this.inputStream.read();<a name="line.341"></a>
-<span class="sourceLineNo">342</span>          if (firstByte == -1) {<a name="line.342"></a>
-<span class="sourceLineNo">343</span>            throw new EOFException("First byte is negative at offset " + originalPosition);<a name="line.343"></a>
-<span class="sourceLineNo">344</span>          }<a name="line.344"></a>
-<span class="sourceLineNo">345</span>          size = CodedInputStream.readRawVarint32(firstByte, this.inputStream);<a name="line.345"></a>
-<span class="sourceLineNo">346</span>          // available may be &lt; 0 on local fs for instance.  If so, can't depend on it.<a name="line.346"></a>
-<span class="sourceLineNo">347</span>          available = this.inputStream.available();<a name="line.347"></a>
-<span class="sourceLineNo">348</span>          if (available &gt; 0 &amp;&amp; available &lt; size) {<a name="line.348"></a>
-<span class="sourceLineNo">349</span>            throw new EOFException("Available stream not enough for edit, " +<a name="line.349"></a>
-<span class="sourceLineNo">350</span>                "inputStream.available()= " + this.inputStream.available() + ", " +<a name="line.350"></a>
-<span class="sourceLineNo">351</span>                "entry size= " + size + " at offset = " + this.inputStream.getPos());<a name="line.351"></a>
-<span class="sourceLineNo">352</span>          }<a name="line.352"></a>
-<span class="sourceLineNo">353</span>          ProtobufUtil.mergeFrom(builder, new LimitInputStream(this.inputStream, size),<a name="line.353"></a>
-<span class="sourceLineNo">354</span>            (int)size);<a name="line.354"></a>
-<span class="sourceLineNo">355</span>        } catch (InvalidProtocolBufferException ipbe) {<a name="line.355"></a>
-<span class="sourceLineNo">356</span>          throw (EOFException) new EOFException("Invalid PB, EOF? Ignoring; originalPosition=" +<a name="line.356"></a>
-<span class="sourceLineNo">357</span>            originalPosition + ", currentPosition=" + this.inputStream.getPos() +<a name="line.357"></a>
-<span class="sourceLineNo">358</span>            ", messageSize=" + size + ", currentAvailable=" + available).initCause(ipbe);<a name="line.358"></a>
-<span class="sourceLineNo">359</span>        }<a name="line.359"></a>
-<span class="sourceLineNo">360</span>        if (!builder.isInitialized()) {<a name="line.360"></a>
-<span class="sourceLineNo">361</span>          // TODO: not clear if we should try to recover from corrupt PB that looks semi-legit.<a name="line.361"></a>
-<span class="sourceLineNo">362</span>          //       If we can get the KV count, we could, theoretically, try to get next record.<a name="line.362"></a>
-<span class="sourceLineNo">363</span>          throw new EOFException("Partial PB while reading WAL, " +<a name="line.363"></a>
-<span class="sourceLineNo">364</span>              "probably an unexpected EOF, ignoring. current offset=" + this.inputStream.getPos());<a name="line.364"></a>
-<span class="sourceLineNo">365</span>        }<a name="line.365"></a>
-<span class="sourceLineNo">366</span>        WALKey walKey = builder.build();<a name="line.366"></a>
-<span class="sourceLineNo">367</span>        entry.getKey().readFieldsFromPb(walKey, this.byteStringUncompressor);<a name="line.367"></a>
-<span class="sourceLineNo">368</span>        if (!walKey.hasFollowingKvCount() || 0 == walKey.getFollowingKvCount()) {<a name="line.368"></a>
-<span class="sourceLineNo">369</span>          if (LOG.isTraceEnabled()) {<a name="line.369"></a>
-<span class="sourceLineNo">370</span>            LOG.trace("WALKey has no KVs that follow it; trying the next one. current offset=" +<a name="line.370"></a>
-<span class="sourceLineNo">371</span>                this.inputStream.getPos());<a name="line.371"></a>
-<span class="sourceLineNo">372</span>          }<a name="line.372"></a>
-<span class="sourceLineNo">373</span>          continue;<a name="line.373"></a>
-<span class="sourceLineNo">374</span>        }<a name="line.374"></a>
-<span class="sourceLineNo">375</span>        int expectedCells = walKey.getFollowingKvCount();<a name="line.375"></a>
-<span class="sourceLineNo">376</span>        long posBefore = this.inputStream.getPos();<a name="line.376"></a>
-<span class="sourceLineNo">377</span>        try {<a name="line.377"></a>
-<span class="sourceLineNo">378</span>          int actualCells = entry.getEdit().readFromCells(cellDecoder, expectedCells);<a name="line.378"></a>
-<span class="sourceLineNo">379</span>          if (expectedCells != actualCells) {<a name="line.379"></a>
-<span class="sourceLineNo">380</span>            throw new EOFException("Only read " + actualCells); // other info added in catch<a name="line.380"></a>
-<span class="sourceLineNo">381</span>          }<a name="line.381"></a>
-<span class="sourceLineNo">382</span>        } catch (Exception ex) {<a name="line.382"></a>
-<span class="sourceLineNo">383</span>          String posAfterStr = "&lt;unknown&gt;";<a name="line.383"></a>
-<span class="sourceLineNo">384</span>          try {<a name="line.384"></a>
-<span class="sourceLineNo">385</span>            posAfterStr = this.inputStream.getPos() + "";<a name="line.385"></a>
-<span class="sourceLineNo">386</span>          } catch (Throwable t) {<a name="line.386"></a>
-<span class="sourceLineNo">387</span>            if (LOG.isTraceEnabled()) {<a name="line.387"></a>
-<span class="sourceLineNo">388</span>              LOG.trace("Error getting pos for error message - ignoring", t);<a name="line.388"></a>
-<span class="sourceLineNo">389</span>            }<a name="line.389"></a>
-<span class="sourceLineNo">390</span>          }<a name="line.390"></a>
-<span class="sourceLineNo">391</span>          String message = " while reading " + expectedCells + " WAL KVs; started reading at "<a name="line.391"></a>
-<span class="sourceLineNo">392</span>              + posBefore + " and read up to " + posAfterStr;<a name="line.392"></a>
-<span class="sourceLineNo">393</span>          IOException realEofEx = extractHiddenEof(ex);<a name="line.393"></a>
-<span class="sourceLineNo">394</span>          throw (EOFException) new EOFException("EOF " + message).<a name="line.394"></a>
-<span class="sourceLineNo">395</span>              initCause(realEofEx != null ? realEofEx : ex);<a name="line.395"></a>
-<span class="sourceLineNo">396</span>        }<a name="line.396"></a>
-<span class="sourceLineNo">397</span>        if (trailerPresent &amp;&amp; this.inputStream.getPos() &gt; this.walEditsStopOffset) {<a name="line.397"></a>
-<span class="sourceLineNo">398</span>          LOG.error("Read WALTrailer while reading WALEdits. wal: " + this.path<a name="line.398"></a>
-<span class="sourceLineNo">399</span>              + ", inputStream.getPos(): " + this.inputStream.getPos() + ", walEditsStopOffset: "<a name="line.399"></a>
-<span class="sourceLineNo">400</span>              + this.walEditsStopOffset);<a name="line.400"></a>
-<span class="sourceLineNo">401</span>          throw new EOFException("Read WALTrailer while reading WALEdits");<a name="line.401"></a>
-<span class="sourceLineNo">402</span>        }<a name="line.402"></a>
-<span class="sourceLineNo">403</span>      } catch (EOFException eof) {<a name="line.403"></a>
-<span class="sourceLineNo">404</span>        // If originalPosition is &lt; 0, it is rubbish and we cannot use it (probably local fs)<a name="line.404"></a>
-<span class="sourceLineNo">405</span>        if (originalPosition &lt; 0) {<a name="line.405"></a>
-<span class="sourceLineNo">406</span>          if (LOG.isTraceEnabled()) {<a name="line.406"></a>
-<span class="sourceLineNo">407</span>            LOG.trace("Encountered a malformed edit, but can't seek back to last good position because originalPosition is negative. last offset=" + this.inputStream.getPos(), eof);<a name="line.407"></a>
-<span class="sourceLineNo">408</span>          }<a name="line.408"></a>
-<span class="sourceLineNo">409</span>          throw eof;<a name="line.409"></a>
-<span class="sourceLineNo">410</span>        }<a name="line.410"></a>
-<span class="sourceLineNo">411</span>        // Else restore our position to original location in hope that next time through we will<a name="line.411"></a>
-<span class="sourceLineNo">412</span>        // read successfully.<a name="line.412"></a>
-<span class="sourceLineNo">413</span>        if (LOG.isTraceEnabled()) {<a name="line.413"></a>
-<span class="sourceLineNo">414</span>          LOG.trace("Encountered a malformed edit, seeking back to last good position in file, from "+ inputStream.getPos()+" to " + originalPosition, eof);<a name="line.414"></a>
-<span class="sourceLineNo">415</span>        }<a name="line.415"></a>
-<span class="sourceLineNo">416</span>        seekOnFs(originalPosition);<a name="line.416"></a>
-<span class="sourceLineNo">417</span>        return false;<a name="line.417"></a>
-<span class="sourceLineNo">418</span>      }<a name="line.418"></a>
-<span class="sourceLineNo">419</span>      return true;<a name="line.419"></a>
-<span class="sourceLineNo">420</span>    }<a name="line.420"></a>
-<span class="sourceLineNo">421</span>  }<a name="line.421"></a>
-<span class="sourceLineNo">422</span><a name="line.422"></a>
-<span class="sourceLineNo">423</span>  private IOException extractHiddenEof(Exception ex) {<a name="line.423"></a>
-<span class="sourceLineNo">424</span>    // There are two problems we are dealing with here. Hadoop stream throws generic exception<a name="line.424"></a>
-<span class="sourceLineNo">425</span>    // for EOF, not EOFException; and scanner further hides it inside RuntimeException.<a name="line.425"></a>
-<span class="sourceLineNo">426</span>    IOException ioEx = null;<a name="line.426"></a>
-<span class="sourceLineNo">427</span>    if (ex instanceof EOFException) {<a name="line.427"></a>
-<span class="sourceLineNo">428</span>      return (EOFException)ex;<a name="line.428"></a>
-<span class="sourceLineNo">429</span>    } else if (ex instanceof IOException) {<a name="line.429"></a>
-<span class="sourceLineNo">430</span>      ioEx = (IOException)ex;<a name="line.430"></a>
-<span class="sourceLineNo">431</span>    } else if (ex instanceof RuntimeException<a name="line.431"></a>
-<span class="sourceLineNo">432</span>        &amp;&amp; ex.getCause() != null &amp;&amp; ex.getCause() instanceof IOException) {<a name="line.432"></a>
-<span class="sourceLineNo">433</span>      ioEx = (IOException)ex.getCause();<a name="line.433"></a>
-<span class="sourceLineNo">434</span>    }<a name="line.434"></a>
-<span class="sourceLineNo">435</span>    if (ioEx != null) {<a name="line.435"></a>
-<span class="sourceLineNo">436</span>      if (ioEx.getMessage().contains("EOF")) return ioEx;<a name="line.436"></a>
-<span class="sourceLineNo">437</span>      return null;<a name="line.437"></a>
-<span class="sourceLineNo">438</span>    }<a name="line.438"></a>
-<span class="sourceLineNo">439</span>    return null;<a name="line.439"></a>
-<span class="sourceLineNo">440</span>  }<a name="line.440"></a>
-<span class="sourceLineNo">441</span><a name="line.441"></a>
-<span class="sourceLineNo">442</span>  @Override<a name="line.442"></a>
-<span class="sourceLineNo">443</span>  protected void seekOnFs(long pos) throws IOException {<a name="line.443"></a>
-<span class="sourceLineNo">444</span>    this.inputStream.seek(pos);<a name="line.444"></a>
-<span class="sourceLineNo">445</span>  }<a name="line.445"></a>
-<span class="sourceLineNo">446</span>}<a name="line.446"></a>
+<span class="sourceLineNo">047</span>import org.apache.hbase.thirdparty.com.google.common.io.ByteStreams;<a name="line.47"></a>
+<span class="sourceLineNo">048</span>import org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream;<a name="line.48"></a>
+<span class="sourceLineNo">049</span>import org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException;<a name="line.49"></a>
+<span class="sourceLineNo">050</span><a name="line.50"></a>
+<span class="sourceLineNo">051</span>/**<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * A Protobuf based WAL has the following structure:<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * &lt;p&gt;<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * &amp;lt;PB_WAL_MAGIC&amp;gt;&amp;lt;WALHeader&amp;gt;&amp;lt;WALEdits&amp;gt;...&amp;lt;WALEdits&amp;gt;&amp;lt;Trailer&amp;gt;<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * &amp;lt;TrailerSize&amp;gt; &amp;lt;PB_WAL_COMPLETE_MAGIC&amp;gt;<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * &lt;/p&gt;<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * The Reader reads meta information (WAL Compression state, WALTrailer, etc) in<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * ProtobufLogReader#initReader(FSDataInputStream). A WALTrailer is an extensible structure<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * which is appended at the end of the WAL. This is empty for now; it can contain some meta<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * information such as Region level stats, etc in future.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> */<a name="line.61"></a>
+<span class="sourceLineNo">062</span>@InterfaceAudience.LimitedPrivate({HBaseInterfaceAudience.COPROC, HBaseInterfaceAudience.PHOENIX,<a name="line.62"></a>
+<span class="sourceLineNo">063</span>  HBaseInterfaceAudience.CONFIG})<a name="line.63"></a>
+<span class="sourceLineNo">064</span>public class ProtobufLogReader extends ReaderBase {<a name="line.64"></a>
+<span class="sourceLineNo">065</span>  private static final Logger LOG = LoggerFactory.getLogger(ProtobufLogReader.class);<a name="line.65"></a>
+<span class="sourceLineNo">066</span>  // public for WALFactory until we move everything to o.a.h.h.wal<a name="line.66"></a>
+<span class="sourceLineNo">067</span>  @InterfaceAudience.Private<a name="line.67"></a>
+<span class="sourceLineNo">068</span>  public static final byte[] PB_WAL_MAGIC = Bytes.toBytes("PWAL");<a name="line.68"></a>
+<span class="sourceLineNo">069</span>  // public for TestWALSplit<a name="line.69"></a>
+<span class="sourceLineNo">070</span>  @InterfaceAudience.Private<a name="line.70"></a>
+<span class="sourceLineNo">071</span>  public static final byte[] PB_WAL_COMPLETE_MAGIC = Bytes.toBytes("LAWP");<a name="line.71"></a>
+<span class="sourceLineNo">072</span>  /**<a name="line.72"></a>
+<span class="sourceLineNo">073</span>   * Configuration name of WAL Trailer's warning size. If a waltrailer's size is greater than the<a name="line.73"></a>
+<span class="sourceLineNo">074</span>   * configured size, providers should log a warning. e.g. this is used with Protobuf reader/writer.<a name="line.74"></a>
+<span class="sourceLineNo">075</span>   */<a name="line.75"></a>
+<span class="sourceLineNo">076</span>  static final String WAL_TRAILER_WARN_SIZE = "hbase.regionserver.waltrailer.warn.size";<a name="line.76"></a>
+<span class="sourceLineNo">077</span>  static final int DEFAULT_WAL_TRAILER_WARN_SIZE = 1024 * 1024; // 1MB<a name="line.77"></a>
+<span class="sourceLineNo">078</span><a name="line.78"></a>
+<span class="sourceLineNo">079</span>  protected FSDataInputStream inputStream;<a name="line.79"></a>
+<span class="sourceLineNo">080</span>  protected Codec.Decoder cellDecoder;<a name="line.80"></a>
+<span class="sourceLineNo">081</span>  protected WALCellCodec.ByteStringUncompressor byteStringUncompressor;<a name="line.81"></a>
+<span class="sourceLineNo">082</span>  protected boolean hasCompression = false;<a name="line.82"></a>
+<span class="sourceLineNo">083</span>  protected boolean hasTagCompression = false;<a name="line.83"></a>
+<span class="sourceLineNo">084</span>  // walEditsStopOffset is the position of the last byte to read. After reading the last WALEdit<a name="line.84"></a>
+<span class="sourceLineNo">085</span>  // entry in the wal, the inputstream's position is equal to walEditsStopOffset.<a name="line.85"></a>
+<span class="sourceLineNo">086</span>  private long walEditsStopOffset;<a name="line.86"></a>
+<span class="sourceLineNo">087</span>  private boolean trailerPresent;<a name="line.87"></a>
+<span class="sourceLineNo">088</span>  protected WALTrailer trailer;<a name="line.88"></a>
+<span class="sourceLineNo">089</span>  // maximum size of the wal Trailer in bytes. If a user writes/reads a trailer with size larger<a name="line.89"></a>
+<span class="sourceLineNo">090</span>  // than this size, it is written/read respectively, with a WARN message in the log.<a name="line.90"></a>
+<span class="sourceLineNo">091</span>  protected int trailerWarnSize;<a name="line.91"></a>
+<span class="sourceLineNo">092</span>  private static List&lt;String&gt; writerClsNames = new ArrayList&lt;&gt;();<a name="line.92"></a>
+<span class="sourceLineNo">093</span>  static {<a name="line.93"></a>
+<span class="sourceLineNo">094</span>    writerClsNames.add(ProtobufLogWriter.class.getSimpleName());<a name="line.94"></a>
+<span class="sourceLineNo">095</span>    writerClsNames.add(AsyncProtobufLogWriter.class.getSimpleName());<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>  // cell codec classname<a name="line.98"></a>
+<span class="sourceLineNo">099</span>  private String codecClsName = null;<a name="line.99"></a>
+<span class="sourceLineNo">100</span><a name="line.100"></a>
+<span class="sourceLineNo">101</span>  @InterfaceAudience.Private<a name="line.101"></a>
+<span class="sourceLineNo">102</span>  public long trailerSize() {<a name="line.102"></a>
+<span class="sourceLineNo">103</span>    if (trailerPresent) {<a name="line.103"></a>
+<span class="sourceLineNo">104</span>      // sizeof PB_WAL_COMPLETE_MAGIC + sizof trailerSize + trailer<a name="line.104"></a>
+<span class="sourceLineNo">105</span>      final long calculatedSize = PB_WAL_COMPLETE_MAGIC.length + Bytes.SIZEOF_INT + trailer.getSerializedSize();<a name="line.105"></a>
+<span class="sourceLineNo">106</span>      final long expectedSize = fileLength - walEditsStopOffset;<a name="line.106"></a>
+<span class="sourceLineNo">107</span>      if (expectedSize != calculatedSize) {<a name="line.107"></a>
+<span class="sourceLineNo">108</span>        LOG.warn("After parsing the trailer, we expect the total footer to be "+ expectedSize +" bytes, but we calculate it as being " + calculatedSize);<a name="line.108"></a>
+<span class="sourceLineNo">109</span>      }<a name="line.109"></a>
+<span class="sourceLineNo">110</span>      return expectedSize;<a name="line.110"></a>
+<span class="sourceLineNo">111</span>    } else {<a name="line.111"></a>
+<span class="sourceLineNo">112</span>      return -1L;<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><a name="line.115"></a>
+<span class="sourceLineNo">116</span>  enum WALHdrResult {<a name="line.116"></a>
+<span class="sourceLineNo">117</span>    EOF,                   // stream is at EOF when method starts<a name="line.117"></a>
+<span class="sourceLineNo">118</span>    SUCCESS,<a name="line.118"></a>
+<span class="sourceLineNo">119</span>    UNKNOWN_WRITER_CLS     // name of writer class isn't recognized<a name="line.119"></a>
+<span class="sourceLineNo">120</span>  }<a name="line.120"></a>
+<span class="sourceLineNo">121</span>  <a name="line.121"></a>
+<span class="sourceLineNo">122</span>  // context for WALHdr carrying information such as Cell Codec classname<a name="line.122"></a>
+<span class="sourceLineNo">123</span>  static class WALHdrContext {<a name="line.123"></a>
+<span class="sourceLineNo">124</span>    WALHdrResult result;<a name="line.124"></a>
+<span class="sourceLineNo">125</span>    String cellCodecClsName;<a name="line.125"></a>
+<span class="sourceLineNo">126</span>    <a name="line.126"></a>
+<span class="sourceLineNo">127</span>    WALHdrContext(WALHdrResult result, String cellCodecClsName) {<a name="line.127"></a>
+<span class="sourceLineNo">128</span>      this.result = result;<a name="line.128"></a>
+<span class="sourceLineNo">129</span>      this.cellCodecClsName = cellCodecClsName;<a name="line.129"></a>
+<span class="sourceLineNo">130</span>    }<a name="line.130"></a>
+<span class="sourceLineNo">131</span>    WALHdrResult getResult() {<a name="line.131"></a>
+<span class="sourceLineNo">132</span>      return result;<a name="line.132"></a>
+<span class="sourceLineNo">133</span>    }<a name="line.133"></a>
+<span class="sourceLineNo">134</span>    String getCellCodecClsName() {<a name="line.134"></a>
+<span class="sourceLineNo">135</span>      return cellCodecClsName;<a name="line.135"></a>
+<span class="sourceLineNo">136</span>    }<a name="line.136"></a>
+<span class="sourceLineNo">137</span>  }<a name="line.137"></a>
+<span class="sourceLineNo">138</span><a name="line.138"></a>
+<span class="sourceLineNo">139</span>  public ProtobufLogReader() {<a name="line.139"></a>
+<span class="sourceLineNo">140</span>    super();<a name="line.140"></a>
+<span class="sourceLineNo">141</span>  }<a name="line.141"></a>
+<span class="sourceLineNo">142</span><a name="line.142"></a>
+<span class="sourceLineNo">143</span>  @Override<a name="line.143"></a>
+<span class="sourceLineNo">144</span>  public void close() throws IOException {<a name="line.144"></a>
+<span class="sourceLineNo">145</span>    if (this.inputStream != null) {<a name="line.145"></a>
+<span class="sourceLineNo">146</span>      this.inputStream.close();<a name="line.146"></a>
+<span class="sourceLineNo">147</span>      this.inputStream = null;<a name="line.147"></a>
+<span class="sourceLineNo">148</span>    }<a name="line.148"></a>
+<span class="sourceLineNo">149</span>  }<a name="line.149"></a>
+<span class="sourceLineNo">150</span><a name="line.150"></a>
+<span class="sourceLineNo">151</span>  @Override<a name="line.151"></a>
+<span class="sourceLineNo">152</span>  public long getPosition() throws IOException {<a name="line.152"></a>
+<span class="sourceLineNo">153</span>    return inputStream.getPos();<a name="line.153"></a>
+<span class="sourceLineNo">154</span>  }<a name="line.154"></a>
+<span class="sourceLineNo">155</span><a name="line.155"></a>
+<span class="sourceLineNo">156</span>  @Override<a name="line.156"></a>
+<span class="sourceLineNo">157</span>  public void reset() throws IOException {<a name="line.157"></a>
+<span class="sourceLineNo">158</span>    String clsName = initInternal(null, false);<a name="line.158"></a>
+<span class="sourceLineNo">159</span>    initAfterCompression(clsName); // We need a new decoder (at least).<a name="line.159"></a>
+<span class="sourceLineNo">160</span>  }<a name="line.160"></a>
+<span class="sourceLineNo">161</span><a name="line.161"></a>
+<span class="sourceLineNo">162</span>  @Override<a name="line.162"></a>
+<span class="sourceLineNo">163</span>  public void init(FileSystem fs, Path path, Configuration conf, FSDataInputStream stream)<a name="line.163"></a>
+<span class="sourceLineNo">164</span>      throws IOException {<a name="line.164"></a>
+<span class="sourceLineNo">165</span>    this.trailerWarnSize = conf.getInt(WAL_TRAILER_WARN_SIZE, DEFAULT_WAL_TRAILER_WARN_SIZE);<a name="line.165"></a>
+<span class="sourceLineNo">166</span>    super.init(fs, path, conf, stream);<a name="line.166"></a>
+<span class="sourceLineNo">167</span>  }<a name="line.167"></a>
+<span class="sourceLineNo">168</span><a name="line.168"></a>
+<span class="sourceLineNo">169</span>  @Override<a name="line.169"></a>
+<span class="sourceLineNo">170</span>  protected String initReader(FSDataInputStream stream) throws IOException {<a name="line.170"></a>
+<span class="sourceLineNo">171</span>    return initInternal(stream, true);<a name="line.171"></a>
+<span class="sourceLineNo">172</span>  }<a name="line.172"></a>
+<span class="sourceLineNo">173</span><a name="line.173"></a>
+<span class="sourceLineNo">174</span>  /*<a name="line.174"></a>
+<span class="sourceLineNo">175</span>   * Returns names of the accepted writer classes<a name="line.175"></a>
+<span class="sourceLineNo">176</span>   */<a name="line.176"></a>
+<span class="sourceLineNo">177</span>  public List&lt;String&gt; getWriterClsNames() {<a name="line.177"></a>
+<span class="sourceLineNo">178</span>    return writerClsNames;<a name="line.178"></a>
+<span class="sourceLineNo">179</span>  }<a name="line.179"></a>
+<span class="sourceLineNo">180</span>  <a name="line.180"></a>
+<span class="sourceLineNo">181</span>  /*<a name="line.181"></a>
+<span class="sourceLineNo">182</span>   * Returns the cell codec classname<a name="line.182"></a>
+<span class="sourceLineNo">183</span>   */<a name="line.183"></a>
+<span class="sourceLineNo">184</span>  public String getCodecClsName() {<a name="line.184"></a>
+<span class="sourceLineNo">185</span>      return codecClsName;<a name="line.185"></a>
+<span class="sourceLineNo">186</span>  }<a name="line.186"></a>
+<span class="sourceLineNo">187</span><a name="line.187"></a>
+<span class="sourceLineNo">188</span>  protected WALHdrContext readHeader(Builder builder, FSDataInputStream stream)<a name="line.188"></a>
+<span class="sourceLineNo">189</span>      throws IOException {<a name="line.189"></a>
+<span class="sourceLineNo">190</span>     boolean res = builder.mergeDelimitedFrom(stream);<a name="line.190"></a>
+<span class="sourceLineNo">191</span>     if (!res) return new WALHdrContext(WALHdrResult.EOF, null);<a name="line.191"></a>
+<span class="sourceLineNo">192</span>     if (builder.hasWriterClsName() &amp;&amp;<a name="line.192"></a>
+<span class="sourceLineNo">193</span>         !getWriterClsNames().contains(builder.getWriterClsName())) {<a name="line.193"></a>
+<span class="sourceLineNo">194</span>       return new WALHdrContext(WALHdrResult.UNKNOWN_WRITER_CLS, null);<a name="line.194"></a>
+<span class="sourceLineNo">195</span>     }<a name="line.195"></a>
+<span class="sourceLineNo">196</span>     String clsName = null;<a name="line.196"></a>
+<span class="sourceLineNo">197</span>     if (builder.hasCellCodecClsName()) {<a name="line.197"></a>
+<span class="sourceLineNo">198</span>       clsName = builder.getCellCodecClsName();<a name="line.198"></a>
+<span class="sourceLineNo">199</span>     }<a name="line.199"></a>
+<span class="sourceLineNo">200</span>     return new WALHdrContext(WALHdrResult.SUCCESS, clsName);<a name="line.200"></a>
+<span class="sourceLineNo">201</span>  }<a name="line.201"></a>
+<span class="sourceLineNo">202</span><a name="line.202"></a>
+<span class="sourceLineNo">203</span>  private String initInternal(FSDataInputStream stream, boolean isFirst)<a name="line.203"></a>
+<span class="sourceLineNo">204</span>      throws IOException {<a name="line.204"></a>
+<span class="sourceLineNo">205</span>    close();<a name="line.205"></a>
+<span class="sourceLineNo">206</span>    long expectedPos = PB_WAL_MAGIC.length;<a name="line.206"></a>
+<span class="sourceLineNo">207</span>    if (stream == null) {<a name="line.207"></a>
+<span class="sourceLineNo">208</span>      stream = fs.open(path);<a name="line.208"></a>
+<span class="sourceLineNo">209</span>      stream.seek(expectedPos);<a name="line.209"></a>
+<span class="sourceLineNo">210</span>    }<a name="line.210"></a>
+<span class="sourceLineNo">211</span>    if (stream.getPos() != expectedPos) {<a name="line.211"></a>
+<span class="sourceLineNo">212</span>      throw new IOException("The stream is at invalid position: " + stream.getPos());<a name="line.212"></a>
+<span class="sourceLineNo">213</span>    }<a name="line.213"></a>
+<span class="sourceLineNo">214</span>    // Initialize metadata or, when we reset, just skip the header.<a name="line.214"></a>
+<span class="sourceLineNo">215</span>    WALProtos.WALHeader.Builder builder = WALProtos.WALHeader.newBuilder();<a name="line.215"></a>
+<span class="sourceLineNo">216</span>    WALHdrContext hdrCtxt = readHeader(builder, stream);<a name="line.216"></a>
+<span class="sourceLineNo">217</span>    WALHdrResult walHdrRes = hdrCtxt.getResult();<a name="line.217"></a>
+<span class="sourceLineNo">218</span>    if (walHdrRes == WALHdrResult.EOF) {<a name="line.218"></a>
+<span class="sourceLineNo">219</span>      throw new EOFException("Couldn't read WAL PB header");<a name="line.219"></a>
+<span class="sourceLineNo">220</span>    }<a name="line.220"></a>
+<span class="sourceLineNo">221</span>    if (walHdrRes == WALHdrResult.UNKNOWN_WRITER_CLS) {<a name="line.221"></a>
+<span class="sourceLineNo">222</span>      throw new IOException("Got unknown writer class: " + builder.getWriterClsName());<a name="line.222"></a>
+<span class="sourceLineNo">223</span>    }<a name="line.223"></a>
+<span class="sourceLineNo">224</span>    if (isFirst) {<a name="line.224"></a>
+<span class="sourceLineNo">225</span>      WALProtos.WALHeader header = builder.build();<a name="line.225"></a>
+<span class="sourceLineNo">226</span>      this.hasCompression = header.hasHasCompression() &amp;&amp; header.getHasCompression();<a name="line.226"></a>
+<span class="sourceLineNo">227</span>      this.hasTagCompression = header.hasHasTagCompression() &amp;&amp; header.getHasTagCompression();<a name="line.227"></a>
+<span class="sourceLineNo">228</span>    }<a name="line.228"></a>
+<span class="sourceLineNo">229</span>    this.inputStream = stream;<a name="line.229"></a>
+<span class="sourceLineNo">230</span>    this.walEditsStopOffset = this.fileLength;<a name="line.230"></a>
+<span class="sourceLineNo">231</span>    long currentPosition = stream.getPos();<a name="line.231"></a>
+<span class="sourceLineNo">232</span>    trailerPresent = setTrailerIfPresent();<a name="line.232"></a>
+<span class="sourceLineNo">233</span>    this.seekOnFs(currentPosition);<a name="line.233"></a>
+<span class="sourceLineNo">234</span>    if (LOG.isTraceEnabled()) {<a name="line.234"></a>
+<span class="sourceLineNo">235</span>      LOG.trace("After reading the trailer: walEditsStopOffset: " + this.walEditsStopOffset<a name="line.235"></a>
+<span class="sourceLineNo">236</span>          + ", fileLength: " + this.fileLength + ", " + "trailerPresent: " + (trailerPresent ? "true, size: " + trailer.getSerializedSize() : "false") + ", currentPosition: " + currentPosition);<a name="line.236"></a>
+<span class="sourceLineNo">237</span>    }<a name="line.237"></a>
+<span class="sourceLineNo">238</span>    <a name="line.238"></a>
+<span class="sourceLineNo">239</span>    codecClsName = hdrCtxt.getCellCodecClsName();<a name="line.239"></a>
+<span class="sourceLineNo">240</span>    <a name="line.240"></a>
+<span class="sourceLineNo">241</span>    return hdrCtxt.getCellCodecClsName();<a name="line.241"></a>
+<span class="sourceLineNo">242</span>  }<a name="line.242"></a>
+<span class="sourceLineNo">243</span><a name="line.243"></a>
+<span class="sourceLineNo">244</span>  /**<a name="line.244"></a>
+<span class="sourceLineNo">245</span>   * To check whether a trailer is present in a WAL, it seeks to position (fileLength -<a name="line.245"></a>
+<span class="sourceLineNo">246</span>   * PB_WAL_COMPLETE_MAGIC.size() - Bytes.SIZEOF_INT). It reads the int value to know the size of<a name="line.246"></a>
+<span class="sourceLineNo">247</span>   * the trailer, and checks whether the trailer is present at the end or not by comparing the last<a name="line.247"></a>
+<span class="sourceLineNo">248</span>   * PB_WAL_COMPLETE_MAGIC.size() bytes. In case trailer is not present, it returns false;<a name="line.248"></a>
+<span class="sourceLineNo">249</span>   * otherwise, sets the trailer and sets this.walEditsStopOffset variable up to the point just<a name="line.249"></a>
+<span class="sourceLineNo">250</span>   * before the trailer.<a name="line.250"></a>
+<span class="sourceLineNo">251</span>   * &lt;ul&gt;<a name="line.251"></a>
+<span class="sourceLineNo">252</span>   * The trailer is ignored in case:<a name="line.252"></a>
+<span class="sourceLineNo">253</span>   * &lt;li&gt;fileLength is 0 or not correct (when file is under recovery, etc).<a name="line.253"></a>
+<span class="sourceLineNo">254</span>   * &lt;li&gt;the trailer size is negative.<a name="line.254"></a>
+<span class="sourceLineNo">255</span>   * &lt;/ul&gt;<a name="line.255"></a>
+<span class="sourceLineNo">256</span>   * &lt;p&gt;<a name="line.256"></a>
+<span class="sourceLineNo">257</span>   * In case the trailer size &gt; this.trailerMaxSize, it is read after a WARN message.<a name="line.257"></a>
+<span class="sourceLineNo">258</span>   * @return true if a valid trailer is present<a name="line.258"></a>
+<span class="sourceLineNo">259</span>   * @throws IOException<a name="line.259"></a>
+<span class="sourceLineNo">260</span>   */<a name="line.260"></a>
+<span class="sourceLineNo">261</span>  private boolean setTrailerIfPresent() {<a name="line.261"></a>
+<span class="sourceLineNo">262</span>    try {<a name="line.262"></a>
+<span class="sourceLineNo">263</span>      long trailerSizeOffset = this.fileLength - (PB_WAL_COMPLETE_MAGIC.length + Bytes.SIZEOF_INT);<a name="line.263"></a>
+<span class="sourceLineNo">264</span>      if (trailerSizeOffset &lt;= 0) return false;// no trailer possible.<a name="line.264"></a>
+<span class="sourceLineNo">265</span>      this.seekOnFs(trailerSizeOffset);<a name="line.265"></a>
+<span class="sourceLineNo">266</span>      // read the int as trailer size.<a name="line.266"></a>
+<span class="sourceLineNo">267</span>      int trailerSize = this.inputStream.readInt();<a name="line.267"></a>
+<span class="sourceLineNo">268</span>      ByteBuffer buf = ByteBuffer.allocate(ProtobufLogReader.PB_WAL_COMPLETE_MAGIC.length);<a name="line.268"></a>
+<span class="sourceLineNo">269</span>      this.inputStream.readFully(buf.array(), buf.arrayOffset(), buf.capacity());<a name="line.269"></a>
+<span class="sourceLineNo">270</span>      if (!Arrays.equals(buf.array(), PB_WAL_COMPLETE_MAGIC)) {<a name="line.270"></a>
+<span class="sourceLineNo">271</span>        LOG.trace("No trailer found.");<a name="line.271"></a>
+<span class="sourceLineNo">272</span>        return false;<a name="line.272"></a>
+<span class="sourceLineNo">273</span>      }<a name="line.273"></a>
+<span class="sourceLineNo">274</span>      if (trailerSize &lt; 0) {<a name="line.274"></a>
+<span class="sourceLineNo">275</span>        LOG.warn("Invalid trailer Size " + trailerSize + ", ignoring the trailer");<a name="line.275"></a>
+<span class="sourceLineNo">276</span>        return false;<a name="line.276"></a>
+<span class="sourceLineNo">277</span>      } else if (trailerSize &gt; this.trailerWarnSize) {<a name="line.277"></a>
+<span class="sourceLineNo">278</span>        // continue reading after warning the user.<a name="line.278"></a>
+<span class="sourceLineNo">279</span>        LOG.warn("Please investigate WALTrailer usage. Trailer size &gt; maximum configured size : "<a name="line.279"></a>
+<span class="sourceLineNo">280</span>          + trailerSize + " &gt; " + this.trailerWarnSize);<a name="line.280"></a>
+<span class="sourceLineNo">281</span>      }<a name="line.281"></a>
+<span class="sourceLineNo">282</span>      // seek to the position where trailer starts.<a name="line.282"></a>
+<span class="sourceLineNo">283</span>      long positionOfTrailer = trailerSizeOffset - trailerSize;<a name="line.283"></a>
+<span class="sourceLineNo">284</span>      this.seekOnFs(positionOfTrailer);<a name="line.284"></a>
+<span class="sourceLineNo">285</span>      // read the trailer.<a name="line.285"></a>
+<span class="sourceLineNo">286</span>      buf = ByteBuffer.allocate(trailerSize);// for trailer.<a name="line.286"></a>
+<span class="sourceLineNo">287</span>      this.inputStream.readFully(buf.array(), buf.arrayOffset(), buf.capacity());<a name="line.287"></a>
+<span class="sourceLineNo">288</span>      trailer = WALTrailer.parseFrom(buf.array());<a name="line.288"></a>
+<span class="sourceLineNo">289</span>      this.walEditsStopOffset = positionOfTrailer;<a name="line.289"></a>
+<span class="sourceLineNo">290</span>      return true;<a name="line.290"></a>
+<span class="sourceLineNo">291</span>    } catch (IOException ioe) {<a name="line.291"></a>
+<span class="sourceLineNo">292</span>      LOG.warn("Got IOE while reading the trailer. Continuing as if no trailer is present.", ioe);<a name="line.292"></a>
+<span class="sourceLineNo">293</span>    }<a name="line.293"></a>
+<span class="sourceLineNo">294</span>    return false;<a name="line.294"></a>
+<span class="sourceLineNo">295</span>  }<a name="line.295"></a>
+<span class="sourceLineNo">296</span><a name="line.296"></a>
+<span class="sourceLineNo">297</span>  protected WALCellCodec getCodec(Configuration conf, String cellCodecClsName,<a name="line.297"></a>
+<span class="sourceLineNo">298</span>      CompressionContext compressionContext) throws IOException {<a name="line.298"></a>
+<span class="sourceLineNo">299</span>    return WALCellCodec.create(conf, cellCodecClsName, compressionContext);<a name="line.299"></a>
+<span class="sourceLineNo">300</span>  }<a name="line.300"></a>
+<span class="sourceLineNo">301</span><a name="line.301"></a>
+<span class="sourceLineNo">302</span>  @Override<a name="line.302"></a>
+<span class="sourceLineNo">303</span>  protected void initAfterCompression() throws IOException {<a name="line.303"></a>
+<span class="sourceLineNo">304</span>    initAfterCompression(null);<a name="line.304"></a>
+<span class="sourceLineNo">305</span>  }<a name="line.305"></a>
+<span class="sourceLineNo">306</span>  <a name="line.306"></a>
+<span class="sourceLineNo">307</span>  @Override<a name="line.307"></a>
+<span class="sourceLineNo">308</span>  protected void initAfterCompression(String cellCodecClsName) throws IOException {<a name="line.308"></a>
+<span class="sourceLineNo">309</span>    WALCellCodec codec = getCodec(this.conf, cellCodecClsName, this.compressionContext);<a name="line.309"></a>
+<span class="sourceLineNo">310</span>    this.cellDecoder = codec.getDecoder(this.inputStream);<a name="line.310"></a>
+<span class="sourceLineNo">311</span>    if (this.hasCompression) {<a name="line.311"></a>
+<span class="sourceLineNo">312</span>      this.byteStringUncompressor = codec.getByteStringUncompressor();<a name="line.312"></a>
+<span class="sourceLineNo">313</span>    }<a name="line.313"></a>
+<span class="sourceLineNo">314</span>  }<a name="line.314"></a>
+<span class="sourceLineNo">315</span><a name="line.315"></a>
+<span class="sourceLineNo">316</span>  @Override<a name="line.316"></a>
+<span class="sourceLineNo">317</span>  protected boolean hasCompression() {<a name="line.317"></a>
+<span class="sourceLineNo">318</span>    return this.hasCompression;<a name="line.318"></a>
+<span class="sourceLineNo">319</span>  }<a name="line.319"></a>
+<span class="sourceLineNo">320</span><a name="line.320"></a>
+<span class="sourceLineNo">321</span>  @Override<a name="line.321"></a>
+<span class="sourceLineNo">322</span>  protected boolean hasTagCompression() {<a name="line.322"></a>
+<span class="sourceLineNo">323</span>    return this.hasTagCompression;<a name="line.323"></a>
+<span class="sourceLineNo">324</span>  }<a name="line.324"></a>
+<span class="sourceLineNo">325</span><a name="line.325"></a>
+<span class="sourceLineNo">326</span>  @Override<a name="line.326"></a>
+<span class="sourceLineNo">327</span>  protected boolean readNext(Entry entry) throws IOException {<a name="line.327"></a>
+<span class="sourceLineNo">328</span>    while (true) {<a name="line.328"></a>
+<span class="sourceLineNo">329</span>      // OriginalPosition might be &lt; 0 on local fs; if so, it is useless to us.<a name="line.329"></a>
+<span class="sourceLineNo">330</span>      long originalPosition = this.inputStream.getPos();<a name="line.330"></a>
+<span class="sourceLineNo">331</span>      if (trailerPresent &amp;&amp; originalPosition &gt; 0 &amp;&amp; originalPosition == this.walEditsStopOffset) {<a name="line.331"></a>
+<span class="sourceLineNo">332</span>        if (LOG.isTraceEnabled()) {<a name="line.332"></a>
+<span class="sourceLineNo">333</span>          LOG.trace("Reached end of expected edits area at offset " + originalPosition);<a name="line.333"></a>
+<span class="sourceLineNo">334</span>        }<a name="line.334"></a>
+<span class="sourceLineNo">335</span>        return false;<a name="line.335"></a>
+<span class="sourceLineNo">336</span>      }<a name="line.336"></a>
+<span class="sourceLineNo">337</span>      WALKey.Builder builder = WALKey.newBuilder();<a name="line.337"></a>
+<span class="sourceLineNo">338</span>      long size = 0;<a name="line.338"></a>
+<span class="sourceLineNo">339</span>      try {<a name="line.339"></a>
+<span class="sourceLineNo">340</span>        long available = -1;<a name="line.340"></a>
+<span class="sourceLineNo">341</span>        try {<a name="line.341"></a>
+<span class="sourceLineNo">342</span>          int firstByte = this.inputStream.read();<a name="line.342"></a>
+<span class="sourceLineNo">343</span>          if (firstByte == -1) {<a name="line.343"></a>
+<span class="sourceLineNo">344</span>            throw new EOFException("First byte is negative at offset " + originalPosition);<a name="line.344"></a>
+<span class="sourceLineNo">345</span>          }<a name="line.345"></a>
+<span class="sourceLineNo">346</span>          size = CodedInputStream.readRawVarint32(firstByte, this.inputStream);<a name="line.346"></a>
+<span class="sourceLineNo">347</span>          // available may be &lt; 0 on local fs for instance.  If so, can't depend on it.<a name="line.347"></a>
+<span class="sourceLineNo">348</span>          available = this.inputStream.available();<a name="line.348"></a>
+<span class="sourceLineNo">349</span>          if (available &gt; 0 &amp;&amp; available &lt; size) {<a name="line.349"></a>
+<span class="sourceLineNo">350</span>            throw new EOFException("Available stream not enough for edit, " +<a name="line.350"></a>
+<span class="sourceLineNo">351</span>                "inputStream.available()= " + this.inputStream.available() + ", " +<a name="line.351"></a>
+<span class="sourceLineNo">352</span>                "entry size= " + size + " at offset = " + this.inputStream.getPos());<a name="line.352"></a>
+<span class="sourceLineNo">353</span>          }<a name="line.353"></a>
+<span class="sourceLineNo">354</span>          ProtobufUtil.mergeFrom(builder, ByteStreams.limit(this.inputStream, size),<a name="line.354"></a>
+<span class="sourceLineNo">355</span>            (int)size);<a name="line.355"></a>
+<span class="sourceLineNo">356</span>        } catch (InvalidProtocolBufferException ipbe) {<a name="line.356"></a>
+<span class="sourceLineNo">357</span>          throw (EOFException) new EOFException("Invalid PB, EOF? Ignoring; originalPosition=" +<a name="line.357"></a>
+<span class="sourceLineNo">358</span>            originalPosition + ", currentPosition=" + this.inputStream.getPos() +<a name="line.358"></a>
+<span class="sourceLineNo">359</span>            ", messageSize=" + size + ", currentAvailable=" + available).initCause(ipbe);<a name="line.359"></a>
+<span class="sourceLineNo">360</span>        }<a name="line.360"></a>
+<span class="sourceLineNo">361</span>        if (!builder.isInitialized()) {<a name="line.361"></a>
+<span class="sourceLineNo">362</span>          // TODO: not clear if we should try to recover from corrupt PB that looks semi-legit.<a name="line.362"></a>
+<span class="sourceLineNo">363</span>          //       If we can get the KV count, we could, theoretically, try to get next record.<a name="line.363"></a>
+<span class="sourceLineNo">364</span>          throw new EOFException("Partial PB while reading WAL, " +<a name="line.364"></a>
+<span class="sourceLineNo">365</span>              "probably an unexpected EOF, ignoring. current offset=" + this.inputStream.getPos());<a name="line.365"></a>
+<span class="sourceLineNo">366</span>        }<a name="line.366"></a>
+<span class="sourceLineNo">367</span>        WALKey walKey = builder.build();<a name="line.367"></a>
+<span class="sourceLineNo">368</span>        entry.getKey().readFieldsFromPb(walKey, this.byteStringUncompressor);<a name="line.368"></a>
+<span class="sourceLineNo">369</span>        if (!walKey.hasFollowingKvCount() || 0 == walKey.getFollowingKvCount()) {<a name="line.369"></a>
+<span class="sourceLineNo">370</span>          if (LOG.isTraceEnabled()) {<a name="line.370"></a>
+<span class="sourceLineNo">371</span>            LOG.trace("WALKey has no KVs that follow it; trying the next one. current offset=" +<a name="line.371"></a>
+<span class="sourceLineNo">372</span>                this.inputStream.getPos());<a name="line.372"></a>
+<span class="sourceLineNo">373</span>          }<a name="line.373"></a>
+<span class="sourceLineNo">374</span>          continue;<a name="line.374"></a>
+<span class="sourceLineNo">375</span>        }<a name="line.375"></a>
+<span class="sourceLineNo">376</span>        int expectedCells = walKey.getFollowingKvCount();<a name="line.376"></a>
+<span class="sourceLineNo">377</span>        long posBefore = this.inputStream.getPos();<a name="line.377"></a>
+<span class="sourceLineNo">378</span>        try {<a name="line.378"></a>
+<span class="sourceLineNo">379</span>          int actualCells = entry.getEdit().readFromCells(cellDecoder, expectedCells);<a name="line.379"></a>
+<span class="sourceLineNo">380</span>          if (expectedCells != actualCells) {<a name="line.380"></a>
+<span class="sourceLineNo">381</span>            throw new EOFException("Only read " + actualCells); // other info added in catch<a name="line.381"></a>
+<span class="sourceLineNo">382</span>          }<a name="line.382"></a>
+<span class="sourceLineNo">383</span>        } catch (Exception ex) {<a name="line.383"></a>
+<span class="sourceLineNo">384</span>          String posAfterStr = "&lt;unknown&gt;";<a name="line.384"></a>
+<span class="sourceLineNo">385</span>          try {<a name="line.385"></a>
+<span class="sourceLineNo">386</span>            posAfterStr = this.inputStream.getPos() + "";<a name="line.386"></a>
+<span class="sourceLineNo">387</span>          } catch (Throwable t) {<a name="line.387"></a>
+<span class="sourceLineNo">388</span>            if (LOG.isTraceEnabled()) {<a name="line.388"></a>
+<span class="sourceLineNo">389</span>              LOG.trace("Error getting pos for error message - ignoring", t);<a name="line.389"></a>
+<span class="sourceLineNo">390</span>            }<a name="line.390"></a>
+<span class="sourceLineNo">391</span>          }<a name="line.391"></a>
+<span class="sourceLineNo">392</span>          String message = " while reading " + expectedCells + " WAL KVs; started reading at "<a name="line.392"></a>
+<span class="sourceLineNo">393</span>              + posBefore + " and read up to " + posAfterStr;<a name="line.393"></a>
+<span class="sourceLineNo">394</span>          IOException realEofEx = extractHiddenEof(ex);<a name="line.394"></a>
+<span class="sourceLineNo">395</span>          throw (EOFException) new EOFException("EOF " + message).<a name="line.395"></a>
+<span class="sourceLineNo">396</span>              initCause(realEofEx != null ? realEofEx : ex);<a name="line.396"></a>
+<span class="sourceLineNo">397</span>        }<a name="line.397"></a>
+<span class="sourceLineNo">398</span>        if (trailerPresent &amp;&amp; this.inputStream.getPos() &gt; this.walEditsStopOffset) {<a name="line.398"></a>
+<span class="sourceLineNo">399</span>          LOG.error("Read WALTrailer while reading WALEdits. wal: " + this.path<a name="line.399"></a>
+<span class="sourceLineNo">400</span>              + ", inputStream.getPos(): " + this.inputStream.getPos() + ", walEditsStopOffset: "<a name="line.400"></a>
+<span class="sourceLineNo">401</span>              + this.walEditsStopOffset);<a name="line.401"></a>
+<span class="sourceLineNo">402</span>          throw new EOFException("Read WALTrailer while reading WALEdits");<a name="line.402"></a>
+<span class="sourceLineNo">403</span>        }<a name="line.403"></a>
+<span class="sourceLineNo">404</span>      } catch (EOFException eof) {<a name="line.404"></a>
+<span class="sourceLineNo">405</span>        // If originalPosition is &lt; 0, it is rubbish and we cannot use it (probably local fs)<a name="line.405"></a>
+<span class="sourceLineNo">406</span>        if (originalPosition &lt; 0) {<a name="line.406"></a>
+<span class="sourceLineNo">407</span>          if (LOG.isTraceEnabled()) {<a name="line.407"></a>
+<span class="sourceLineNo">408</span>            LOG.trace("Encountered a malformed edit, but can't seek back to last good position because originalPosition is negative. last offset=" + this.inputStream.getPos(), eof);<a name="line.408"></a>
+<span class="sourceLineNo">409</span>          }<a name="line.409"></a>
+<span class="sourceLineNo">410</span>          throw eof;<a name="line.410"></a>
+<span class="sourceLineNo">411</span>        }<a name="line.411"></a>
+<span class="sourceLineNo">412</span>        // Else restore our position to original location in hope that next time through we will<a name="line.412"></a>
+<span class="sourceLineNo">413</span>        // read successfully.<a name="line.413"></a>
+<span class="sourceLineNo">414</span>        if (LOG.isTraceEnabled()) {<a name="line.414"></a>
+<span class="sourceLineNo">415</span>          LOG.trace("Encountered a malformed edit, seeking back to last good position in file, from "+ inputStream.getPos()+" to " + originalPosition, eof);<a name="line.415"></a>
+<span class="sourceLineNo">416</span>        }<a name="line.416"></a>
+<span class="sourceLineNo">417</span>        seekOnFs(originalPosition);<a name="line.417"></a>
+<span class="sourceLineNo">418</span>        return false;<a name="line.418"></a>
+<span class="sourceLineNo">419</span>      }<a name="line.419"></a>
+<span class="sourceLineNo">420</span>      return true;<a name="line.420"></a>
+<span class="sourceLineNo">421</span>    }<a name="line.421"></a>
+<span class="sourceLineNo">422</span>  }<a name="line.422"></a>
+<span class="sourceLineNo">423</span><a name="line.423"></a>
+<span class="sourceLineNo">424</span>  private IOException extractHiddenEof(Exception ex) {<a name="line.424"></a>
+<span class="sourceLineNo">425</span>    // There are two problems we are dealing with here. Hadoop stream throws generic exception<a name="line.425"></a>
+<span class="sourceLineNo">426</span>    // for EOF, not EOFException; and scanner further hides it inside RuntimeException.<a name="line.426"></a>
+<span class="sourceLineNo">427</span>    IOException ioEx = null;<a name="line.427"></a>
+<span class="sourceLineNo">428</span>    if (ex instanceof EOFException) {<a name="line.428"></a>
+<span class="sourceLineNo">429</span>      return (EOFException)ex;<a name="line.429"></a>
+<span class="sourceLineNo">430</span>    } else if (ex instanceof IOException) {<a name="line.430"></a>
+<span class="sourceLineNo">431</span>      ioEx = (IOException)ex;<a name="line.431"></a>
+<span class="sourceLineNo">432</span>    } else if (ex instanceof RuntimeException<a name="line.432"></a>
+<span class="sourceLineNo">433</span>        &amp;&amp; ex.getCause() != null &amp;&amp; ex.getCause() instanceof IOException) {<a name="line.433"></a>
+<span class="sourceLineNo">434</span>      ioEx = (IOException)ex.getCause();<a name="line.434"></a>
+<span class="sourceLineNo">435</span>    }<a name="line.435"></a>
+<span class="sourceLineNo">436</span>    if (ioEx != null) {<a name="line.436"></a>
+<span class="sourceLineNo">437</span>      if (ioEx.getMessage().contains("EOF")) return ioEx;<a name="line.437"></a>
+<span class="sourceLineNo">438</span>      return null;<a name="line.438"></a>
+<span class="sourceLineNo">439</span>    }<a name="line.439"></a>
+<span class="sourceLineNo">440</span>    return null;<a name="line.440"></a>
+<span class="sourceLineNo">441</span>  }<a name="line.441"></a>
+<span class="sourceLineNo">442</span><a name="line.442"></a>
+<span class="sourceLineNo">443</span>  @Override<a name="line.443"></a>
+<span class="sourceLineNo">444</span>  protected void seekOnFs(long pos) throws IOException {<a name="line.444"></a>
+<span class="sourceLineNo">445</span>    this.inputStream.seek(pos);<a name="line.445"></a>
+<span class="sourceLineNo">446</span>  }<a name="line.446"></a>
+<span class="sourceLineNo">447</span>}<a name="line.447"></a>
 
 
 


[09/15] hbase-site git commit: Published site at .

Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html b/devapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html
index ce37fa3..60dc639 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html
@@ -127,7 +127,7 @@
 <span class="sourceLineNo">119</span>   * @param poolSize size from configuration<a name="line.119"></a>
 <span class="sourceLineNo">120</span>   * @return size of pool after calculation<a name="line.120"></a>
 <span class="sourceLineNo">121</span>   */<a name="line.121"></a>
-<span class="sourceLineNo">122</span>  private int calculatePoolSize(String poolSize) {<a name="line.122"></a>
+<span class="sourceLineNo">122</span>  int calculatePoolSize(String poolSize) {<a name="line.122"></a>
 <span class="sourceLineNo">123</span>    if (poolSize.matches("[1-9][0-9]*")) {<a name="line.123"></a>
 <span class="sourceLineNo">124</span>      // If poolSize is an integer, return it directly,<a name="line.124"></a>
 <span class="sourceLineNo">125</span>      // but upmost to the number of available processors.<a name="line.125"></a>
@@ -138,372 +138,378 @@
 <span class="sourceLineNo">130</span>      return size;<a name="line.130"></a>
 <span class="sourceLineNo">131</span>    } else if (poolSize.matches("0.[0-9]+|1.0")) {<a name="line.131"></a>
 <span class="sourceLineNo">132</span>      // if poolSize is a double, return poolSize * availableProcessors;<a name="line.132"></a>
-<span class="sourceLineNo">133</span>      return (int) (AVAIL_PROCESSORS * Double.valueOf(poolSize));<a name="line.133"></a>
-<span class="sourceLineNo">134</span>    } else {<a name="line.134"></a>
-<span class="sourceLineNo">135</span>      LOG.error("Unrecognized value: " + poolSize + " for " + CHORE_POOL_SIZE +<a name="line.135"></a>
-<span class="sourceLineNo">136</span>          ", use default config: " + DEFAULT_CHORE_POOL_SIZE + " instead.");<a name="line.136"></a>
-<span class="sourceLineNo">137</span>      return calculatePoolSize(DEFAULT_CHORE_POOL_SIZE);<a name="line.137"></a>
-<span class="sourceLineNo">138</span>    }<a name="line.138"></a>
-<span class="sourceLineNo">139</span>  }<a name="line.139"></a>
-<span class="sourceLineNo">140</span><a name="line.140"></a>
-<span class="sourceLineNo">141</span>  /**<a name="line.141"></a>
-<span class="sourceLineNo">142</span>   * Validate the file to see if it even belongs in the directory. If it is valid, then the file<a name="line.142"></a>
-<span class="sourceLineNo">143</span>   * will go through the cleaner delegates, but otherwise the file is just deleted.<a name="line.143"></a>
-<span class="sourceLineNo">144</span>   * @param file full {@link Path} of the file to be checked<a name="line.144"></a>
-<span class="sourceLineNo">145</span>   * @return &lt;tt&gt;true&lt;/tt&gt; if the file is valid, &lt;tt&gt;false&lt;/tt&gt; otherwise<a name="line.145"></a>
-<span class="sourceLineNo">146</span>   */<a name="line.146"></a>
-<span class="sourceLineNo">147</span>  protected abstract boolean validate(Path file);<a name="line.147"></a>
-<span class="sourceLineNo">148</span><a name="line.148"></a>
-<span class="sourceLineNo">149</span>  /**<a name="line.149"></a>
-<span class="sourceLineNo">150</span>   * Instantiate and initialize all the file cleaners set in the configuration<a name="line.150"></a>
-<span class="sourceLineNo">151</span>   * @param confKey key to get the file cleaner classes from the configuration<a name="line.151"></a>
+<span class="sourceLineNo">133</span>      // Ensure that we always return at least one.<a name="line.133"></a>
+<span class="sourceLineNo">134</span>      int computedThreads = (int) (AVAIL_PROCESSORS * Double.valueOf(poolSize));<a name="line.134"></a>
+<span class="sourceLineNo">135</span>      if (computedThreads &lt; 1) {<a name="line.135"></a>
+<span class="sourceLineNo">136</span>        LOG.debug("Computed {} threads for CleanerChore, using 1 instead", computedThreads);<a name="line.136"></a>
+<span class="sourceLineNo">137</span>        return 1;<a name="line.137"></a>
+<span class="sourceLineNo">138</span>      }<a name="line.138"></a>
+<span class="sourceLineNo">139</span>      return computedThreads;<a name="line.139"></a>
+<span class="sourceLineNo">140</span>    } else {<a name="line.140"></a>
+<span class="sourceLineNo">141</span>      LOG.error("Unrecognized value: " + poolSize + " for " + CHORE_POOL_SIZE +<a name="line.141"></a>
+<span class="sourceLineNo">142</span>          ", use default config: " + DEFAULT_CHORE_POOL_SIZE + " instead.");<a name="line.142"></a>
+<span class="sourceLineNo">143</span>      return calculatePoolSize(DEFAULT_CHORE_POOL_SIZE);<a name="line.143"></a>
+<span class="sourceLineNo">144</span>    }<a name="line.144"></a>
+<span class="sourceLineNo">145</span>  }<a name="line.145"></a>
+<span class="sourceLineNo">146</span><a name="line.146"></a>
+<span class="sourceLineNo">147</span>  /**<a name="line.147"></a>
+<span class="sourceLineNo">148</span>   * Validate the file to see if it even belongs in the directory. If it is valid, then the file<a name="line.148"></a>
+<span class="sourceLineNo">149</span>   * will go through the cleaner delegates, but otherwise the file is just deleted.<a name="line.149"></a>
+<span class="sourceLineNo">150</span>   * @param file full {@link Path} of the file to be checked<a name="line.150"></a>
+<span class="sourceLineNo">151</span>   * @return &lt;tt&gt;true&lt;/tt&gt; if the file is valid, &lt;tt&gt;false&lt;/tt&gt; otherwise<a name="line.151"></a>
 <span class="sourceLineNo">152</span>   */<a name="line.152"></a>
-<span class="sourceLineNo">153</span>  private void initCleanerChain(String confKey) {<a name="line.153"></a>
-<span class="sourceLineNo">154</span>    this.cleanersChain = new LinkedList&lt;&gt;();<a name="line.154"></a>
-<span class="sourceLineNo">155</span>    String[] logCleaners = conf.getStrings(confKey);<a name="line.155"></a>
-<span class="sourceLineNo">156</span>    if (logCleaners != null) {<a name="line.156"></a>
-<span class="sourceLineNo">157</span>      for (String className : logCleaners) {<a name="line.157"></a>
-<span class="sourceLineNo">158</span>        T logCleaner = newFileCleaner(className, conf);<a name="line.158"></a>
-<span class="sourceLineNo">159</span>        if (logCleaner != null) {<a name="line.159"></a>
-<span class="sourceLineNo">160</span>          LOG.debug("Initialize cleaner={}", className);<a name="line.160"></a>
-<span class="sourceLineNo">161</span>          this.cleanersChain.add(logCleaner);<a name="line.161"></a>
-<span class="sourceLineNo">162</span>        }<a name="line.162"></a>
-<span class="sourceLineNo">163</span>      }<a name="line.163"></a>
-<span class="sourceLineNo">164</span>    }<a name="line.164"></a>
-<span class="sourceLineNo">165</span>  }<a name="line.165"></a>
-<span class="sourceLineNo">166</span><a name="line.166"></a>
-<span class="sourceLineNo">167</span>  @Override<a name="line.167"></a>
-<span class="sourceLineNo">168</span>  public void onConfigurationChange(Configuration conf) {<a name="line.168"></a>
-<span class="sourceLineNo">169</span>    int updatedSize = calculatePoolSize(conf.get(CHORE_POOL_SIZE, DEFAULT_CHORE_POOL_SIZE));<a name="line.169"></a>
-<span class="sourceLineNo">170</span>    if (updatedSize == chorePoolSize) {<a name="line.170"></a>
-<span class="sourceLineNo">171</span>      LOG.trace("Size from configuration is same as previous={}, no need to update.", updatedSize);<a name="line.171"></a>
-<span class="sourceLineNo">172</span>      return;<a name="line.172"></a>
-<span class="sourceLineNo">173</span>    }<a name="line.173"></a>
-<span class="sourceLineNo">174</span>    chorePoolSize = updatedSize;<a name="line.174"></a>
-<span class="sourceLineNo">175</span>    if (chorePool.getPoolSize() == 0) {<a name="line.175"></a>
-<span class="sourceLineNo">176</span>      // Chore does not work now, update it directly.<a name="line.176"></a>
-<span class="sourceLineNo">177</span>      updateChorePoolSize(updatedSize);<a name="line.177"></a>
+<span class="sourceLineNo">153</span>  protected abstract boolean validate(Path file);<a name="line.153"></a>
+<span class="sourceLineNo">154</span><a name="line.154"></a>
+<span class="sourceLineNo">155</span>  /**<a name="line.155"></a>
+<span class="sourceLineNo">156</span>   * Instantiate and initialize all the file cleaners set in the configuration<a name="line.156"></a>
+<span class="sourceLineNo">157</span>   * @param confKey key to get the file cleaner classes from the configuration<a name="line.157"></a>
+<span class="sourceLineNo">158</span>   */<a name="line.158"></a>
+<span class="sourceLineNo">159</span>  private void initCleanerChain(String confKey) {<a name="line.159"></a>
+<span class="sourceLineNo">160</span>    this.cleanersChain = new LinkedList&lt;&gt;();<a name="line.160"></a>
+<span class="sourceLineNo">161</span>    String[] logCleaners = conf.getStrings(confKey);<a name="line.161"></a>
+<span class="sourceLineNo">162</span>    if (logCleaners != null) {<a name="line.162"></a>
+<span class="sourceLineNo">163</span>      for (String className : logCleaners) {<a name="line.163"></a>
+<span class="sourceLineNo">164</span>        T logCleaner = newFileCleaner(className, conf);<a name="line.164"></a>
+<span class="sourceLineNo">165</span>        if (logCleaner != null) {<a name="line.165"></a>
+<span class="sourceLineNo">166</span>          LOG.debug("Initialize cleaner={}", className);<a name="line.166"></a>
+<span class="sourceLineNo">167</span>          this.cleanersChain.add(logCleaner);<a name="line.167"></a>
+<span class="sourceLineNo">168</span>        }<a name="line.168"></a>
+<span class="sourceLineNo">169</span>      }<a name="line.169"></a>
+<span class="sourceLineNo">170</span>    }<a name="line.170"></a>
+<span class="sourceLineNo">171</span>  }<a name="line.171"></a>
+<span class="sourceLineNo">172</span><a name="line.172"></a>
+<span class="sourceLineNo">173</span>  @Override<a name="line.173"></a>
+<span class="sourceLineNo">174</span>  public void onConfigurationChange(Configuration conf) {<a name="line.174"></a>
+<span class="sourceLineNo">175</span>    int updatedSize = calculatePoolSize(conf.get(CHORE_POOL_SIZE, DEFAULT_CHORE_POOL_SIZE));<a name="line.175"></a>
+<span class="sourceLineNo">176</span>    if (updatedSize == chorePoolSize) {<a name="line.176"></a>
+<span class="sourceLineNo">177</span>      LOG.trace("Size from configuration is same as previous={}, no need to update.", updatedSize);<a name="line.177"></a>
 <span class="sourceLineNo">178</span>      return;<a name="line.178"></a>
 <span class="sourceLineNo">179</span>    }<a name="line.179"></a>
-<span class="sourceLineNo">180</span>    // Chore is working, update it after chore finished.<a name="line.180"></a>
-<span class="sourceLineNo">181</span>    reconfig.set(true);<a name="line.181"></a>
-<span class="sourceLineNo">182</span>  }<a name="line.182"></a>
-<span class="sourceLineNo">183</span><a name="line.183"></a>
-<span class="sourceLineNo">184</span>  private void updateChorePoolSize(int updatedSize) {<a name="line.184"></a>
-<span class="sourceLineNo">185</span>    chorePool.shutdownNow();<a name="line.185"></a>
-<span class="sourceLineNo">186</span>    LOG.info("Update chore's pool size from {} to {}", chorePool.getParallelism(), updatedSize);<a name="line.186"></a>
-<span class="sourceLineNo">187</span>    chorePool = new ForkJoinPool(updatedSize);<a name="line.187"></a>
+<span class="sourceLineNo">180</span>    chorePoolSize = updatedSize;<a name="line.180"></a>
+<span class="sourceLineNo">181</span>    if (chorePool.getPoolSize() == 0) {<a name="line.181"></a>
+<span class="sourceLineNo">182</span>      // Chore does not work now, update it directly.<a name="line.182"></a>
+<span class="sourceLineNo">183</span>      updateChorePoolSize(updatedSize);<a name="line.183"></a>
+<span class="sourceLineNo">184</span>      return;<a name="line.184"></a>
+<span class="sourceLineNo">185</span>    }<a name="line.185"></a>
+<span class="sourceLineNo">186</span>    // Chore is working, update it after chore finished.<a name="line.186"></a>
+<span class="sourceLineNo">187</span>    reconfig.set(true);<a name="line.187"></a>
 <span class="sourceLineNo">188</span>  }<a name="line.188"></a>
 <span class="sourceLineNo">189</span><a name="line.189"></a>
-<span class="sourceLineNo">190</span>  /**<a name="line.190"></a>
-<span class="sourceLineNo">191</span>   * A utility method to create new instances of LogCleanerDelegate based on the class name of the<a name="line.191"></a>
-<span class="sourceLineNo">192</span>   * LogCleanerDelegate.<a name="line.192"></a>
-<span class="sourceLineNo">193</span>   * @param className fully qualified class name of the LogCleanerDelegate<a name="line.193"></a>
-<span class="sourceLineNo">194</span>   * @param conf used configuration<a name="line.194"></a>
-<span class="sourceLineNo">195</span>   * @return the new instance<a name="line.195"></a>
-<span class="sourceLineNo">196</span>   */<a name="line.196"></a>
-<span class="sourceLineNo">197</span>  private T newFileCleaner(String className, Configuration conf) {<a name="line.197"></a>
-<span class="sourceLineNo">198</span>    try {<a name="line.198"></a>
-<span class="sourceLineNo">199</span>      Class&lt;? extends FileCleanerDelegate&gt; c = Class.forName(className).asSubclass(<a name="line.199"></a>
-<span class="sourceLineNo">200</span>        FileCleanerDelegate.class);<a name="line.200"></a>
-<span class="sourceLineNo">201</span>      @SuppressWarnings("unchecked")<a name="line.201"></a>
-<span class="sourceLineNo">202</span>      T cleaner = (T) c.newInstance();<a name="line.202"></a>
-<span class="sourceLineNo">203</span>      cleaner.setConf(conf);<a name="line.203"></a>
-<span class="sourceLineNo">204</span>      cleaner.init(this.params);<a name="line.204"></a>
-<span class="sourceLineNo">205</span>      return cleaner;<a name="line.205"></a>
-<span class="sourceLineNo">206</span>    } catch (Exception e) {<a name="line.206"></a>
-<span class="sourceLineNo">207</span>      LOG.warn("Can NOT create CleanerDelegate={}", className, e);<a name="line.207"></a>
-<span class="sourceLineNo">208</span>      // skipping if can't instantiate<a name="line.208"></a>
-<span class="sourceLineNo">209</span>      return null;<a name="line.209"></a>
-<span class="sourceLineNo">210</span>    }<a name="line.210"></a>
-<span class="sourceLineNo">211</span>  }<a name="line.211"></a>
-<span class="sourceLineNo">212</span><a name="line.212"></a>
-<span class="sourceLineNo">213</span>  @Override<a name="line.213"></a>
-<span class="sourceLineNo">214</span>  protected void chore() {<a name="line.214"></a>
-<span class="sourceLineNo">215</span>    if (getEnabled()) {<a name="line.215"></a>
-<span class="sourceLineNo">216</span>      if (runCleaner()) {<a name="line.216"></a>
-<span class="sourceLineNo">217</span>        LOG.debug("Cleaned old files/dirs under {} successfully",  oldFileDir);<a name="line.217"></a>
-<span class="sourceLineNo">218</span>      } else {<a name="line.218"></a>
-<span class="sourceLineNo">219</span>        LOG.warn("Failed to fully clean old files/dirs under {}", oldFileDir);<a name="line.219"></a>
-<span class="sourceLineNo">220</span>      }<a name="line.220"></a>
-<span class="sourceLineNo">221</span>      // After each clean chore, checks if receives reconfigure notification while cleaning<a name="line.221"></a>
-<span class="sourceLineNo">222</span>      if (reconfig.compareAndSet(true, false)) {<a name="line.222"></a>
-<span class="sourceLineNo">223</span>        updateChorePoolSize(chorePoolSize);<a name="line.223"></a>
-<span class="sourceLineNo">224</span>      }<a name="line.224"></a>
-<span class="sourceLineNo">225</span>    } else {<a name="line.225"></a>
-<span class="sourceLineNo">226</span>      LOG.debug("Cleaner chore disabled! Not cleaning.");<a name="line.226"></a>
-<span class="sourceLineNo">227</span>    }<a name="line.227"></a>
-<span class="sourceLineNo">228</span>  }<a name="line.228"></a>
-<span class="sourceLineNo">229</span><a name="line.229"></a>
-<span class="sourceLineNo">230</span>  private void preRunCleaner() {<a name="line.230"></a>
-<span class="sourceLineNo">231</span>    cleanersChain.forEach(FileCleanerDelegate::preClean);<a name="line.231"></a>
-<span class="sourceLineNo">232</span>  }<a name="line.232"></a>
-<span class="sourceLineNo">233</span><a name="line.233"></a>
-<span class="sourceLineNo">234</span>  public Boolean runCleaner() {<a name="line.234"></a>
-<span class="sourceLineNo">235</span>    preRunCleaner();<a name="line.235"></a>
-<span class="sourceLineNo">236</span>    CleanerTask task = new CleanerTask(this.oldFileDir, true);<a name="line.236"></a>
-<span class="sourceLineNo">237</span>    chorePool.submit(task);<a name="line.237"></a>
-<span class="sourceLineNo">238</span>    return task.join();<a name="line.238"></a>
-<span class="sourceLineNo">239</span>  }<a name="line.239"></a>
-<span class="sourceLineNo">240</span><a name="line.240"></a>
-<span class="sourceLineNo">241</span>  /**<a name="line.241"></a>
-<span class="sourceLineNo">242</span>   * Sort the given list in (descending) order of the space each element takes<a name="line.242"></a>
-<span class="sourceLineNo">243</span>   * @param dirs the list to sort, element in it should be directory (not file)<a name="line.243"></a>
-<span class="sourceLineNo">244</span>   */<a name="line.244"></a>
-<span class="sourceLineNo">245</span>  private void sortByConsumedSpace(List&lt;FileStatus&gt; dirs) {<a name="line.245"></a>
-<span class="sourceLineNo">246</span>    if (dirs == null || dirs.size() &lt; 2) {<a name="line.246"></a>
-<span class="sourceLineNo">247</span>      // no need to sort for empty or single directory<a name="line.247"></a>
-<span class="sourceLineNo">248</span>      return;<a name="line.248"></a>
-<span class="sourceLineNo">249</span>    }<a name="line.249"></a>
-<span class="sourceLineNo">250</span>    dirs.sort(new Comparator&lt;FileStatus&gt;() {<a name="line.250"></a>
-<span class="sourceLineNo">251</span>      HashMap&lt;FileStatus, Long&gt; directorySpaces = new HashMap&lt;&gt;();<a name="line.251"></a>
-<span class="sourceLineNo">252</span><a name="line.252"></a>
-<span class="sourceLineNo">253</span>      @Override<a name="line.253"></a>
-<span class="sourceLineNo">254</span>      public int compare(FileStatus f1, FileStatus f2) {<a name="line.254"></a>
-<span class="sourceLineNo">255</span>        long f1ConsumedSpace = getSpace(f1);<a name="line.255"></a>
-<span class="sourceLineNo">256</span>        long f2ConsumedSpace = getSpace(f2);<a name="line.256"></a>
-<span class="sourceLineNo">257</span>        return Long.compare(f2ConsumedSpace, f1ConsumedSpace);<a name="line.257"></a>
-<span class="sourceLineNo">258</span>      }<a name="line.258"></a>
-<span class="sourceLineNo">259</span><a name="line.259"></a>
-<span class="sourceLineNo">260</span>      private long getSpace(FileStatus f) {<a name="line.260"></a>
-<span class="sourceLineNo">261</span>        Long cached = directorySpaces.get(f);<a name="line.261"></a>
-<span class="sourceLineNo">262</span>        if (cached != null) {<a name="line.262"></a>
-<span class="sourceLineNo">263</span>          return cached;<a name="line.263"></a>
-<span class="sourceLineNo">264</span>        }<a name="line.264"></a>
-<span class="sourceLineNo">265</span>        try {<a name="line.265"></a>
-<span class="sourceLineNo">266</span>          long space =<a name="line.266"></a>
-<span class="sourceLineNo">267</span>              f.isDirectory() ? fs.getContentSummary(f.getPath()).getSpaceConsumed() : f.getLen();<a name="line.267"></a>
-<span class="sourceLineNo">268</span>          directorySpaces.put(f, space);<a name="line.268"></a>
-<span class="sourceLineNo">269</span>          return space;<a name="line.269"></a>
-<span class="sourceLineNo">270</span>        } catch (IOException e) {<a name="line.270"></a>
-<span class="sourceLineNo">271</span>          LOG.trace("Failed to get space consumed by path={}", f, e);<a name="line.271"></a>
-<span class="sourceLineNo">272</span>          return -1;<a name="line.272"></a>
-<span class="sourceLineNo">273</span>        }<a name="line.273"></a>
-<span class="sourceLineNo">274</span>      }<a name="line.274"></a>
-<span class="sourceLineNo">275</span>    });<a name="line.275"></a>
-<span class="sourceLineNo">276</span>  }<a name="line.276"></a>
-<span class="sourceLineNo">277</span><a name="line.277"></a>
-<span class="sourceLineNo">278</span>  /**<a name="line.278"></a>
-<span class="sourceLineNo">279</span>   * Run the given files through each of the cleaners to see if it should be deleted, deleting it if<a name="line.279"></a>
-<span class="sourceLineNo">280</span>   * necessary.<a name="line.280"></a>
-<span class="sourceLineNo">281</span>   * @param files List of FileStatus for the files to check (and possibly delete)<a name="line.281"></a>
-<span class="sourceLineNo">282</span>   * @return true iff successfully deleted all files<a name="line.282"></a>
-<span class="sourceLineNo">283</span>   */<a name="line.283"></a>
-<span class="sourceLineNo">284</span>  private boolean checkAndDeleteFiles(List&lt;FileStatus&gt; files) {<a name="line.284"></a>
-<span class="sourceLineNo">285</span>    if (files == null) {<a name="line.285"></a>
-<span class="sourceLineNo">286</span>      return true;<a name="line.286"></a>
-<span class="sourceLineNo">287</span>    }<a name="line.287"></a>
-<span class="sourceLineNo">288</span><a name="line.288"></a>
-<span class="sourceLineNo">289</span>    // first check to see if the path is valid<a name="line.289"></a>
-<span class="sourceLineNo">290</span>    List&lt;FileStatus&gt; validFiles = Lists.newArrayListWithCapacity(files.size());<a name="line.290"></a>
-<span class="sourceLineNo">291</span>    List&lt;FileStatus&gt; invalidFiles = Lists.newArrayList();<a name="line.291"></a>
-<span class="sourceLineNo">292</span>    for (FileStatus file : files) {<a name="line.292"></a>
-<span class="sourceLineNo">293</span>      if (validate(file.getPath())) {<a name="line.293"></a>
-<span class="sourceLineNo">294</span>        validFiles.add(file);<a name="line.294"></a>
-<span class="sourceLineNo">295</span>      } else {<a name="line.295"></a>
-<span class="sourceLineNo">296</span>        LOG.warn("Found a wrongly formatted file: " + file.getPath() + " - will delete it.");<a name="line.296"></a>
-<span class="sourceLineNo">297</span>        invalidFiles.add(file);<a name="line.297"></a>
-<span class="sourceLineNo">298</span>      }<a name="line.298"></a>
-<span class="sourceLineNo">299</span>    }<a name="line.299"></a>
-<span class="sourceLineNo">300</span><a name="line.300"></a>
-<span class="sourceLineNo">301</span>    Iterable&lt;FileStatus&gt; deletableValidFiles = validFiles;<a name="line.301"></a>
-<span class="sourceLineNo">302</span>    // check each of the cleaners for the valid files<a name="line.302"></a>
-<span class="sourceLineNo">303</span>    for (T cleaner : cleanersChain) {<a name="line.303"></a>
-<span class="sourceLineNo">304</span>      if (cleaner.isStopped() || this.getStopper().isStopped()) {<a name="line.304"></a>
-<span class="sourceLineNo">305</span>        LOG.warn("A file cleaner" + this.getName() + " is stopped, won't delete any more files in:"<a name="line.305"></a>
-<span class="sourceLineNo">306</span>            + this.oldFileDir);<a name="line.306"></a>
-<span class="sourceLineNo">307</span>        return false;<a name="line.307"></a>
-<span class="sourceLineNo">308</span>      }<a name="line.308"></a>
-<span class="sourceLineNo">309</span><a name="line.309"></a>
-<span class="sourceLineNo">310</span>      Iterable&lt;FileStatus&gt; filteredFiles = cleaner.getDeletableFiles(deletableValidFiles);<a name="line.310"></a>
-<span class="sourceLineNo">311</span>      <a name="line.311"></a>
-<span class="sourceLineNo">312</span>      // trace which cleaner is holding on to each file<a name="line.312"></a>
-<span class="sourceLineNo">313</span>      if (LOG.isTraceEnabled()) {<a name="line.313"></a>
-<span class="sourceLineNo">314</span>        ImmutableSet&lt;FileStatus&gt; filteredFileSet = ImmutableSet.copyOf(filteredFiles);<a name="line.314"></a>
-<span class="sourceLineNo">315</span>        for (FileStatus file : deletableValidFiles) {<a name="line.315"></a>
-<span class="sourceLineNo">316</span>          if (!filteredFileSet.contains(file)) {<a name="line.316"></a>
-<span class="sourceLineNo">317</span>            LOG.trace(file.getPath() + " is not deletable according to:" + cleaner);<a name="line.317"></a>
-<span class="sourceLineNo">318</span>          }<a name="line.318"></a>
-<span class="sourceLineNo">319</span>        }<a name="line.319"></a>
-<span class="sourceLineNo">320</span>      }<a name="line.320"></a>
-<span class="sourceLineNo">321</span>      <a name="line.321"></a>
-<span class="sourceLineNo">322</span>      deletableValidFiles = filteredFiles;<a name="line.322"></a>
-<span class="sourceLineNo">323</span>    }<a name="line.323"></a>
-<span class="sourceLineNo">324</span>    <a name="line.324"></a>
-<span class="sourceLineNo">325</span>    Iterable&lt;FileStatus&gt; filesToDelete = Iterables.concat(invalidFiles, deletableValidFiles);<a name="line.325"></a>
-<span class="sourceLineNo">326</span>    return deleteFiles(filesToDelete) == files.size();<a name="line.326"></a>
-<span class="sourceLineNo">327</span>  }<a name="line.327"></a>
-<span class="sourceLineNo">328</span><a name="line.328"></a>
-<span class="sourceLineNo">329</span>  /**<a name="line.329"></a>
-<span class="sourceLineNo">330</span>   * Delete the given files<a name="line.330"></a>
-<span class="sourceLineNo">331</span>   * @param filesToDelete files to delete<a name="line.331"></a>
-<span class="sourceLineNo">332</span>   * @return number of deleted files<a name="line.332"></a>
-<span class="sourceLineNo">333</span>   */<a name="line.333"></a>
-<span class="sourceLineNo">334</span>  protected int deleteFiles(Iterable&lt;FileStatus&gt; filesToDelete) {<a name="line.334"></a>
-<span class="sourceLineNo">335</span>    int deletedFileCount = 0;<a name="line.335"></a>
-<span class="sourceLineNo">336</span>    for (FileStatus file : filesToDelete) {<a name="line.336"></a>
-<span class="sourceLineNo">337</span>      Path filePath = file.getPath();<a name="line.337"></a>
-<span class="sourceLineNo">338</span>      LOG.trace("Removing {} from archive", filePath);<a name="line.338"></a>
-<span class="sourceLineNo">339</span>      try {<a name="line.339"></a>
-<span class="sourceLineNo">340</span>        boolean success = this.fs.delete(filePath, false);<a name="line.340"></a>
-<span class="sourceLineNo">341</span>        if (success) {<a name="line.341"></a>
-<span class="sourceLineNo">342</span>          deletedFileCount++;<a name="line.342"></a>
-<span class="sourceLineNo">343</span>        } else {<a name="line.343"></a>
-<span class="sourceLineNo">344</span>          LOG.warn("Attempted to delete:" + filePath<a name="line.344"></a>
-<span class="sourceLineNo">345</span>              + ", but couldn't. Run cleaner chain and attempt to delete on next pass.");<a name="line.345"></a>
-<span class="sourceLineNo">346</span>        }<a name="line.346"></a>
-<span class="sourceLineNo">347</span>      } catch (IOException e) {<a name="line.347"></a>
-<span class="sourceLineNo">348</span>        e = e instanceof RemoteException ?<a name="line.348"></a>
-<span class="sourceLineNo">349</span>                  ((RemoteException)e).unwrapRemoteException() : e;<a name="line.349"></a>
-<span class="sourceLineNo">350</span>        LOG.warn("Error while deleting: " + filePath, e);<a name="line.350"></a>
-<span class="sourceLineNo">351</span>      }<a name="line.351"></a>
-<span class="sourceLineNo">352</span>    }<a name="line.352"></a>
-<span class="sourceLineNo">353</span>    return deletedFileCount;<a name="line.353"></a>
-<span class="sourceLineNo">354</span>  }<a name="line.354"></a>
-<span class="sourceLineNo">355</span><a name="line.355"></a>
-<span class="sourceLineNo">356</span>  @Override<a name="line.356"></a>
-<span class="sourceLineNo">357</span>  public void cleanup() {<a name="line.357"></a>
-<span class="sourceLineNo">358</span>    for (T lc : this.cleanersChain) {<a name="line.358"></a>
-<span class="sourceLineNo">359</span>      try {<a name="line.359"></a>
-<span class="sourceLineNo">360</span>        lc.stop("Exiting");<a name="line.360"></a>
-<span class="sourceLineNo">361</span>      } catch (Throwable t) {<a name="line.361"></a>
-<span class="sourceLineNo">362</span>        LOG.warn("Stopping", t);<a name="line.362"></a>
-<span class="sourceLineNo">363</span>      }<a name="line.363"></a>
-<span class="sourceLineNo">364</span>    }<a name="line.364"></a>
-<span class="sourceLineNo">365</span>  }<a name="line.365"></a>
-<span class="sourceLineNo">366</span><a name="line.366"></a>
-<span class="sourceLineNo">367</span>  @VisibleForTesting<a name="line.367"></a>
-<span class="sourceLineNo">368</span>  int getChorePoolSize() {<a name="line.368"></a>
-<span class="sourceLineNo">369</span>    return chorePoolSize;<a name="line.369"></a>
-<span class="sourceLineNo">370</span>  }<a name="line.370"></a>
-<span class="sourceLineNo">371</span><a name="line.371"></a>
-<span class="sourceLineNo">372</span>  /**<a name="line.372"></a>
-<span class="sourceLineNo">373</span>   * @param enabled<a name="line.373"></a>
-<span class="sourceLineNo">374</span>   */<a name="line.374"></a>
-<span class="sourceLineNo">375</span>  public boolean setEnabled(final boolean enabled) {<a name="line.375"></a>
-<span class="sourceLineNo">376</span>    return this.enabled.getAndSet(enabled);<a name="line.376"></a>
-<span class="sourceLineNo">377</span>  }<a name="line.377"></a>
-<span class="sourceLineNo">378</span><a name="line.378"></a>
-<span class="sourceLineNo">379</span>  public boolean getEnabled() {<a name="line.379"></a>
-<span class="sourceLineNo">380</span>    return this.enabled.get();<a name="line.380"></a>
-<span class="sourceLineNo">381</span>  }<a name="line.381"></a>
-<span class="sourceLineNo">382</span><a name="line.382"></a>
-<span class="sourceLineNo">383</span>  private interface Action&lt;T&gt; {<a name="line.383"></a>
-<span class="sourceLineNo">384</span>    T act() throws IOException;<a name="line.384"></a>
-<span class="sourceLineNo">385</span>  }<a name="line.385"></a>
-<span class="sourceLineNo">386</span><a name="line.386"></a>
-<span class="sourceLineNo">387</span>  private class CleanerTask extends RecursiveTask&lt;Boolean&gt; {<a name="line.387"></a>
-<span class="sourceLineNo">388</span>    private final Path dir;<a name="line.388"></a>
-<span class="sourceLineNo">389</span>    private final boolean root;<a name="line.389"></a>
-<span class="sourceLineNo">390</span><a name="line.390"></a>
-<span class="sourceLineNo">391</span>    CleanerTask(final FileStatus dir, final boolean root) {<a name="line.391"></a>
-<span class="sourceLineNo">392</span>      this(dir.getPath(), root);<a name="line.392"></a>
-<span class="sourceLineNo">393</span>    }<a name="line.393"></a>
-<span class="sourceLineNo">394</span><a name="line.394"></a>
-<span class="sourceLineNo">395</span>    CleanerTask(final Path dir, final boolean root) {<a name="line.395"></a>
-<span class="sourceLineNo">396</span>      this.dir = dir;<a name="line.396"></a>
-<span class="sourceLineNo">397</span>      this.root = root;<a name="line.397"></a>
-<span class="sourceLineNo">398</span>    }<a name="line.398"></a>
-<span class="sourceLineNo">399</span><a name="line.399"></a>
-<span class="sourceLineNo">400</span>    @Override<a name="line.400"></a>
-<span class="sourceLineNo">401</span>    protected Boolean compute() {<a name="line.401"></a>
-<span class="sourceLineNo">402</span>      if (LOG.isDebugEnabled()) {<a name="line.402"></a>
-<span class="sourceLineNo">403</span>        LOG.debug("CleanerTask " + Thread.currentThread().getId() +<a name="line.403"></a>
-<span class="sourceLineNo">404</span>          " starts cleaning dirs and files under " + dir + " and itself.");<a name="line.404"></a>
-<span class="sourceLineNo">405</span>      }<a name="line.405"></a>
-<span class="sourceLineNo">406</span><a name="line.406"></a>
-<span class="sourceLineNo">407</span>      List&lt;FileStatus&gt; subDirs;<a name="line.407"></a>
-<span class="sourceLineNo">408</span>      List&lt;FileStatus&gt; files;<a name="line.408"></a>
-<span class="sourceLineNo">409</span>      try {<a name="line.409"></a>
-<span class="sourceLineNo">410</span>        subDirs = getFilteredStatus(status -&gt; status.isDirectory());<a name="line.410"></a>
-<span class="sourceLineNo">411</span>        files = getFilteredStatus(status -&gt; status.isFile());<a name="line.411"></a>
-<span class="sourceLineNo">412</span>      } catch (IOException ioe) {<a name="line.412"></a>
-<span class="sourceLineNo">413</span>        LOG.warn(dir + " doesn't exist, just skip it. ", ioe);<a name="line.413"></a>
-<span class="sourceLineNo">414</span>        return true;<a name="line.414"></a>
-<span class="sourceLineNo">415</span>      }<a name="line.415"></a>
-<span class="sourceLineNo">416</span><a name="line.416"></a>
-<span class="sourceLineNo">417</span>      boolean nullSubDirs = subDirs == null;<a name="line.417"></a>
-<span class="sourceLineNo">418</span>      if (nullSubDirs) {<a name="line.418"></a>
-<span class="sourceLineNo">419</span>        LOG.trace("There is no subdir under {}", dir);<a name="line.419"></a>
-<span class="sourceLineNo">420</span>      }<a name="line.420"></a>
-<span class="sourceLineNo">421</span>      if (files == null) {<a name="line.421"></a>
-<span class="sourceLineNo">422</span>        LOG.trace("There is no file under {}", dir);<a name="line.422"></a>
-<span class="sourceLineNo">423</span>      }<a name="line.423"></a>
-<span class="sourceLineNo">424</span><a name="line.424"></a>
-<span class="sourceLineNo">425</span>      int capacity = nullSubDirs ? 0 : subDirs.size();<a name="line.425"></a>
-<span class="sourceLineNo">426</span>      List&lt;CleanerTask&gt; tasks = Lists.newArrayListWithCapacity(capacity);<a name="line.426"></a>
-<span class="sourceLineNo">427</span>      if (!nullSubDirs) {<a name="line.427"></a>
-<span class="sourceLineNo">428</span>        sortByConsumedSpace(subDirs);<a name="line.428"></a>
-<span class="sourceLineNo">429</span>        for (FileStatus subdir : subDirs) {<a name="line.429"></a>
-<span class="sourceLineNo">430</span>          CleanerTask task = new CleanerTask(subdir, false);<a name="line.430"></a>
-<span class="sourceLineNo">431</span>          tasks.add(task);<a name="line.431"></a>
-<span class="sourceLineNo">432</span>          task.fork();<a name="line.432"></a>
-<span class="sourceLineNo">433</span>        }<a name="line.433"></a>
-<span class="sourceLineNo">434</span>      }<a name="line.434"></a>
-<span class="sourceLineNo">435</span><a name="line.435"></a>
-<span class="sourceLineNo">436</span>      boolean result = true;<a name="line.436"></a>
-<span class="sourceLineNo">437</span>      result &amp;= deleteAction(() -&gt; checkAndDeleteFiles(files), "files");<a name="line.437"></a>
-<span class="sourceLineNo">438</span>      result &amp;= deleteAction(() -&gt; getCleanResult(tasks), "subdirs");<a name="line.438"></a>
-<span class="sourceLineNo">439</span>      // if and only if files and subdirs under current dir are deleted successfully, and<a name="line.439"></a>
-<span class="sourceLineNo">440</span>      // it is not the root dir, then task will try to delete it.<a name="line.440"></a>
-<span class="sourceLineNo">441</span>      if (result &amp;&amp; !root) {<a name="line.441"></a>
-<span class="sourceLineNo">442</span>        result &amp;= deleteAction(() -&gt; fs.delete(dir, false), "dir");<a name="line.442"></a>
-<span class="sourceLineNo">443</span>      }<a name="line.443"></a>
-<span class="sourceLineNo">444</span>      return result;<a name="line.444"></a>
-<span class="sourceLineNo">445</span>    }<a name="line.445"></a>
-<span class="sourceLineNo">446</span><a name="line.446"></a>
-<span class="sourceLineNo">447</span>    /**<a name="line.447"></a>
-<span class="sourceLineNo">448</span>     * Get FileStatus with filter.<a name="line.448"></a>
-<span class="sourceLineNo">449</span>     * Pay attention that FSUtils #listStatusWithStatusFilter would return null,<a name="line.449"></a>
-<span class="sourceLineNo">450</span>     * even though status is empty but not null.<a name="line.450"></a>
-<span class="sourceLineNo">451</span>     * @param function a filter function<a name="line.451"></a>
-<span class="sourceLineNo">452</span>     * @return filtered FileStatus<a name="line.452"></a>
-<span class="sourceLineNo">453</span>     * @throws IOException if there's no such a directory<a name="line.453"></a>
-<span class="sourceLineNo">454</span>     */<a name="line.454"></a>
-<span class="sourceLineNo">455</span>    private List&lt;FileStatus&gt; getFilteredStatus(Predicate&lt;FileStatus&gt; function) throws IOException {<a name="line.455"></a>
-<span class="sourceLineNo">456</span>      return FSUtils.listStatusWithStatusFilter(fs, dir, status -&gt; function.test(status));<a name="line.456"></a>
-<span class="sourceLineNo">457</span>    }<a name="line.457"></a>
-<span class="sourceLineNo">458</span><a name="line.458"></a>
-<span class="sourceLineNo">459</span>    /**<a name="line.459"></a>
-<span class="sourceLineNo">460</span>     * Perform a delete on a specified type.<a name="line.460"></a>
-<span class="sourceLineNo">461</span>     * @param deletion a delete<a name="line.461"></a>
-<span class="sourceLineNo">462</span>     * @param type possible values are 'files', 'subdirs', 'dirs'<a name="line.462"></a>
-<span class="sourceLineNo">463</span>     * @return true if it deleted successfully, false otherwise<a name="line.463"></a>
-<span class="sourceLineNo">464</span>     */<a name="line.464"></a>
-<span class="sourceLineNo">465</span>    private boolean deleteAction(Action&lt;Boolean&gt; deletion, String type) {<a name="line.465"></a>
-<span class="sourceLineNo">466</span>      boolean deleted;<a name="line.466"></a>
-<span class="sourceLineNo">467</span>      String errorMsg = null;<a name="line.467"></a>
-<span class="sourceLineNo">468</span>      try {<a name="line.468"></a>
-<span class="sourceLineNo">469</span>        LOG.trace("Start deleting {} under {}", type, dir);<a name="line.469"></a>
-<span class="sourceLineNo">470</span>        deleted = deletion.act();<a name="line.470"></a>
-<span class="sourceLineNo">471</span>      } catch (IOException ioe) {<a name="line.471"></a>
-<span class="sourceLineNo">472</span>        errorMsg = ioe.getMessage();<a name="line.472"></a>
-<span class="sourceLineNo">473</span>        LOG.warn("Could not delete {} under {}; {}", type, dir, errorMsg);<a name="line.473"></a>
-<span class="sourceLineNo">474</span>        deleted = false;<a name="line.474"></a>
-<span class="sourceLineNo">475</span>      }<a name="line.475"></a>
-<span class="sourceLineNo">476</span>      LOG.trace("Finish deleting {} under {}, deleted=", type, dir, deleted);<a name="line.476"></a>
-<span class="sourceLineNo">477</span>      return deleted;<a name="line.477"></a>
-<span class="sourceLineNo">478</span>    }<a name="line.478"></a>
-<span class="sourceLineNo">479</span><a name="line.479"></a>
-<span class="sourceLineNo">480</span>    /**<a name="line.480"></a>
-<span class="sourceLineNo">481</span>     * Get cleaner results of subdirs.<a name="line.481"></a>
-<span class="sourceLineNo">482</span>     * @param tasks subdirs cleaner tasks<a name="line.482"></a>
-<span class="sourceLineNo">483</span>     * @return true if all subdirs deleted successfully, false for patial/all failures<a name="line.483"></a>
-<span class="sourceLineNo">484</span>     * @throws IOException something happen during computation<a name="line.484"></a>
-<span class="sourceLineNo">485</span>     */<a name="line.485"></a>
-<span class="sourceLineNo">486</span>    private boolean getCleanResult(List&lt;CleanerTask&gt; tasks) throws IOException {<a name="line.486"></a>
-<span class="sourceLineNo">487</span>      boolean cleaned = true;<a name="line.487"></a>
-<span class="sourceLineNo">488</span>      try {<a name="line.488"></a>
-<span class="sourceLineNo">489</span>        for (CleanerTask task : tasks) {<a name="line.489"></a>
-<span class="sourceLineNo">490</span>          cleaned &amp;= task.get();<a name="line.490"></a>
-<span class="sourceLineNo">491</span>        }<a name="line.491"></a>
-<span class="sourceLineNo">492</span>      } catch (InterruptedException | ExecutionException e) {<a name="line.492"></a>
-<span class="sourceLineNo">493</span>        throw new IOException(e);<a name="line.493"></a>
-<span class="sourceLineNo">494</span>      }<a name="line.494"></a>
-<span class="sourceLineNo">495</span>      return cleaned;<a name="line.495"></a>
-<span class="sourceLineNo">496</span>    }<a name="line.496"></a>
-<span class="sourceLineNo">497</span>  }<a name="line.497"></a>
-<span class="sourceLineNo">498</span>}<a name="line.498"></a>
+<span class="sourceLineNo">190</span>  private void updateChorePoolSize(int updatedSize) {<a name="line.190"></a>
+<span class="sourceLineNo">191</span>    chorePool.shutdownNow();<a name="line.191"></a>
+<span class="sourceLineNo">192</span>    LOG.info("Update chore's pool size from {} to {}", chorePool.getParallelism(), updatedSize);<a name="line.192"></a>
+<span class="sourceLineNo">193</span>    chorePool = new ForkJoinPool(updatedSize);<a name="line.193"></a>
+<span class="sourceLineNo">194</span>  }<a name="line.194"></a>
+<span class="sourceLineNo">195</span><a name="line.195"></a>
+<span class="sourceLineNo">196</span>  /**<a name="line.196"></a>
+<span class="sourceLineNo">197</span>   * A utility method to create new instances of LogCleanerDelegate based on the class name of the<a name="line.197"></a>
+<span class="sourceLineNo">198</span>   * LogCleanerDelegate.<a name="line.198"></a>
+<span class="sourceLineNo">199</span>   * @param className fully qualified class name of the LogCleanerDelegate<a name="line.199"></a>
+<span class="sourceLineNo">200</span>   * @param conf used configuration<a name="line.200"></a>
+<span class="sourceLineNo">201</span>   * @return the new instance<a name="line.201"></a>
+<span class="sourceLineNo">202</span>   */<a name="line.202"></a>
+<span class="sourceLineNo">203</span>  private T newFileCleaner(String className, Configuration conf) {<a name="line.203"></a>
+<span class="sourceLineNo">204</span>    try {<a name="line.204"></a>
+<span class="sourceLineNo">205</span>      Class&lt;? extends FileCleanerDelegate&gt; c = Class.forName(className).asSubclass(<a name="line.205"></a>
+<span class="sourceLineNo">206</span>        FileCleanerDelegate.class);<a name="line.206"></a>
+<span class="sourceLineNo">207</span>      @SuppressWarnings("unchecked")<a name="line.207"></a>
+<span class="sourceLineNo">208</span>      T cleaner = (T) c.newInstance();<a name="line.208"></a>
+<span class="sourceLineNo">209</span>      cleaner.setConf(conf);<a name="line.209"></a>
+<span class="sourceLineNo">210</span>      cleaner.init(this.params);<a name="line.210"></a>
+<span class="sourceLineNo">211</span>      return cleaner;<a name="line.211"></a>
+<span class="sourceLineNo">212</span>    } catch (Exception e) {<a name="line.212"></a>
+<span class="sourceLineNo">213</span>      LOG.warn("Can NOT create CleanerDelegate={}", className, e);<a name="line.213"></a>
+<span class="sourceLineNo">214</span>      // skipping if can't instantiate<a name="line.214"></a>
+<span class="sourceLineNo">215</span>      return null;<a name="line.215"></a>
+<span class="sourceLineNo">216</span>    }<a name="line.216"></a>
+<span class="sourceLineNo">217</span>  }<a name="line.217"></a>
+<span class="sourceLineNo">218</span><a name="line.218"></a>
+<span class="sourceLineNo">219</span>  @Override<a name="line.219"></a>
+<span class="sourceLineNo">220</span>  protected void chore() {<a name="line.220"></a>
+<span class="sourceLineNo">221</span>    if (getEnabled()) {<a name="line.221"></a>
+<span class="sourceLineNo">222</span>      if (runCleaner()) {<a name="line.222"></a>
+<span class="sourceLineNo">223</span>        LOG.debug("Cleaned old files/dirs under {} successfully",  oldFileDir);<a name="line.223"></a>
+<span class="sourceLineNo">224</span>      } else {<a name="line.224"></a>
+<span class="sourceLineNo">225</span>        LOG.warn("Failed to fully clean old files/dirs under {}", oldFileDir);<a name="line.225"></a>
+<span class="sourceLineNo">226</span>      }<a name="line.226"></a>
+<span class="sourceLineNo">227</span>      // After each clean chore, checks if receives reconfigure notification while cleaning<a name="line.227"></a>
+<span class="sourceLineNo">228</span>      if (reconfig.compareAndSet(true, false)) {<a name="line.228"></a>
+<span class="sourceLineNo">229</span>        updateChorePoolSize(chorePoolSize);<a name="line.229"></a>
+<span class="sourceLineNo">230</span>      }<a name="line.230"></a>
+<span class="sourceLineNo">231</span>    } else {<a name="line.231"></a>
+<span class="sourceLineNo">232</span>      LOG.debug("Cleaner chore disabled! Not cleaning.");<a name="line.232"></a>
+<span class="sourceLineNo">233</span>    }<a name="line.233"></a>
+<span class="sourceLineNo">234</span>  }<a name="line.234"></a>
+<span class="sourceLineNo">235</span><a name="line.235"></a>
+<span class="sourceLineNo">236</span>  private void preRunCleaner() {<a name="line.236"></a>
+<span class="sourceLineNo">237</span>    cleanersChain.forEach(FileCleanerDelegate::preClean);<a name="line.237"></a>
+<span class="sourceLineNo">238</span>  }<a name="line.238"></a>
+<span class="sourceLineNo">239</span><a name="line.239"></a>
+<span class="sourceLineNo">240</span>  public Boolean runCleaner() {<a name="line.240"></a>
+<span class="sourceLineNo">241</span>    preRunCleaner();<a name="line.241"></a>
+<span class="sourceLineNo">242</span>    CleanerTask task = new CleanerTask(this.oldFileDir, true);<a name="line.242"></a>
+<span class="sourceLineNo">243</span>    chorePool.submit(task);<a name="line.243"></a>
+<span class="sourceLineNo">244</span>    return task.join();<a name="line.244"></a>
+<span class="sourceLineNo">245</span>  }<a name="line.245"></a>
+<span class="sourceLineNo">246</span><a name="line.246"></a>
+<span class="sourceLineNo">247</span>  /**<a name="line.247"></a>
+<span class="sourceLineNo">248</span>   * Sort the given list in (descending) order of the space each element takes<a name="line.248"></a>
+<span class="sourceLineNo">249</span>   * @param dirs the list to sort, element in it should be directory (not file)<a name="line.249"></a>
+<span class="sourceLineNo">250</span>   */<a name="line.250"></a>
+<span class="sourceLineNo">251</span>  private void sortByConsumedSpace(List&lt;FileStatus&gt; dirs) {<a name="line.251"></a>
+<span class="sourceLineNo">252</span>    if (dirs == null || dirs.size() &lt; 2) {<a name="line.252"></a>
+<span class="sourceLineNo">253</span>      // no need to sort for empty or single directory<a name="line.253"></a>
+<span class="sourceLineNo">254</span>      return;<a name="line.254"></a>
+<span class="sourceLineNo">255</span>    }<a name="line.255"></a>
+<span class="sourceLineNo">256</span>    dirs.sort(new Comparator&lt;FileStatus&gt;() {<a name="line.256"></a>
+<span class="sourceLineNo">257</span>      HashMap&lt;FileStatus, Long&gt; directorySpaces = new HashMap&lt;&gt;();<a name="line.257"></a>
+<span class="sourceLineNo">258</span><a name="line.258"></a>
+<span class="sourceLineNo">259</span>      @Override<a name="line.259"></a>
+<span class="sourceLineNo">260</span>      public int compare(FileStatus f1, FileStatus f2) {<a name="line.260"></a>
+<span class="sourceLineNo">261</span>        long f1ConsumedSpace = getSpace(f1);<a name="line.261"></a>
+<span class="sourceLineNo">262</span>        long f2ConsumedSpace = getSpace(f2);<a name="line.262"></a>
+<span class="sourceLineNo">263</span>        return Long.compare(f2ConsumedSpace, f1ConsumedSpace);<a name="line.263"></a>
+<span class="sourceLineNo">264</span>      }<a name="line.264"></a>
+<span class="sourceLineNo">265</span><a name="line.265"></a>
+<span class="sourceLineNo">266</span>      private long getSpace(FileStatus f) {<a name="line.266"></a>
+<span class="sourceLineNo">267</span>        Long cached = directorySpaces.get(f);<a name="line.267"></a>
+<span class="sourceLineNo">268</span>        if (cached != null) {<a name="line.268"></a>
+<span class="sourceLineNo">269</span>          return cached;<a name="line.269"></a>
+<span class="sourceLineNo">270</span>        }<a name="line.270"></a>
+<span class="sourceLineNo">271</span>        try {<a name="line.271"></a>
+<span class="sourceLineNo">272</span>          long space =<a name="line.272"></a>
+<span class="sourceLineNo">273</span>              f.isDirectory() ? fs.getContentSummary(f.getPath()).getSpaceConsumed() : f.getLen();<a name="line.273"></a>
+<span class="sourceLineNo">274</span>          directorySpaces.put(f, space);<a name="line.274"></a>
+<span class="sourceLineNo">275</span>          return space;<a name="line.275"></a>
+<span class="sourceLineNo">276</span>        } catch (IOException e) {<a name="line.276"></a>
+<span class="sourceLineNo">277</span>          LOG.trace("Failed to get space consumed by path={}", f, e);<a name="line.277"></a>
+<span class="sourceLineNo">278</span>          return -1;<a name="line.278"></a>
+<span class="sourceLineNo">279</span>        }<a name="line.279"></a>
+<span class="sourceLineNo">280</span>      }<a name="line.280"></a>
+<span class="sourceLineNo">281</span>    });<a name="line.281"></a>
+<span class="sourceLineNo">282</span>  }<a name="line.282"></a>
+<span class="sourceLineNo">283</span><a name="line.283"></a>
+<span class="sourceLineNo">284</span>  /**<a name="line.284"></a>
+<span class="sourceLineNo">285</span>   * Run the given files through each of the cleaners to see if it should be deleted, deleting it if<a name="line.285"></a>
+<span class="sourceLineNo">286</span>   * necessary.<a name="line.286"></a>
+<span class="sourceLineNo">287</span>   * @param files List of FileStatus for the files to check (and possibly delete)<a name="line.287"></a>
+<span class="sourceLineNo">288</span>   * @return true iff successfully deleted all files<a name="line.288"></a>
+<span class="sourceLineNo">289</span>   */<a name="line.289"></a>
+<span class="sourceLineNo">290</span>  private boolean checkAndDeleteFiles(List&lt;FileStatus&gt; files) {<a name="line.290"></a>
+<span class="sourceLineNo">291</span>    if (files == null) {<a name="line.291"></a>
+<span class="sourceLineNo">292</span>      return true;<a name="line.292"></a>
+<span class="sourceLineNo">293</span>    }<a name="line.293"></a>
+<span class="sourceLineNo">294</span><a name="line.294"></a>
+<span class="sourceLineNo">295</span>    // first check to see if the path is valid<a name="line.295"></a>
+<span class="sourceLineNo">296</span>    List&lt;FileStatus&gt; validFiles = Lists.newArrayListWithCapacity(files.size());<a name="line.296"></a>
+<span class="sourceLineNo">297</span>    List&lt;FileStatus&gt; invalidFiles = Lists.newArrayList();<a name="line.297"></a>
+<span class="sourceLineNo">298</span>    for (FileStatus file : files) {<a name="line.298"></a>
+<span class="sourceLineNo">299</span>      if (validate(file.getPath())) {<a name="line.299"></a>
+<span class="sourceLineNo">300</span>        validFiles.add(file);<a name="line.300"></a>
+<span class="sourceLineNo">301</span>      } else {<a name="line.301"></a>
+<span class="sourceLineNo">302</span>        LOG.warn("Found a wrongly formatted file: " + file.getPath() + " - will delete it.");<a name="line.302"></a>
+<span class="sourceLineNo">303</span>        invalidFiles.add(file);<a name="line.303"></a>
+<span class="sourceLineNo">304</span>      }<a name="line.304"></a>
+<span class="sourceLineNo">305</span>    }<a name="line.305"></a>
+<span class="sourceLineNo">306</span><a name="line.306"></a>
+<span class="sourceLineNo">307</span>    Iterable&lt;FileStatus&gt; deletableValidFiles = validFiles;<a name="line.307"></a>
+<span class="sourceLineNo">308</span>    // check each of the cleaners for the valid files<a name="line.308"></a>
+<span class="sourceLineNo">309</span>    for (T cleaner : cleanersChain) {<a name="line.309"></a>
+<span class="sourceLineNo">310</span>      if (cleaner.isStopped() || this.getStopper().isStopped()) {<a name="line.310"></a>
+<span class="sourceLineNo">311</span>        LOG.warn("A file cleaner" + this.getName() + " is stopped, won't delete any more files in:"<a name="line.311"></a>
+<span class="sourceLineNo">312</span>            + this.oldFileDir);<a name="line.312"></a>
+<span class="sourceLineNo">313</span>        return false;<a name="line.313"></a>
+<span class="sourceLineNo">314</span>      }<a name="line.314"></a>
+<span class="sourceLineNo">315</span><a name="line.315"></a>
+<span class="sourceLineNo">316</span>      Iterable&lt;FileStatus&gt; filteredFiles = cleaner.getDeletableFiles(deletableValidFiles);<a name="line.316"></a>
+<span class="sourceLineNo">317</span>      <a name="line.317"></a>
+<span class="sourceLineNo">318</span>      // trace which cleaner is holding on to each file<a name="line.318"></a>
+<span class="sourceLineNo">319</span>      if (LOG.isTraceEnabled()) {<a name="line.319"></a>
+<span class="sourceLineNo">320</span>        ImmutableSet&lt;FileStatus&gt; filteredFileSet = ImmutableSet.copyOf(filteredFiles);<a name="line.320"></a>
+<span class="sourceLineNo">321</span>        for (FileStatus file : deletableValidFiles) {<a name="line.321"></a>
+<span class="sourceLineNo">322</span>          if (!filteredFileSet.contains(file)) {<a name="line.322"></a>
+<span class="sourceLineNo">323</span>            LOG.trace(file.getPath() + " is not deletable according to:" + cleaner);<a name="line.323"></a>
+<span class="sourceLineNo">324</span>          }<a name="line.324"></a>
+<span class="sourceLineNo">325</span>        }<a name="line.325"></a>
+<span class="sourceLineNo">326</span>      }<a name="line.326"></a>
+<span class="sourceLineNo">327</span>      <a name="line.327"></a>
+<span class="sourceLineNo">328</span>      deletableValidFiles = filteredFiles;<a name="line.328"></a>
+<span class="sourceLineNo">329</span>    }<a name="line.329"></a>
+<span class="sourceLineNo">330</span>    <a name="line.330"></a>
+<span class="sourceLineNo">331</span>    Iterable&lt;FileStatus&gt; filesToDelete = Iterables.concat(invalidFiles, deletableValidFiles);<a name="line.331"></a>
+<span class="sourceLineNo">332</span>    return deleteFiles(filesToDelete) == files.size();<a name="line.332"></a>
+<span class="sourceLineNo">333</span>  }<a name="line.333"></a>
+<span class="sourceLineNo">334</span><a name="line.334"></a>
+<span class="sourceLineNo">335</span>  /**<a name="line.335"></a>
+<span class="sourceLineNo">336</span>   * Delete the given files<a name="line.336"></a>
+<span class="sourceLineNo">337</span>   * @param filesToDelete files to delete<a name="line.337"></a>
+<span class="sourceLineNo">338</span>   * @return number of deleted files<a name="line.338"></a>
+<span class="sourceLineNo">339</span>   */<a name="line.339"></a>
+<span class="sourceLineNo">340</span>  protected int deleteFiles(Iterable&lt;FileStatus&gt; filesToDelete) {<a name="line.340"></a>
+<span class="sourceLineNo">341</span>    int deletedFileCount = 0;<a name="line.341"></a>
+<span class="sourceLineNo">342</span>    for (FileStatus file : filesToDelete) {<a name="line.342"></a>
+<span class="sourceLineNo">343</span>      Path filePath = file.getPath();<a name="line.343"></a>
+<span class="sourceLineNo">344</span>      LOG.trace("Removing {} from archive", filePath);<a name="line.344"></a>
+<span class="sourceLineNo">345</span>      try {<a name="line.345"></a>
+<span class="sourceLineNo">346</span>        boolean success = this.fs.delete(filePath, false);<a name="line.346"></a>
+<span class="sourceLineNo">347</span>        if (success) {<a name="line.347"></a>
+<span class="sourceLineNo">348</span>          deletedFileCount++;<a name="line.348"></a>
+<span class="sourceLineNo">349</span>        } else {<a name="line.349"></a>
+<span class="sourceLineNo">350</span>          LOG.warn("Attempted to delete:" + filePath<a name="line.350"></a>
+<span class="sourceLineNo">351</span>              + ", but couldn't. Run cleaner chain and attempt to delete on next pass.");<a name="line.351"></a>
+<span class="sourceLineNo">352</span>        }<a name="line.352"></a>
+<span class="sourceLineNo">353</span>      } catch (IOException e) {<a name="line.353"></a>
+<span class="sourceLineNo">354</span>        e = e instanceof RemoteException ?<a name="line.354"></a>
+<span class="sourceLineNo">355</span>                  ((RemoteException)e).unwrapRemoteException() : e;<a name="line.355"></a>
+<span class="sourceLineNo">356</span>        LOG.warn("Error while deleting: " + filePath, e);<a name="line.356"></a>
+<span class="sourceLineNo">357</span>      }<a name="line.357"></a>
+<span class="sourceLineNo">358</span>    }<a name="line.358"></a>
+<span class="sourceLineNo">359</span>    return deletedFileCount;<a name="line.359"></a>
+<span class="sourceLineNo">360</span>  }<a name="line.360"></a>
+<span class="sourceLineNo">361</span><a name="line.361"></a>
+<span class="sourceLineNo">362</span>  @Override<a name="line.362"></a>
+<span class="sourceLineNo">363</span>  public void cleanup() {<a name="line.363"></a>
+<span class="sourceLineNo">364</span>    for (T lc : this.cleanersChain) {<a name="line.364"></a>
+<span class="sourceLineNo">365</span>      try {<a name="line.365"></a>
+<span class="sourceLineNo">366</span>        lc.stop("Exiting");<a name="line.366"></a>
+<span class="sourceLineNo">367</span>      } catch (Throwable t) {<a name="line.367"></a>
+<span class="sourceLineNo">368</span>        LOG.warn("Stopping", t);<a name="line.368"></a>
+<span class="sourceLineNo">369</span>      }<a name="line.369"></a>
+<span class="sourceLineNo">370</span>    }<a name="line.370"></a>
+<span class="sourceLineNo">371</span>  }<a name="line.371"></a>
+<span class="sourceLineNo">372</span><a name="line.372"></a>
+<span class="sourceLineNo">373</span>  @VisibleForTesting<a name="line.373"></a>
+<span class="sourceLineNo">374</span>  int getChorePoolSize() {<a name="line.374"></a>
+<span class="sourceLineNo">375</span>    return chorePoolSize;<a name="line.375"></a>
+<span class="sourceLineNo">376</span>  }<a name="line.376"></a>
+<span class="sourceLineNo">377</span><a name="line.377"></a>
+<span class="sourceLineNo">378</span>  /**<a name="line.378"></a>
+<span class="sourceLineNo">379</span>   * @param enabled<a name="line.379"></a>
+<span class="sourceLineNo">380</span>   */<a name="line.380"></a>
+<span class="sourceLineNo">381</span>  public boolean setEnabled(final boolean enabled) {<a name="line.381"></a>
+<span class="sourceLineNo">382</span>    return this.enabled.getAndSet(enabled);<a name="line.382"></a>
+<span class="sourceLineNo">383</span>  }<a name="line.383"></a>
+<span class="sourceLineNo">384</span><a name="line.384"></a>
+<span class="sourceLineNo">385</span>  public boolean getEnabled() {<a name="line.385"></a>
+<span class="sourceLineNo">386</span>    return this.enabled.get();<a name="line.386"></a>
+<span class="sourceLineNo">387</span>  }<a name="line.387"></a>
+<span class="sourceLineNo">388</span><a name="line.388"></a>
+<span class="sourceLineNo">389</span>  private interface Action&lt;T&gt; {<a name="line.389"></a>
+<span class="sourceLineNo">390</span>    T act() throws IOException;<a name="line.390"></a>
+<span class="sourceLineNo">391</span>  }<a name="line.391"></a>
+<span class="sourceLineNo">392</span><a name="line.392"></a>
+<span class="sourceLineNo">393</span>  private class CleanerTask extends RecursiveTask&lt;Boolean&gt; {<a name="line.393"></a>
+<span class="sourceLineNo">394</span>    private final Path dir;<a name="line.394"></a>
+<span class="sourceLineNo">395</span>    private final boolean root;<a name="line.395"></a>
+<span class="sourceLineNo">396</span><a name="line.396"></a>
+<span class="sourceLineNo">397</span>    CleanerTask(final FileStatus dir, final boolean root) {<a name="line.397"></a>
+<span class="sourceLineNo">398</span>      this(dir.getPath(), root);<a name="line.398"></a>
+<span class="sourceLineNo">399</span>    }<a name="line.399"></a>
+<span class="sourceLineNo">400</span><a name="line.400"></a>
+<span class="sourceLineNo">401</span>    CleanerTask(final Path dir, final boolean root) {<a name="line.401"></a>
+<span class="sourceLineNo">402</span>      this.dir = dir;<a name="line.402"></a>
+<span class="sourceLineNo">403</span>      this.root = root;<a name="line.403"></a>
+<span class="sourceLineNo">404</span>    }<a name="line.404"></a>
+<span class="sourceLineNo">405</span><a name="line.405"></a>
+<span class="sourceLineNo">406</span>    @Override<a name="line.406"></a>
+<span class="sourceLineNo">407</span>    protected Boolean compute() {<a name="line.407"></a>
+<span class="sourceLineNo">408</span>      if (LOG.isDebugEnabled()) {<a name="line.408"></a>
+<span class="sourceLineNo">409</span>        LOG.debug("CleanerTask " + Thread.currentThread().getId() +<a name="line.409"></a>
+<span class="sourceLineNo">410</span>          " starts cleaning dirs and files under " + dir + " and itself.");<a name="line.410"></a>
+<span class="sourceLineNo">411</span>      }<a name="line.411"></a>
+<span class="sourceLineNo">412</span><a name="line.412"></a>
+<span class="sourceLineNo">413</span>      List&lt;FileStatus&gt; subDirs;<a name="line.413"></a>
+<span class="sourceLineNo">414</span>      List&lt;FileStatus&gt; files;<a name="line.414"></a>
+<span class="sourceLineNo">415</span>      try {<a name="line.415"></a>
+<span class="sourceLineNo">416</span>        subDirs = getFilteredStatus(status -&gt; status.isDirectory());<a name="line.416"></a>
+<span class="sourceLineNo">417</span>        files = getFilteredStatus(status -&gt; status.isFile());<a name="line.417"></a>
+<span class="sourceLineNo">418</span>      } catch (IOException ioe) {<a name="line.418"></a>
+<span class="sourceLineNo">419</span>        LOG.warn(dir + " doesn't exist, just skip it. ", ioe);<a name="line.419"></a>
+<span class="sourceLineNo">420</span>        return true;<a name="line.420"></a>
+<span class="sourceLineNo">421</span>      }<a name="line.421"></a>
+<span class="sourceLineNo">422</span><a name="line.422"></a>
+<span class="sourceLineNo">423</span>      boolean nullSubDirs = subDirs == null;<a name="line.423"></a>
+<span class="sourceLineNo">424</span>      if (nullSubDirs) {<a name="line.424"></a>
+<span class="sourceLineNo">425</span>        LOG.trace("There is no subdir under {}", dir);<a name="line.425"></a>
+<span class="sourceLineNo">426</span>      }<a name="line.426"></a>
+<span class="sourceLineNo">427</span>      if (files == null) {<a name="line.427"></a>
+<span class="sourceLineNo">428</span>        LOG.trace("There is no file under {}", dir);<a name="line.428"></a>
+<span class="sourceLineNo">429</span>      }<a name="line.429"></a>
+<span class="sourceLineNo">430</span><a name="line.430"></a>
+<span class="sourceLineNo">431</span>      int capacity = nullSubDirs ? 0 : subDirs.size();<a name="line.431"></a>
+<span class="sourceLineNo">432</span>      List&lt;CleanerTask&gt; tasks = Lists.newArrayListWithCapacity(capacity);<a name="line.432"></a>
+<span class="sourceLineNo">433</span>      if (!nullSubDirs) {<a name="line.433"></a>
+<span class="sourceLineNo">434</span>        sortByConsumedSpace(subDirs);<a name="line.434"></a>
+<span class="sourceLineNo">435</span>        for (FileStatus subdir : subDirs) {<a name="line.435"></a>
+<span class="sourceLineNo">436</span>          CleanerTask task = new CleanerTask(subdir, false);<a name="line.436"></a>
+<span class="sourceLineNo">437</span>          tasks.add(task);<a name="line.437"></a>
+<span class="sourceLineNo">438</span>          task.fork();<a name="line.438"></a>
+<span class="sourceLineNo">439</span>        }<a name="line.439"></a>
+<span class="sourceLineNo">440</span>      }<a name="line.440"></a>
+<span class="sourceLineNo">441</span><a name="line.441"></a>
+<span class="sourceLineNo">442</span>      boolean result = true;<a name="line.442"></a>
+<span class="sourceLineNo">443</span>      result &amp;= deleteAction(() -&gt; checkAndDeleteFiles(files), "files");<a name="line.443"></a>
+<span class="sourceLineNo">444</span>      result &amp;= deleteAction(() -&gt; getCleanResult(tasks), "subdirs");<a name="line.444"></a>
+<span class="sourceLineNo">445</span>      // if and only if files and subdirs under current dir are deleted successfully, and<a name="line.445"></a>
+<span class="sourceLineNo">446</span>      // it is not the root dir, then task will try to delete it.<a name="line.446"></a>
+<span class="sourceLineNo">447</span>      if (result &amp;&amp; !root) {<a name="line.447"></a>
+<span class="sourceLineNo">448</span>        result &amp;= deleteAction(() -&gt; fs.delete(dir, false), "dir");<a name="line.448"></a>
+<span class="sourceLineNo">449</span>      }<a name="line.449"></a>
+<span class="sourceLineNo">450</span>      return result;<a name="line.450"></a>
+<span class="sourceLineNo">451</span>    }<a name="line.451"></a>
+<span class="sourceLineNo">452</span><a name="line.452"></a>
+<span class="sourceLineNo">453</span>    /**<a name="line.453"></a>
+<span class="sourceLineNo">454</span>     * Get FileStatus with filter.<a name="line.454"></a>
+<span class="sourceLineNo">455</span>     * Pay attention that FSUtils #listStatusWithStatusFilter would return null,<a name="line.455"></a>
+<span class="sourceLineNo">456</span>     * even though status is empty but not null.<a name="line.456"></a>
+<span class="sourceLineNo">457</span>     * @param function a filter function<a name="line.457"></a>
+<span class="sourceLineNo">458</span>     * @return filtered FileStatus<a name="line.458"></a>
+<span class="sourceLineNo">459</span>     * @throws IOException if there's no such a directory<a name="line.459"></a>
+<span class="sourceLineNo">460</span>     */<a name="line.460"></a>
+<span class="sourceLineNo">461</span>    private List&lt;FileStatus&gt; getFilteredStatus(Predicate&lt;FileStatus&gt; function) throws IOException {<a name="line.461"></a>
+<span class="sourceLineNo">462</span>      return FSUtils.listStatusWithStatusFilter(fs, dir, status -&gt; function.test(status));<a name="line.462"></a>
+<span class="sourceLineNo">463</span>    }<a name="line.463"></a>
+<span class="sourceLineNo">464</span><a name="line.464"></a>
+<span class="sourceLineNo">465</span>    /**<a name="line.465"></a>
+<span class="sourceLineNo">466</span>     * Perform a delete on a specified type.<a name="line.466"></a>
+<span class="sourceLineNo">467</span>     * @param deletion a delete<a name="line.467"></a>
+<span class="sourceLineNo">468</span>     * @param type possible values are 'files', 'subdirs', 'dirs'<a name="line.468"></a>
+<span class="sourceLineNo">469</span>     * @return true if it deleted successfully, false otherwise<a name="line.469"></a>
+<span class="sourceLineNo">470</span>     */<a name="line.470"></a>
+<span class="sourceLineNo">471</span>    private boolean deleteAction(Action&lt;Boolean&gt; deletion, String type) {<a name="line.471"></a>
+<span class="sourceLineNo">472</span>      boolean deleted;<a name="line.472"></a>
+<span class="sourceLineNo">473</span>      String errorMsg = null;<a name="line.473"></a>
+<span class="sourceLineNo">474</span>      try {<a name="line.474"></a>
+<span class="sourceLineNo">475</span>        LOG.trace("Start deleting {} under {}", type, dir);<a name="line.475"></a>
+<span class="sourceLineNo">476</span>        deleted = deletion.act();<a name="line.476"></a>
+<span class="sourceLineNo">477</span>      } catch (IOException ioe) {<a name="line.477"></a>
+<span class="sourceLineNo">478</span>        errorMsg = ioe.getMessage();<a name="line.478"></a>
+<span class="sourceLineNo">479</span>        LOG.warn("Could not delete {} under {}; {}", type, dir, errorMsg);<a name="line.479"></a>
+<span class="sourceLineNo">480</span>        deleted = false;<a name="line.480"></a>
+<span class="sourceLineNo">481</span>      }<a name="line.481"></a>
+<span class="sourceLineNo">482</span>      LOG.trace("Finish deleting {} under {}, deleted=", type, dir, deleted);<a name="line.482"></a>
+<span class="sourceLineNo">483</span>      return deleted;<a name="line.483"></a>
+<span class="sourceLineNo">484</span>    }<a name="line.484"></a>
+<span class="sourceLineNo">485</span><a name="line.485"></a>
+<span class="sourceLineNo">486</span>    /**<a name="line.486"></a>
+<span class="sourceLineNo">487</span>     * Get cleaner results of subdirs.<a name="line.487"></a>
+<span class="sourceLineNo">488</span>     * @param tasks subdirs cleaner tasks<a name="line.488"></a>
+<span class="sourceLineNo">489</span>     * @return true if all subdirs deleted successfully, false for patial/all failures<a name="line.489"></a>
+<span class="sourceLineNo">490</span>     * @throws IOException something happen during computation<a name="line.490"></a>
+<span class="sourceLineNo">491</span>     */<a name="line.491"></a>
+<span class="sourceLineNo">492</span>    private boolean getCleanResult(List&lt;CleanerTask&gt; tasks) throws IOException {<a name="line.492"></a>
+<span class="sourceLineNo">493</span>      boolean cleaned = true;<a name="line.493"></a>
+<span class="sourceLineNo">494</span>      try {<a name="line.494"></a>
+<span class="sourceLineNo">495</span>        for (CleanerTask task : tasks) {<a name="line.495"></a>
+<span class="sourceLineNo">496</span>          cleaned &amp;= task.get();<a name="line.496"></a>
+<span class="sourceLineNo">497</span>        }<a name="line.497"></a>
+<span class="sourceLineNo">498</span>      } catch (InterruptedException | ExecutionException e) {<a name="line.498"></a>
+<span class="sourceLineNo">499</span>        throw new IOException(e);<a name="line.499"></a>
+<span class="sourceLineNo">500</span>      }<a name="line.500"></a>
+<span class="sourceLineNo">501</span>      return cleaned;<a name="line.501"></a>
+<span class="sourceLineNo">502</span>    }<a name="line.502"></a>
+<span class="sourceLineNo">503</span>  }<a name="line.503"></a>
+<span class="sourceLineNo">504</span>}<a name="line.504"></a>
 
 
 


[11/15] hbase-site git commit: Published site at .

Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html b/devapidocs/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html
index a257044..043997f 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html
@@ -123,7 +123,7 @@ var activeTableTab = "activeTableTab";
 <hr>
 <br>
 <pre>@InterfaceAudience.LimitedPrivate(value={"Coprocesssor","Phoenix","Configuration"})
-public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.63">ProtobufLogReader</a>
+public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.64">ProtobufLogReader</a>
 extends <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ReaderBase.html" title="class in org.apache.hadoop.hbase.regionserver.wal">ReaderBase</a></pre>
 <div class="block">A Protobuf based WAL has the following structure:
  <p>
@@ -411,7 +411,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/Read
 <ul class="blockList">
 <li class="blockList">
 <h4>LOG</h4>
-<pre>private static final&nbsp;org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.64">LOG</a></pre>
+<pre>private static final&nbsp;org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.65">LOG</a></pre>
 </li>
 </ul>
 <a name="PB_WAL_MAGIC">
@@ -421,7 +421,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/Read
 <li class="blockList">
 <h4>PB_WAL_MAGIC</h4>
 <pre>@InterfaceAudience.Private
-public static final&nbsp;byte[] <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.67">PB_WAL_MAGIC</a></pre>
+public static final&nbsp;byte[] <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.68">PB_WAL_MAGIC</a></pre>
 </li>
 </ul>
 <a name="PB_WAL_COMPLETE_MAGIC">
@@ -431,7 +431,7 @@ public static final&nbsp;byte[] <a href="../../../../../../src-html/org/apache/h
 <li class="blockList">
 <h4>PB_WAL_COMPLETE_MAGIC</h4>
 <pre>@InterfaceAudience.Private
-public static final&nbsp;byte[] <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.70">PB_WAL_COMPLETE_MAGIC</a></pre>
+public static final&nbsp;byte[] <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.71">PB_WAL_COMPLETE_MAGIC</a></pre>
 </li>
 </ul>
 <a name="WAL_TRAILER_WARN_SIZE">
@@ -440,7 +440,7 @@ public static final&nbsp;byte[] <a href="../../../../../../src-html/org/apache/h
 <ul class="blockList">
 <li class="blockList">
 <h4>WAL_TRAILER_WARN_SIZE</h4>
-<pre>static final&nbsp;<a href="http://docs.oracle.com/javase/8/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/ProtobufLogReader.html#line.75">WAL_TRAILER_WARN_SIZE</a></pre>
+<pre>static final&nbsp;<a href="http://docs.oracle.com/javase/8/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/ProtobufLogReader.html#line.76">WAL_TRAILER_WARN_SIZE</a></pre>
 <div class="block">Configuration name of WAL Trailer's warning size. If a waltrailer's size is greater than the
  configured size, providers should log a warning. e.g. this is used with Protobuf reader/writer.</div>
 <dl>
@@ -455,7 +455,7 @@ public static final&nbsp;byte[] <a href="../../../../../../src-html/org/apache/h
 <ul class="blockList">
 <li class="blockList">
 <h4>DEFAULT_WAL_TRAILER_WARN_SIZE</h4>
-<pre>static final&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.76">DEFAULT_WAL_TRAILER_WARN_SIZE</a></pre>
+<pre>static final&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.77">DEFAULT_WAL_TRAILER_WARN_SIZE</a></pre>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
 <dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.regionserver.wal.ProtobufLogReader.DEFAULT_WAL_TRAILER_WARN_SIZE">Constant Field Values</a></dd>
@@ -468,7 +468,7 @@ public static final&nbsp;byte[] <a href="../../../../../../src-html/org/apache/h
 <ul class="blockList">
 <li class="blockList">
 <h4>inputStream</h4>
-<pre>protected&nbsp;org.apache.hadoop.fs.FSDataInputStream <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.78">inputStream</a></pre>
+<pre>protected&nbsp;org.apache.hadoop.fs.FSDataInputStream <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.79">inputStream</a></pre>
 </li>
 </ul>
 <a name="cellDecoder">
@@ -477,7 +477,7 @@ public static final&nbsp;byte[] <a href="../../../../../../src-html/org/apache/h
 <ul class="blockList">
 <li class="blockList">
 <h4>cellDecoder</h4>
-<pre>protected&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/codec/Codec.Decoder.html" title="interface in org.apache.hadoop.hbase.codec">Codec.Decoder</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.79">cellDecoder</a></pre>
+<pre>protected&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/codec/Codec.Decoder.html" title="interface in org.apache.hadoop.hbase.codec">Codec.Decoder</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.80">cellDecoder</a></pre>
 </li>
 </ul>
 <a name="byteStringUncompressor">
@@ -486,7 +486,7 @@ public static final&nbsp;byte[] <a href="../../../../../../src-html/org/apache/h
 <ul class="blockList">
 <li class="blockList">
 <h4>byteStringUncompressor</h4>
-<pre>protected&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/WALCellCodec.ByteStringUncompressor.html" title="interface in org.apache.hadoop.hbase.regionserver.wal">WALCellCodec.ByteStringUncompressor</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.80">byteStringUncompressor</a></pre>
+<pre>protected&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/WALCellCodec.ByteStringUncompressor.html" title="interface in org.apache.hadoop.hbase.regionserver.wal">WALCellCodec.ByteStringUncompressor</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.81">byteStringUncompressor</a></pre>
 </li>
 </ul>
 <a name="hasCompression">
@@ -495,7 +495,7 @@ public static final&nbsp;byte[] <a href="../../../../../../src-html/org/apache/h
 <ul class="blockList">
 <li class="blockList">
 <h4>hasCompression</h4>
-<pre>protected&nbsp;boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.81">hasCompression</a></pre>
+<pre>protected&nbsp;boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.82">hasCompression</a></pre>
 </li>
 </ul>
 <a name="hasTagCompression">
@@ -504,7 +504,7 @@ public static final&nbsp;byte[] <a href="../../../../../../src-html/org/apache/h
 <ul class="blockList">
 <li class="blockList">
 <h4>hasTagCompression</h4>
-<pre>protected&nbsp;boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.82">hasTagCompression</a></pre>
+<pre>protected&nbsp;boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.83">hasTagCompression</a></pre>
 </li>
 </ul>
 <a name="walEditsStopOffset">
@@ -513,7 +513,7 @@ public static final&nbsp;byte[] <a href="../../../../../../src-html/org/apache/h
 <ul class="blockList">
 <li class="blockList">
 <h4>walEditsStopOffset</h4>
-<pre>private&nbsp;long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.85">walEditsStopOffset</a></pre>
+<pre>private&nbsp;long <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.86">walEditsStopOffset</a></pre>
 </li>
 </ul>
 <a name="trailerPresent">
@@ -522,7 +522,7 @@ public static final&nbsp;byte[] <a href="../../../../../../src-html/org/apache/h
 <ul class="blockList">
 <li class="blockList">
 <h4>trailerPresent</h4>
-<pre>private&nbsp;boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.86">trailerPresent</a></pre>
+<pre>private&nbsp;boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.87">trailerPresent</a></pre>
 </li>
 </ul>
 <a name="trailer">
@@ -531,7 +531,7 @@ public static final&nbsp;byte[] <a href="../../../../../../src-html/org/apache/h
 <ul class="blockList">
 <li class="blockList">
 <h4>trailer</h4>
-<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALTrailer <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.87">trailer</a></pre>
+<pre>protected&nbsp;org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALTrailer <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.88">trailer</a></pre>
 </li>
 </ul>
 <a name="trailerWarnSize">
@@ -540,7 +540,7 @@ public static final&nbsp;byte[] <a href="../../../../../../src-html/org/apache/h
 <ul class="blockList">
 <li class="blockList">
 <h4>trailerWarnSize</h4>
-<pre>protected&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.90">trailerWarnSize</a></pre>
+<pre>protected&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.91">trailerWarnSize</a></pre>
 </li>
 </ul>
 <a name="writerClsNames">
@@ -549,7 +549,7 @@ public static final&nbsp;byte[] <a href="../../../../../../src-html/org/apache/h
 <ul class="blockList">
 <li class="blockList">
 <h4>writerClsNames</h4>
-<pre>private static&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt; <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.91">writerClsNames</a></pre>
+<pre>private static&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt; <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.92">writerClsNames</a></pre>
 </li>
 </ul>
 <a name="codecClsName">
@@ -558,7 +558,7 @@ public static final&nbsp;byte[] <a href="../../../../../../src-html/org/apache/h
 <ul class="blockListLast">
 <li class="blockList">
 <h4>codecClsName</h4>
-<pre>private&nbsp;<a href="http://docs.oracle.com/javase/8/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/ProtobufLogReader.html#line.98">codecClsName</a></pre>
+<pre>private&nbsp;<a href="http://docs.oracle.com/javase/8/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/ProtobufLogReader.html#line.99">codecClsName</a></pre>
 </li>
 </ul>
 </li>
@@ -575,7 +575,7 @@ public static final&nbsp;byte[] <a href="../../../../../../src-html/org/apache/h
 <ul class="blockListLast">
 <li class="blockList">
 <h4>ProtobufLogReader</h4>
-<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.138">ProtobufLogReader</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.139">ProtobufLogReader</a>()</pre>
 </li>
 </ul>
 </li>
@@ -593,7 +593,7 @@ public static final&nbsp;byte[] <a href="../../../../../../src-html/org/apache/h
 <li class="blockList">
 <h4>trailerSize</h4>
 <pre>@InterfaceAudience.Private
-public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.101">trailerSize</a>()</pre>
+public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.102">trailerSize</a>()</pre>
 </li>
 </ul>
 <a name="close--">
@@ -602,7 +602,7 @@ public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbas
 <ul class="blockList">
 <li class="blockList">
 <h4>close</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.143">close</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.144">close</a>()
            throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <dl>
 <dt><span class="throwsLabel">Throws:</span></dt>
@@ -616,7 +616,7 @@ public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbas
 <ul class="blockList">
 <li class="blockList">
 <h4>getPosition</h4>
-<pre>public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.151">getPosition</a>()
+<pre>public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.152">getPosition</a>()
                  throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <dl>
 <dt><span class="throwsLabel">Throws:</span></dt>
@@ -630,7 +630,7 @@ public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbas
 <ul class="blockList">
 <li class="blockList">
 <h4>reset</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.156">reset</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.157">reset</a>()
            throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <dl>
 <dt><span class="throwsLabel">Throws:</span></dt>
@@ -644,7 +644,7 @@ public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbas
 <ul class="blockList">
 <li class="blockList">
 <h4>init</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.162">init</a>(org.apache.hadoop.fs.FileSystem&nbsp;fs,
+<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.163">init</a>(org.apache.hadoop.fs.FileSystem&nbsp;fs,
                  org.apache.hadoop.fs.Path&nbsp;path,
                  org.apache.hadoop.conf.Configuration&nbsp;conf,
                  org.apache.hadoop.fs.FSDataInputStream&nbsp;stream)
@@ -670,7 +670,7 @@ public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbas
 <ul class="blockList">
 <li class="blockList">
 <h4>initReader</h4>
-<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.169">initReader</a>(org.apache.hadoop.fs.FSDataInputStream&nbsp;stream)
+<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.170">initReader</a>(org.apache.hadoop.fs.FSDataInputStream&nbsp;stream)
                      throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ReaderBase.html#initReader-org.apache.hadoop.fs.FSDataInputStream-">ReaderBase</a></code></span></div>
 <div class="block">Initializes the log reader with a particular stream (may be null).
@@ -691,7 +691,7 @@ public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbas
 <ul class="blockList">
 <li class="blockList">
 <h4>getWriterClsNames</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.176">getWriterClsNames</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.177">getWriterClsNames</a>()</pre>
 </li>
 </ul>
 <a name="getCodecClsName--">
@@ -700,7 +700,7 @@ public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbas
 <ul class="blockList">
 <li class="blockList">
 <h4>getCodecClsName</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.183">getCodecClsName</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.184">getCodecClsName</a>()</pre>
 </li>
 </ul>
 <a name="readHeader-org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALHeader.Builder-org.apache.hadoop.fs.FSDataInputStream-">
@@ -709,7 +709,7 @@ public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbas
 <ul class="blockList">
 <li class="blockList">
 <h4>readHeader</h4>
-<pre>protected&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrContext.html" title="class in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogReader.WALHdrContext</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.187">readHeader</a>(org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALHeader.Builder&nbsp;builder,
+<pre>protected&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrContext.html" title="class in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogReader.WALHdrContext</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.188">readHeader</a>(org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALHeader.Builder&nbsp;builder,
                                                      org.apache.hadoop.fs.FSDataInputStream&nbsp;stream)
                                               throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <dl>
@@ -724,7 +724,7 @@ public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbas
 <ul class="blockList">
 <li class="blockList">
 <h4>initInternal</h4>
-<pre>private&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.202">initInternal</a>(org.apache.hadoop.fs.FSDataInputStream&nbsp;stream,
+<pre>private&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.203">initInternal</a>(org.apache.hadoop.fs.FSDataInputStream&nbsp;stream,
                             boolean&nbsp;isFirst)
                      throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <dl>
@@ -739,7 +739,7 @@ public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbas
 <ul class="blockList">
 <li class="blockList">
 <h4>setTrailerIfPresent</h4>
-<pre>private&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.260">setTrailerIfPresent</a>()</pre>
+<pre>private&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.261">setTrailerIfPresent</a>()</pre>
 <div class="block">To check whether a trailer is present in a WAL, it seeks to position (fileLength -
  PB_WAL_COMPLETE_MAGIC.size() - Bytes.SIZEOF_INT). It reads the int value to know the size of
  the trailer, and checks whether the trailer is present at the end or not by comparing the last
@@ -767,7 +767,7 @@ public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbas
 <ul class="blockList">
 <li class="blockList">
 <h4>getCodec</h4>
-<pre>protected&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/WALCellCodec.html" title="class in org.apache.hadoop.hbase.regionserver.wal">WALCellCodec</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.296">getCodec</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
+<pre>protected&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/WALCellCodec.html" title="class in org.apache.hadoop.hbase.regionserver.wal">WALCellCodec</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.297">getCodec</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
                                 <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;cellCodecClsName,
                                 <a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/CompressionContext.html" title="class in org.apache.hadoop.hbase.regionserver.wal">CompressionContext</a>&nbsp;compressionContext)
                          throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
@@ -783,7 +783,7 @@ public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbas
 <ul class="blockList">
 <li class="blockList">
 <h4>initAfterCompression</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.302">initAfterCompression</a>()
+<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.303">initAfterCompression</a>()
                              throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ReaderBase.html#initAfterCompression--">ReaderBase</a></code></span></div>
 <div class="block">Initializes the compression after the shared stuff has been initialized. Called once.</div>
@@ -801,7 +801,7 @@ public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbas
 <ul class="blockList">
 <li class="blockList">
 <h4>initAfterCompression</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.307">initAfterCompression</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;cellCodecClsName)
+<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.308">initAfterCompression</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;cellCodecClsName)
                              throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ReaderBase.html#initAfterCompression-java.lang.String-">ReaderBase</a></code></span></div>
 <div class="block">Initializes the compression after the shared stuff has been initialized. Called once.</div>
@@ -821,7 +821,7 @@ public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbas
 <ul class="blockList">
 <li class="blockList">
 <h4>hasCompression</h4>
-<pre>protected&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.316">hasCompression</a>()</pre>
+<pre>protected&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.317">hasCompression</a>()</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
 <dd><code><a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ReaderBase.html#hasCompression--">hasCompression</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ReaderBase.html" title="class in org.apache.hadoop.hbase.regionserver.wal">ReaderBase</a></code></dd>
@@ -836,7 +836,7 @@ public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbas
 <ul class="blockList">
 <li class="blockList">
 <h4>hasTagCompression</h4>
-<pre>protected&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.321">hasTagCompression</a>()</pre>
+<pre>protected&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.322">hasTagCompression</a>()</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
 <dd><code><a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ReaderBase.html#hasTagCompression--">hasTagCompression</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ReaderBase.html" title="class in org.apache.hadoop.hbase.regionserver.wal">ReaderBase</a></code></dd>
@@ -851,7 +851,7 @@ public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbas
 <ul class="blockList">
 <li class="blockList">
 <h4>readNext</h4>
-<pre>protected&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.326">readNext</a>(<a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a>&nbsp;entry)
+<pre>protected&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.327">readNext</a>(<a href="../../../../../../org/apache/hadoop/hbase/wal/WAL.Entry.html" title="class in org.apache.hadoop.hbase.wal">WAL.Entry</a>&nbsp;entry)
                     throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ReaderBase.html#readNext-org.apache.hadoop.hbase.wal.WAL.Entry-">ReaderBase</a></code></span></div>
 <div class="block">Read next entry.</div>
@@ -873,7 +873,7 @@ public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbas
 <ul class="blockList">
 <li class="blockList">
 <h4>extractHiddenEof</h4>
-<pre>private&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.423">extractHiddenEof</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>&nbsp;ex)</pre>
+<pre>private&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.424">extractHiddenEof</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>&nbsp;ex)</pre>
 </li>
 </ul>
 <a name="seekOnFs-long-">
@@ -882,7 +882,7 @@ public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbas
 <ul class="blockListLast">
 <li class="blockList">
 <h4>seekOnFs</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.443">seekOnFs</a>(long&nbsp;pos)
+<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.444">seekOnFs</a>(long&nbsp;pos)
                  throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ReaderBase.html#seekOnFs-long-">ReaderBase</a></code></span></div>
 <div class="block">Performs a filesystem-level seek to a certain position in an underlying file.</div>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/rest/model/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/rest/model/package-tree.html b/devapidocs/org/apache/hadoop/hbase/rest/model/package-tree.html
index b0813dc..d93b122 100644
--- a/devapidocs/org/apache/hadoop/hbase/rest/model/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/rest/model/package-tree.html
@@ -110,8 +110,8 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.rest.model.<a href="../../../../../../org/apache/hadoop/hbase/rest/model/ScannerModel.FilterModel.ByteArrayComparableModel.ComparatorType.html" title="enum in org.apache.hadoop.hbase.rest.model"><span class="typeNameLink">ScannerModel.FilterModel.ByteArrayComparableModel.ComparatorType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.rest.model.<a href="../../../../../../org/apache/hadoop/hbase/rest/model/ScannerModel.FilterModel.FilterType.html" title="enum in org.apache.hadoop.hbase.rest.model"><span class="typeNameLink">ScannerModel.FilterModel.FilterType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.rest.model.<a href="../../../../../../org/apache/hadoop/hbase/rest/model/ScannerModel.FilterModel.ByteArrayComparableModel.ComparatorType.html" title="enum in org.apache.hadoop.hbase.rest.model"><span class="typeNameLink">ScannerModel.FilterModel.ByteArrayComparableModel.ComparatorType</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/security/access/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/security/access/package-tree.html b/devapidocs/org/apache/hadoop/hbase/security/access/package-tree.html
index 19bc4e2..60ffc1f 100644
--- a/devapidocs/org/apache/hadoop/hbase/security/access/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/security/access/package-tree.html
@@ -136,9 +136,9 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.security.access.<a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlFilter.Strategy.html" title="enum in org.apache.hadoop.hbase.security.access"><span class="typeNameLink">AccessControlFilter.Strategy</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.security.access.<a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access"><span class="typeNameLink">AccessController.OpType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.security.access.<a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html" title="enum in org.apache.hadoop.hbase.security.access"><span class="typeNameLink">Permission.Action</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.security.access.<a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlFilter.Strategy.html" title="enum in org.apache.hadoop.hbase.security.access"><span class="typeNameLink">AccessControlFilter.Strategy</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/security/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/security/package-tree.html b/devapidocs/org/apache/hadoop/hbase/security/package-tree.html
index e91552c..fb14499 100644
--- a/devapidocs/org/apache/hadoop/hbase/security/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/security/package-tree.html
@@ -191,8 +191,8 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.security.<a href="../../../../../org/apache/hadoop/hbase/security/SaslStatus.html" title="enum in org.apache.hadoop.hbase.security"><span class="typeNameLink">SaslStatus</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.security.<a href="../../../../../org/apache/hadoop/hbase/security/SaslUtil.QualityOfProtection.html" title="enum in org.apache.hadoop.hbase.security"><span class="typeNameLink">SaslUtil.QualityOfProtection</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.security.<a href="../../../../../org/apache/hadoop/hbase/security/SaslStatus.html" title="enum in org.apache.hadoop.hbase.security"><span class="typeNameLink">SaslStatus</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.security.<a href="../../../../../org/apache/hadoop/hbase/security/AuthMethod.html" title="enum in org.apache.hadoop.hbase.security"><span class="typeNameLink">AuthMethod</span></a></li>
 </ul>
 </li>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/thrift/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/thrift/package-tree.html b/devapidocs/org/apache/hadoop/hbase/thrift/package-tree.html
index e714820..e924839 100644
--- a/devapidocs/org/apache/hadoop/hbase/thrift/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/thrift/package-tree.html
@@ -198,9 +198,9 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.thrift.<a href="../../../../../org/apache/hadoop/hbase/thrift/MetricsThriftServerSourceFactoryImpl.FactoryStorage.html" title="enum in org.apache.hadoop.hbase.thrift"><span class="typeNameLink">MetricsThriftServerSourceFactoryImpl.FactoryStorage</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.thrift.<a href="../../../../../org/apache/hadoop/hbase/thrift/ThriftServerRunner.ImplType.html" title="enum in org.apache.hadoop.hbase.thrift"><span class="typeNameLink">ThriftServerRunner.ImplType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.thrift.<a href="../../../../../org/apache/hadoop/hbase/thrift/ThriftMetrics.ThriftServerType.html" title="enum in org.apache.hadoop.hbase.thrift"><span class="typeNameLink">ThriftMetrics.ThriftServerType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.thrift.<a href="../../../../../org/apache/hadoop/hbase/thrift/MetricsThriftServerSourceFactoryImpl.FactoryStorage.html" title="enum in org.apache.hadoop.hbase.thrift"><span class="typeNameLink">MetricsThriftServerSourceFactoryImpl.FactoryStorage</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/util/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/util/package-tree.html b/devapidocs/org/apache/hadoop/hbase/util/package-tree.html
index 85afe8a..34c79f0 100644
--- a/devapidocs/org/apache/hadoop/hbase/util/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/util/package-tree.html
@@ -535,14 +535,14 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.util.<a href="../../../../../org/apache/hadoop/hbase/util/ChecksumType.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">ChecksumType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.PureJavaComparer.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">Bytes.LexicographicalComparerHolder.PureJavaComparer</span></a> (implements org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Bytes.Comparer.html" title="interface in org.apache.hadoop.hbase.util">Bytes.Comparer</a>&lt;T&gt;)</li>
-<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Order.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">Order</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/PrettyPrinter.Unit.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">PrettyPrinter.Unit</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/IdReadWriteLock.ReferenceType.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">IdReadWriteLock.ReferenceType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/HBaseFsck.ErrorReporter.ERROR_CODE.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">HBaseFsck.ErrorReporter.ERROR_CODE</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/PoolMap.PoolType.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">PoolMap.PoolType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.UnsafeComparer.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">Bytes.LexicographicalComparerHolder.UnsafeComparer</span></a> (implements org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Bytes.Comparer.html" title="interface in org.apache.hadoop.hbase.util">Bytes.Comparer</a>&lt;T&gt;)</li>
+<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.PureJavaComparer.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">Bytes.LexicographicalComparerHolder.PureJavaComparer</span></a> (implements org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Bytes.Comparer.html" title="interface in org.apache.hadoop.hbase.util">Bytes.Comparer</a>&lt;T&gt;)</li>
+<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/PoolMap.PoolType.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">PoolMap.PoolType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/ChecksumType.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">ChecksumType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Order.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">Order</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/IdReadWriteLock.ReferenceType.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">IdReadWriteLock.ReferenceType</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/overview-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/overview-tree.html b/devapidocs/overview-tree.html
index 1f2028a..3ca86fe 100644
--- a/devapidocs/overview-tree.html
+++ b/devapidocs/overview-tree.html
@@ -1994,7 +1994,6 @@
 <ul>
 <li type="circle">org.apache.hadoop.hbase.util.<a href="org/apache/hadoop/hbase/util/Base64.Base64InputStream.html" title="class in org.apache.hadoop.hbase.util"><span class="typeNameLink">Base64.Base64InputStream</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.security.<a href="org/apache/hadoop/hbase/security/HBaseSaslRpcClient.WrappedInputStream.html" title="class in org.apache.hadoop.hbase.security"><span class="typeNameLink">HBaseSaslRpcClient.WrappedInputStream</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.io.<a href="org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">LimitInputStream</span></a></li>
 <li type="circle">java.io.<a href="http://docs.oracle.com/javase/8/docs/api/java/io/PushbackInputStream.html?is-external=true" title="class or interface in java.io"><span class="typeNameLink">PushbackInputStream</span></a>
 <ul>
 <li type="circle">org.apache.hadoop.hbase.codec.<a href="org/apache/hadoop/hbase/codec/BaseDecoder.PBIS.html" title="class in org.apache.hadoop.hbase.codec"><span class="typeNameLink">BaseDecoder.PBIS</span></a></li>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/src-html/org/apache/hadoop/hbase/Version.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/Version.html b/devapidocs/src-html/org/apache/hadoop/hbase/Version.html
index 98e8e66..e12cd58 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/Version.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/Version.html
@@ -16,11 +16,11 @@
 <span class="sourceLineNo">008</span>@InterfaceAudience.Private<a name="line.8"></a>
 <span class="sourceLineNo">009</span>public class Version {<a name="line.9"></a>
 <span class="sourceLineNo">010</span>  public static final String version = "3.0.0-SNAPSHOT";<a name="line.10"></a>
-<span class="sourceLineNo">011</span>  public static final String revision = "bff937a767ecb851a4ba312ece52b50b84df4976";<a name="line.11"></a>
+<span class="sourceLineNo">011</span>  public static final String revision = "ea819d1733d94cd357177ca1070f5c80b0321d03";<a name="line.11"></a>
 <span class="sourceLineNo">012</span>  public static final String user = "jenkins";<a name="line.12"></a>
-<span class="sourceLineNo">013</span>  public static final String date = "Fri Jan  5 14:41:48 UTC 2018";<a name="line.13"></a>
+<span class="sourceLineNo">013</span>  public static final String date = "Sat Jan  6 14:41:47 UTC 2018";<a name="line.13"></a>
 <span class="sourceLineNo">014</span>  public static final String url = "git://asf920.gq1.ygridcore.net/home/jenkins/jenkins-slave/workspace/hbase_generate_website/hbase";<a name="line.14"></a>
-<span class="sourceLineNo">015</span>  public static final String srcChecksum = "68ad93939496b63a208df86484852629";<a name="line.15"></a>
+<span class="sourceLineNo">015</span>  public static final String srcChecksum = "297ad4e2821241231a080aac1211b78c";<a name="line.15"></a>
 <span class="sourceLineNo">016</span>}<a name="line.16"></a>
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/src-html/org/apache/hadoop/hbase/io/LimitInputStream.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/io/LimitInputStream.html b/devapidocs/src-html/org/apache/hadoop/hbase/io/LimitInputStream.html
deleted file mode 100644
index ad3bd6e..0000000
--- a/devapidocs/src-html/org/apache/hadoop/hbase/io/LimitInputStream.html
+++ /dev/null
@@ -1,177 +0,0 @@
-<!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> * Copyright (C) 2007 The Guava Authors<a name="line.2"></a>
-<span class="sourceLineNo">003</span> *<a name="line.3"></a>
-<span class="sourceLineNo">004</span> * Licensed under the Apache License, Version 2.0 (the "License");<a name="line.4"></a>
-<span class="sourceLineNo">005</span> * you may not use this file except in compliance with the License.<a name="line.5"></a>
-<span class="sourceLineNo">006</span> * You may obtain a copy of the License at<a name="line.6"></a>
-<span class="sourceLineNo">007</span> *<a name="line.7"></a>
-<span class="sourceLineNo">008</span> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.8"></a>
-<span class="sourceLineNo">009</span> *<a name="line.9"></a>
-<span class="sourceLineNo">010</span> * Unless required by applicable law or agreed to in writing, software<a name="line.10"></a>
-<span class="sourceLineNo">011</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.11"></a>
-<span class="sourceLineNo">012</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.12"></a>
-<span class="sourceLineNo">013</span> * See the License for the specific language governing permissions and<a name="line.13"></a>
-<span class="sourceLineNo">014</span> * limitations under the License.<a name="line.14"></a>
-<span class="sourceLineNo">015</span> *<a name="line.15"></a>
-<span class="sourceLineNo">016</span> */<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.io;<a name="line.18"></a>
-<span class="sourceLineNo">019</span><a name="line.19"></a>
-<span class="sourceLineNo">020</span>import static org.apache.hbase.thirdparty.com.google.common.base.Preconditions.checkArgument;<a name="line.20"></a>
-<span class="sourceLineNo">021</span>import static org.apache.hbase.thirdparty.com.google.common.base.Preconditions.checkNotNull;<a name="line.21"></a>
-<span class="sourceLineNo">022</span><a name="line.22"></a>
-<span class="sourceLineNo">023</span>import java.io.FilterInputStream;<a name="line.23"></a>
-<span class="sourceLineNo">024</span>import java.io.IOException;<a name="line.24"></a>
-<span class="sourceLineNo">025</span>import java.io.InputStream;<a name="line.25"></a>
-<span class="sourceLineNo">026</span><a name="line.26"></a>
-<span class="sourceLineNo">027</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.27"></a>
-<span class="sourceLineNo">028</span><a name="line.28"></a>
-<span class="sourceLineNo">029</span>/**<a name="line.29"></a>
-<span class="sourceLineNo">030</span> * Copied from guava source code v15 (LimitedInputStream)<a name="line.30"></a>
-<span class="sourceLineNo">031</span> * Guava deprecated LimitInputStream in v14 and removed it in v15. Copying this class here<a name="line.31"></a>
-<span class="sourceLineNo">032</span> * allows to be compatible with guava 11 to 15+.<a name="line.32"></a>
-<span class="sourceLineNo">033</span> */<a name="line.33"></a>
-<span class="sourceLineNo">034</span>@InterfaceAudience.Private<a name="line.34"></a>
-<span class="sourceLineNo">035</span>public final class LimitInputStream extends FilterInputStream {<a name="line.35"></a>
-<span class="sourceLineNo">036</span>  private long left;<a name="line.36"></a>
-<span class="sourceLineNo">037</span>  private long mark = -1;<a name="line.37"></a>
-<span class="sourceLineNo">038</span><a name="line.38"></a>
-<span class="sourceLineNo">039</span>  public LimitInputStream(InputStream in, long limit) {<a name="line.39"></a>
-<span class="sourceLineNo">040</span>    super(in);<a name="line.40"></a>
-<span class="sourceLineNo">041</span>    checkNotNull(in);<a name="line.41"></a>
-<span class="sourceLineNo">042</span>    checkArgument(limit &gt;= 0, "limit must be non-negative");<a name="line.42"></a>
-<span class="sourceLineNo">043</span>    left = limit;<a name="line.43"></a>
-<span class="sourceLineNo">044</span>  }<a name="line.44"></a>
-<span class="sourceLineNo">045</span><a name="line.45"></a>
-<span class="sourceLineNo">046</span>  @Override<a name="line.46"></a>
-<span class="sourceLineNo">047</span>  public int available() throws IOException {<a name="line.47"></a>
-<span class="sourceLineNo">048</span>    return (int) Math.min(in.available(), left);<a name="line.48"></a>
-<span class="sourceLineNo">049</span>  }<a name="line.49"></a>
-<span class="sourceLineNo">050</span><a name="line.50"></a>
-<span class="sourceLineNo">051</span>  // it's okay to mark even if mark isn't supported, as reset won't work<a name="line.51"></a>
-<span class="sourceLineNo">052</span>  @Override<a name="line.52"></a>
-<span class="sourceLineNo">053</span>  public synchronized void mark(int readLimit) {<a name="line.53"></a>
-<span class="sourceLineNo">054</span>    in.mark(readLimit);<a name="line.54"></a>
-<span class="sourceLineNo">055</span>    mark = left;<a name="line.55"></a>
-<span class="sourceLineNo">056</span>  }<a name="line.56"></a>
-<span class="sourceLineNo">057</span><a name="line.57"></a>
-<span class="sourceLineNo">058</span>  @Override<a name="line.58"></a>
-<span class="sourceLineNo">059</span>  public int read() throws IOException {<a name="line.59"></a>
-<span class="sourceLineNo">060</span>    if (left == 0) {<a name="line.60"></a>
-<span class="sourceLineNo">061</span>      return -1;<a name="line.61"></a>
-<span class="sourceLineNo">062</span>    }<a name="line.62"></a>
-<span class="sourceLineNo">063</span><a name="line.63"></a>
-<span class="sourceLineNo">064</span>    int result = in.read();<a name="line.64"></a>
-<span class="sourceLineNo">065</span>    if (result != -1) {<a name="line.65"></a>
-<span class="sourceLineNo">066</span>      --left;<a name="line.66"></a>
-<span class="sourceLineNo">067</span>    }<a name="line.67"></a>
-<span class="sourceLineNo">068</span>    return result;<a name="line.68"></a>
-<span class="sourceLineNo">069</span>  }<a name="line.69"></a>
-<span class="sourceLineNo">070</span><a name="line.70"></a>
-<span class="sourceLineNo">071</span>  @Override<a name="line.71"></a>
-<span class="sourceLineNo">072</span>  public int read(byte[] b, int off, int len) throws IOException {<a name="line.72"></a>
-<span class="sourceLineNo">073</span>    if (left == 0) {<a name="line.73"></a>
-<span class="sourceLineNo">074</span>      return -1;<a name="line.74"></a>
-<span class="sourceLineNo">075</span>    }<a name="line.75"></a>
-<span class="sourceLineNo">076</span><a name="line.76"></a>
-<span class="sourceLineNo">077</span>    len = (int) Math.min(len, left);<a name="line.77"></a>
-<span class="sourceLineNo">078</span>    int result = in.read(b, off, len);<a name="line.78"></a>
-<span class="sourceLineNo">079</span>    if (result != -1) {<a name="line.79"></a>
-<span class="sourceLineNo">080</span>      left -= result;<a name="line.80"></a>
-<span class="sourceLineNo">081</span>    }<a name="line.81"></a>
-<span class="sourceLineNo">082</span>    return result;<a name="line.82"></a>
-<span class="sourceLineNo">083</span>  }<a name="line.83"></a>
-<span class="sourceLineNo">084</span><a name="line.84"></a>
-<span class="sourceLineNo">085</span>  @Override<a name="line.85"></a>
-<span class="sourceLineNo">086</span>  public synchronized void reset() throws IOException {<a name="line.86"></a>
-<span class="sourceLineNo">087</span>    if (!in.markSupported()) {<a name="line.87"></a>
-<span class="sourceLineNo">088</span>      throw new IOException("Mark not supported");<a name="line.88"></a>
-<span class="sourceLineNo">089</span>    }<a name="line.89"></a>
-<span class="sourceLineNo">090</span>    if (mark == -1) {<a name="line.90"></a>
-<span class="sourceLineNo">091</span>      throw new IOException("Mark not set");<a name="line.91"></a>
-<span class="sourceLineNo">092</span>    }<a name="line.92"></a>
-<span class="sourceLineNo">093</span><a name="line.93"></a>
-<span class="sourceLineNo">094</span>    in.reset();<a name="line.94"></a>
-<span class="sourceLineNo">095</span>    left = mark;<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>  @Override<a name="line.98"></a>
-<span class="sourceLineNo">099</span>  public long skip(long n) throws IOException {<a name="line.99"></a>
-<span class="sourceLineNo">100</span>    n = Math.min(n, left);<a name="line.100"></a>
-<span class="sourceLineNo">101</span>    long skipped = in.skip(n);<a name="line.101"></a>
-<span class="sourceLineNo">102</span>    left -= skipped;<a name="line.102"></a>
-<span class="sourceLineNo">103</span>    return skipped;<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>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-</pre>
-</div>
-</body>
-</html>


[02/15] hbase-site git commit: Published site at .

Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-shaded-check-invariants/source-repository.html
----------------------------------------------------------------------
diff --git a/hbase-shaded-check-invariants/source-repository.html b/hbase-shaded-check-invariants/source-repository.html
index 602b66f..a0e72c9 100644
--- a/hbase-shaded-check-invariants/source-repository.html
+++ b/hbase-shaded-check-invariants/source-repository.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase Shaded Packaging Invariants &#x2013; Source Code Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -134,7 +134,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-shaded-check-invariants/team-list.html
----------------------------------------------------------------------
diff --git a/hbase-shaded-check-invariants/team-list.html b/hbase-shaded-check-invariants/team-list.html
index 4a8334b..081371a 100644
--- a/hbase-shaded-check-invariants/team-list.html
+++ b/hbase-shaded-check-invariants/team-list.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase Shaded Packaging Invariants &#x2013; Project Team</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -553,7 +553,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/index.html
----------------------------------------------------------------------
diff --git a/index.html b/index.html
index 9ef5d94..fee4cf2 100644
--- a/index.html
+++ b/index.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Apache HBaseâ„¢ Home</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -438,7 +438,7 @@ Apache HBase is an open-source, distributed, versioned, non-relational database
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/integration.html
----------------------------------------------------------------------
diff --git a/integration.html b/integration.html
index b2d0983..27f8daa 100644
--- a/integration.html
+++ b/integration.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; CI Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -296,7 +296,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/issue-tracking.html
----------------------------------------------------------------------
diff --git a/issue-tracking.html b/issue-tracking.html
index 83ebd46..73ade8a 100644
--- a/issue-tracking.html
+++ b/issue-tracking.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Issue Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -293,7 +293,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/license.html
----------------------------------------------------------------------
diff --git a/license.html b/license.html
index 7b0e0ea..2ed6430 100644
--- a/license.html
+++ b/license.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Licenses</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -496,7 +496,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/mail-lists.html
----------------------------------------------------------------------
diff --git a/mail-lists.html b/mail-lists.html
index 35f655b..bee98aa 100644
--- a/mail-lists.html
+++ b/mail-lists.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Mailing Lists</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -346,7 +346,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/metrics.html
----------------------------------------------------------------------
diff --git a/metrics.html b/metrics.html
index 27f9b07..e27097f 100644
--- a/metrics.html
+++ b/metrics.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013;  
       Apache HBase (TM) Metrics
@@ -464,7 +464,7 @@ export HBASE_REGIONSERVER_OPTS=&quot;$HBASE_JMX_OPTS -Dcom.sun.management.jmxrem
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/old_news.html
----------------------------------------------------------------------
diff --git a/old_news.html b/old_news.html
index 8a69f72..1f243c4 100644
--- a/old_news.html
+++ b/old_news.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; 
       Old Apache HBase (TM) News
@@ -419,7 +419,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/plugin-management.html
----------------------------------------------------------------------
diff --git a/plugin-management.html b/plugin-management.html
index c39b79a..e586c96 100644
--- a/plugin-management.html
+++ b/plugin-management.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Plugin Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -441,7 +441,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/plugins.html
----------------------------------------------------------------------
diff --git a/plugins.html b/plugins.html
index 3d98771..6a8c048 100644
--- a/plugins.html
+++ b/plugins.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Plugins</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -380,7 +380,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/poweredbyhbase.html
----------------------------------------------------------------------
diff --git a/poweredbyhbase.html b/poweredbyhbase.html
index 515163f..52e028d 100644
--- a/poweredbyhbase.html
+++ b/poweredbyhbase.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Powered By Apache HBase™</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -774,7 +774,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/project-info.html
----------------------------------------------------------------------
diff --git a/project-info.html b/project-info.html
index e37d6aa..439af4e 100644
--- a/project-info.html
+++ b/project-info.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -340,7 +340,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/project-reports.html
----------------------------------------------------------------------
diff --git a/project-reports.html b/project-reports.html
index a8f55f4..a3b57ea 100644
--- a/project-reports.html
+++ b/project-reports.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Generated Reports</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -310,7 +310,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/project-summary.html
----------------------------------------------------------------------
diff --git a/project-summary.html b/project-summary.html
index 7786b3b..52fdaea 100644
--- a/project-summary.html
+++ b/project-summary.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Summary</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -336,7 +336,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/pseudo-distributed.html
----------------------------------------------------------------------
diff --git a/pseudo-distributed.html b/pseudo-distributed.html
index 19abdc2..5ace3ac 100644
--- a/pseudo-distributed.html
+++ b/pseudo-distributed.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013;  
 Running Apache HBase (TM) in pseudo-distributed mode
@@ -313,7 +313,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/replication.html
----------------------------------------------------------------------
diff --git a/replication.html b/replication.html
index e8f877d..7d966db 100644
--- a/replication.html
+++ b/replication.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; 
       Apache HBase (TM) Replication
@@ -308,7 +308,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/resources.html
----------------------------------------------------------------------
diff --git a/resources.html b/resources.html
index 3b841e9..c083db5 100644
--- a/resources.html
+++ b/resources.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Other Apache HBase (TM) Resources</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -336,7 +336,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/source-repository.html
----------------------------------------------------------------------
diff --git a/source-repository.html b/source-repository.html
index f7ea1e4..39a378f 100644
--- a/source-repository.html
+++ b/source-repository.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Source Code Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -304,7 +304,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/sponsors.html
----------------------------------------------------------------------
diff --git a/sponsors.html b/sponsors.html
index ad83cd9..abf073c 100644
--- a/sponsors.html
+++ b/sponsors.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Apache HBase™ Sponsors</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -338,7 +338,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/supportingprojects.html
----------------------------------------------------------------------
diff --git a/supportingprojects.html b/supportingprojects.html
index b0c17a9..a40f628 100644
--- a/supportingprojects.html
+++ b/supportingprojects.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Supporting Projects</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -525,7 +525,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/team-list.html
----------------------------------------------------------------------
diff --git a/team-list.html b/team-list.html
index 34f1f47..6a7402b 100644
--- a/team-list.html
+++ b/team-list.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Team</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -723,7 +723,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/index-all.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/index-all.html b/testdevapidocs/index-all.html
index 817fe91..61e6b11 100644
--- a/testdevapidocs/index-all.html
+++ b/testdevapidocs/index-all.html
@@ -49431,6 +49431,8 @@
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/TestHBaseTestingUtility.html#testMiniDFSCluster--">testMiniDFSCluster()</a></span> - Method in class org.apache.hadoop.hbase.<a href="org/apache/hadoop/hbase/TestHBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">TestHBaseTestingUtility</a></dt>
 <dd>&nbsp;</dd>
+<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html#testMinimumNumberOfThreads--">testMinimumNumberOfThreads()</a></span> - Method in class org.apache.hadoop.hbase.master.cleaner.<a href="org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html" title="class in org.apache.hadoop.hbase.master.cleaner">TestCleanerChore</a></dt>
+<dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/TestHBaseTestingUtility.html#testMiniZooKeeperWithMultipleClientPorts--">testMiniZooKeeperWithMultipleClientPorts()</a></span> - Method in class org.apache.hadoop.hbase.<a href="org/apache/hadoop/hbase/TestHBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">TestHBaseTestingUtility</a></dt>
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/TestHBaseTestingUtility.html#testMiniZooKeeperWithMultipleServers--">testMiniZooKeeperWithMultipleServers()</a></span> - Method in class org.apache.hadoop.hbase.<a href="org/apache/hadoop/hbase/TestHBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">TestHBaseTestingUtility</a></dt>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/org/apache/hadoop/hbase/backup/package-tree.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/backup/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/backup/package-tree.html
index 3630ba9..dc2a8e8 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/backup/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/backup/package-tree.html
@@ -143,8 +143,8 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.backup.<a href="../../../../../org/apache/hadoop/hbase/backup/TestIncrementalBackupMergeWithFailures.FailurePhase.html" title="enum in org.apache.hadoop.hbase.backup"><span class="typeNameLink">TestIncrementalBackupMergeWithFailures.FailurePhase</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.backup.<a href="../../../../../org/apache/hadoop/hbase/backup/TestBackupDeleteWithFailures.Failure.html" title="enum in org.apache.hadoop.hbase.backup"><span class="typeNameLink">TestBackupDeleteWithFailures.Failure</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.backup.<a href="../../../../../org/apache/hadoop/hbase/backup/TestIncrementalBackupMergeWithFailures.FailurePhase.html" title="enum in org.apache.hadoop.hbase.backup"><span class="typeNameLink">TestIncrementalBackupMergeWithFailures.FailurePhase</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html
index 7580e5c..b7bb4ff 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html
@@ -158,8 +158,8 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/TestCacheOnWrite.CacheOnWriteType.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">TestCacheOnWrite.CacheOnWriteType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/TagUsage.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">TagUsage</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/TestCacheOnWrite.CacheOnWriteType.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">TestCacheOnWrite.CacheOnWriteType</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AllValidPaths.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AllValidPaths.html b/testdevapidocs/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AllValidPaths.html
index 173d009..c877fd6 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AllValidPaths.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AllValidPaths.html
@@ -127,7 +127,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>private static class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html#line.405">TestCleanerChore.AllValidPaths</a>
+<pre>private static class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html#line.424">TestCleanerChore.AllValidPaths</a>
 extends org.apache.hadoop.hbase.master.cleaner.CleanerChore&lt;org.apache.hadoop.hbase.master.cleaner.BaseHFileCleanerDelegate&gt;</pre>
 </li>
 </ul>
@@ -194,7 +194,7 @@ extends org.apache.hadoop.hbase.master.cleaner.CleanerChore&lt;org.apache.hadoop
 <!--   -->
 </a>
 <h3>Methods inherited from class&nbsp;org.apache.hadoop.hbase.master.cleaner.CleanerChore</h3>
-<code>chore, cleanup, deleteFiles, getChorePoolSize, getEnabled, onConfigurationChange, runCleaner, setEnabled</code></li>
+<code>calculatePoolSize, chore, cleanup, deleteFiles, getChorePoolSize, getEnabled, onConfigurationChange, runCleaner, setEnabled</code></li>
 </ul>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.ScheduledChore">
@@ -230,7 +230,7 @@ extends org.apache.hadoop.hbase.master.cleaner.CleanerChore&lt;org.apache.hadoop
 <ul class="blockListLast">
 <li class="blockList">
 <h4>AllValidPaths</h4>
-<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AllValidPaths.html#line.407">AllValidPaths</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AllValidPaths.html#line.426">AllValidPaths</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                      org.apache.hadoop.hbase.Stoppable&nbsp;s,
                      org.apache.hadoop.conf.Configuration&nbsp;conf,
                      org.apache.hadoop.fs.FileSystem&nbsp;fs,
@@ -252,7 +252,7 @@ extends org.apache.hadoop.hbase.master.cleaner.CleanerChore&lt;org.apache.hadoop
 <ul class="blockListLast">
 <li class="blockList">
 <h4>validate</h4>
-<pre>protected&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AllValidPaths.html#line.414">validate</a>(org.apache.hadoop.fs.Path&nbsp;file)</pre>
+<pre>protected&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AllValidPaths.html#line.433">validate</a>(org.apache.hadoop.fs.Path&nbsp;file)</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
 <dd><code>validate</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.master.cleaner.CleanerChore&lt;org.apache.hadoop.hbase.master.cleaner.BaseHFileCleanerDelegate&gt;</code></dd>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AlwaysDelete.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AlwaysDelete.html b/testdevapidocs/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AlwaysDelete.html
index 7c5b197..dc3c2b6 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AlwaysDelete.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AlwaysDelete.html
@@ -132,7 +132,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>public static class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html#line.419">TestCleanerChore.AlwaysDelete</a>
+<pre>public static class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html#line.438">TestCleanerChore.AlwaysDelete</a>
 extends org.apache.hadoop.hbase.master.cleaner.BaseHFileCleanerDelegate</pre>
 </li>
 </ul>
@@ -236,7 +236,7 @@ extends org.apache.hadoop.hbase.master.cleaner.BaseHFileCleanerDelegate</pre>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>AlwaysDelete</h4>
-<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AlwaysDelete.html#line.419">AlwaysDelete</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AlwaysDelete.html#line.438">AlwaysDelete</a>()</pre>
 </li>
 </ul>
 </li>
@@ -253,7 +253,7 @@ extends org.apache.hadoop.hbase.master.cleaner.BaseHFileCleanerDelegate</pre>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>isFileDeletable</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AlwaysDelete.html#line.421">isFileDeletable</a>(org.apache.hadoop.fs.FileStatus&nbsp;fStat)</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.AlwaysDelete.html#line.440">isFileDeletable</a>(org.apache.hadoop.fs.FileStatus&nbsp;fStat)</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
 <dd><code>isFileDeletable</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.master.cleaner.BaseFileCleanerDelegate</code></dd>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.NeverDelete.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.NeverDelete.html b/testdevapidocs/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.NeverDelete.html
index 3deb161..a7fe95e 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.NeverDelete.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.NeverDelete.html
@@ -132,7 +132,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>public static class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html#line.426">TestCleanerChore.NeverDelete</a>
+<pre>public static class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html#line.445">TestCleanerChore.NeverDelete</a>
 extends org.apache.hadoop.hbase.master.cleaner.BaseHFileCleanerDelegate</pre>
 </li>
 </ul>
@@ -236,7 +236,7 @@ extends org.apache.hadoop.hbase.master.cleaner.BaseHFileCleanerDelegate</pre>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>NeverDelete</h4>
-<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.NeverDelete.html#line.426">NeverDelete</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.NeverDelete.html#line.445">NeverDelete</a>()</pre>
 </li>
 </ul>
 </li>
@@ -253,7 +253,7 @@ extends org.apache.hadoop.hbase.master.cleaner.BaseHFileCleanerDelegate</pre>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>isFileDeletable</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.NeverDelete.html#line.428">isFileDeletable</a>(org.apache.hadoop.fs.FileStatus&nbsp;fStat)</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.NeverDelete.html#line.447">isFileDeletable</a>(org.apache.hadoop.fs.FileStatus&nbsp;fStat)</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
 <dd><code>isFileDeletable</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.master.cleaner.BaseFileCleanerDelegate</code></dd>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html b/testdevapidocs/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html
index ef19ca7..ff60c21 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -234,20 +234,24 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 </tr>
 <tr id="i7" class="rowColor">
 <td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html#testMinimumNumberOfThreads--">testMinimumNumberOfThreads</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i8" class="altColor">
+<td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html#testNoExceptionFromDirectoryWithRacyChildren--">testNoExceptionFromDirectoryWithRacyChildren</a></span>()</code>
 <div class="block">The cleaner runs in a loop, where it first checks to see all the files under a directory can be
  deleted.</div>
 </td>
 </tr>
-<tr id="i8" class="altColor">
+<tr id="i9" class="rowColor">
 <td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html#testOnConfigurationChange--">testOnConfigurationChange</a></span>()</code>&nbsp;</td>
 </tr>
-<tr id="i9" class="rowColor">
+<tr id="i10" class="altColor">
 <td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html#testSavesFilesOnRequest--">testSavesFilesOnRequest</a></span>()</code>&nbsp;</td>
 </tr>
-<tr id="i10" class="altColor">
+<tr id="i11" class="rowColor">
 <td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html#testStoppedCleanerDoesNotDeleteFiles--">testStoppedCleanerDoesNotDeleteFiles</a></span>()</code>&nbsp;</td>
 </tr>
@@ -466,13 +470,27 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 </dl>
 </li>
 </ul>
+<a name="testMinimumNumberOfThreads--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>testMinimumNumberOfThreads</h4>
+<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html#line.392">testMinimumNumberOfThreads</a>()
+                                throws <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
+</dl>
+</li>
+</ul>
 <a name="createFiles-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-int-">
 <!--   -->
 </a>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>createFiles</h4>
-<pre>private&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html#line.391">createFiles</a>(org.apache.hadoop.fs.FileSystem&nbsp;fs,
+<pre>private&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/TestCleanerChore.html#line.410">createFiles</a>(org.apache.hadoop.fs.FileSystem&nbsp;fs,
                          org.apache.hadoop.fs.Path&nbsp;parentDir,
                          int&nbsp;numOfFiles)
                   throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/org/apache/hadoop/hbase/package-tree.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/package-tree.html
index 8965611..0d308cd 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/package-tree.html
@@ -584,15 +584,15 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.<a href="../../../../org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ACTION.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">IntegrationTestDDLMasterFailover.ACTION</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ClusterManager.ServiceType.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ClusterManager.ServiceType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/RESTApiClusterManager.Service.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">RESTApiClusterManager.Service</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ResourceChecker.Phase.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ResourceChecker.Phase</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/PerformanceEvaluation.Counter.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">PerformanceEvaluation.Counter</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/IntegrationTestRegionReplicaPerf.Stat.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">IntegrationTestRegionReplicaPerf.Stat</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/RESTApiClusterManager.RoleCommand.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">RESTApiClusterManager.RoleCommand</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/HBaseClusterManager.CommandProvider.Operation.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">HBaseClusterManager.CommandProvider.Operation</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ACTION.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">IntegrationTestDDLMasterFailover.ACTION</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/RESTApiClusterManager.Service.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">RESTApiClusterManager.Service</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/RESTApiClusterManager.RoleCommand.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">RESTApiClusterManager.RoleCommand</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ScanPerformanceEvaluation.ScanCounter.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ScanPerformanceEvaluation.ScanCounter</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ClusterManager.ServiceType.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ClusterManager.ServiceType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/PerformanceEvaluation.Counter.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">PerformanceEvaluation.Counter</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
index def23ed..b17704e 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
@@ -205,9 +205,9 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/TestProcedureRecovery.TestStateMachineProcedure.State.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">TestProcedureRecovery.TestStateMachineProcedure.State</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/TestYieldProcedures.TestStateMachineProcedure.State.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">TestYieldProcedures.TestStateMachineProcedure.State</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/TestStateMachineProcedure.TestSMProcedureState.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">TestStateMachineProcedure.TestSMProcedureState</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/TestProcedureRecovery.TestStateMachineProcedure.State.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">TestProcedureRecovery.TestStateMachineProcedure.State</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
index 7868226..1a79a5d 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
@@ -630,11 +630,11 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestRegionServerReadRequestMetrics.Metric.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestRegionServerReadRequestMetrics.Metric</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestAtomicOperation.TestStep.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestAtomicOperation.TestStep</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.ActionType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestMultiLogThreshold.ActionType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestCacheOnWriteInSchema.CacheOnWriteType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestCacheOnWriteInSchema.CacheOnWriteType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/DataBlockEncodingTool.Manipulation.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">DataBlockEncodingTool.Manipulation</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestRegionServerReadRequestMetrics.Metric.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestRegionServerReadRequestMetrics.Metric</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestCacheOnWriteInSchema.CacheOnWriteType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestCacheOnWriteInSchema.CacheOnWriteType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.ActionType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TestMultiLogThreshold.ActionType</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/org/apache/hadoop/hbase/test/package-tree.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/test/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/test/package-tree.html
index 35dc220..eac75aa 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/test/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/test/package-tree.html
@@ -253,10 +253,10 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestBigLinkedList.Verify.Counts.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestBigLinkedList.Verify.Counts</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestLoadAndVerify.Counters.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestLoadAndVerify.Counters</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestWithCellVisibilityLoadAndVerify.Counters.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestWithCellVisibilityLoadAndVerify.Counters</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestBigLinkedList.Generator.Counts.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestBigLinkedList.Generator.Counts</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.test.<a href="../../../../../org/apache/hadoop/hbase/test/IntegrationTestBigLinkedList.Verify.Counts.html" title="enum in org.apache.hadoop.hbase.test"><span class="typeNameLink">IntegrationTestBigLinkedList.Verify.Counts</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/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 9911b91..41bd4fc 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/wal/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/wal/package-tree.html
@@ -137,9 +137,9 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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/FaultyFSLog.FailureType.html" title="enum in org.apache.hadoop.hbase.wal"><span class="typeNameLink">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="typeNameLink">IOTestProvider.AllowedOperations</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.wal.<a href="../../../../../org/apache/hadoop/hbase/wal/TestWALSplit.Corruptions.html" title="enum in org.apache.hadoop.hbase.wal"><span class="typeNameLink">TestWALSplit.Corruptions</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="typeNameLink">FaultyFSLog.FailureType</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ACTION.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ACTION.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ACTION.html
index 9bf2cd5..1af43cf 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ACTION.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ACTION.html
@@ -706,7 +706,7 @@
 <span class="sourceLineNo">698</span>      try {<a name="line.698"></a>
 <span class="sourceLineNo">699</span>        TableName tableName = selected.getTableName();<a name="line.699"></a>
 <span class="sourceLineNo">700</span>        // possible DataBlockEncoding ids<a name="line.700"></a>
-<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 6};<a name="line.701"></a>
+<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 7};<a name="line.701"></a>
 <span class="sourceLineNo">702</span>        short id = (short) possibleIds[RandomUtils.nextInt(0, possibleIds.length)];<a name="line.702"></a>
 <span class="sourceLineNo">703</span>        LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +<a name="line.703"></a>
 <span class="sourceLineNo">704</span>            " in table: " + tableName);<a name="line.704"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.AddColumnFamilyAction.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.AddColumnFamilyAction.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.AddColumnFamilyAction.html
index 9bf2cd5..1af43cf 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.AddColumnFamilyAction.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.AddColumnFamilyAction.html
@@ -706,7 +706,7 @@
 <span class="sourceLineNo">698</span>      try {<a name="line.698"></a>
 <span class="sourceLineNo">699</span>        TableName tableName = selected.getTableName();<a name="line.699"></a>
 <span class="sourceLineNo">700</span>        // possible DataBlockEncoding ids<a name="line.700"></a>
-<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 6};<a name="line.701"></a>
+<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 7};<a name="line.701"></a>
 <span class="sourceLineNo">702</span>        short id = (short) possibleIds[RandomUtils.nextInt(0, possibleIds.length)];<a name="line.702"></a>
 <span class="sourceLineNo">703</span>        LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +<a name="line.703"></a>
 <span class="sourceLineNo">704</span>            " in table: " + tableName);<a name="line.704"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.AddRowAction.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.AddRowAction.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.AddRowAction.html
index 9bf2cd5..1af43cf 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.AddRowAction.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.AddRowAction.html
@@ -706,7 +706,7 @@
 <span class="sourceLineNo">698</span>      try {<a name="line.698"></a>
 <span class="sourceLineNo">699</span>        TableName tableName = selected.getTableName();<a name="line.699"></a>
 <span class="sourceLineNo">700</span>        // possible DataBlockEncoding ids<a name="line.700"></a>
-<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 6};<a name="line.701"></a>
+<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 7};<a name="line.701"></a>
 <span class="sourceLineNo">702</span>        short id = (short) possibleIds[RandomUtils.nextInt(0, possibleIds.length)];<a name="line.702"></a>
 <span class="sourceLineNo">703</span>        LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +<a name="line.703"></a>
 <span class="sourceLineNo">704</span>            " in table: " + tableName);<a name="line.704"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.AlterFamilyEncodingAction.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.AlterFamilyEncodingAction.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.AlterFamilyEncodingAction.html
index 9bf2cd5..1af43cf 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.AlterFamilyEncodingAction.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.AlterFamilyEncodingAction.html
@@ -706,7 +706,7 @@
 <span class="sourceLineNo">698</span>      try {<a name="line.698"></a>
 <span class="sourceLineNo">699</span>        TableName tableName = selected.getTableName();<a name="line.699"></a>
 <span class="sourceLineNo">700</span>        // possible DataBlockEncoding ids<a name="line.700"></a>
-<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 6};<a name="line.701"></a>
+<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 7};<a name="line.701"></a>
 <span class="sourceLineNo">702</span>        short id = (short) possibleIds[RandomUtils.nextInt(0, possibleIds.length)];<a name="line.702"></a>
 <span class="sourceLineNo">703</span>        LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +<a name="line.703"></a>
 <span class="sourceLineNo">704</span>            " in table: " + tableName);<a name="line.704"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.AlterFamilyVersionsAction.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.AlterFamilyVersionsAction.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.AlterFamilyVersionsAction.html
index 9bf2cd5..1af43cf 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.AlterFamilyVersionsAction.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.AlterFamilyVersionsAction.html
@@ -706,7 +706,7 @@
 <span class="sourceLineNo">698</span>      try {<a name="line.698"></a>
 <span class="sourceLineNo">699</span>        TableName tableName = selected.getTableName();<a name="line.699"></a>
 <span class="sourceLineNo">700</span>        // possible DataBlockEncoding ids<a name="line.700"></a>
-<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 6};<a name="line.701"></a>
+<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 7};<a name="line.701"></a>
 <span class="sourceLineNo">702</span>        short id = (short) possibleIds[RandomUtils.nextInt(0, possibleIds.length)];<a name="line.702"></a>
 <span class="sourceLineNo">703</span>        LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +<a name="line.703"></a>
 <span class="sourceLineNo">704</span>            " in table: " + tableName);<a name="line.704"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ColumnAction.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ColumnAction.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ColumnAction.html
index 9bf2cd5..1af43cf 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ColumnAction.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ColumnAction.html
@@ -706,7 +706,7 @@
 <span class="sourceLineNo">698</span>      try {<a name="line.698"></a>
 <span class="sourceLineNo">699</span>        TableName tableName = selected.getTableName();<a name="line.699"></a>
 <span class="sourceLineNo">700</span>        // possible DataBlockEncoding ids<a name="line.700"></a>
-<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 6};<a name="line.701"></a>
+<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 7};<a name="line.701"></a>
 <span class="sourceLineNo">702</span>        short id = (short) possibleIds[RandomUtils.nextInt(0, possibleIds.length)];<a name="line.702"></a>
 <span class="sourceLineNo">703</span>        LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +<a name="line.703"></a>
 <span class="sourceLineNo">704</span>            " in table: " + tableName);<a name="line.704"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.CreateNamespaceAction.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.CreateNamespaceAction.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.CreateNamespaceAction.html
index 9bf2cd5..1af43cf 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.CreateNamespaceAction.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.CreateNamespaceAction.html
@@ -706,7 +706,7 @@
 <span class="sourceLineNo">698</span>      try {<a name="line.698"></a>
 <span class="sourceLineNo">699</span>        TableName tableName = selected.getTableName();<a name="line.699"></a>
 <span class="sourceLineNo">700</span>        // possible DataBlockEncoding ids<a name="line.700"></a>
-<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 6};<a name="line.701"></a>
+<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 7};<a name="line.701"></a>
 <span class="sourceLineNo">702</span>        short id = (short) possibleIds[RandomUtils.nextInt(0, possibleIds.length)];<a name="line.702"></a>
 <span class="sourceLineNo">703</span>        LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +<a name="line.703"></a>
 <span class="sourceLineNo">704</span>            " in table: " + tableName);<a name="line.704"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.CreateTableAction.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.CreateTableAction.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.CreateTableAction.html
index 9bf2cd5..1af43cf 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.CreateTableAction.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.CreateTableAction.html
@@ -706,7 +706,7 @@
 <span class="sourceLineNo">698</span>      try {<a name="line.698"></a>
 <span class="sourceLineNo">699</span>        TableName tableName = selected.getTableName();<a name="line.699"></a>
 <span class="sourceLineNo">700</span>        // possible DataBlockEncoding ids<a name="line.700"></a>
-<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 6};<a name="line.701"></a>
+<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 7};<a name="line.701"></a>
 <span class="sourceLineNo">702</span>        short id = (short) possibleIds[RandomUtils.nextInt(0, possibleIds.length)];<a name="line.702"></a>
 <span class="sourceLineNo">703</span>        LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +<a name="line.703"></a>
 <span class="sourceLineNo">704</span>            " in table: " + tableName);<a name="line.704"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.DeleteColumnFamilyAction.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.DeleteColumnFamilyAction.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.DeleteColumnFamilyAction.html
index 9bf2cd5..1af43cf 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.DeleteColumnFamilyAction.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.DeleteColumnFamilyAction.html
@@ -706,7 +706,7 @@
 <span class="sourceLineNo">698</span>      try {<a name="line.698"></a>
 <span class="sourceLineNo">699</span>        TableName tableName = selected.getTableName();<a name="line.699"></a>
 <span class="sourceLineNo">700</span>        // possible DataBlockEncoding ids<a name="line.700"></a>
-<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 6};<a name="line.701"></a>
+<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 7};<a name="line.701"></a>
 <span class="sourceLineNo">702</span>        short id = (short) possibleIds[RandomUtils.nextInt(0, possibleIds.length)];<a name="line.702"></a>
 <span class="sourceLineNo">703</span>        LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +<a name="line.703"></a>
 <span class="sourceLineNo">704</span>            " in table: " + tableName);<a name="line.704"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.DeleteNamespaceAction.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.DeleteNamespaceAction.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.DeleteNamespaceAction.html
index 9bf2cd5..1af43cf 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.DeleteNamespaceAction.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.DeleteNamespaceAction.html
@@ -706,7 +706,7 @@
 <span class="sourceLineNo">698</span>      try {<a name="line.698"></a>
 <span class="sourceLineNo">699</span>        TableName tableName = selected.getTableName();<a name="line.699"></a>
 <span class="sourceLineNo">700</span>        // possible DataBlockEncoding ids<a name="line.700"></a>
-<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 6};<a name="line.701"></a>
+<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 7};<a name="line.701"></a>
 <span class="sourceLineNo">702</span>        short id = (short) possibleIds[RandomUtils.nextInt(0, possibleIds.length)];<a name="line.702"></a>
 <span class="sourceLineNo">703</span>        LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +<a name="line.703"></a>
 <span class="sourceLineNo">704</span>            " in table: " + tableName);<a name="line.704"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.DeleteTableAction.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.DeleteTableAction.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.DeleteTableAction.html
index 9bf2cd5..1af43cf 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.DeleteTableAction.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.DeleteTableAction.html
@@ -706,7 +706,7 @@
 <span class="sourceLineNo">698</span>      try {<a name="line.698"></a>
 <span class="sourceLineNo">699</span>        TableName tableName = selected.getTableName();<a name="line.699"></a>
 <span class="sourceLineNo">700</span>        // possible DataBlockEncoding ids<a name="line.700"></a>
-<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 6};<a name="line.701"></a>
+<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 7};<a name="line.701"></a>
 <span class="sourceLineNo">702</span>        short id = (short) possibleIds[RandomUtils.nextInt(0, possibleIds.length)];<a name="line.702"></a>
 <span class="sourceLineNo">703</span>        LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +<a name="line.703"></a>
 <span class="sourceLineNo">704</span>            " in table: " + tableName);<a name="line.704"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.DisableTableAction.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.DisableTableAction.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.DisableTableAction.html
index 9bf2cd5..1af43cf 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.DisableTableAction.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.DisableTableAction.html
@@ -706,7 +706,7 @@
 <span class="sourceLineNo">698</span>      try {<a name="line.698"></a>
 <span class="sourceLineNo">699</span>        TableName tableName = selected.getTableName();<a name="line.699"></a>
 <span class="sourceLineNo">700</span>        // possible DataBlockEncoding ids<a name="line.700"></a>
-<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 6};<a name="line.701"></a>
+<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 7};<a name="line.701"></a>
 <span class="sourceLineNo">702</span>        short id = (short) possibleIds[RandomUtils.nextInt(0, possibleIds.length)];<a name="line.702"></a>
 <span class="sourceLineNo">703</span>        LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +<a name="line.703"></a>
 <span class="sourceLineNo">704</span>            " in table: " + tableName);<a name="line.704"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.EnableTableAction.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.EnableTableAction.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.EnableTableAction.html
index 9bf2cd5..1af43cf 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.EnableTableAction.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.EnableTableAction.html
@@ -706,7 +706,7 @@
 <span class="sourceLineNo">698</span>      try {<a name="line.698"></a>
 <span class="sourceLineNo">699</span>        TableName tableName = selected.getTableName();<a name="line.699"></a>
 <span class="sourceLineNo">700</span>        // possible DataBlockEncoding ids<a name="line.700"></a>
-<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 6};<a name="line.701"></a>
+<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 7};<a name="line.701"></a>
 <span class="sourceLineNo">702</span>        short id = (short) possibleIds[RandomUtils.nextInt(0, possibleIds.length)];<a name="line.702"></a>
 <span class="sourceLineNo">703</span>        LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +<a name="line.703"></a>
 <span class="sourceLineNo">704</span>            " in table: " + tableName);<a name="line.704"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.MasterAction.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.MasterAction.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.MasterAction.html
index 9bf2cd5..1af43cf 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.MasterAction.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.MasterAction.html
@@ -706,7 +706,7 @@
 <span class="sourceLineNo">698</span>      try {<a name="line.698"></a>
 <span class="sourceLineNo">699</span>        TableName tableName = selected.getTableName();<a name="line.699"></a>
 <span class="sourceLineNo">700</span>        // possible DataBlockEncoding ids<a name="line.700"></a>
-<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 6};<a name="line.701"></a>
+<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 7};<a name="line.701"></a>
 <span class="sourceLineNo">702</span>        short id = (short) possibleIds[RandomUtils.nextInt(0, possibleIds.length)];<a name="line.702"></a>
 <span class="sourceLineNo">703</span>        LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +<a name="line.703"></a>
 <span class="sourceLineNo">704</span>            " in table: " + tableName);<a name="line.704"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ModifyNamespaceAction.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ModifyNamespaceAction.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ModifyNamespaceAction.html
index 9bf2cd5..1af43cf 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ModifyNamespaceAction.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.ModifyNamespaceAction.html
@@ -706,7 +706,7 @@
 <span class="sourceLineNo">698</span>      try {<a name="line.698"></a>
 <span class="sourceLineNo">699</span>        TableName tableName = selected.getTableName();<a name="line.699"></a>
 <span class="sourceLineNo">700</span>        // possible DataBlockEncoding ids<a name="line.700"></a>
-<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 6};<a name="line.701"></a>
+<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 7};<a name="line.701"></a>
 <span class="sourceLineNo">702</span>        short id = (short) possibleIds[RandomUtils.nextInt(0, possibleIds.length)];<a name="line.702"></a>
 <span class="sourceLineNo">703</span>        LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +<a name="line.703"></a>
 <span class="sourceLineNo">704</span>            " in table: " + tableName);<a name="line.704"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.NamespaceAction.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.NamespaceAction.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.NamespaceAction.html
index 9bf2cd5..1af43cf 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.NamespaceAction.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.NamespaceAction.html
@@ -706,7 +706,7 @@
 <span class="sourceLineNo">698</span>      try {<a name="line.698"></a>
 <span class="sourceLineNo">699</span>        TableName tableName = selected.getTableName();<a name="line.699"></a>
 <span class="sourceLineNo">700</span>        // possible DataBlockEncoding ids<a name="line.700"></a>
-<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 6};<a name="line.701"></a>
+<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 7};<a name="line.701"></a>
 <span class="sourceLineNo">702</span>        short id = (short) possibleIds[RandomUtils.nextInt(0, possibleIds.length)];<a name="line.702"></a>
 <span class="sourceLineNo">703</span>        LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +<a name="line.703"></a>
 <span class="sourceLineNo">704</span>            " in table: " + tableName);<a name="line.704"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.TableAction.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.TableAction.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.TableAction.html
index 9bf2cd5..1af43cf 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.TableAction.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.TableAction.html
@@ -706,7 +706,7 @@
 <span class="sourceLineNo">698</span>      try {<a name="line.698"></a>
 <span class="sourceLineNo">699</span>        TableName tableName = selected.getTableName();<a name="line.699"></a>
 <span class="sourceLineNo">700</span>        // possible DataBlockEncoding ids<a name="line.700"></a>
-<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 6};<a name="line.701"></a>
+<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 7};<a name="line.701"></a>
 <span class="sourceLineNo">702</span>        short id = (short) possibleIds[RandomUtils.nextInt(0, possibleIds.length)];<a name="line.702"></a>
 <span class="sourceLineNo">703</span>        LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +<a name="line.703"></a>
 <span class="sourceLineNo">704</span>            " in table: " + tableName);<a name="line.704"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.Worker.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.Worker.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.Worker.html
index 9bf2cd5..1af43cf 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.Worker.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/IntegrationTestDDLMasterFailover.Worker.html
@@ -706,7 +706,7 @@
 <span class="sourceLineNo">698</span>      try {<a name="line.698"></a>
 <span class="sourceLineNo">699</span>        TableName tableName = selected.getTableName();<a name="line.699"></a>
 <span class="sourceLineNo">700</span>        // possible DataBlockEncoding ids<a name="line.700"></a>
-<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 6};<a name="line.701"></a>
+<span class="sourceLineNo">701</span>        int[] possibleIds = {0, 2, 3, 4, 7};<a name="line.701"></a>
 <span class="sourceLineNo">702</span>        short id = (short) possibleIds[RandomUtils.nextInt(0, possibleIds.length)];<a name="line.702"></a>
 <span class="sourceLineNo">703</span>        LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +<a name="line.703"></a>
 <span class="sourceLineNo">704</span>            " in table: " + tableName);<a name="line.704"></a>


[13/15] hbase-site git commit: Published site at .

Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/checkstyle.rss
----------------------------------------------------------------------
diff --git a/checkstyle.rss b/checkstyle.rss
index 272dead..f25f61d 100644
--- a/checkstyle.rss
+++ b/checkstyle.rss
@@ -25,8 +25,8 @@ under the License.
     <language>en-us</language>
     <copyright>&#169;2007 - 2018 The Apache Software Foundation</copyright>
     <item>
-      <title>File: 3471,
-             Errors: 18828,
+      <title>File: 3470,
+             Errors: 18827,
              Warnings: 0,
              Infos: 0
       </title>
@@ -2972,20 +2972,6 @@ under the License.
               </tr>
                           <tr>
                 <td>
-                  <a href="http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.io.LimitInputStream.java">org/apache/hadoop/hbase/io/LimitInputStream.java</a>
-                </td>
-                <td>
-                  0
-                </td>
-                <td>
-                  0
-                </td>
-                <td>
-                  0
-                </td>
-              </tr>
-                          <tr>
-                <td>
                   <a href="http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.quotas.QuotaSnapshotStore.java">org/apache/hadoop/hbase/quotas/QuotaSnapshotStore.java</a>
                 </td>
                 <td>
@@ -43707,7 +43693,7 @@ under the License.
                   0
                 </td>
                 <td>
-                  25
+                  24
                 </td>
               </tr>
                           <tr>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/coc.html
----------------------------------------------------------------------
diff --git a/coc.html b/coc.html
index 565a6fb..1822184 100644
--- a/coc.html
+++ b/coc.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; 
       Code of Conduct Policy
@@ -380,7 +380,7 @@ email to <a class="externalLink" href="mailto:private@hbase.apache.org">the priv
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/cygwin.html
----------------------------------------------------------------------
diff --git a/cygwin.html b/cygwin.html
index 352571e..4f8518b 100644
--- a/cygwin.html
+++ b/cygwin.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Installing Apache HBase (TM) on Windows using Cygwin</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -679,7 +679,7 @@ Now your <b>HBase </b>server is running, <b>start coding</b> and build that next
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/dependencies.html
----------------------------------------------------------------------
diff --git a/dependencies.html b/dependencies.html
index 8e57ed9..0349e9b 100644
--- a/dependencies.html
+++ b/dependencies.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Dependencies</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -445,7 +445,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/dependency-convergence.html
----------------------------------------------------------------------
diff --git a/dependency-convergence.html b/dependency-convergence.html
index 17e44e9..833ca89 100644
--- a/dependency-convergence.html
+++ b/dependency-convergence.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Reactor Dependency Convergence</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -1082,7 +1082,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/dependency-info.html
----------------------------------------------------------------------
diff --git a/dependency-info.html b/dependency-info.html
index 1c52d82..ebfd39e 100644
--- a/dependency-info.html
+++ b/dependency-info.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Dependency Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -318,7 +318,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/dependency-management.html
----------------------------------------------------------------------
diff --git a/dependency-management.html b/dependency-management.html
index fd149af..d86350c 100644
--- a/dependency-management.html
+++ b/dependency-management.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Dependency Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -980,7 +980,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/allclasses-frame.html
----------------------------------------------------------------------
diff --git a/devapidocs/allclasses-frame.html b/devapidocs/allclasses-frame.html
index 32a9b08..65f4a65 100644
--- a/devapidocs/allclasses-frame.html
+++ b/devapidocs/allclasses-frame.html
@@ -1295,7 +1295,6 @@
 <li><a href="org/apache/hadoop/hbase/regionserver/Leases.html" title="class in org.apache.hadoop.hbase.regionserver" target="classFrame">Leases</a></li>
 <li><a href="org/apache/hadoop/hbase/regionserver/Leases.Lease.html" title="class in org.apache.hadoop.hbase.regionserver" target="classFrame">Leases.Lease</a></li>
 <li><a href="org/apache/hadoop/hbase/regionserver/Leases.LeaseStillHeldException.html" title="class in org.apache.hadoop.hbase.regionserver" target="classFrame">Leases.LeaseStillHeldException</a></li>
-<li><a href="org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io" target="classFrame">LimitInputStream</a></li>
 <li><a href="org/apache/hadoop/hbase/master/LoadBalancer.html" title="interface in org.apache.hadoop.hbase.master" target="classFrame"><span class="interfaceName">LoadBalancer</span></a></li>
 <li><a href="org/apache/hadoop/hbase/master/balancer/LoadBalancerFactory.html" title="class in org.apache.hadoop.hbase.master.balancer" target="classFrame">LoadBalancerFactory</a></li>
 <li><a href="org/apache/hadoop/hbase/zookeeper/LoadBalancerTracker.html" title="class in org.apache.hadoop.hbase.zookeeper" target="classFrame">LoadBalancerTracker</a></li>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/allclasses-noframe.html
----------------------------------------------------------------------
diff --git a/devapidocs/allclasses-noframe.html b/devapidocs/allclasses-noframe.html
index 9b7973e..f7d9fbb 100644
--- a/devapidocs/allclasses-noframe.html
+++ b/devapidocs/allclasses-noframe.html
@@ -1295,7 +1295,6 @@
 <li><a href="org/apache/hadoop/hbase/regionserver/Leases.html" title="class in org.apache.hadoop.hbase.regionserver">Leases</a></li>
 <li><a href="org/apache/hadoop/hbase/regionserver/Leases.Lease.html" title="class in org.apache.hadoop.hbase.regionserver">Leases.Lease</a></li>
 <li><a href="org/apache/hadoop/hbase/regionserver/Leases.LeaseStillHeldException.html" title="class in org.apache.hadoop.hbase.regionserver">Leases.LeaseStillHeldException</a></li>
-<li><a href="org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io">LimitInputStream</a></li>
 <li><a href="org/apache/hadoop/hbase/master/LoadBalancer.html" title="interface in org.apache.hadoop.hbase.master"><span class="interfaceName">LoadBalancer</span></a></li>
 <li><a href="org/apache/hadoop/hbase/master/balancer/LoadBalancerFactory.html" title="class in org.apache.hadoop.hbase.master.balancer">LoadBalancerFactory</a></li>
 <li><a href="org/apache/hadoop/hbase/zookeeper/LoadBalancerTracker.html" title="class in org.apache.hadoop.hbase.zookeeper">LoadBalancerTracker</a></li>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/constant-values.html
----------------------------------------------------------------------
diff --git a/devapidocs/constant-values.html b/devapidocs/constant-values.html
index de2bfd5..4fca1e6 100644
--- a/devapidocs/constant-values.html
+++ b/devapidocs/constant-values.html
@@ -3747,21 +3747,21 @@
 <!--   -->
 </a><code>public&nbsp;static&nbsp;final&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td><code><a href="org/apache/hadoop/hbase/Version.html#date">date</a></code></td>
-<td class="colLast"><code>"Fri Jan  5 14:41:48 UTC 2018"</code></td>
+<td class="colLast"><code>"Sat Jan  6 14:41:47 UTC 2018"</code></td>
 </tr>
 <tr class="rowColor">
 <td class="colFirst"><a name="org.apache.hadoop.hbase.Version.revision">
 <!--   -->
 </a><code>public&nbsp;static&nbsp;final&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td><code><a href="org/apache/hadoop/hbase/Version.html#revision">revision</a></code></td>
-<td class="colLast"><code>"bff937a767ecb851a4ba312ece52b50b84df4976"</code></td>
+<td class="colLast"><code>"ea819d1733d94cd357177ca1070f5c80b0321d03"</code></td>
 </tr>
 <tr class="altColor">
 <td class="colFirst"><a name="org.apache.hadoop.hbase.Version.srcChecksum">
 <!--   -->
 </a><code>public&nbsp;static&nbsp;final&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td><code><a href="org/apache/hadoop/hbase/Version.html#srcChecksum">srcChecksum</a></code></td>
-<td class="colLast"><code>"68ad93939496b63a208df86484852629"</code></td>
+<td class="colLast"><code>"297ad4e2821241231a080aac1211b78c"</code></td>
 </tr>
 <tr class="rowColor">
 <td class="colFirst"><a name="org.apache.hadoop.hbase.Version.url">

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/index-all.html
----------------------------------------------------------------------
diff --git a/devapidocs/index-all.html b/devapidocs/index-all.html
index 362e93b..2b9cbeb 100644
--- a/devapidocs/index-all.html
+++ b/devapidocs/index-all.html
@@ -4444,8 +4444,6 @@
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/io/FileLink.FileLinkInputStream.html#available--">available()</a></span> - Method in class org.apache.hadoop.hbase.io.<a href="org/apache/hadoop/hbase/io/FileLink.FileLinkInputStream.html" title="class in org.apache.hadoop.hbase.io">FileLink.FileLinkInputStream</a></dt>
 <dd>&nbsp;</dd>
-<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/io/LimitInputStream.html#available--">available()</a></span> - Method in class org.apache.hadoop.hbase.io.<a href="org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io">LimitInputStream</a></dt>
-<dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/favored/FavoredNodeLoadBalancer.html#availableServersContains-java.util.List-org.apache.hadoop.hbase.ServerName-">availableServersContains(List&lt;ServerName&gt;, ServerName)</a></span> - Method in class org.apache.hadoop.hbase.favored.<a href="org/apache/hadoop/hbase/favored/FavoredNodeLoadBalancer.html" title="class in org.apache.hadoop.hbase.favored">FavoredNodeLoadBalancer</a></dt>
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/master/MetricsMasterSource.html#AVERAGE_LOAD_DESC">AVERAGE_LOAD_DESC</a></span> - Static variable in interface org.apache.hadoop.hbase.master.<a href="org/apache/hadoop/hbase/master/MetricsMasterSource.html" title="interface in org.apache.hadoop.hbase.master">MetricsMasterSource</a></dt>
@@ -64218,8 +64216,6 @@
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/master/AssignmentVerificationReport.html#leastLoadedRSSet">leastLoadedRSSet</a></span> - Variable in class org.apache.hadoop.hbase.master.<a href="org/apache/hadoop/hbase/master/AssignmentVerificationReport.html" title="class in org.apache.hadoop.hbase.master">AssignmentVerificationReport</a></dt>
 <dd>&nbsp;</dd>
-<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/io/LimitInputStream.html#left">left</a></span> - Variable in class org.apache.hadoop.hbase.io.<a href="org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io">LimitInputStream</a></dt>
-<dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/regionserver/querymatcher/StripeCompactionScanQueryMatcher.html#left--">left()</a></span> - Method in class org.apache.hadoop.hbase.regionserver.querymatcher.<a href="org/apache/hadoop/hbase/regionserver/querymatcher/StripeCompactionScanQueryMatcher.html" title="class in org.apache.hadoop.hbase.regionserver.querymatcher">StripeCompactionScanQueryMatcher</a></dt>
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/regionserver/StripeMultiFileWriter.SizeMultiWriter.html#left">left</a></span> - Variable in class org.apache.hadoop.hbase.regionserver.<a href="org/apache/hadoop/hbase/regionserver/StripeMultiFileWriter.SizeMultiWriter.html" title="class in org.apache.hadoop.hbase.regionserver">StripeMultiFileWriter.SizeMultiWriter</a></dt>
@@ -64398,13 +64394,6 @@
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/regionserver/ScannerContext.LimitFields.html#LimitFields-int-org.apache.hadoop.hbase.regionserver.ScannerContext.LimitScope-long-long-org.apache.hadoop.hbase.regionserver.ScannerContext.LimitScope-long-">LimitFields(int, ScannerContext.LimitScope, long, long, ScannerContext.LimitScope, long)</a></span> - Constructor for class org.apache.hadoop.hbase.regionserver.<a href="org/apache/hadoop/hbase/regionserver/ScannerContext.LimitFields.html" title="class in org.apache.hadoop.hbase.regionserver">ScannerContext.LimitFields</a></dt>
 <dd>&nbsp;</dd>
-<dt><a href="org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">LimitInputStream</span></a> - Class in <a href="org/apache/hadoop/hbase/io/package-summary.html">org.apache.hadoop.hbase.io</a></dt>
-<dd>
-<div class="block">Copied from guava source code v15 (LimitedInputStream)
- Guava deprecated LimitInputStream in v14 and removed it in v15.</div>
-</dd>
-<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/io/LimitInputStream.html#LimitInputStream-java.io.InputStream-long-">LimitInputStream(InputStream, long)</a></span> - Constructor for class org.apache.hadoop.hbase.io.<a href="org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io">LimitInputStream</a></dt>
-<dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/quotas/QuotaSettingsFactory.html#limitNamespaceSpace-java.lang.String-long-org.apache.hadoop.hbase.quotas.SpaceViolationPolicy-">limitNamespaceSpace(String, long, SpaceViolationPolicy)</a></span> - Static method in class org.apache.hadoop.hbase.quotas.<a href="org/apache/hadoop/hbase/quotas/QuotaSettingsFactory.html" title="class in org.apache.hadoop.hbase.quotas">QuotaSettingsFactory</a></dt>
 <dd>
 <div class="block">Creates a <a href="org/apache/hadoop/hbase/quotas/QuotaSettings.html" title="class in org.apache.hadoop.hbase.quotas"><code>QuotaSettings</code></a> object to limit the FileSystem space usage for the given
@@ -68544,10 +68533,6 @@
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/io/FileLink.FileLinkInputStream.html#mark-int-">mark(int)</a></span> - Method in class org.apache.hadoop.hbase.io.<a href="org/apache/hadoop/hbase/io/FileLink.FileLinkInputStream.html" title="class in org.apache.hadoop.hbase.io">FileLink.FileLinkInputStream</a></dt>
 <dd>&nbsp;</dd>
-<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/io/LimitInputStream.html#mark">mark</a></span> - Variable in class org.apache.hadoop.hbase.io.<a href="org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io">LimitInputStream</a></dt>
-<dd>&nbsp;</dd>
-<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/io/LimitInputStream.html#mark-int-">mark(int)</a></span> - Method in class org.apache.hadoop.hbase.io.<a href="org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io">LimitInputStream</a></dt>
-<dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/metrics/impl/DropwizardMeter.html#mark--">mark()</a></span> - Method in class org.apache.hadoop.hbase.metrics.impl.<a href="org/apache/hadoop/hbase/metrics/impl/DropwizardMeter.html" title="class in org.apache.hadoop.hbase.metrics.impl">DropwizardMeter</a></dt>
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/metrics/impl/DropwizardMeter.html#mark-long-">mark(long)</a></span> - Method in class org.apache.hadoop.hbase.metrics.impl.<a href="org/apache/hadoop/hbase/metrics/impl/DropwizardMeter.html" title="class in org.apache.hadoop.hbase.metrics.impl">DropwizardMeter</a></dt>
@@ -85006,10 +84991,6 @@ service.</div>
 <dd>
 <div class="block">Populate this instance with what we find on the passed in <code>in</code> stream.</div>
 </dd>
-<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/io/LimitInputStream.html#read--">read()</a></span> - Method in class org.apache.hadoop.hbase.io.<a href="org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io">LimitInputStream</a></dt>
-<dd>&nbsp;</dd>
-<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/io/LimitInputStream.html#read-byte:A-int-int-">read(byte[], int, int)</a></span> - Method in class org.apache.hadoop.hbase.io.<a href="org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io">LimitInputStream</a></dt>
-<dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/io/Reference.html#read-org.apache.hadoop.fs.FileSystem-org.apache.hadoop.fs.Path-">read(FileSystem, Path)</a></span> - Static method in class org.apache.hadoop.hbase.io.<a href="org/apache/hadoop/hbase/io/Reference.html" title="class in org.apache.hadoop.hbase.io">Reference</a></dt>
 <dd>
 <div class="block">Read a Reference from FileSystem.</div>
@@ -90790,8 +90771,6 @@ service.</div>
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.HFileScannerImpl.html#reset--">reset()</a></span> - Method in class org.apache.hadoop.hbase.io.hfile.<a href="org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.HFileScannerImpl.html" title="class in org.apache.hadoop.hbase.io.hfile">HFileReaderImpl.HFileScannerImpl</a></dt>
 <dd>&nbsp;</dd>
-<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/io/LimitInputStream.html#reset--">reset()</a></span> - Method in class org.apache.hadoop.hbase.io.<a href="org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io">LimitInputStream</a></dt>
-<dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/ipc/DelegatingHBaseRpcController.html#reset--">reset()</a></span> - Method in class org.apache.hadoop.hbase.ipc.<a href="org/apache/hadoop/hbase/ipc/DelegatingHBaseRpcController.html" title="class in org.apache.hadoop.hbase.ipc">DelegatingHBaseRpcController</a></dt>
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/ipc/HBaseRpcControllerImpl.html#reset--">reset()</a></span> - Method in class org.apache.hadoop.hbase.ipc.<a href="org/apache/hadoop/hbase/ipc/HBaseRpcControllerImpl.html" title="class in org.apache.hadoop.hbase.ipc">HBaseRpcControllerImpl</a></dt>
@@ -102706,8 +102685,6 @@ service.</div>
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/io/FileLink.FileLinkInputStream.html#skip-long-">skip(long)</a></span> - Method in class org.apache.hadoop.hbase.io.<a href="org/apache/hadoop/hbase/io/FileLink.FileLinkInputStream.html" title="class in org.apache.hadoop.hbase.io">FileLink.FileLinkInputStream</a></dt>
 <dd>&nbsp;</dd>
-<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/io/LimitInputStream.html#skip-long-">skip(long)</a></span> - Method in class org.apache.hadoop.hbase.io.<a href="org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io">LimitInputStream</a></dt>
-<dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/nio/ByteBuff.html#skip-int-">skip(int)</a></span> - Method in class org.apache.hadoop.hbase.nio.<a href="org/apache/hadoop/hbase/nio/ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></dt>
 <dd>
 <div class="block">Jumps the current position of this ByteBuff by specified length.</div>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/backup/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/backup/package-tree.html b/devapidocs/org/apache/hadoop/hbase/backup/package-tree.html
index fb3d1c4..4d93b7f 100644
--- a/devapidocs/org/apache/hadoop/hbase/backup/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/backup/package-tree.html
@@ -168,9 +168,9 @@
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.backup.<a href="../../../../../org/apache/hadoop/hbase/backup/BackupInfo.BackupPhase.html" title="enum in org.apache.hadoop.hbase.backup"><span class="typeNameLink">BackupInfo.BackupPhase</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.backup.<a href="../../../../../org/apache/hadoop/hbase/backup/BackupRestoreConstants.BackupCommand.html" title="enum in org.apache.hadoop.hbase.backup"><span class="typeNameLink">BackupRestoreConstants.BackupCommand</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.backup.<a href="../../../../../org/apache/hadoop/hbase/backup/BackupType.html" title="enum in org.apache.hadoop.hbase.backup"><span class="typeNameLink">BackupType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.backup.<a href="../../../../../org/apache/hadoop/hbase/backup/BackupInfo.BackupState.html" title="enum in org.apache.hadoop.hbase.backup"><span class="typeNameLink">BackupInfo.BackupState</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.backup.<a href="../../../../../org/apache/hadoop/hbase/backup/BackupType.html" title="enum in org.apache.hadoop.hbase.backup"><span class="typeNameLink">BackupType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.backup.<a href="../../../../../org/apache/hadoop/hbase/backup/BackupRestoreConstants.BackupCommand.html" title="enum in org.apache.hadoop.hbase.backup"><span class="typeNameLink">BackupRestoreConstants.BackupCommand</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/client/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/client/package-tree.html b/devapidocs/org/apache/hadoop/hbase/client/package-tree.html
index 02662f4..c8595b6 100644
--- a/devapidocs/org/apache/hadoop/hbase/client/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/client/package-tree.html
@@ -545,24 +545,24 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.client.<a href="../../../../../org/apache/hadoop/hbase/client/IsolationLevel.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">IsolationLevel</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/CompactionState.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">CompactionState</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/AsyncScanSingleRegionRpcRetryingCaller.ScanResumerState.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">AsyncScanSingleRegionRpcRetryingCaller.ScanResumerState</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/MobCompactPartitionPolicy.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">MobCompactPartitionPolicy</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/SnapshotType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">SnapshotType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/Consistency.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">Consistency</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/AsyncScanSingleRegionRpcRetryingCaller.ScanControllerState.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">AsyncScanSingleRegionRpcRetryingCaller.ScanControllerState</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/ScannerCallable.MoreResults.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">ScannerCallable.MoreResults</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/TableState.State.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">TableState.State</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/Scan.ReadType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">Scan.ReadType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/RequestController.ReturnCode.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">RequestController.ReturnCode</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/MasterSwitchType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">MasterSwitchType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/AsyncRequestFutureImpl.Retry.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">AsyncRequestFutureImpl.Retry</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/AbstractResponse.ResponseType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">AbstractResponse.ResponseType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/ScannerCallable.MoreResults.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">ScannerCallable.MoreResults</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/Consistency.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">Consistency</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/MobCompactPartitionPolicy.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">MobCompactPartitionPolicy</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/SnapshotType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">SnapshotType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/IsolationLevel.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">IsolationLevel</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/Durability.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">Durability</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/AsyncProcessTask.SubmittedRows.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">AsyncProcessTask.SubmittedRows</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/AsyncScanSingleRegionRpcRetryingCaller.ScanResumerState.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">AsyncScanSingleRegionRpcRetryingCaller.ScanResumerState</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/CompactionState.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">CompactionState</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/CompactType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">CompactType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/Scan.ReadType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">Scan.ReadType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/RegionLocateType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">RegionLocateType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/TableState.State.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">TableState.State</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/MasterSwitchType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">MasterSwitchType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/AsyncProcessTask.SubmittedRows.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">AsyncProcessTask.SubmittedRows</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/AbstractResponse.ResponseType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">AbstractResponse.ResponseType</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/executor/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/executor/package-tree.html b/devapidocs/org/apache/hadoop/hbase/executor/package-tree.html
index 49ed276..4b68db2 100644
--- a/devapidocs/org/apache/hadoop/hbase/executor/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/executor/package-tree.html
@@ -104,8 +104,8 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.executor.<a href="../../../../../org/apache/hadoop/hbase/executor/ExecutorType.html" title="enum in org.apache.hadoop.hbase.executor"><span class="typeNameLink">ExecutorType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.executor.<a href="../../../../../org/apache/hadoop/hbase/executor/EventType.html" title="enum in org.apache.hadoop.hbase.executor"><span class="typeNameLink">EventType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.executor.<a href="../../../../../org/apache/hadoop/hbase/executor/ExecutorType.html" title="enum in org.apache.hadoop.hbase.executor"><span class="typeNameLink">ExecutorType</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/filter/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/filter/package-tree.html b/devapidocs/org/apache/hadoop/hbase/filter/package-tree.html
index 4e84e41..b00ea9a 100644
--- a/devapidocs/org/apache/hadoop/hbase/filter/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/filter/package-tree.html
@@ -182,14 +182,14 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/RegexStringComparator.EngineType.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">RegexStringComparator.EngineType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/CompareFilter.CompareOp.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">CompareFilter.CompareOp</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/BitComparator.BitwiseOp.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">BitComparator.BitwiseOp</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/FilterWrapper.FilterRowRetCode.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">FilterWrapper.FilterRowRetCode</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/RegexStringComparator.EngineType.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">RegexStringComparator.EngineType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/FuzzyRowFilter.SatisfiesCode.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">FuzzyRowFilter.SatisfiesCode</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/FuzzyRowFilter.Order.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">FuzzyRowFilter.Order</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/FilterList.Operator.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">FilterList.Operator</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">Filter.ReturnCode</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/FilterList.Operator.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">FilterList.Operator</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/BitComparator.BitwiseOp.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">BitComparator.BitwiseOp</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/FuzzyRowFilter.Order.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">FuzzyRowFilter.Order</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.filter.<a href="../../../../../org/apache/hadoop/hbase/filter/CompareFilter.CompareOp.html" title="enum in org.apache.hadoop.hbase.filter"><span class="typeNameLink">CompareFilter.CompareOp</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/io/ImmutableBytesWritable.Comparator.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/io/ImmutableBytesWritable.Comparator.html b/devapidocs/org/apache/hadoop/hbase/io/ImmutableBytesWritable.Comparator.html
index 15dcbd4..235ee8e 100644
--- a/devapidocs/org/apache/hadoop/hbase/io/ImmutableBytesWritable.Comparator.html
+++ b/devapidocs/org/apache/hadoop/hbase/io/ImmutableBytesWritable.Comparator.html
@@ -50,7 +50,7 @@ var activeTableTab = "activeTableTab";
 <div class="subNav">
 <ul class="navList">
 <li><a href="../../../../../org/apache/hadoop/hbase/io/ImmutableBytesWritable.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
-<li><a href="../../../../../org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+<li><a href="../../../../../org/apache/hadoop/hbase/io/MetricsIO.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
 </ul>
 <ul class="navList">
 <li><a href="../../../../../index.html?org/apache/hadoop/hbase/io/ImmutableBytesWritable.Comparator.html" target="_top">Frames</a></li>
@@ -313,7 +313,7 @@ extends org.apache.hadoop.io.WritableComparator</pre>
 <div class="subNav">
 <ul class="navList">
 <li><a href="../../../../../org/apache/hadoop/hbase/io/ImmutableBytesWritable.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
-<li><a href="../../../../../org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+<li><a href="../../../../../org/apache/hadoop/hbase/io/MetricsIO.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
 </ul>
 <ul class="navList">
 <li><a href="../../../../../index.html?org/apache/hadoop/hbase/io/ImmutableBytesWritable.Comparator.html" target="_top">Frames</a></li>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/io/LimitInputStream.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/io/LimitInputStream.html b/devapidocs/org/apache/hadoop/hbase/io/LimitInputStream.html
deleted file mode 100644
index aefac59..0000000
--- a/devapidocs/org/apache/hadoop/hbase/io/LimitInputStream.html
+++ /dev/null
@@ -1,463 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!-- NewPage -->
-<html lang="en">
-<head>
-<!-- Generated by javadoc -->
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>LimitInputStream (Apache HBase 3.0.0-SNAPSHOT API)</title>
-<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
-<script type="text/javascript" src="../../../../../script.js"></script>
-</head>
-<body>
-<script type="text/javascript"><!--
-    try {
-        if (location.href.indexOf('is-external=true') == -1) {
-            parent.document.title="LimitInputStream (Apache HBase 3.0.0-SNAPSHOT API)";
-        }
-    }
-    catch(err) {
-    }
-//-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
-var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
-var altColor = "altColor";
-var rowColor = "rowColor";
-var tableTab = "tableTab";
-var activeTableTab = "activeTableTab";
-</script>
-<noscript>
-<div>JavaScript is disabled on your browser.</div>
-</noscript>
-<!-- ========= START OF TOP NAVBAR ======= -->
-<div class="topNav"><a name="navbar.top">
-<!--   -->
-</a>
-<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
-<a name="navbar.top.firstrow">
-<!--   -->
-</a>
-<ul class="navList" title="Navigation">
-<li><a href="../../../../../overview-summary.html">Overview</a></li>
-<li><a href="package-summary.html">Package</a></li>
-<li class="navBarCell1Rev">Class</li>
-<li><a href="class-use/LimitInputStream.html">Use</a></li>
-<li><a href="package-tree.html">Tree</a></li>
-<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
-<li><a href="../../../../../index-all.html">Index</a></li>
-<li><a href="../../../../../help-doc.html">Help</a></li>
-</ul>
-</div>
-<div class="subNav">
-<ul class="navList">
-<li><a href="../../../../../org/apache/hadoop/hbase/io/ImmutableBytesWritable.Comparator.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
-<li><a href="../../../../../org/apache/hadoop/hbase/io/MetricsIO.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
-</ul>
-<ul class="navList">
-<li><a href="../../../../../index.html?org/apache/hadoop/hbase/io/LimitInputStream.html" target="_top">Frames</a></li>
-<li><a href="LimitInputStream.html" target="_top">No&nbsp;Frames</a></li>
-</ul>
-<ul class="navList" id="allclasses_navbar_top">
-<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
-</ul>
-<div>
-<script type="text/javascript"><!--
-  allClassesLink = document.getElementById("allclasses_navbar_top");
-  if(window==top) {
-    allClassesLink.style.display = "block";
-  }
-  else {
-    allClassesLink.style.display = "none";
-  }
-  //-->
-</script>
-</div>
-<div>
-<ul class="subNavList">
-<li>Summary:&nbsp;</li>
-<li>Nested&nbsp;|&nbsp;</li>
-<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
-<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
-<li><a href="#method.summary">Method</a></li>
-</ul>
-<ul class="subNavList">
-<li>Detail:&nbsp;</li>
-<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
-<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
-<li><a href="#method.detail">Method</a></li>
-</ul>
-</div>
-<a name="skip.navbar.top">
-<!--   -->
-</a></div>
-<!-- ========= END OF TOP NAVBAR ========= -->
-<!-- ======== START OF CLASS DATA ======== -->
-<div class="header">
-<div class="subTitle">org.apache.hadoop.hbase.io</div>
-<h2 title="Class LimitInputStream" class="title">Class LimitInputStream</h2>
-</div>
-<div class="contentContainer">
-<ul class="inheritance">
-<li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
-<li>
-<ul class="inheritance">
-<li><a href="http://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">java.io.InputStream</a></li>
-<li>
-<ul class="inheritance">
-<li><a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io">java.io.FilterInputStream</a></li>
-<li>
-<ul class="inheritance">
-<li>org.apache.hadoop.hbase.io.LimitInputStream</li>
-</ul>
-</li>
-</ul>
-</li>
-</ul>
-</li>
-</ul>
-<div class="description">
-<ul class="blockList">
-<li class="blockList">
-<dl>
-<dt>All Implemented Interfaces:</dt>
-<dd><a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></dd>
-</dl>
-<hr>
-<br>
-<pre>@InterfaceAudience.Private
-public final class <a href="../../../../../src-html/org/apache/hadoop/hbase/io/LimitInputStream.html#line.35">LimitInputStream</a>
-extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io">FilterInputStream</a></pre>
-<div class="block">Copied from guava source code v15 (LimitedInputStream)
- Guava deprecated LimitInputStream in v14 and removed it in v15. Copying this class here
- allows to be compatible with guava 11 to 15+.</div>
-</li>
-</ul>
-</div>
-<div class="summary">
-<ul class="blockList">
-<li class="blockList">
-<!-- =========== FIELD SUMMARY =========== -->
-<ul class="blockList">
-<li class="blockList"><a name="field.summary">
-<!--   -->
-</a>
-<h3>Field Summary</h3>
-<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
-<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
-<tr>
-<th class="colFirst" scope="col">Modifier and Type</th>
-<th class="colLast" scope="col">Field and Description</th>
-</tr>
-<tr class="altColor">
-<td class="colFirst"><code>private long</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/io/LimitInputStream.html#left">left</a></span></code>&nbsp;</td>
-</tr>
-<tr class="rowColor">
-<td class="colFirst"><code>private long</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/io/LimitInputStream.html#mark">mark</a></span></code>&nbsp;</td>
-</tr>
-</table>
-<ul class="blockList">
-<li class="blockList"><a name="fields.inherited.from.class.java.io.FilterInputStream">
-<!--   -->
-</a>
-<h3>Fields inherited from class&nbsp;java.io.<a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io">FilterInputStream</a></h3>
-<code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true#in" title="class or interface in java.io">in</a></code></li>
-</ul>
-</li>
-</ul>
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-<ul class="blockList">
-<li class="blockList"><a name="constructor.summary">
-<!--   -->
-</a>
-<h3>Constructor Summary</h3>
-<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
-<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
-<tr>
-<th class="colOne" scope="col">Constructor and Description</th>
-</tr>
-<tr class="altColor">
-<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/io/LimitInputStream.html#LimitInputStream-java.io.InputStream-long-">LimitInputStream</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;in,
-                long&nbsp;limit)</code>&nbsp;</td>
-</tr>
-</table>
-</li>
-</ul>
-<!-- ========== METHOD SUMMARY =========== -->
-<ul class="blockList">
-<li class="blockList"><a name="method.summary">
-<!--   -->
-</a>
-<h3>Method Summary</h3>
-<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
-<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
-<tr>
-<th class="colFirst" scope="col">Modifier and Type</th>
-<th class="colLast" scope="col">Method and Description</th>
-</tr>
-<tr id="i0" class="altColor">
-<td class="colFirst"><code>int</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/io/LimitInputStream.html#available--">available</a></span>()</code>&nbsp;</td>
-</tr>
-<tr id="i1" class="rowColor">
-<td class="colFirst"><code>void</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/io/LimitInputStream.html#mark-int-">mark</a></span>(int&nbsp;readLimit)</code>&nbsp;</td>
-</tr>
-<tr id="i2" class="altColor">
-<td class="colFirst"><code>int</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/io/LimitInputStream.html#read--">read</a></span>()</code>&nbsp;</td>
-</tr>
-<tr id="i3" class="rowColor">
-<td class="colFirst"><code>int</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/io/LimitInputStream.html#read-byte:A-int-int-">read</a></span>(byte[]&nbsp;b,
-    int&nbsp;off,
-    int&nbsp;len)</code>&nbsp;</td>
-</tr>
-<tr id="i4" class="altColor">
-<td class="colFirst"><code>void</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/io/LimitInputStream.html#reset--">reset</a></span>()</code>&nbsp;</td>
-</tr>
-<tr id="i5" class="rowColor">
-<td class="colFirst"><code>long</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/io/LimitInputStream.html#skip-long-">skip</a></span>(long&nbsp;n)</code>&nbsp;</td>
-</tr>
-</table>
-<ul class="blockList">
-<li class="blockList"><a name="methods.inherited.from.class.java.io.FilterInputStream">
-<!--   -->
-</a>
-<h3>Methods inherited from class&nbsp;java.io.<a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io">FilterInputStream</a></h3>
-<code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true#close--" title="class or interface in java.io">close</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true#markSupported--" title="class or interface in java.io">markSupported</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true#read-byte:A-" title="class or interface in java.io">read</a></code></li>
-</ul>
-<ul class="blockList">
-<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
-<!--   -->
-</a>
-<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
-<code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang
 /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
-</ul>
-</li>
-</ul>
-</li>
-</ul>
-</div>
-<div class="details">
-<ul class="blockList">
-<li class="blockList">
-<!-- ============ FIELD DETAIL =========== -->
-<ul class="blockList">
-<li class="blockList"><a name="field.detail">
-<!--   -->
-</a>
-<h3>Field Detail</h3>
-<a name="left">
-<!--   -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>left</h4>
-<pre>private&nbsp;long <a href="../../../../../src-html/org/apache/hadoop/hbase/io/LimitInputStream.html#line.36">left</a></pre>
-</li>
-</ul>
-<a name="mark">
-<!--   -->
-</a>
-<ul class="blockListLast">
-<li class="blockList">
-<h4>mark</h4>
-<pre>private&nbsp;long <a href="../../../../../src-html/org/apache/hadoop/hbase/io/LimitInputStream.html#line.37">mark</a></pre>
-</li>
-</ul>
-</li>
-</ul>
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-<ul class="blockList">
-<li class="blockList"><a name="constructor.detail">
-<!--   -->
-</a>
-<h3>Constructor Detail</h3>
-<a name="LimitInputStream-java.io.InputStream-long-">
-<!--   -->
-</a>
-<ul class="blockListLast">
-<li class="blockList">
-<h4>LimitInputStream</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/io/LimitInputStream.html#line.39">LimitInputStream</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;in,
-                        long&nbsp;limit)</pre>
-</li>
-</ul>
-</li>
-</ul>
-<!-- ============ METHOD DETAIL ========== -->
-<ul class="blockList">
-<li class="blockList"><a name="method.detail">
-<!--   -->
-</a>
-<h3>Method Detail</h3>
-<a name="available--">
-<!--   -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>available</h4>
-<pre>public&nbsp;int&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/io/LimitInputStream.html#line.47">available</a>()
-              throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
-<dl>
-<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
-<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true#available--" title="class or interface in java.io">available</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io">FilterInputStream</a></code></dd>
-<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="http://docs.oracle.com/javase/8/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="mark-int-">
-<!--   -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>mark</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/io/LimitInputStream.html#line.53">mark</a>(int&nbsp;readLimit)</pre>
-<dl>
-<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
-<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true#mark-int-" title="class or interface in java.io">mark</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io">FilterInputStream</a></code></dd>
-</dl>
-</li>
-</ul>
-<a name="read--">
-<!--   -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>read</h4>
-<pre>public&nbsp;int&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/io/LimitInputStream.html#line.59">read</a>()
-         throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
-<dl>
-<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
-<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true#read--" title="class or interface in java.io">read</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io">FilterInputStream</a></code></dd>
-<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="http://docs.oracle.com/javase/8/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="read-byte:A-int-int-">
-<!--   -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>read</h4>
-<pre>public&nbsp;int&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/io/LimitInputStream.html#line.72">read</a>(byte[]&nbsp;b,
-                int&nbsp;off,
-                int&nbsp;len)
-         throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
-<dl>
-<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
-<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true#read-byte:A-int-int-" title="class or interface in java.io">read</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io">FilterInputStream</a></code></dd>
-<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="http://docs.oracle.com/javase/8/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="reset--">
-<!--   -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>reset</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/io/LimitInputStream.html#line.86">reset</a>()
-           throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
-<dl>
-<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
-<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true#reset--" title="class or interface in java.io">reset</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io">FilterInputStream</a></code></dd>
-<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="http://docs.oracle.com/javase/8/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="skip-long-">
-<!--   -->
-</a>
-<ul class="blockListLast">
-<li class="blockList">
-<h4>skip</h4>
-<pre>public&nbsp;long&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/io/LimitInputStream.html#line.99">skip</a>(long&nbsp;n)
-          throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
-<dl>
-<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
-<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true#skip-long-" title="class or interface in java.io">skip</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io">FilterInputStream</a></code></dd>
-<dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
-</dl>
-</li>
-</ul>
-</li>
-</ul>
-</li>
-</ul>
-</div>
-</div>
-<!-- ========= END OF CLASS DATA ========= -->
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<div class="bottomNav"><a name="navbar.bottom">
-<!--   -->
-</a>
-<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
-<a name="navbar.bottom.firstrow">
-<!--   -->
-</a>
-<ul class="navList" title="Navigation">
-<li><a href="../../../../../overview-summary.html">Overview</a></li>
-<li><a href="package-summary.html">Package</a></li>
-<li class="navBarCell1Rev">Class</li>
-<li><a href="class-use/LimitInputStream.html">Use</a></li>
-<li><a href="package-tree.html">Tree</a></li>
-<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
-<li><a href="../../../../../index-all.html">Index</a></li>
-<li><a href="../../../../../help-doc.html">Help</a></li>
-</ul>
-</div>
-<div class="subNav">
-<ul class="navList">
-<li><a href="../../../../../org/apache/hadoop/hbase/io/ImmutableBytesWritable.Comparator.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
-<li><a href="../../../../../org/apache/hadoop/hbase/io/MetricsIO.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
-</ul>
-<ul class="navList">
-<li><a href="../../../../../index.html?org/apache/hadoop/hbase/io/LimitInputStream.html" target="_top">Frames</a></li>
-<li><a href="LimitInputStream.html" target="_top">No&nbsp;Frames</a></li>
-</ul>
-<ul class="navList" id="allclasses_navbar_bottom">
-<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
-</ul>
-<div>
-<script type="text/javascript"><!--
-  allClassesLink = document.getElementById("allclasses_navbar_bottom");
-  if(window==top) {
-    allClassesLink.style.display = "block";
-  }
-  else {
-    allClassesLink.style.display = "none";
-  }
-  //-->
-</script>
-</div>
-<div>
-<ul class="subNavList">
-<li>Summary:&nbsp;</li>
-<li>Nested&nbsp;|&nbsp;</li>
-<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
-<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
-<li><a href="#method.summary">Method</a></li>
-</ul>
-<ul class="subNavList">
-<li>Detail:&nbsp;</li>
-<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
-<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
-<li><a href="#method.detail">Method</a></li>
-</ul>
-</div>
-<a name="skip.navbar.bottom">
-<!--   -->
-</a></div>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-<p class="legalCopy"><small>Copyright &#169; 2007&#x2013;2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/io/MetricsIO.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/io/MetricsIO.html b/devapidocs/org/apache/hadoop/hbase/io/MetricsIO.html
index 58dd7ec..aa21e9e 100644
--- a/devapidocs/org/apache/hadoop/hbase/io/MetricsIO.html
+++ b/devapidocs/org/apache/hadoop/hbase/io/MetricsIO.html
@@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab";
 </div>
 <div class="subNav">
 <ul class="navList">
-<li><a href="../../../../../org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../../org/apache/hadoop/hbase/io/ImmutableBytesWritable.Comparator.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
 <li><a href="../../../../../org/apache/hadoop/hbase/io/MetricsIOSource.html" title="interface in org.apache.hadoop.hbase.io"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
 </ul>
 <ul class="navList">
@@ -341,7 +341,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 </div>
 <div class="subNav">
 <ul class="navList">
-<li><a href="../../../../../org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../../org/apache/hadoop/hbase/io/ImmutableBytesWritable.Comparator.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
 <li><a href="../../../../../org/apache/hadoop/hbase/io/MetricsIOSource.html" title="interface in org.apache.hadoop.hbase.io"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
 </ul>
 <ul class="navList">

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/io/class-use/LimitInputStream.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/io/class-use/LimitInputStream.html b/devapidocs/org/apache/hadoop/hbase/io/class-use/LimitInputStream.html
deleted file mode 100644
index 733254a..0000000
--- a/devapidocs/org/apache/hadoop/hbase/io/class-use/LimitInputStream.html
+++ /dev/null
@@ -1,125 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!-- NewPage -->
-<html lang="en">
-<head>
-<!-- Generated by javadoc -->
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Uses of Class org.apache.hadoop.hbase.io.LimitInputStream (Apache HBase 3.0.0-SNAPSHOT API)</title>
-<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
-<script type="text/javascript" src="../../../../../../script.js"></script>
-</head>
-<body>
-<script type="text/javascript"><!--
-    try {
-        if (location.href.indexOf('is-external=true') == -1) {
-            parent.document.title="Uses of Class org.apache.hadoop.hbase.io.LimitInputStream (Apache HBase 3.0.0-SNAPSHOT API)";
-        }
-    }
-    catch(err) {
-    }
-//-->
-</script>
-<noscript>
-<div>JavaScript is disabled on your browser.</div>
-</noscript>
-<!-- ========= START OF TOP NAVBAR ======= -->
-<div class="topNav"><a name="navbar.top">
-<!--   -->
-</a>
-<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
-<a name="navbar.top.firstrow">
-<!--   -->
-</a>
-<ul class="navList" title="Navigation">
-<li><a href="../../../../../../overview-summary.html">Overview</a></li>
-<li><a href="../package-summary.html">Package</a></li>
-<li><a href="../../../../../../org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io">Class</a></li>
-<li class="navBarCell1Rev">Use</li>
-<li><a href="../../../../../../overview-tree.html">Tree</a></li>
-<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
-<li><a href="../../../../../../index-all.html">Index</a></li>
-<li><a href="../../../../../../help-doc.html">Help</a></li>
-</ul>
-</div>
-<div class="subNav">
-<ul class="navList">
-<li>Prev</li>
-<li>Next</li>
-</ul>
-<ul class="navList">
-<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/io/class-use/LimitInputStream.html" target="_top">Frames</a></li>
-<li><a href="LimitInputStream.html" target="_top">No&nbsp;Frames</a></li>
-</ul>
-<ul class="navList" id="allclasses_navbar_top">
-<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
-</ul>
-<div>
-<script type="text/javascript"><!--
-  allClassesLink = document.getElementById("allclasses_navbar_top");
-  if(window==top) {
-    allClassesLink.style.display = "block";
-  }
-  else {
-    allClassesLink.style.display = "none";
-  }
-  //-->
-</script>
-</div>
-<a name="skip.navbar.top">
-<!--   -->
-</a></div>
-<!-- ========= END OF TOP NAVBAR ========= -->
-<div class="header">
-<h2 title="Uses of Class org.apache.hadoop.hbase.io.LimitInputStream" class="title">Uses of Class<br>org.apache.hadoop.hbase.io.LimitInputStream</h2>
-</div>
-<div class="classUseContainer">No usage of org.apache.hadoop.hbase.io.LimitInputStream</div>
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<div class="bottomNav"><a name="navbar.bottom">
-<!--   -->
-</a>
-<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
-<a name="navbar.bottom.firstrow">
-<!--   -->
-</a>
-<ul class="navList" title="Navigation">
-<li><a href="../../../../../../overview-summary.html">Overview</a></li>
-<li><a href="../package-summary.html">Package</a></li>
-<li><a href="../../../../../../org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io">Class</a></li>
-<li class="navBarCell1Rev">Use</li>
-<li><a href="../../../../../../overview-tree.html">Tree</a></li>
-<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
-<li><a href="../../../../../../index-all.html">Index</a></li>
-<li><a href="../../../../../../help-doc.html">Help</a></li>
-</ul>
-</div>
-<div class="subNav">
-<ul class="navList">
-<li>Prev</li>
-<li>Next</li>
-</ul>
-<ul class="navList">
-<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/io/class-use/LimitInputStream.html" target="_top">Frames</a></li>
-<li><a href="LimitInputStream.html" target="_top">No&nbsp;Frames</a></li>
-</ul>
-<ul class="navList" id="allclasses_navbar_bottom">
-<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
-</ul>
-<div>
-<script type="text/javascript"><!--
-  allClassesLink = document.getElementById("allclasses_navbar_bottom");
-  if(window==top) {
-    allClassesLink.style.display = "block";
-  }
-  else {
-    allClassesLink.style.display = "none";
-  }
-  //-->
-</script>
-</div>
-<a name="skip.navbar.bottom">
-<!--   -->
-</a></div>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-<p class="legalCopy"><small>Copyright &#169; 2007&#x2013;2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html b/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html
index 3e01dec..10215a6 100644
--- a/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html
@@ -273,12 +273,12 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.BlockCategory.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">BlockType.BlockCategory</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">BlockType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.State.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">HFileBlock.Writer.State</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.ExternalBlockCaches.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">CacheConfig.ExternalBlockCaches</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/Cacheable.MemoryType.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">Cacheable.MemoryType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockPriority.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">BlockPriority</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/Cacheable.MemoryType.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">Cacheable.MemoryType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.ExternalBlockCaches.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">CacheConfig.ExternalBlockCaches</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.State.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">HFileBlock.Writer.State</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">BlockType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.io.hfile.<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.BlockCategory.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">BlockType.BlockCategory</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/io/package-frame.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/io/package-frame.html b/devapidocs/org/apache/hadoop/hbase/io/package-frame.html
index b2b6279..bde549a 100644
--- a/devapidocs/org/apache/hadoop/hbase/io/package-frame.html
+++ b/devapidocs/org/apache/hadoop/hbase/io/package-frame.html
@@ -38,7 +38,6 @@
 <li><a href="HFileLink.html" title="class in org.apache.hadoop.hbase.io" target="classFrame">HFileLink</a></li>
 <li><a href="ImmutableBytesWritable.html" title="class in org.apache.hadoop.hbase.io" target="classFrame">ImmutableBytesWritable</a></li>
 <li><a href="ImmutableBytesWritable.Comparator.html" title="class in org.apache.hadoop.hbase.io" target="classFrame">ImmutableBytesWritable.Comparator</a></li>
-<li><a href="LimitInputStream.html" title="class in org.apache.hadoop.hbase.io" target="classFrame">LimitInputStream</a></li>
 <li><a href="MetricsIO.html" title="class in org.apache.hadoop.hbase.io" target="classFrame">MetricsIO</a></li>
 <li><a href="MetricsIOSourceImpl.html" title="class in org.apache.hadoop.hbase.io" target="classFrame">MetricsIOSourceImpl</a></li>
 <li><a href="MetricsIOWrapperImpl.html" title="class in org.apache.hadoop.hbase.io" target="classFrame">MetricsIOWrapperImpl</a></li>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/io/package-summary.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/io/package-summary.html b/devapidocs/org/apache/hadoop/hbase/io/package-summary.html
index 14e2fce..585b09c 100644
--- a/devapidocs/org/apache/hadoop/hbase/io/package-summary.html
+++ b/devapidocs/org/apache/hadoop/hbase/io/package-summary.html
@@ -228,25 +228,18 @@
 </td>
 </tr>
 <tr class="rowColor">
-<td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io">LimitInputStream</a></td>
-<td class="colLast">
-<div class="block">Copied from guava source code v15 (LimitedInputStream)
- Guava deprecated LimitInputStream in v14 and removed it in v15.</div>
-</td>
-</tr>
-<tr class="altColor">
 <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/io/MetricsIO.html" title="class in org.apache.hadoop.hbase.io">MetricsIO</a></td>
 <td class="colLast">&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/io/MetricsIOSourceImpl.html" title="class in org.apache.hadoop.hbase.io">MetricsIOSourceImpl</a></td>
 <td class="colLast">&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/io/MetricsIOWrapperImpl.html" title="class in org.apache.hadoop.hbase.io">MetricsIOWrapperImpl</a></td>
 <td class="colLast">&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/io/Reference.html" title="class in org.apache.hadoop.hbase.io">Reference</a></td>
 <td class="colLast">
 <div class="block">A reference to the top or bottom half of a store file where 'bottom' is the first half
@@ -254,19 +247,19 @@
  of the file with keys that sort greater than those of the bottom half.</div>
 </td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/io/TagCompressionContext.html" title="class in org.apache.hadoop.hbase.io">TagCompressionContext</a></td>
 <td class="colLast">
 <div class="block">Context that holds the dictionary for Tag compression and doing the compress/uncompress.</div>
 </td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/io/TimeRange.html" title="class in org.apache.hadoop.hbase.io">TimeRange</a></td>
 <td class="colLast">
 <div class="block">Represents an interval of version timestamps.</div>
 </td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><a href="../../../../../org/apache/hadoop/hbase/io/WALLink.html" title="class in org.apache.hadoop.hbase.io">WALLink</a></td>
 <td class="colLast">
 <div class="block">WALLink describes a link to a WAL.</div>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/io/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/io/package-tree.html b/devapidocs/org/apache/hadoop/hbase/io/package-tree.html
index 317592b..aa53e7f 100644
--- a/devapidocs/org/apache/hadoop/hbase/io/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/io/package-tree.html
@@ -100,11 +100,6 @@
 <li type="circle">org.apache.hadoop.hbase.io.<a href="../../../../../org/apache/hadoop/hbase/io/ByteBufferInputStream.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">ByteBufferInputStream</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.io.<a href="../../../../../org/apache/hadoop/hbase/io/ByteBuffInputStream.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">ByteBuffInputStream</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.io.<a href="../../../../../org/apache/hadoop/hbase/io/FileLink.FileLinkInputStream.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">FileLink.FileLinkInputStream</span></a> (implements org.apache.hadoop.fs.CanSetDropBehind, org.apache.hadoop.fs.CanSetReadahead, org.apache.hadoop.fs.PositionedReadable, org.apache.hadoop.fs.Seekable)</li>
-<li type="circle">java.io.<a href="http://docs.oracle.com/javase/8/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io"><span class="typeNameLink">FilterInputStream</span></a>
-<ul>
-<li type="circle">org.apache.hadoop.hbase.io.<a href="../../../../../org/apache/hadoop/hbase/io/LimitInputStream.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">LimitInputStream</span></a></li>
-</ul>
-</li>
 </ul>
 </li>
 <li type="circle">org.apache.hadoop.hbase.io.<a href="../../../../../org/apache/hadoop/hbase/io/MetricsIO.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">MetricsIO</span></a></li>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/ipc/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/ipc/package-tree.html b/devapidocs/org/apache/hadoop/hbase/ipc/package-tree.html
index 5cdb5bc..9ec4726 100644
--- a/devapidocs/org/apache/hadoop/hbase/ipc/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/ipc/package-tree.html
@@ -348,9 +348,9 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.ipc.<a href="../../../../../org/apache/hadoop/hbase/ipc/CallEvent.Type.html" title="enum in org.apache.hadoop.hbase.ipc"><span class="typeNameLink">CallEvent.Type</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.ipc.<a href="../../../../../org/apache/hadoop/hbase/ipc/BufferCallBeforeInitHandler.BufferCallAction.html" title="enum in org.apache.hadoop.hbase.ipc"><span class="typeNameLink">BufferCallBeforeInitHandler.BufferCallAction</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.ipc.<a href="../../../../../org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceFactoryImpl.SourceStorage.html" title="enum in org.apache.hadoop.hbase.ipc"><span class="typeNameLink">MetricsHBaseServerSourceFactoryImpl.SourceStorage</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.ipc.<a href="../../../../../org/apache/hadoop/hbase/ipc/CallEvent.Type.html" title="enum in org.apache.hadoop.hbase.ipc"><span class="typeNameLink">CallEvent.Type</span></a></li>
 </ul>
 </li>
 </ul>


[12/15] hbase-site git commit: Published site at .

Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/mapreduce/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/mapreduce/package-tree.html b/devapidocs/org/apache/hadoop/hbase/mapreduce/package-tree.html
index 6b3e971..7af88be 100644
--- a/devapidocs/org/apache/hadoop/hbase/mapreduce/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/mapreduce/package-tree.html
@@ -294,9 +294,9 @@
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.mapreduce.<a href="../../../../../org/apache/hadoop/hbase/mapreduce/CellCounter.CellCounterMapper.Counters.html" title="enum in org.apache.hadoop.hbase.mapreduce"><span class="typeNameLink">CellCounter.CellCounterMapper.Counters</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="../../../../../org/apache/hadoop/hbase/mapreduce/SyncTable.SyncMapper.Counter.html" title="enum in org.apache.hadoop.hbase.mapreduce"><span class="typeNameLink">SyncTable.SyncMapper.Counter</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="../../../../../org/apache/hadoop/hbase/mapreduce/RowCounter.RowCounterMapper.Counters.html" title="enum in org.apache.hadoop.hbase.mapreduce"><span class="typeNameLink">RowCounter.RowCounterMapper.Counters</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="../../../../../org/apache/hadoop/hbase/mapreduce/TableSplit.Version.html" title="enum in org.apache.hadoop.hbase.mapreduce"><span class="typeNameLink">TableSplit.Version</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="../../../../../org/apache/hadoop/hbase/mapreduce/RowCounter.RowCounterMapper.Counters.html" title="enum in org.apache.hadoop.hbase.mapreduce"><span class="typeNameLink">RowCounter.RowCounterMapper.Counters</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="../../../../../org/apache/hadoop/hbase/mapreduce/SyncTable.SyncMapper.Counter.html" title="enum in org.apache.hadoop.hbase.mapreduce"><span class="typeNameLink">SyncTable.SyncMapper.Counter</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/master/cleaner/CleanerChore.Action.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/master/cleaner/CleanerChore.Action.html b/devapidocs/org/apache/hadoop/hbase/master/cleaner/CleanerChore.Action.html
index 0c706dd..0e05a6e 100644
--- a/devapidocs/org/apache/hadoop/hbase/master/cleaner/CleanerChore.Action.html
+++ b/devapidocs/org/apache/hadoop/hbase/master/cleaner/CleanerChore.Action.html
@@ -105,7 +105,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>private static interface <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.383">CleanerChore.Action</a>&lt;T&gt;</pre>
+<pre>private static interface <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.389">CleanerChore.Action</a>&lt;T&gt;</pre>
 </li>
 </ul>
 </div>
@@ -149,7 +149,7 @@ var activeTableTab = "activeTableTab";
 <ul class="blockListLast">
 <li class="blockList">
 <h4>act</h4>
-<pre><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.Action.html" title="type parameter in CleanerChore.Action">T</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.Action.html#line.384">act</a>()
+<pre><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.Action.html" title="type parameter in CleanerChore.Action">T</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.Action.html#line.390">act</a>()
 throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <dl>
 <dt><span class="throwsLabel">Throws:</span></dt>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html b/devapidocs/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html
index c316555..338c3f6 100644
--- a/devapidocs/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html
+++ b/devapidocs/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html
@@ -127,7 +127,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>private class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.387">CleanerChore.CleanerTask</a>
+<pre>private class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.393">CleanerChore.CleanerTask</a>
 extends <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/RecursiveTask.html?is-external=true" title="class or interface in java.util.concurrent">RecursiveTask</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;</pre>
 </li>
 </ul>
@@ -257,7 +257,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/R
 <ul class="blockList">
 <li class="blockList">
 <h4>dir</h4>
-<pre>private final&nbsp;org.apache.hadoop.fs.Path <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html#line.388">dir</a></pre>
+<pre>private final&nbsp;org.apache.hadoop.fs.Path <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html#line.394">dir</a></pre>
 </li>
 </ul>
 <a name="root">
@@ -266,7 +266,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/R
 <ul class="blockListLast">
 <li class="blockList">
 <h4>root</h4>
-<pre>private final&nbsp;boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html#line.389">root</a></pre>
+<pre>private final&nbsp;boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html#line.395">root</a></pre>
 </li>
 </ul>
 </li>
@@ -283,7 +283,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/R
 <ul class="blockList">
 <li class="blockList">
 <h4>CleanerTask</h4>
-<pre><a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html#line.391">CleanerTask</a>(org.apache.hadoop.fs.FileStatus&nbsp;dir,
+<pre><a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html#line.397">CleanerTask</a>(org.apache.hadoop.fs.FileStatus&nbsp;dir,
             boolean&nbsp;root)</pre>
 </li>
 </ul>
@@ -293,7 +293,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/R
 <ul class="blockListLast">
 <li class="blockList">
 <h4>CleanerTask</h4>
-<pre><a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html#line.395">CleanerTask</a>(org.apache.hadoop.fs.Path&nbsp;dir,
+<pre><a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html#line.401">CleanerTask</a>(org.apache.hadoop.fs.Path&nbsp;dir,
             boolean&nbsp;root)</pre>
 </li>
 </ul>
@@ -311,7 +311,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/R
 <ul class="blockList">
 <li class="blockList">
 <h4>compute</h4>
-<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html#line.401">compute</a>()</pre>
+<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html#line.407">compute</a>()</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
 <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/RecursiveTask.html?is-external=true#compute--" title="class or interface in java.util.concurrent">compute</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/RecursiveTask.html?is-external=true" title="class or interface in java.util.concurrent">RecursiveTask</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;</code></dd>
@@ -324,7 +324,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/R
 <ul class="blockList">
 <li class="blockList">
 <h4>getFilteredStatus</h4>
-<pre>private&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html#line.455">getFilteredStatus</a>(org.apache.hbase.thirdparty.com.google.common.base.Predicate&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;function)
+<pre>private&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html#line.461">getFilteredStatus</a>(org.apache.hbase.thirdparty.com.google.common.base.Predicate&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;function)
                                                          throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Get FileStatus with filter.
  Pay attention that FSUtils #listStatusWithStatusFilter would return null,
@@ -345,7 +345,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/R
 <ul class="blockList">
 <li class="blockList">
 <h4>deleteAction</h4>
-<pre>private&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html#line.465">deleteAction</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.Action.html" title="interface in org.apache.hadoop.hbase.master.cleaner">CleanerChore.Action</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&nbsp;deletion,
+<pre>private&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html#line.471">deleteAction</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.Action.html" title="interface in org.apache.hadoop.hbase.master.cleaner">CleanerChore.Action</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&nbsp;deletion,
                              <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;type)</pre>
 <div class="block">Perform a delete on a specified type.</div>
 <dl>
@@ -363,7 +363,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/R
 <ul class="blockListLast">
 <li class="blockList">
 <h4>getCleanResult</h4>
-<pre>private&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html#line.486">getCleanResult</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html" title="class in org.apache.hadoop.hbase.master.cleaner">CleanerChore.CleanerTask</a>&gt;&nbsp;tasks)
+<pre>private&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html#line.492">getCleanResult</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.CleanerTask.html" title="class in org.apache.hadoop.hbase.master.cleaner">CleanerChore.CleanerTask</a>&gt;&nbsp;tasks)
                         throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Get cleaner results of subdirs.</div>
 <dl>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html b/devapidocs/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html
index ed04fb8..81235ac 100644
--- a/devapidocs/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html
+++ b/devapidocs/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html
@@ -275,7 +275,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/conf/Configuration
 <th class="colLast" scope="col">Method and Description</th>
 </tr>
 <tr id="i0" class="altColor">
-<td class="colFirst"><code>private int</code></td>
+<td class="colFirst"><code>(package private) int</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#calculatePoolSize-java.lang.String-">calculatePoolSize</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;poolSize)</code>
 <div class="block">Calculate size for cleaner pool.</div>
 </td>
@@ -584,7 +584,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/conf/Configuration
 <ul class="blockList">
 <li class="blockList">
 <h4>calculatePoolSize</h4>
-<pre>private&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.122">calculatePoolSize</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;poolSize)</pre>
+<pre>int&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.122">calculatePoolSize</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;poolSize)</pre>
 <div class="block">Calculate size for cleaner pool.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -600,7 +600,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/conf/Configuration
 <ul class="blockList">
 <li class="blockList">
 <h4>validate</h4>
-<pre>protected abstract&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.147">validate</a>(org.apache.hadoop.fs.Path&nbsp;file)</pre>
+<pre>protected abstract&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.153">validate</a>(org.apache.hadoop.fs.Path&nbsp;file)</pre>
 <div class="block">Validate the file to see if it even belongs in the directory. If it is valid, then the file
  will go through the cleaner delegates, but otherwise the file is just deleted.</div>
 <dl>
@@ -617,7 +617,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/conf/Configuration
 <ul class="blockList">
 <li class="blockList">
 <h4>initCleanerChain</h4>
-<pre>private&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.153">initCleanerChain</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;confKey)</pre>
+<pre>private&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.159">initCleanerChain</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;confKey)</pre>
 <div class="block">Instantiate and initialize all the file cleaners set in the configuration</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -631,7 +631,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/conf/Configuration
 <ul class="blockList">
 <li class="blockList">
 <h4>onConfigurationChange</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.168">onConfigurationChange</a>(org.apache.hadoop.conf.Configuration&nbsp;conf)</pre>
+<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.174">onConfigurationChange</a>(org.apache.hadoop.conf.Configuration&nbsp;conf)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/conf/ConfigurationObserver.html#onConfigurationChange-org.apache.hadoop.conf.Configuration-">ConfigurationObserver</a></code></span></div>
 <div class="block">This method would be called by the <a href="../../../../../../org/apache/hadoop/hbase/conf/ConfigurationManager.html" title="class in org.apache.hadoop.hbase.conf"><code>ConfigurationManager</code></a>
  object when the <code>Configuration</code> object is reloaded from disk.</div>
@@ -647,7 +647,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/conf/Configuration
 <ul class="blockList">
 <li class="blockList">
 <h4>updateChorePoolSize</h4>
-<pre>private&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.184">updateChorePoolSize</a>(int&nbsp;updatedSize)</pre>
+<pre>private&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.190">updateChorePoolSize</a>(int&nbsp;updatedSize)</pre>
 </li>
 </ul>
 <a name="newFileCleaner-java.lang.String-org.apache.hadoop.conf.Configuration-">
@@ -656,7 +656,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/conf/Configuration
 <ul class="blockList">
 <li class="blockList">
 <h4>newFileCleaner</h4>
-<pre>private&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html" title="type parameter in CleanerChore">T</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.197">newFileCleaner</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className,
+<pre>private&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html" title="type parameter in CleanerChore">T</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.203">newFileCleaner</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className,
                          org.apache.hadoop.conf.Configuration&nbsp;conf)</pre>
 <div class="block">A utility method to create new instances of LogCleanerDelegate based on the class name of the
  LogCleanerDelegate.</div>
@@ -675,7 +675,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/conf/Configuration
 <ul class="blockList">
 <li class="blockList">
 <h4>chore</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.214">chore</a>()</pre>
+<pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.220">chore</a>()</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#chore--">ScheduledChore</a></code></span></div>
 <div class="block">The task to execute on each scheduled execution of the Chore</div>
 <dl>
@@ -690,7 +690,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/conf/Configuration
 <ul class="blockList">
 <li class="blockList">
 <h4>preRunCleaner</h4>
-<pre>private&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.230">preRunCleaner</a>()</pre>
+<pre>private&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.236">preRunCleaner</a>()</pre>
 </li>
 </ul>
 <a name="runCleaner--">
@@ -699,7 +699,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/conf/Configuration
 <ul class="blockList">
 <li class="blockList">
 <h4>runCleaner</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.234">runCleaner</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.240">runCleaner</a>()</pre>
 </li>
 </ul>
 <a name="sortByConsumedSpace-java.util.List-">
@@ -708,7 +708,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/conf/Configuration
 <ul class="blockList">
 <li class="blockList">
 <h4>sortByConsumedSpace</h4>
-<pre>private&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.245">sortByConsumedSpace</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;dirs)</pre>
+<pre>private&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.251">sortByConsumedSpace</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;dirs)</pre>
 <div class="block">Sort the given list in (descending) order of the space each element takes</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -722,7 +722,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/conf/Configuration
 <ul class="blockList">
 <li class="blockList">
 <h4>checkAndDeleteFiles</h4>
-<pre>private&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.284">checkAndDeleteFiles</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;files)</pre>
+<pre>private&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.290">checkAndDeleteFiles</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;files)</pre>
 <div class="block">Run the given files through each of the cleaners to see if it should be deleted, deleting it if
  necessary.</div>
 <dl>
@@ -739,7 +739,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/conf/Configuration
 <ul class="blockList">
 <li class="blockList">
 <h4>deleteFiles</h4>
-<pre>protected&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.334">deleteFiles</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;filesToDelete)</pre>
+<pre>protected&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.340">deleteFiles</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;filesToDelete)</pre>
 <div class="block">Delete the given files</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -755,7 +755,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/conf/Configuration
 <ul class="blockList">
 <li class="blockList">
 <h4>cleanup</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.357">cleanup</a>()</pre>
+<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.363">cleanup</a>()</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/ScheduledChore.html#cleanup--">ScheduledChore</a></code></span></div>
 <div class="block">Override to run cleanup tasks when the Chore encounters an error and must stop running</div>
 <dl>
@@ -770,7 +770,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/conf/Configuration
 <ul class="blockList">
 <li class="blockList">
 <h4>getChorePoolSize</h4>
-<pre>int&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.368">getChorePoolSize</a>()</pre>
+<pre>int&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.374">getChorePoolSize</a>()</pre>
 </li>
 </ul>
 <a name="setEnabled-boolean-">
@@ -779,7 +779,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/conf/Configuration
 <ul class="blockList">
 <li class="blockList">
 <h4>setEnabled</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.375">setEnabled</a>(boolean&nbsp;enabled)</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.381">setEnabled</a>(boolean&nbsp;enabled)</pre>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
 <dd><code>enabled</code> - </dd>
@@ -792,7 +792,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/conf/Configuration
 <ul class="blockListLast">
 <li class="blockList">
 <h4>getEnabled</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.379">getEnabled</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#line.385">getEnabled</a>()</pre>
 </li>
 </ul>
 </li>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html b/devapidocs/org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html
index cbc29c7..29def10 100644
--- a/devapidocs/org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html
+++ b/devapidocs/org/apache/hadoop/hbase/master/cleaner/HFileCleaner.html
@@ -410,7 +410,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/Cleane
 <!--   -->
 </a>
 <h3>Methods inherited from class&nbsp;org.apache.hadoop.hbase.master.cleaner.<a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html" title="class in org.apache.hadoop.hbase.master.cleaner">CleanerChore</a></h3>
-<code><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#chore--">chore</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#getChorePoolSize--">getChorePoolSize</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#getEnabled--">getEnabled</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#runCleaner--">runCleaner</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#setEnabled-boolean-">setEnabled</a></code></li>
+<code><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#calculatePoolSize-java.lang.String-">calculatePoolSize</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#chore--">chore</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#getChorePoolSize--">getChorePoolSize</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#getEnabled--">getEnabled</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#runCleaner--">runCleaner</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#setEnabled-boolean-">setEnabled</a></code></li>
 </ul>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.ScheduledChore">

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/master/cleaner/LogCleaner.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/master/cleaner/LogCleaner.html b/devapidocs/org/apache/hadoop/hbase/master/cleaner/LogCleaner.html
index a59ce25..80281bd 100644
--- a/devapidocs/org/apache/hadoop/hbase/master/cleaner/LogCleaner.html
+++ b/devapidocs/org/apache/hadoop/hbase/master/cleaner/LogCleaner.html
@@ -279,7 +279,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/Cleane
 <!--   -->
 </a>
 <h3>Methods inherited from class&nbsp;org.apache.hadoop.hbase.master.cleaner.<a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html" title="class in org.apache.hadoop.hbase.master.cleaner">CleanerChore</a></h3>
-<code><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#chore--">chore</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#getChorePoolSize--">getChorePoolSize</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#getEnabled--">getEnabled</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#runCleaner--">runCleaner</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#setEnabled-boolean-">setEnabled</a></code></li>
+<code><a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#calculatePoolSize-java.lang.String-">calculatePoolSize</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#chore--">chore</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#getChorePoolSize--">getChorePoolSize</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#getEnabled--">getEnabled</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#runCleaner--">runCleaner</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/CleanerChore.html#setEnabled-boolean-">setEnabled</a></code></li>
 </ul>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.ScheduledChore">

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/master/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/master/package-tree.html b/devapidocs/org/apache/hadoop/hbase/master/package-tree.html
index ea3668d..530fdb1 100644
--- a/devapidocs/org/apache/hadoop/hbase/master/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/master/package-tree.html
@@ -334,8 +334,8 @@
 <ul>
 <li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/MasterRpcServices.BalanceSwitchMode.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">MasterRpcServices.BalanceSwitchMode</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/SplitLogManager.ResubmitDirective.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">SplitLogManager.ResubmitDirective</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/SplitLogManager.TerminationStatus.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">SplitLogManager.TerminationStatus</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/MetricsMasterSourceFactoryImpl.FactoryStorage.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">MetricsMasterSourceFactoryImpl.FactoryStorage</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/SplitLogManager.TerminationStatus.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">SplitLogManager.TerminationStatus</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/RegionState.State.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">RegionState.State</span></a></li>
 </ul>
 </li>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html b/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html
index bbae3e1..90a8e87 100644
--- a/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html
@@ -208,8 +208,8 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.master.procedure.<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.TableOperationType.html" title="enum in org.apache.hadoop.hbase.master.procedure"><span class="typeNameLink">TableProcedureInterface.TableOperationType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.master.procedure.<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/ServerProcedureInterface.ServerOperationType.html" title="enum in org.apache.hadoop.hbase.master.procedure"><span class="typeNameLink">ServerProcedureInterface.ServerOperationType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.master.procedure.<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.TableOperationType.html" title="enum in org.apache.hadoop.hbase.master.procedure"><span class="typeNameLink">TableProcedureInterface.TableOperationType</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/package-tree.html b/devapidocs/org/apache/hadoop/hbase/package-tree.html
index 05ad127..9d6b920 100644
--- a/devapidocs/org/apache/hadoop/hbase/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/package-tree.html
@@ -444,19 +444,19 @@
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.<a href="../../../../org/apache/hadoop/hbase/KeyValue.Type.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">KeyValue.Type</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/Coprocessor.State.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">Coprocessor.State</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/Size.Unit.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">Size.Unit</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/MemoryCompactionPolicy.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">MemoryCompactionPolicy</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/Cell.Type.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">Cell.Type</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/CompatibilitySingletonFactory.SingletonStorage.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">CompatibilitySingletonFactory.SingletonStorage</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/MetaTableAccessor.QueryType.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">MetaTableAccessor.QueryType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ProcedureState.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ProcedureState</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/Size.Unit.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">Size.Unit</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/CellBuilderType.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">CellBuilderType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/CompatibilitySingletonFactory.SingletonStorage.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">CompatibilitySingletonFactory.SingletonStorage</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ClusterMetrics.Option.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ClusterMetrics.Option</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/Coprocessor.State.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">Coprocessor.State</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/HConstants.OperationStatusCode.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">HConstants.OperationStatusCode</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/MemoryCompactionPolicy.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">MemoryCompactionPolicy</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/MetaTableAccessor.QueryType.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">MetaTableAccessor.QueryType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/KeepDeletedCells.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">KeepDeletedCells</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/CompareOperator.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">CompareOperator</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/Cell.Type.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">Cell.Type</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/HealthChecker.HealthCheckerExitStatus.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">HealthChecker.HealthCheckerExitStatus</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/ClusterMetrics.Option.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">ClusterMetrics.Option</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.<a href="../../../../org/apache/hadoop/hbase/KeepDeletedCells.html" title="enum in org.apache.hadoop.hbase"><span class="typeNameLink">KeepDeletedCells</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html b/devapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
index cde2f87..32185f8 100644
--- a/devapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
@@ -204,10 +204,10 @@
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/LockedResourceType.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">LockedResourceType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/StateMachineProcedure.Flow.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">StateMachineProcedure.Flow</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/LockType.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">LockType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/RootProcedureState.State.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">RootProcedureState.State</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.LockState.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">Procedure.LockState</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/StateMachineProcedure.Flow.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">StateMachineProcedure.Flow</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/RootProcedureState.State.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">RootProcedureState.State</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/quotas/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/quotas/package-tree.html b/devapidocs/org/apache/hadoop/hbase/quotas/package-tree.html
index 819f3d4..6360b9b 100644
--- a/devapidocs/org/apache/hadoop/hbase/quotas/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/quotas/package-tree.html
@@ -206,12 +206,12 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.quotas.<a href="../../../../../org/apache/hadoop/hbase/quotas/ThrottleType.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="typeNameLink">ThrottleType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.quotas.<a href="../../../../../org/apache/hadoop/hbase/quotas/ThrottlingException.Type.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="typeNameLink">ThrottlingException.Type</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.quotas.<a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaScope.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="typeNameLink">QuotaScope</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.quotas.<a href="../../../../../org/apache/hadoop/hbase/quotas/OperationQuota.OperationType.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="typeNameLink">OperationQuota.OperationType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.quotas.<a href="../../../../../org/apache/hadoop/hbase/quotas/QuotaType.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="typeNameLink">QuotaType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.quotas.<a href="../../../../../org/apache/hadoop/hbase/quotas/ThrottlingException.Type.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="typeNameLink">ThrottlingException.Type</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.quotas.<a href="../../../../../org/apache/hadoop/hbase/quotas/OperationQuota.OperationType.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="typeNameLink">OperationQuota.OperationType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.quotas.<a href="../../../../../org/apache/hadoop/hbase/quotas/SpaceViolationPolicy.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="typeNameLink">SpaceViolationPolicy</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.quotas.<a href="../../../../../org/apache/hadoop/hbase/quotas/ThrottleType.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="typeNameLink">ThrottleType</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html b/devapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
index 14bc234..38d310d 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html
@@ -703,19 +703,19 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/ScannerContext.LimitScope.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">ScannerContext.LimitScope</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/Region.Operation.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">Region.Operation</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/ScannerContext.NextState.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">ScannerContext.NextState</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/FlushType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">FlushType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/MemStoreCompactionStrategy.Action.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">MemStoreCompactionStrategy.Action</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TimeRangeTracker.Type.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TimeRangeTracker.Type</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/BloomType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">BloomType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/ScanType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">ScanType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/Region.Operation.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">Region.Operation</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/TimeRangeTracker.Type.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">TimeRangeTracker.Type</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/DefaultHeapMemoryTuner.StepDirection.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">DefaultHeapMemoryTuner.StepDirection</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/MetricsRegionServerSourceFactoryImpl.FactoryStorage.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">MetricsRegionServerSourceFactoryImpl.FactoryStorage</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/FlushType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">FlushType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/ScannerContext.LimitScope.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">ScannerContext.LimitScope</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/ScanType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">ScanType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/ScannerContext.NextState.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">ScannerContext.NextState</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/CompactingMemStore.IndexType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">CompactingMemStore.IndexType</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/HRegion.FlushResult.Result.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">HRegion.FlushResult.Result</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/DefaultHeapMemoryTuner.StepDirection.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">DefaultHeapMemoryTuner.StepDirection</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/SplitLogWorker.TaskExecutor.Status.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">SplitLogWorker.TaskExecutor.Status</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="../../../../../org/apache/hadoop/hbase/regionserver/HRegion.FlushResult.Result.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="typeNameLink">HRegion.FlushResult.Result</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/regionserver/querymatcher/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/querymatcher/package-tree.html b/devapidocs/org/apache/hadoop/hbase/regionserver/querymatcher/package-tree.html
index af72bf3..6e98708 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/querymatcher/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/querymatcher/package-tree.html
@@ -130,9 +130,9 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/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/8/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.regionserver.querymatcher.<a href="../../../../../../org/apache/hadoop/hbase/regionserver/querymatcher/StripeCompactionScanQueryMatcher.DropDeletesInOutput.html" title="enum in org.apache.hadoop.hbase.regionserver.querymatcher"><span class="typeNameLink">StripeCompactionScanQueryMatcher.DropDeletesInOutput</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.querymatcher.<a href="../../../../../../org/apache/hadoop/hbase/regionserver/querymatcher/DeleteTracker.DeleteResult.html" title="enum in org.apache.hadoop.hbase.regionserver.querymatcher"><span class="typeNameLink">DeleteTracker.DeleteResult</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.regionserver.querymatcher.<a href="../../../../../../org/apache/hadoop/hbase/regionserver/querymatcher/ScanQueryMatcher.MatchCode.html" title="enum in org.apache.hadoop.hbase.regionserver.querymatcher"><span class="typeNameLink">ScanQueryMatcher.MatchCode</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.regionserver.querymatcher.<a href="../../../../../../org/apache/hadoop/hbase/regionserver/querymatcher/StripeCompactionScanQueryMatcher.DropDeletesInOutput.html" title="enum in org.apache.hadoop.hbase.regionserver.querymatcher"><span class="typeNameLink">StripeCompactionScanQueryMatcher.DropDeletesInOutput</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrContext.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrContext.html b/devapidocs/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrContext.html
index 3bb009e..ab90cff 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrContext.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrContext.html
@@ -113,7 +113,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>static class <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.122">ProtobufLogReader.WALHdrContext</a>
+<pre>static class <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.123">ProtobufLogReader.WALHdrContext</a>
 extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
 </li>
 </ul>
@@ -210,7 +210,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>result</h4>
-<pre><a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html" title="enum in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogReader.WALHdrResult</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrContext.html#line.123">result</a></pre>
+<pre><a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html" title="enum in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogReader.WALHdrResult</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrContext.html#line.124">result</a></pre>
 </li>
 </ul>
 <a name="cellCodecClsName">
@@ -219,7 +219,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>cellCodecClsName</h4>
-<pre><a href="http://docs.oracle.com/javase/8/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/ProtobufLogReader.WALHdrContext.html#line.124">cellCodecClsName</a></pre>
+<pre><a href="http://docs.oracle.com/javase/8/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/ProtobufLogReader.WALHdrContext.html#line.125">cellCodecClsName</a></pre>
 </li>
 </ul>
 </li>
@@ -236,7 +236,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>WALHdrContext</h4>
-<pre><a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrContext.html#line.126">WALHdrContext</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html" title="enum in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogReader.WALHdrResult</a>&nbsp;result,
+<pre><a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrContext.html#line.127">WALHdrContext</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html" title="enum in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogReader.WALHdrResult</a>&nbsp;result,
               <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;cellCodecClsName)</pre>
 </li>
 </ul>
@@ -254,7 +254,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>getResult</h4>
-<pre><a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html" title="enum in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogReader.WALHdrResult</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrContext.html#line.130">getResult</a>()</pre>
+<pre><a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html" title="enum in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogReader.WALHdrResult</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrContext.html#line.131">getResult</a>()</pre>
 </li>
 </ul>
 <a name="getCellCodecClsName--">
@@ -263,7 +263,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>getCellCodecClsName</h4>
-<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrContext.html#line.133">getCellCodecClsName</a>()</pre>
+<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrContext.html#line.134">getCellCodecClsName</a>()</pre>
 </li>
 </ul>
 </li>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html b/devapidocs/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html
index c53bd13..2a1d317 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html
@@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>static enum <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.115">ProtobufLogReader.WALHdrResult</a>
+<pre>static enum <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html#line.116">ProtobufLogReader.WALHdrResult</a>
 extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html" title="enum in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogReader.WALHdrResult</a>&gt;</pre>
 </li>
 </ul>
@@ -213,7 +213,7 @@ the order they are declared.</div>
 <ul class="blockList">
 <li class="blockList">
 <h4>EOF</h4>
-<pre>public static final&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html" title="enum in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogReader.WALHdrResult</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html#line.116">EOF</a></pre>
+<pre>public static final&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html" title="enum in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogReader.WALHdrResult</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html#line.117">EOF</a></pre>
 </li>
 </ul>
 <a name="SUCCESS">
@@ -222,7 +222,7 @@ the order they are declared.</div>
 <ul class="blockList">
 <li class="blockList">
 <h4>SUCCESS</h4>
-<pre>public static final&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html" title="enum in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogReader.WALHdrResult</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html#line.117">SUCCESS</a></pre>
+<pre>public static final&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html" title="enum in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogReader.WALHdrResult</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html#line.118">SUCCESS</a></pre>
 </li>
 </ul>
 <a name="UNKNOWN_WRITER_CLS">
@@ -231,7 +231,7 @@ the order they are declared.</div>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>UNKNOWN_WRITER_CLS</h4>
-<pre>public static final&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html" title="enum in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogReader.WALHdrResult</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html#line.118">UNKNOWN_WRITER_CLS</a></pre>
+<pre>public static final&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html" title="enum in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogReader.WALHdrResult</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html#line.119">UNKNOWN_WRITER_CLS</a></pre>
 </li>
 </ul>
 </li>
@@ -248,7 +248,7 @@ the order they are declared.</div>
 <ul class="blockList">
 <li class="blockList">
 <h4>values</h4>
-<pre>public static&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html" title="enum in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogReader.WALHdrResult</a>[]&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html#line.115">values</a>()</pre>
+<pre>public static&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html" title="enum in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogReader.WALHdrResult</a>[]&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html#line.116">values</a>()</pre>
 <div class="block">Returns an array containing the constants of this enum type, in
 the order they are declared.  This method may be used to iterate
 over the constants as follows:
@@ -268,7 +268,7 @@ for (ProtobufLogReader.WALHdrResult c : ProtobufLogReader.WALHdrResult.values())
 <ul class="blockListLast">
 <li class="blockList">
 <h4>valueOf</h4>
-<pre>public static&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html" title="enum in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogReader.WALHdrResult</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html#line.115">valueOf</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
+<pre>public static&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html" title="enum in org.apache.hadoop.hbase.regionserver.wal">ProtobufLogReader.WALHdrResult</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html#line.116">valueOf</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
 <div class="block">Returns the enum constant of this type with the specified name.
 The string must match <i>exactly</i> an identifier used to declare an
 enum constant in this type.  (Extraneous whitespace characters are 


[10/15] hbase-site git commit: Published site at .

Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.Action.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.Action.html b/devapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.Action.html
index ce37fa3..60dc639 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.Action.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.Action.html
@@ -127,7 +127,7 @@
 <span class="sourceLineNo">119</span>   * @param poolSize size from configuration<a name="line.119"></a>
 <span class="sourceLineNo">120</span>   * @return size of pool after calculation<a name="line.120"></a>
 <span class="sourceLineNo">121</span>   */<a name="line.121"></a>
-<span class="sourceLineNo">122</span>  private int calculatePoolSize(String poolSize) {<a name="line.122"></a>
+<span class="sourceLineNo">122</span>  int calculatePoolSize(String poolSize) {<a name="line.122"></a>
 <span class="sourceLineNo">123</span>    if (poolSize.matches("[1-9][0-9]*")) {<a name="line.123"></a>
 <span class="sourceLineNo">124</span>      // If poolSize is an integer, return it directly,<a name="line.124"></a>
 <span class="sourceLineNo">125</span>      // but upmost to the number of available processors.<a name="line.125"></a>
@@ -138,372 +138,378 @@
 <span class="sourceLineNo">130</span>      return size;<a name="line.130"></a>
 <span class="sourceLineNo">131</span>    } else if (poolSize.matches("0.[0-9]+|1.0")) {<a name="line.131"></a>
 <span class="sourceLineNo">132</span>      // if poolSize is a double, return poolSize * availableProcessors;<a name="line.132"></a>
-<span class="sourceLineNo">133</span>      return (int) (AVAIL_PROCESSORS * Double.valueOf(poolSize));<a name="line.133"></a>
-<span class="sourceLineNo">134</span>    } else {<a name="line.134"></a>
-<span class="sourceLineNo">135</span>      LOG.error("Unrecognized value: " + poolSize + " for " + CHORE_POOL_SIZE +<a name="line.135"></a>
-<span class="sourceLineNo">136</span>          ", use default config: " + DEFAULT_CHORE_POOL_SIZE + " instead.");<a name="line.136"></a>
-<span class="sourceLineNo">137</span>      return calculatePoolSize(DEFAULT_CHORE_POOL_SIZE);<a name="line.137"></a>
-<span class="sourceLineNo">138</span>    }<a name="line.138"></a>
-<span class="sourceLineNo">139</span>  }<a name="line.139"></a>
-<span class="sourceLineNo">140</span><a name="line.140"></a>
-<span class="sourceLineNo">141</span>  /**<a name="line.141"></a>
-<span class="sourceLineNo">142</span>   * Validate the file to see if it even belongs in the directory. If it is valid, then the file<a name="line.142"></a>
-<span class="sourceLineNo">143</span>   * will go through the cleaner delegates, but otherwise the file is just deleted.<a name="line.143"></a>
-<span class="sourceLineNo">144</span>   * @param file full {@link Path} of the file to be checked<a name="line.144"></a>
-<span class="sourceLineNo">145</span>   * @return &lt;tt&gt;true&lt;/tt&gt; if the file is valid, &lt;tt&gt;false&lt;/tt&gt; otherwise<a name="line.145"></a>
-<span class="sourceLineNo">146</span>   */<a name="line.146"></a>
-<span class="sourceLineNo">147</span>  protected abstract boolean validate(Path file);<a name="line.147"></a>
-<span class="sourceLineNo">148</span><a name="line.148"></a>
-<span class="sourceLineNo">149</span>  /**<a name="line.149"></a>
-<span class="sourceLineNo">150</span>   * Instantiate and initialize all the file cleaners set in the configuration<a name="line.150"></a>
-<span class="sourceLineNo">151</span>   * @param confKey key to get the file cleaner classes from the configuration<a name="line.151"></a>
+<span class="sourceLineNo">133</span>      // Ensure that we always return at least one.<a name="line.133"></a>
+<span class="sourceLineNo">134</span>      int computedThreads = (int) (AVAIL_PROCESSORS * Double.valueOf(poolSize));<a name="line.134"></a>
+<span class="sourceLineNo">135</span>      if (computedThreads &lt; 1) {<a name="line.135"></a>
+<span class="sourceLineNo">136</span>        LOG.debug("Computed {} threads for CleanerChore, using 1 instead", computedThreads);<a name="line.136"></a>
+<span class="sourceLineNo">137</span>        return 1;<a name="line.137"></a>
+<span class="sourceLineNo">138</span>      }<a name="line.138"></a>
+<span class="sourceLineNo">139</span>      return computedThreads;<a name="line.139"></a>
+<span class="sourceLineNo">140</span>    } else {<a name="line.140"></a>
+<span class="sourceLineNo">141</span>      LOG.error("Unrecognized value: " + poolSize + " for " + CHORE_POOL_SIZE +<a name="line.141"></a>
+<span class="sourceLineNo">142</span>          ", use default config: " + DEFAULT_CHORE_POOL_SIZE + " instead.");<a name="line.142"></a>
+<span class="sourceLineNo">143</span>      return calculatePoolSize(DEFAULT_CHORE_POOL_SIZE);<a name="line.143"></a>
+<span class="sourceLineNo">144</span>    }<a name="line.144"></a>
+<span class="sourceLineNo">145</span>  }<a name="line.145"></a>
+<span class="sourceLineNo">146</span><a name="line.146"></a>
+<span class="sourceLineNo">147</span>  /**<a name="line.147"></a>
+<span class="sourceLineNo">148</span>   * Validate the file to see if it even belongs in the directory. If it is valid, then the file<a name="line.148"></a>
+<span class="sourceLineNo">149</span>   * will go through the cleaner delegates, but otherwise the file is just deleted.<a name="line.149"></a>
+<span class="sourceLineNo">150</span>   * @param file full {@link Path} of the file to be checked<a name="line.150"></a>
+<span class="sourceLineNo">151</span>   * @return &lt;tt&gt;true&lt;/tt&gt; if the file is valid, &lt;tt&gt;false&lt;/tt&gt; otherwise<a name="line.151"></a>
 <span class="sourceLineNo">152</span>   */<a name="line.152"></a>
-<span class="sourceLineNo">153</span>  private void initCleanerChain(String confKey) {<a name="line.153"></a>
-<span class="sourceLineNo">154</span>    this.cleanersChain = new LinkedList&lt;&gt;();<a name="line.154"></a>
-<span class="sourceLineNo">155</span>    String[] logCleaners = conf.getStrings(confKey);<a name="line.155"></a>
-<span class="sourceLineNo">156</span>    if (logCleaners != null) {<a name="line.156"></a>
-<span class="sourceLineNo">157</span>      for (String className : logCleaners) {<a name="line.157"></a>
-<span class="sourceLineNo">158</span>        T logCleaner = newFileCleaner(className, conf);<a name="line.158"></a>
-<span class="sourceLineNo">159</span>        if (logCleaner != null) {<a name="line.159"></a>
-<span class="sourceLineNo">160</span>          LOG.debug("Initialize cleaner={}", className);<a name="line.160"></a>
-<span class="sourceLineNo">161</span>          this.cleanersChain.add(logCleaner);<a name="line.161"></a>
-<span class="sourceLineNo">162</span>        }<a name="line.162"></a>
-<span class="sourceLineNo">163</span>      }<a name="line.163"></a>
-<span class="sourceLineNo">164</span>    }<a name="line.164"></a>
-<span class="sourceLineNo">165</span>  }<a name="line.165"></a>
-<span class="sourceLineNo">166</span><a name="line.166"></a>
-<span class="sourceLineNo">167</span>  @Override<a name="line.167"></a>
-<span class="sourceLineNo">168</span>  public void onConfigurationChange(Configuration conf) {<a name="line.168"></a>
-<span class="sourceLineNo">169</span>    int updatedSize = calculatePoolSize(conf.get(CHORE_POOL_SIZE, DEFAULT_CHORE_POOL_SIZE));<a name="line.169"></a>
-<span class="sourceLineNo">170</span>    if (updatedSize == chorePoolSize) {<a name="line.170"></a>
-<span class="sourceLineNo">171</span>      LOG.trace("Size from configuration is same as previous={}, no need to update.", updatedSize);<a name="line.171"></a>
-<span class="sourceLineNo">172</span>      return;<a name="line.172"></a>
-<span class="sourceLineNo">173</span>    }<a name="line.173"></a>
-<span class="sourceLineNo">174</span>    chorePoolSize = updatedSize;<a name="line.174"></a>
-<span class="sourceLineNo">175</span>    if (chorePool.getPoolSize() == 0) {<a name="line.175"></a>
-<span class="sourceLineNo">176</span>      // Chore does not work now, update it directly.<a name="line.176"></a>
-<span class="sourceLineNo">177</span>      updateChorePoolSize(updatedSize);<a name="line.177"></a>
+<span class="sourceLineNo">153</span>  protected abstract boolean validate(Path file);<a name="line.153"></a>
+<span class="sourceLineNo">154</span><a name="line.154"></a>
+<span class="sourceLineNo">155</span>  /**<a name="line.155"></a>
+<span class="sourceLineNo">156</span>   * Instantiate and initialize all the file cleaners set in the configuration<a name="line.156"></a>
+<span class="sourceLineNo">157</span>   * @param confKey key to get the file cleaner classes from the configuration<a name="line.157"></a>
+<span class="sourceLineNo">158</span>   */<a name="line.158"></a>
+<span class="sourceLineNo">159</span>  private void initCleanerChain(String confKey) {<a name="line.159"></a>
+<span class="sourceLineNo">160</span>    this.cleanersChain = new LinkedList&lt;&gt;();<a name="line.160"></a>
+<span class="sourceLineNo">161</span>    String[] logCleaners = conf.getStrings(confKey);<a name="line.161"></a>
+<span class="sourceLineNo">162</span>    if (logCleaners != null) {<a name="line.162"></a>
+<span class="sourceLineNo">163</span>      for (String className : logCleaners) {<a name="line.163"></a>
+<span class="sourceLineNo">164</span>        T logCleaner = newFileCleaner(className, conf);<a name="line.164"></a>
+<span class="sourceLineNo">165</span>        if (logCleaner != null) {<a name="line.165"></a>
+<span class="sourceLineNo">166</span>          LOG.debug("Initialize cleaner={}", className);<a name="line.166"></a>
+<span class="sourceLineNo">167</span>          this.cleanersChain.add(logCleaner);<a name="line.167"></a>
+<span class="sourceLineNo">168</span>        }<a name="line.168"></a>
+<span class="sourceLineNo">169</span>      }<a name="line.169"></a>
+<span class="sourceLineNo">170</span>    }<a name="line.170"></a>
+<span class="sourceLineNo">171</span>  }<a name="line.171"></a>
+<span class="sourceLineNo">172</span><a name="line.172"></a>
+<span class="sourceLineNo">173</span>  @Override<a name="line.173"></a>
+<span class="sourceLineNo">174</span>  public void onConfigurationChange(Configuration conf) {<a name="line.174"></a>
+<span class="sourceLineNo">175</span>    int updatedSize = calculatePoolSize(conf.get(CHORE_POOL_SIZE, DEFAULT_CHORE_POOL_SIZE));<a name="line.175"></a>
+<span class="sourceLineNo">176</span>    if (updatedSize == chorePoolSize) {<a name="line.176"></a>
+<span class="sourceLineNo">177</span>      LOG.trace("Size from configuration is same as previous={}, no need to update.", updatedSize);<a name="line.177"></a>
 <span class="sourceLineNo">178</span>      return;<a name="line.178"></a>
 <span class="sourceLineNo">179</span>    }<a name="line.179"></a>
-<span class="sourceLineNo">180</span>    // Chore is working, update it after chore finished.<a name="line.180"></a>
-<span class="sourceLineNo">181</span>    reconfig.set(true);<a name="line.181"></a>
-<span class="sourceLineNo">182</span>  }<a name="line.182"></a>
-<span class="sourceLineNo">183</span><a name="line.183"></a>
-<span class="sourceLineNo">184</span>  private void updateChorePoolSize(int updatedSize) {<a name="line.184"></a>
-<span class="sourceLineNo">185</span>    chorePool.shutdownNow();<a name="line.185"></a>
-<span class="sourceLineNo">186</span>    LOG.info("Update chore's pool size from {} to {}", chorePool.getParallelism(), updatedSize);<a name="line.186"></a>
-<span class="sourceLineNo">187</span>    chorePool = new ForkJoinPool(updatedSize);<a name="line.187"></a>
+<span class="sourceLineNo">180</span>    chorePoolSize = updatedSize;<a name="line.180"></a>
+<span class="sourceLineNo">181</span>    if (chorePool.getPoolSize() == 0) {<a name="line.181"></a>
+<span class="sourceLineNo">182</span>      // Chore does not work now, update it directly.<a name="line.182"></a>
+<span class="sourceLineNo">183</span>      updateChorePoolSize(updatedSize);<a name="line.183"></a>
+<span class="sourceLineNo">184</span>      return;<a name="line.184"></a>
+<span class="sourceLineNo">185</span>    }<a name="line.185"></a>
+<span class="sourceLineNo">186</span>    // Chore is working, update it after chore finished.<a name="line.186"></a>
+<span class="sourceLineNo">187</span>    reconfig.set(true);<a name="line.187"></a>
 <span class="sourceLineNo">188</span>  }<a name="line.188"></a>
 <span class="sourceLineNo">189</span><a name="line.189"></a>
-<span class="sourceLineNo">190</span>  /**<a name="line.190"></a>
-<span class="sourceLineNo">191</span>   * A utility method to create new instances of LogCleanerDelegate based on the class name of the<a name="line.191"></a>
-<span class="sourceLineNo">192</span>   * LogCleanerDelegate.<a name="line.192"></a>
-<span class="sourceLineNo">193</span>   * @param className fully qualified class name of the LogCleanerDelegate<a name="line.193"></a>
-<span class="sourceLineNo">194</span>   * @param conf used configuration<a name="line.194"></a>
-<span class="sourceLineNo">195</span>   * @return the new instance<a name="line.195"></a>
-<span class="sourceLineNo">196</span>   */<a name="line.196"></a>
-<span class="sourceLineNo">197</span>  private T newFileCleaner(String className, Configuration conf) {<a name="line.197"></a>
-<span class="sourceLineNo">198</span>    try {<a name="line.198"></a>
-<span class="sourceLineNo">199</span>      Class&lt;? extends FileCleanerDelegate&gt; c = Class.forName(className).asSubclass(<a name="line.199"></a>
-<span class="sourceLineNo">200</span>        FileCleanerDelegate.class);<a name="line.200"></a>
-<span class="sourceLineNo">201</span>      @SuppressWarnings("unchecked")<a name="line.201"></a>
-<span class="sourceLineNo">202</span>      T cleaner = (T) c.newInstance();<a name="line.202"></a>
-<span class="sourceLineNo">203</span>      cleaner.setConf(conf);<a name="line.203"></a>
-<span class="sourceLineNo">204</span>      cleaner.init(this.params);<a name="line.204"></a>
-<span class="sourceLineNo">205</span>      return cleaner;<a name="line.205"></a>
-<span class="sourceLineNo">206</span>    } catch (Exception e) {<a name="line.206"></a>
-<span class="sourceLineNo">207</span>      LOG.warn("Can NOT create CleanerDelegate={}", className, e);<a name="line.207"></a>
-<span class="sourceLineNo">208</span>      // skipping if can't instantiate<a name="line.208"></a>
-<span class="sourceLineNo">209</span>      return null;<a name="line.209"></a>
-<span class="sourceLineNo">210</span>    }<a name="line.210"></a>
-<span class="sourceLineNo">211</span>  }<a name="line.211"></a>
-<span class="sourceLineNo">212</span><a name="line.212"></a>
-<span class="sourceLineNo">213</span>  @Override<a name="line.213"></a>
-<span class="sourceLineNo">214</span>  protected void chore() {<a name="line.214"></a>
-<span class="sourceLineNo">215</span>    if (getEnabled()) {<a name="line.215"></a>
-<span class="sourceLineNo">216</span>      if (runCleaner()) {<a name="line.216"></a>
-<span class="sourceLineNo">217</span>        LOG.debug("Cleaned old files/dirs under {} successfully",  oldFileDir);<a name="line.217"></a>
-<span class="sourceLineNo">218</span>      } else {<a name="line.218"></a>
-<span class="sourceLineNo">219</span>        LOG.warn("Failed to fully clean old files/dirs under {}", oldFileDir);<a name="line.219"></a>
-<span class="sourceLineNo">220</span>      }<a name="line.220"></a>
-<span class="sourceLineNo">221</span>      // After each clean chore, checks if receives reconfigure notification while cleaning<a name="line.221"></a>
-<span class="sourceLineNo">222</span>      if (reconfig.compareAndSet(true, false)) {<a name="line.222"></a>
-<span class="sourceLineNo">223</span>        updateChorePoolSize(chorePoolSize);<a name="line.223"></a>
-<span class="sourceLineNo">224</span>      }<a name="line.224"></a>
-<span class="sourceLineNo">225</span>    } else {<a name="line.225"></a>
-<span class="sourceLineNo">226</span>      LOG.debug("Cleaner chore disabled! Not cleaning.");<a name="line.226"></a>
-<span class="sourceLineNo">227</span>    }<a name="line.227"></a>
-<span class="sourceLineNo">228</span>  }<a name="line.228"></a>
-<span class="sourceLineNo">229</span><a name="line.229"></a>
-<span class="sourceLineNo">230</span>  private void preRunCleaner() {<a name="line.230"></a>
-<span class="sourceLineNo">231</span>    cleanersChain.forEach(FileCleanerDelegate::preClean);<a name="line.231"></a>
-<span class="sourceLineNo">232</span>  }<a name="line.232"></a>
-<span class="sourceLineNo">233</span><a name="line.233"></a>
-<span class="sourceLineNo">234</span>  public Boolean runCleaner() {<a name="line.234"></a>
-<span class="sourceLineNo">235</span>    preRunCleaner();<a name="line.235"></a>
-<span class="sourceLineNo">236</span>    CleanerTask task = new CleanerTask(this.oldFileDir, true);<a name="line.236"></a>
-<span class="sourceLineNo">237</span>    chorePool.submit(task);<a name="line.237"></a>
-<span class="sourceLineNo">238</span>    return task.join();<a name="line.238"></a>
-<span class="sourceLineNo">239</span>  }<a name="line.239"></a>
-<span class="sourceLineNo">240</span><a name="line.240"></a>
-<span class="sourceLineNo">241</span>  /**<a name="line.241"></a>
-<span class="sourceLineNo">242</span>   * Sort the given list in (descending) order of the space each element takes<a name="line.242"></a>
-<span class="sourceLineNo">243</span>   * @param dirs the list to sort, element in it should be directory (not file)<a name="line.243"></a>
-<span class="sourceLineNo">244</span>   */<a name="line.244"></a>
-<span class="sourceLineNo">245</span>  private void sortByConsumedSpace(List&lt;FileStatus&gt; dirs) {<a name="line.245"></a>
-<span class="sourceLineNo">246</span>    if (dirs == null || dirs.size() &lt; 2) {<a name="line.246"></a>
-<span class="sourceLineNo">247</span>      // no need to sort for empty or single directory<a name="line.247"></a>
-<span class="sourceLineNo">248</span>      return;<a name="line.248"></a>
-<span class="sourceLineNo">249</span>    }<a name="line.249"></a>
-<span class="sourceLineNo">250</span>    dirs.sort(new Comparator&lt;FileStatus&gt;() {<a name="line.250"></a>
-<span class="sourceLineNo">251</span>      HashMap&lt;FileStatus, Long&gt; directorySpaces = new HashMap&lt;&gt;();<a name="line.251"></a>
-<span class="sourceLineNo">252</span><a name="line.252"></a>
-<span class="sourceLineNo">253</span>      @Override<a name="line.253"></a>
-<span class="sourceLineNo">254</span>      public int compare(FileStatus f1, FileStatus f2) {<a name="line.254"></a>
-<span class="sourceLineNo">255</span>        long f1ConsumedSpace = getSpace(f1);<a name="line.255"></a>
-<span class="sourceLineNo">256</span>        long f2ConsumedSpace = getSpace(f2);<a name="line.256"></a>
-<span class="sourceLineNo">257</span>        return Long.compare(f2ConsumedSpace, f1ConsumedSpace);<a name="line.257"></a>
-<span class="sourceLineNo">258</span>      }<a name="line.258"></a>
-<span class="sourceLineNo">259</span><a name="line.259"></a>
-<span class="sourceLineNo">260</span>      private long getSpace(FileStatus f) {<a name="line.260"></a>
-<span class="sourceLineNo">261</span>        Long cached = directorySpaces.get(f);<a name="line.261"></a>
-<span class="sourceLineNo">262</span>        if (cached != null) {<a name="line.262"></a>
-<span class="sourceLineNo">263</span>          return cached;<a name="line.263"></a>
-<span class="sourceLineNo">264</span>        }<a name="line.264"></a>
-<span class="sourceLineNo">265</span>        try {<a name="line.265"></a>
-<span class="sourceLineNo">266</span>          long space =<a name="line.266"></a>
-<span class="sourceLineNo">267</span>              f.isDirectory() ? fs.getContentSummary(f.getPath()).getSpaceConsumed() : f.getLen();<a name="line.267"></a>
-<span class="sourceLineNo">268</span>          directorySpaces.put(f, space);<a name="line.268"></a>
-<span class="sourceLineNo">269</span>          return space;<a name="line.269"></a>
-<span class="sourceLineNo">270</span>        } catch (IOException e) {<a name="line.270"></a>
-<span class="sourceLineNo">271</span>          LOG.trace("Failed to get space consumed by path={}", f, e);<a name="line.271"></a>
-<span class="sourceLineNo">272</span>          return -1;<a name="line.272"></a>
-<span class="sourceLineNo">273</span>        }<a name="line.273"></a>
-<span class="sourceLineNo">274</span>      }<a name="line.274"></a>
-<span class="sourceLineNo">275</span>    });<a name="line.275"></a>
-<span class="sourceLineNo">276</span>  }<a name="line.276"></a>
-<span class="sourceLineNo">277</span><a name="line.277"></a>
-<span class="sourceLineNo">278</span>  /**<a name="line.278"></a>
-<span class="sourceLineNo">279</span>   * Run the given files through each of the cleaners to see if it should be deleted, deleting it if<a name="line.279"></a>
-<span class="sourceLineNo">280</span>   * necessary.<a name="line.280"></a>
-<span class="sourceLineNo">281</span>   * @param files List of FileStatus for the files to check (and possibly delete)<a name="line.281"></a>
-<span class="sourceLineNo">282</span>   * @return true iff successfully deleted all files<a name="line.282"></a>
-<span class="sourceLineNo">283</span>   */<a name="line.283"></a>
-<span class="sourceLineNo">284</span>  private boolean checkAndDeleteFiles(List&lt;FileStatus&gt; files) {<a name="line.284"></a>
-<span class="sourceLineNo">285</span>    if (files == null) {<a name="line.285"></a>
-<span class="sourceLineNo">286</span>      return true;<a name="line.286"></a>
-<span class="sourceLineNo">287</span>    }<a name="line.287"></a>
-<span class="sourceLineNo">288</span><a name="line.288"></a>
-<span class="sourceLineNo">289</span>    // first check to see if the path is valid<a name="line.289"></a>
-<span class="sourceLineNo">290</span>    List&lt;FileStatus&gt; validFiles = Lists.newArrayListWithCapacity(files.size());<a name="line.290"></a>
-<span class="sourceLineNo">291</span>    List&lt;FileStatus&gt; invalidFiles = Lists.newArrayList();<a name="line.291"></a>
-<span class="sourceLineNo">292</span>    for (FileStatus file : files) {<a name="line.292"></a>
-<span class="sourceLineNo">293</span>      if (validate(file.getPath())) {<a name="line.293"></a>
-<span class="sourceLineNo">294</span>        validFiles.add(file);<a name="line.294"></a>
-<span class="sourceLineNo">295</span>      } else {<a name="line.295"></a>
-<span class="sourceLineNo">296</span>        LOG.warn("Found a wrongly formatted file: " + file.getPath() + " - will delete it.");<a name="line.296"></a>
-<span class="sourceLineNo">297</span>        invalidFiles.add(file);<a name="line.297"></a>
-<span class="sourceLineNo">298</span>      }<a name="line.298"></a>
-<span class="sourceLineNo">299</span>    }<a name="line.299"></a>
-<span class="sourceLineNo">300</span><a name="line.300"></a>
-<span class="sourceLineNo">301</span>    Iterable&lt;FileStatus&gt; deletableValidFiles = validFiles;<a name="line.301"></a>
-<span class="sourceLineNo">302</span>    // check each of the cleaners for the valid files<a name="line.302"></a>
-<span class="sourceLineNo">303</span>    for (T cleaner : cleanersChain) {<a name="line.303"></a>
-<span class="sourceLineNo">304</span>      if (cleaner.isStopped() || this.getStopper().isStopped()) {<a name="line.304"></a>
-<span class="sourceLineNo">305</span>        LOG.warn("A file cleaner" + this.getName() + " is stopped, won't delete any more files in:"<a name="line.305"></a>
-<span class="sourceLineNo">306</span>            + this.oldFileDir);<a name="line.306"></a>
-<span class="sourceLineNo">307</span>        return false;<a name="line.307"></a>
-<span class="sourceLineNo">308</span>      }<a name="line.308"></a>
-<span class="sourceLineNo">309</span><a name="line.309"></a>
-<span class="sourceLineNo">310</span>      Iterable&lt;FileStatus&gt; filteredFiles = cleaner.getDeletableFiles(deletableValidFiles);<a name="line.310"></a>
-<span class="sourceLineNo">311</span>      <a name="line.311"></a>
-<span class="sourceLineNo">312</span>      // trace which cleaner is holding on to each file<a name="line.312"></a>
-<span class="sourceLineNo">313</span>      if (LOG.isTraceEnabled()) {<a name="line.313"></a>
-<span class="sourceLineNo">314</span>        ImmutableSet&lt;FileStatus&gt; filteredFileSet = ImmutableSet.copyOf(filteredFiles);<a name="line.314"></a>
-<span class="sourceLineNo">315</span>        for (FileStatus file : deletableValidFiles) {<a name="line.315"></a>
-<span class="sourceLineNo">316</span>          if (!filteredFileSet.contains(file)) {<a name="line.316"></a>
-<span class="sourceLineNo">317</span>            LOG.trace(file.getPath() + " is not deletable according to:" + cleaner);<a name="line.317"></a>
-<span class="sourceLineNo">318</span>          }<a name="line.318"></a>
-<span class="sourceLineNo">319</span>        }<a name="line.319"></a>
-<span class="sourceLineNo">320</span>      }<a name="line.320"></a>
-<span class="sourceLineNo">321</span>      <a name="line.321"></a>
-<span class="sourceLineNo">322</span>      deletableValidFiles = filteredFiles;<a name="line.322"></a>
-<span class="sourceLineNo">323</span>    }<a name="line.323"></a>
-<span class="sourceLineNo">324</span>    <a name="line.324"></a>
-<span class="sourceLineNo">325</span>    Iterable&lt;FileStatus&gt; filesToDelete = Iterables.concat(invalidFiles, deletableValidFiles);<a name="line.325"></a>
-<span class="sourceLineNo">326</span>    return deleteFiles(filesToDelete) == files.size();<a name="line.326"></a>
-<span class="sourceLineNo">327</span>  }<a name="line.327"></a>
-<span class="sourceLineNo">328</span><a name="line.328"></a>
-<span class="sourceLineNo">329</span>  /**<a name="line.329"></a>
-<span class="sourceLineNo">330</span>   * Delete the given files<a name="line.330"></a>
-<span class="sourceLineNo">331</span>   * @param filesToDelete files to delete<a name="line.331"></a>
-<span class="sourceLineNo">332</span>   * @return number of deleted files<a name="line.332"></a>
-<span class="sourceLineNo">333</span>   */<a name="line.333"></a>
-<span class="sourceLineNo">334</span>  protected int deleteFiles(Iterable&lt;FileStatus&gt; filesToDelete) {<a name="line.334"></a>
-<span class="sourceLineNo">335</span>    int deletedFileCount = 0;<a name="line.335"></a>
-<span class="sourceLineNo">336</span>    for (FileStatus file : filesToDelete) {<a name="line.336"></a>
-<span class="sourceLineNo">337</span>      Path filePath = file.getPath();<a name="line.337"></a>
-<span class="sourceLineNo">338</span>      LOG.trace("Removing {} from archive", filePath);<a name="line.338"></a>
-<span class="sourceLineNo">339</span>      try {<a name="line.339"></a>
-<span class="sourceLineNo">340</span>        boolean success = this.fs.delete(filePath, false);<a name="line.340"></a>
-<span class="sourceLineNo">341</span>        if (success) {<a name="line.341"></a>
-<span class="sourceLineNo">342</span>          deletedFileCount++;<a name="line.342"></a>
-<span class="sourceLineNo">343</span>        } else {<a name="line.343"></a>
-<span class="sourceLineNo">344</span>          LOG.warn("Attempted to delete:" + filePath<a name="line.344"></a>
-<span class="sourceLineNo">345</span>              + ", but couldn't. Run cleaner chain and attempt to delete on next pass.");<a name="line.345"></a>
-<span class="sourceLineNo">346</span>        }<a name="line.346"></a>
-<span class="sourceLineNo">347</span>      } catch (IOException e) {<a name="line.347"></a>
-<span class="sourceLineNo">348</span>        e = e instanceof RemoteException ?<a name="line.348"></a>
-<span class="sourceLineNo">349</span>                  ((RemoteException)e).unwrapRemoteException() : e;<a name="line.349"></a>
-<span class="sourceLineNo">350</span>        LOG.warn("Error while deleting: " + filePath, e);<a name="line.350"></a>
-<span class="sourceLineNo">351</span>      }<a name="line.351"></a>
-<span class="sourceLineNo">352</span>    }<a name="line.352"></a>
-<span class="sourceLineNo">353</span>    return deletedFileCount;<a name="line.353"></a>
-<span class="sourceLineNo">354</span>  }<a name="line.354"></a>
-<span class="sourceLineNo">355</span><a name="line.355"></a>
-<span class="sourceLineNo">356</span>  @Override<a name="line.356"></a>
-<span class="sourceLineNo">357</span>  public void cleanup() {<a name="line.357"></a>
-<span class="sourceLineNo">358</span>    for (T lc : this.cleanersChain) {<a name="line.358"></a>
-<span class="sourceLineNo">359</span>      try {<a name="line.359"></a>
-<span class="sourceLineNo">360</span>        lc.stop("Exiting");<a name="line.360"></a>
-<span class="sourceLineNo">361</span>      } catch (Throwable t) {<a name="line.361"></a>
-<span class="sourceLineNo">362</span>        LOG.warn("Stopping", t);<a name="line.362"></a>
-<span class="sourceLineNo">363</span>      }<a name="line.363"></a>
-<span class="sourceLineNo">364</span>    }<a name="line.364"></a>
-<span class="sourceLineNo">365</span>  }<a name="line.365"></a>
-<span class="sourceLineNo">366</span><a name="line.366"></a>
-<span class="sourceLineNo">367</span>  @VisibleForTesting<a name="line.367"></a>
-<span class="sourceLineNo">368</span>  int getChorePoolSize() {<a name="line.368"></a>
-<span class="sourceLineNo">369</span>    return chorePoolSize;<a name="line.369"></a>
-<span class="sourceLineNo">370</span>  }<a name="line.370"></a>
-<span class="sourceLineNo">371</span><a name="line.371"></a>
-<span class="sourceLineNo">372</span>  /**<a name="line.372"></a>
-<span class="sourceLineNo">373</span>   * @param enabled<a name="line.373"></a>
-<span class="sourceLineNo">374</span>   */<a name="line.374"></a>
-<span class="sourceLineNo">375</span>  public boolean setEnabled(final boolean enabled) {<a name="line.375"></a>
-<span class="sourceLineNo">376</span>    return this.enabled.getAndSet(enabled);<a name="line.376"></a>
-<span class="sourceLineNo">377</span>  }<a name="line.377"></a>
-<span class="sourceLineNo">378</span><a name="line.378"></a>
-<span class="sourceLineNo">379</span>  public boolean getEnabled() {<a name="line.379"></a>
-<span class="sourceLineNo">380</span>    return this.enabled.get();<a name="line.380"></a>
-<span class="sourceLineNo">381</span>  }<a name="line.381"></a>
-<span class="sourceLineNo">382</span><a name="line.382"></a>
-<span class="sourceLineNo">383</span>  private interface Action&lt;T&gt; {<a name="line.383"></a>
-<span class="sourceLineNo">384</span>    T act() throws IOException;<a name="line.384"></a>
-<span class="sourceLineNo">385</span>  }<a name="line.385"></a>
-<span class="sourceLineNo">386</span><a name="line.386"></a>
-<span class="sourceLineNo">387</span>  private class CleanerTask extends RecursiveTask&lt;Boolean&gt; {<a name="line.387"></a>
-<span class="sourceLineNo">388</span>    private final Path dir;<a name="line.388"></a>
-<span class="sourceLineNo">389</span>    private final boolean root;<a name="line.389"></a>
-<span class="sourceLineNo">390</span><a name="line.390"></a>
-<span class="sourceLineNo">391</span>    CleanerTask(final FileStatus dir, final boolean root) {<a name="line.391"></a>
-<span class="sourceLineNo">392</span>      this(dir.getPath(), root);<a name="line.392"></a>
-<span class="sourceLineNo">393</span>    }<a name="line.393"></a>
-<span class="sourceLineNo">394</span><a name="line.394"></a>
-<span class="sourceLineNo">395</span>    CleanerTask(final Path dir, final boolean root) {<a name="line.395"></a>
-<span class="sourceLineNo">396</span>      this.dir = dir;<a name="line.396"></a>
-<span class="sourceLineNo">397</span>      this.root = root;<a name="line.397"></a>
-<span class="sourceLineNo">398</span>    }<a name="line.398"></a>
-<span class="sourceLineNo">399</span><a name="line.399"></a>
-<span class="sourceLineNo">400</span>    @Override<a name="line.400"></a>
-<span class="sourceLineNo">401</span>    protected Boolean compute() {<a name="line.401"></a>
-<span class="sourceLineNo">402</span>      if (LOG.isDebugEnabled()) {<a name="line.402"></a>
-<span class="sourceLineNo">403</span>        LOG.debug("CleanerTask " + Thread.currentThread().getId() +<a name="line.403"></a>
-<span class="sourceLineNo">404</span>          " starts cleaning dirs and files under " + dir + " and itself.");<a name="line.404"></a>
-<span class="sourceLineNo">405</span>      }<a name="line.405"></a>
-<span class="sourceLineNo">406</span><a name="line.406"></a>
-<span class="sourceLineNo">407</span>      List&lt;FileStatus&gt; subDirs;<a name="line.407"></a>
-<span class="sourceLineNo">408</span>      List&lt;FileStatus&gt; files;<a name="line.408"></a>
-<span class="sourceLineNo">409</span>      try {<a name="line.409"></a>
-<span class="sourceLineNo">410</span>        subDirs = getFilteredStatus(status -&gt; status.isDirectory());<a name="line.410"></a>
-<span class="sourceLineNo">411</span>        files = getFilteredStatus(status -&gt; status.isFile());<a name="line.411"></a>
-<span class="sourceLineNo">412</span>      } catch (IOException ioe) {<a name="line.412"></a>
-<span class="sourceLineNo">413</span>        LOG.warn(dir + " doesn't exist, just skip it. ", ioe);<a name="line.413"></a>
-<span class="sourceLineNo">414</span>        return true;<a name="line.414"></a>
-<span class="sourceLineNo">415</span>      }<a name="line.415"></a>
-<span class="sourceLineNo">416</span><a name="line.416"></a>
-<span class="sourceLineNo">417</span>      boolean nullSubDirs = subDirs == null;<a name="line.417"></a>
-<span class="sourceLineNo">418</span>      if (nullSubDirs) {<a name="line.418"></a>
-<span class="sourceLineNo">419</span>        LOG.trace("There is no subdir under {}", dir);<a name="line.419"></a>
-<span class="sourceLineNo">420</span>      }<a name="line.420"></a>
-<span class="sourceLineNo">421</span>      if (files == null) {<a name="line.421"></a>
-<span class="sourceLineNo">422</span>        LOG.trace("There is no file under {}", dir);<a name="line.422"></a>
-<span class="sourceLineNo">423</span>      }<a name="line.423"></a>
-<span class="sourceLineNo">424</span><a name="line.424"></a>
-<span class="sourceLineNo">425</span>      int capacity = nullSubDirs ? 0 : subDirs.size();<a name="line.425"></a>
-<span class="sourceLineNo">426</span>      List&lt;CleanerTask&gt; tasks = Lists.newArrayListWithCapacity(capacity);<a name="line.426"></a>
-<span class="sourceLineNo">427</span>      if (!nullSubDirs) {<a name="line.427"></a>
-<span class="sourceLineNo">428</span>        sortByConsumedSpace(subDirs);<a name="line.428"></a>
-<span class="sourceLineNo">429</span>        for (FileStatus subdir : subDirs) {<a name="line.429"></a>
-<span class="sourceLineNo">430</span>          CleanerTask task = new CleanerTask(subdir, false);<a name="line.430"></a>
-<span class="sourceLineNo">431</span>          tasks.add(task);<a name="line.431"></a>
-<span class="sourceLineNo">432</span>          task.fork();<a name="line.432"></a>
-<span class="sourceLineNo">433</span>        }<a name="line.433"></a>
-<span class="sourceLineNo">434</span>      }<a name="line.434"></a>
-<span class="sourceLineNo">435</span><a name="line.435"></a>
-<span class="sourceLineNo">436</span>      boolean result = true;<a name="line.436"></a>
-<span class="sourceLineNo">437</span>      result &amp;= deleteAction(() -&gt; checkAndDeleteFiles(files), "files");<a name="line.437"></a>
-<span class="sourceLineNo">438</span>      result &amp;= deleteAction(() -&gt; getCleanResult(tasks), "subdirs");<a name="line.438"></a>
-<span class="sourceLineNo">439</span>      // if and only if files and subdirs under current dir are deleted successfully, and<a name="line.439"></a>
-<span class="sourceLineNo">440</span>      // it is not the root dir, then task will try to delete it.<a name="line.440"></a>
-<span class="sourceLineNo">441</span>      if (result &amp;&amp; !root) {<a name="line.441"></a>
-<span class="sourceLineNo">442</span>        result &amp;= deleteAction(() -&gt; fs.delete(dir, false), "dir");<a name="line.442"></a>
-<span class="sourceLineNo">443</span>      }<a name="line.443"></a>
-<span class="sourceLineNo">444</span>      return result;<a name="line.444"></a>
-<span class="sourceLineNo">445</span>    }<a name="line.445"></a>
-<span class="sourceLineNo">446</span><a name="line.446"></a>
-<span class="sourceLineNo">447</span>    /**<a name="line.447"></a>
-<span class="sourceLineNo">448</span>     * Get FileStatus with filter.<a name="line.448"></a>
-<span class="sourceLineNo">449</span>     * Pay attention that FSUtils #listStatusWithStatusFilter would return null,<a name="line.449"></a>
-<span class="sourceLineNo">450</span>     * even though status is empty but not null.<a name="line.450"></a>
-<span class="sourceLineNo">451</span>     * @param function a filter function<a name="line.451"></a>
-<span class="sourceLineNo">452</span>     * @return filtered FileStatus<a name="line.452"></a>
-<span class="sourceLineNo">453</span>     * @throws IOException if there's no such a directory<a name="line.453"></a>
-<span class="sourceLineNo">454</span>     */<a name="line.454"></a>
-<span class="sourceLineNo">455</span>    private List&lt;FileStatus&gt; getFilteredStatus(Predicate&lt;FileStatus&gt; function) throws IOException {<a name="line.455"></a>
-<span class="sourceLineNo">456</span>      return FSUtils.listStatusWithStatusFilter(fs, dir, status -&gt; function.test(status));<a name="line.456"></a>
-<span class="sourceLineNo">457</span>    }<a name="line.457"></a>
-<span class="sourceLineNo">458</span><a name="line.458"></a>
-<span class="sourceLineNo">459</span>    /**<a name="line.459"></a>
-<span class="sourceLineNo">460</span>     * Perform a delete on a specified type.<a name="line.460"></a>
-<span class="sourceLineNo">461</span>     * @param deletion a delete<a name="line.461"></a>
-<span class="sourceLineNo">462</span>     * @param type possible values are 'files', 'subdirs', 'dirs'<a name="line.462"></a>
-<span class="sourceLineNo">463</span>     * @return true if it deleted successfully, false otherwise<a name="line.463"></a>
-<span class="sourceLineNo">464</span>     */<a name="line.464"></a>
-<span class="sourceLineNo">465</span>    private boolean deleteAction(Action&lt;Boolean&gt; deletion, String type) {<a name="line.465"></a>
-<span class="sourceLineNo">466</span>      boolean deleted;<a name="line.466"></a>
-<span class="sourceLineNo">467</span>      String errorMsg = null;<a name="line.467"></a>
-<span class="sourceLineNo">468</span>      try {<a name="line.468"></a>
-<span class="sourceLineNo">469</span>        LOG.trace("Start deleting {} under {}", type, dir);<a name="line.469"></a>
-<span class="sourceLineNo">470</span>        deleted = deletion.act();<a name="line.470"></a>
-<span class="sourceLineNo">471</span>      } catch (IOException ioe) {<a name="line.471"></a>
-<span class="sourceLineNo">472</span>        errorMsg = ioe.getMessage();<a name="line.472"></a>
-<span class="sourceLineNo">473</span>        LOG.warn("Could not delete {} under {}; {}", type, dir, errorMsg);<a name="line.473"></a>
-<span class="sourceLineNo">474</span>        deleted = false;<a name="line.474"></a>
-<span class="sourceLineNo">475</span>      }<a name="line.475"></a>
-<span class="sourceLineNo">476</span>      LOG.trace("Finish deleting {} under {}, deleted=", type, dir, deleted);<a name="line.476"></a>
-<span class="sourceLineNo">477</span>      return deleted;<a name="line.477"></a>
-<span class="sourceLineNo">478</span>    }<a name="line.478"></a>
-<span class="sourceLineNo">479</span><a name="line.479"></a>
-<span class="sourceLineNo">480</span>    /**<a name="line.480"></a>
-<span class="sourceLineNo">481</span>     * Get cleaner results of subdirs.<a name="line.481"></a>
-<span class="sourceLineNo">482</span>     * @param tasks subdirs cleaner tasks<a name="line.482"></a>
-<span class="sourceLineNo">483</span>     * @return true if all subdirs deleted successfully, false for patial/all failures<a name="line.483"></a>
-<span class="sourceLineNo">484</span>     * @throws IOException something happen during computation<a name="line.484"></a>
-<span class="sourceLineNo">485</span>     */<a name="line.485"></a>
-<span class="sourceLineNo">486</span>    private boolean getCleanResult(List&lt;CleanerTask&gt; tasks) throws IOException {<a name="line.486"></a>
-<span class="sourceLineNo">487</span>      boolean cleaned = true;<a name="line.487"></a>
-<span class="sourceLineNo">488</span>      try {<a name="line.488"></a>
-<span class="sourceLineNo">489</span>        for (CleanerTask task : tasks) {<a name="line.489"></a>
-<span class="sourceLineNo">490</span>          cleaned &amp;= task.get();<a name="line.490"></a>
-<span class="sourceLineNo">491</span>        }<a name="line.491"></a>
-<span class="sourceLineNo">492</span>      } catch (InterruptedException | ExecutionException e) {<a name="line.492"></a>
-<span class="sourceLineNo">493</span>        throw new IOException(e);<a name="line.493"></a>
-<span class="sourceLineNo">494</span>      }<a name="line.494"></a>
-<span class="sourceLineNo">495</span>      return cleaned;<a name="line.495"></a>
-<span class="sourceLineNo">496</span>    }<a name="line.496"></a>
-<span class="sourceLineNo">497</span>  }<a name="line.497"></a>
-<span class="sourceLineNo">498</span>}<a name="line.498"></a>
+<span class="sourceLineNo">190</span>  private void updateChorePoolSize(int updatedSize) {<a name="line.190"></a>
+<span class="sourceLineNo">191</span>    chorePool.shutdownNow();<a name="line.191"></a>
+<span class="sourceLineNo">192</span>    LOG.info("Update chore's pool size from {} to {}", chorePool.getParallelism(), updatedSize);<a name="line.192"></a>
+<span class="sourceLineNo">193</span>    chorePool = new ForkJoinPool(updatedSize);<a name="line.193"></a>
+<span class="sourceLineNo">194</span>  }<a name="line.194"></a>
+<span class="sourceLineNo">195</span><a name="line.195"></a>
+<span class="sourceLineNo">196</span>  /**<a name="line.196"></a>
+<span class="sourceLineNo">197</span>   * A utility method to create new instances of LogCleanerDelegate based on the class name of the<a name="line.197"></a>
+<span class="sourceLineNo">198</span>   * LogCleanerDelegate.<a name="line.198"></a>
+<span class="sourceLineNo">199</span>   * @param className fully qualified class name of the LogCleanerDelegate<a name="line.199"></a>
+<span class="sourceLineNo">200</span>   * @param conf used configuration<a name="line.200"></a>
+<span class="sourceLineNo">201</span>   * @return the new instance<a name="line.201"></a>
+<span class="sourceLineNo">202</span>   */<a name="line.202"></a>
+<span class="sourceLineNo">203</span>  private T newFileCleaner(String className, Configuration conf) {<a name="line.203"></a>
+<span class="sourceLineNo">204</span>    try {<a name="line.204"></a>
+<span class="sourceLineNo">205</span>      Class&lt;? extends FileCleanerDelegate&gt; c = Class.forName(className).asSubclass(<a name="line.205"></a>
+<span class="sourceLineNo">206</span>        FileCleanerDelegate.class);<a name="line.206"></a>
+<span class="sourceLineNo">207</span>      @SuppressWarnings("unchecked")<a name="line.207"></a>
+<span class="sourceLineNo">208</span>      T cleaner = (T) c.newInstance();<a name="line.208"></a>
+<span class="sourceLineNo">209</span>      cleaner.setConf(conf);<a name="line.209"></a>
+<span class="sourceLineNo">210</span>      cleaner.init(this.params);<a name="line.210"></a>
+<span class="sourceLineNo">211</span>      return cleaner;<a name="line.211"></a>
+<span class="sourceLineNo">212</span>    } catch (Exception e) {<a name="line.212"></a>
+<span class="sourceLineNo">213</span>      LOG.warn("Can NOT create CleanerDelegate={}", className, e);<a name="line.213"></a>
+<span class="sourceLineNo">214</span>      // skipping if can't instantiate<a name="line.214"></a>
+<span class="sourceLineNo">215</span>      return null;<a name="line.215"></a>
+<span class="sourceLineNo">216</span>    }<a name="line.216"></a>
+<span class="sourceLineNo">217</span>  }<a name="line.217"></a>
+<span class="sourceLineNo">218</span><a name="line.218"></a>
+<span class="sourceLineNo">219</span>  @Override<a name="line.219"></a>
+<span class="sourceLineNo">220</span>  protected void chore() {<a name="line.220"></a>
+<span class="sourceLineNo">221</span>    if (getEnabled()) {<a name="line.221"></a>
+<span class="sourceLineNo">222</span>      if (runCleaner()) {<a name="line.222"></a>
+<span class="sourceLineNo">223</span>        LOG.debug("Cleaned old files/dirs under {} successfully",  oldFileDir);<a name="line.223"></a>
+<span class="sourceLineNo">224</span>      } else {<a name="line.224"></a>
+<span class="sourceLineNo">225</span>        LOG.warn("Failed to fully clean old files/dirs under {}", oldFileDir);<a name="line.225"></a>
+<span class="sourceLineNo">226</span>      }<a name="line.226"></a>
+<span class="sourceLineNo">227</span>      // After each clean chore, checks if receives reconfigure notification while cleaning<a name="line.227"></a>
+<span class="sourceLineNo">228</span>      if (reconfig.compareAndSet(true, false)) {<a name="line.228"></a>
+<span class="sourceLineNo">229</span>        updateChorePoolSize(chorePoolSize);<a name="line.229"></a>
+<span class="sourceLineNo">230</span>      }<a name="line.230"></a>
+<span class="sourceLineNo">231</span>    } else {<a name="line.231"></a>
+<span class="sourceLineNo">232</span>      LOG.debug("Cleaner chore disabled! Not cleaning.");<a name="line.232"></a>
+<span class="sourceLineNo">233</span>    }<a name="line.233"></a>
+<span class="sourceLineNo">234</span>  }<a name="line.234"></a>
+<span class="sourceLineNo">235</span><a name="line.235"></a>
+<span class="sourceLineNo">236</span>  private void preRunCleaner() {<a name="line.236"></a>
+<span class="sourceLineNo">237</span>    cleanersChain.forEach(FileCleanerDelegate::preClean);<a name="line.237"></a>
+<span class="sourceLineNo">238</span>  }<a name="line.238"></a>
+<span class="sourceLineNo">239</span><a name="line.239"></a>
+<span class="sourceLineNo">240</span>  public Boolean runCleaner() {<a name="line.240"></a>
+<span class="sourceLineNo">241</span>    preRunCleaner();<a name="line.241"></a>
+<span class="sourceLineNo">242</span>    CleanerTask task = new CleanerTask(this.oldFileDir, true);<a name="line.242"></a>
+<span class="sourceLineNo">243</span>    chorePool.submit(task);<a name="line.243"></a>
+<span class="sourceLineNo">244</span>    return task.join();<a name="line.244"></a>
+<span class="sourceLineNo">245</span>  }<a name="line.245"></a>
+<span class="sourceLineNo">246</span><a name="line.246"></a>
+<span class="sourceLineNo">247</span>  /**<a name="line.247"></a>
+<span class="sourceLineNo">248</span>   * Sort the given list in (descending) order of the space each element takes<a name="line.248"></a>
+<span class="sourceLineNo">249</span>   * @param dirs the list to sort, element in it should be directory (not file)<a name="line.249"></a>
+<span class="sourceLineNo">250</span>   */<a name="line.250"></a>
+<span class="sourceLineNo">251</span>  private void sortByConsumedSpace(List&lt;FileStatus&gt; dirs) {<a name="line.251"></a>
+<span class="sourceLineNo">252</span>    if (dirs == null || dirs.size() &lt; 2) {<a name="line.252"></a>
+<span class="sourceLineNo">253</span>      // no need to sort for empty or single directory<a name="line.253"></a>
+<span class="sourceLineNo">254</span>      return;<a name="line.254"></a>
+<span class="sourceLineNo">255</span>    }<a name="line.255"></a>
+<span class="sourceLineNo">256</span>    dirs.sort(new Comparator&lt;FileStatus&gt;() {<a name="line.256"></a>
+<span class="sourceLineNo">257</span>      HashMap&lt;FileStatus, Long&gt; directorySpaces = new HashMap&lt;&gt;();<a name="line.257"></a>
+<span class="sourceLineNo">258</span><a name="line.258"></a>
+<span class="sourceLineNo">259</span>      @Override<a name="line.259"></a>
+<span class="sourceLineNo">260</span>      public int compare(FileStatus f1, FileStatus f2) {<a name="line.260"></a>
+<span class="sourceLineNo">261</span>        long f1ConsumedSpace = getSpace(f1);<a name="line.261"></a>
+<span class="sourceLineNo">262</span>        long f2ConsumedSpace = getSpace(f2);<a name="line.262"></a>
+<span class="sourceLineNo">263</span>        return Long.compare(f2ConsumedSpace, f1ConsumedSpace);<a name="line.263"></a>
+<span class="sourceLineNo">264</span>      }<a name="line.264"></a>
+<span class="sourceLineNo">265</span><a name="line.265"></a>
+<span class="sourceLineNo">266</span>      private long getSpace(FileStatus f) {<a name="line.266"></a>
+<span class="sourceLineNo">267</span>        Long cached = directorySpaces.get(f);<a name="line.267"></a>
+<span class="sourceLineNo">268</span>        if (cached != null) {<a name="line.268"></a>
+<span class="sourceLineNo">269</span>          return cached;<a name="line.269"></a>
+<span class="sourceLineNo">270</span>        }<a name="line.270"></a>
+<span class="sourceLineNo">271</span>        try {<a name="line.271"></a>
+<span class="sourceLineNo">272</span>          long space =<a name="line.272"></a>
+<span class="sourceLineNo">273</span>              f.isDirectory() ? fs.getContentSummary(f.getPath()).getSpaceConsumed() : f.getLen();<a name="line.273"></a>
+<span class="sourceLineNo">274</span>          directorySpaces.put(f, space);<a name="line.274"></a>
+<span class="sourceLineNo">275</span>          return space;<a name="line.275"></a>
+<span class="sourceLineNo">276</span>        } catch (IOException e) {<a name="line.276"></a>
+<span class="sourceLineNo">277</span>          LOG.trace("Failed to get space consumed by path={}", f, e);<a name="line.277"></a>
+<span class="sourceLineNo">278</span>          return -1;<a name="line.278"></a>
+<span class="sourceLineNo">279</span>        }<a name="line.279"></a>
+<span class="sourceLineNo">280</span>      }<a name="line.280"></a>
+<span class="sourceLineNo">281</span>    });<a name="line.281"></a>
+<span class="sourceLineNo">282</span>  }<a name="line.282"></a>
+<span class="sourceLineNo">283</span><a name="line.283"></a>
+<span class="sourceLineNo">284</span>  /**<a name="line.284"></a>
+<span class="sourceLineNo">285</span>   * Run the given files through each of the cleaners to see if it should be deleted, deleting it if<a name="line.285"></a>
+<span class="sourceLineNo">286</span>   * necessary.<a name="line.286"></a>
+<span class="sourceLineNo">287</span>   * @param files List of FileStatus for the files to check (and possibly delete)<a name="line.287"></a>
+<span class="sourceLineNo">288</span>   * @return true iff successfully deleted all files<a name="line.288"></a>
+<span class="sourceLineNo">289</span>   */<a name="line.289"></a>
+<span class="sourceLineNo">290</span>  private boolean checkAndDeleteFiles(List&lt;FileStatus&gt; files) {<a name="line.290"></a>
+<span class="sourceLineNo">291</span>    if (files == null) {<a name="line.291"></a>
+<span class="sourceLineNo">292</span>      return true;<a name="line.292"></a>
+<span class="sourceLineNo">293</span>    }<a name="line.293"></a>
+<span class="sourceLineNo">294</span><a name="line.294"></a>
+<span class="sourceLineNo">295</span>    // first check to see if the path is valid<a name="line.295"></a>
+<span class="sourceLineNo">296</span>    List&lt;FileStatus&gt; validFiles = Lists.newArrayListWithCapacity(files.size());<a name="line.296"></a>
+<span class="sourceLineNo">297</span>    List&lt;FileStatus&gt; invalidFiles = Lists.newArrayList();<a name="line.297"></a>
+<span class="sourceLineNo">298</span>    for (FileStatus file : files) {<a name="line.298"></a>
+<span class="sourceLineNo">299</span>      if (validate(file.getPath())) {<a name="line.299"></a>
+<span class="sourceLineNo">300</span>        validFiles.add(file);<a name="line.300"></a>
+<span class="sourceLineNo">301</span>      } else {<a name="line.301"></a>
+<span class="sourceLineNo">302</span>        LOG.warn("Found a wrongly formatted file: " + file.getPath() + " - will delete it.");<a name="line.302"></a>
+<span class="sourceLineNo">303</span>        invalidFiles.add(file);<a name="line.303"></a>
+<span class="sourceLineNo">304</span>      }<a name="line.304"></a>
+<span class="sourceLineNo">305</span>    }<a name="line.305"></a>
+<span class="sourceLineNo">306</span><a name="line.306"></a>
+<span class="sourceLineNo">307</span>    Iterable&lt;FileStatus&gt; deletableValidFiles = validFiles;<a name="line.307"></a>
+<span class="sourceLineNo">308</span>    // check each of the cleaners for the valid files<a name="line.308"></a>
+<span class="sourceLineNo">309</span>    for (T cleaner : cleanersChain) {<a name="line.309"></a>
+<span class="sourceLineNo">310</span>      if (cleaner.isStopped() || this.getStopper().isStopped()) {<a name="line.310"></a>
+<span class="sourceLineNo">311</span>        LOG.warn("A file cleaner" + this.getName() + " is stopped, won't delete any more files in:"<a name="line.311"></a>
+<span class="sourceLineNo">312</span>            + this.oldFileDir);<a name="line.312"></a>
+<span class="sourceLineNo">313</span>        return false;<a name="line.313"></a>
+<span class="sourceLineNo">314</span>      }<a name="line.314"></a>
+<span class="sourceLineNo">315</span><a name="line.315"></a>
+<span class="sourceLineNo">316</span>      Iterable&lt;FileStatus&gt; filteredFiles = cleaner.getDeletableFiles(deletableValidFiles);<a name="line.316"></a>
+<span class="sourceLineNo">317</span>      <a name="line.317"></a>
+<span class="sourceLineNo">318</span>      // trace which cleaner is holding on to each file<a name="line.318"></a>
+<span class="sourceLineNo">319</span>      if (LOG.isTraceEnabled()) {<a name="line.319"></a>
+<span class="sourceLineNo">320</span>        ImmutableSet&lt;FileStatus&gt; filteredFileSet = ImmutableSet.copyOf(filteredFiles);<a name="line.320"></a>
+<span class="sourceLineNo">321</span>        for (FileStatus file : deletableValidFiles) {<a name="line.321"></a>
+<span class="sourceLineNo">322</span>          if (!filteredFileSet.contains(file)) {<a name="line.322"></a>
+<span class="sourceLineNo">323</span>            LOG.trace(file.getPath() + " is not deletable according to:" + cleaner);<a name="line.323"></a>
+<span class="sourceLineNo">324</span>          }<a name="line.324"></a>
+<span class="sourceLineNo">325</span>        }<a name="line.325"></a>
+<span class="sourceLineNo">326</span>      }<a name="line.326"></a>
+<span class="sourceLineNo">327</span>      <a name="line.327"></a>
+<span class="sourceLineNo">328</span>      deletableValidFiles = filteredFiles;<a name="line.328"></a>
+<span class="sourceLineNo">329</span>    }<a name="line.329"></a>
+<span class="sourceLineNo">330</span>    <a name="line.330"></a>
+<span class="sourceLineNo">331</span>    Iterable&lt;FileStatus&gt; filesToDelete = Iterables.concat(invalidFiles, deletableValidFiles);<a name="line.331"></a>
+<span class="sourceLineNo">332</span>    return deleteFiles(filesToDelete) == files.size();<a name="line.332"></a>
+<span class="sourceLineNo">333</span>  }<a name="line.333"></a>
+<span class="sourceLineNo">334</span><a name="line.334"></a>
+<span class="sourceLineNo">335</span>  /**<a name="line.335"></a>
+<span class="sourceLineNo">336</span>   * Delete the given files<a name="line.336"></a>
+<span class="sourceLineNo">337</span>   * @param filesToDelete files to delete<a name="line.337"></a>
+<span class="sourceLineNo">338</span>   * @return number of deleted files<a name="line.338"></a>
+<span class="sourceLineNo">339</span>   */<a name="line.339"></a>
+<span class="sourceLineNo">340</span>  protected int deleteFiles(Iterable&lt;FileStatus&gt; filesToDelete) {<a name="line.340"></a>
+<span class="sourceLineNo">341</span>    int deletedFileCount = 0;<a name="line.341"></a>
+<span class="sourceLineNo">342</span>    for (FileStatus file : filesToDelete) {<a name="line.342"></a>
+<span class="sourceLineNo">343</span>      Path filePath = file.getPath();<a name="line.343"></a>
+<span class="sourceLineNo">344</span>      LOG.trace("Removing {} from archive", filePath);<a name="line.344"></a>
+<span class="sourceLineNo">345</span>      try {<a name="line.345"></a>
+<span class="sourceLineNo">346</span>        boolean success = this.fs.delete(filePath, false);<a name="line.346"></a>
+<span class="sourceLineNo">347</span>        if (success) {<a name="line.347"></a>
+<span class="sourceLineNo">348</span>          deletedFileCount++;<a name="line.348"></a>
+<span class="sourceLineNo">349</span>        } else {<a name="line.349"></a>
+<span class="sourceLineNo">350</span>          LOG.warn("Attempted to delete:" + filePath<a name="line.350"></a>
+<span class="sourceLineNo">351</span>              + ", but couldn't. Run cleaner chain and attempt to delete on next pass.");<a name="line.351"></a>
+<span class="sourceLineNo">352</span>        }<a name="line.352"></a>
+<span class="sourceLineNo">353</span>      } catch (IOException e) {<a name="line.353"></a>
+<span class="sourceLineNo">354</span>        e = e instanceof RemoteException ?<a name="line.354"></a>
+<span class="sourceLineNo">355</span>                  ((RemoteException)e).unwrapRemoteException() : e;<a name="line.355"></a>
+<span class="sourceLineNo">356</span>        LOG.warn("Error while deleting: " + filePath, e);<a name="line.356"></a>
+<span class="sourceLineNo">357</span>      }<a name="line.357"></a>
+<span class="sourceLineNo">358</span>    }<a name="line.358"></a>
+<span class="sourceLineNo">359</span>    return deletedFileCount;<a name="line.359"></a>
+<span class="sourceLineNo">360</span>  }<a name="line.360"></a>
+<span class="sourceLineNo">361</span><a name="line.361"></a>
+<span class="sourceLineNo">362</span>  @Override<a name="line.362"></a>
+<span class="sourceLineNo">363</span>  public void cleanup() {<a name="line.363"></a>
+<span class="sourceLineNo">364</span>    for (T lc : this.cleanersChain) {<a name="line.364"></a>
+<span class="sourceLineNo">365</span>      try {<a name="line.365"></a>
+<span class="sourceLineNo">366</span>        lc.stop("Exiting");<a name="line.366"></a>
+<span class="sourceLineNo">367</span>      } catch (Throwable t) {<a name="line.367"></a>
+<span class="sourceLineNo">368</span>        LOG.warn("Stopping", t);<a name="line.368"></a>
+<span class="sourceLineNo">369</span>      }<a name="line.369"></a>
+<span class="sourceLineNo">370</span>    }<a name="line.370"></a>
+<span class="sourceLineNo">371</span>  }<a name="line.371"></a>
+<span class="sourceLineNo">372</span><a name="line.372"></a>
+<span class="sourceLineNo">373</span>  @VisibleForTesting<a name="line.373"></a>
+<span class="sourceLineNo">374</span>  int getChorePoolSize() {<a name="line.374"></a>
+<span class="sourceLineNo">375</span>    return chorePoolSize;<a name="line.375"></a>
+<span class="sourceLineNo">376</span>  }<a name="line.376"></a>
+<span class="sourceLineNo">377</span><a name="line.377"></a>
+<span class="sourceLineNo">378</span>  /**<a name="line.378"></a>
+<span class="sourceLineNo">379</span>   * @param enabled<a name="line.379"></a>
+<span class="sourceLineNo">380</span>   */<a name="line.380"></a>
+<span class="sourceLineNo">381</span>  public boolean setEnabled(final boolean enabled) {<a name="line.381"></a>
+<span class="sourceLineNo">382</span>    return this.enabled.getAndSet(enabled);<a name="line.382"></a>
+<span class="sourceLineNo">383</span>  }<a name="line.383"></a>
+<span class="sourceLineNo">384</span><a name="line.384"></a>
+<span class="sourceLineNo">385</span>  public boolean getEnabled() {<a name="line.385"></a>
+<span class="sourceLineNo">386</span>    return this.enabled.get();<a name="line.386"></a>
+<span class="sourceLineNo">387</span>  }<a name="line.387"></a>
+<span class="sourceLineNo">388</span><a name="line.388"></a>
+<span class="sourceLineNo">389</span>  private interface Action&lt;T&gt; {<a name="line.389"></a>
+<span class="sourceLineNo">390</span>    T act() throws IOException;<a name="line.390"></a>
+<span class="sourceLineNo">391</span>  }<a name="line.391"></a>
+<span class="sourceLineNo">392</span><a name="line.392"></a>
+<span class="sourceLineNo">393</span>  private class CleanerTask extends RecursiveTask&lt;Boolean&gt; {<a name="line.393"></a>
+<span class="sourceLineNo">394</span>    private final Path dir;<a name="line.394"></a>
+<span class="sourceLineNo">395</span>    private final boolean root;<a name="line.395"></a>
+<span class="sourceLineNo">396</span><a name="line.396"></a>
+<span class="sourceLineNo">397</span>    CleanerTask(final FileStatus dir, final boolean root) {<a name="line.397"></a>
+<span class="sourceLineNo">398</span>      this(dir.getPath(), root);<a name="line.398"></a>
+<span class="sourceLineNo">399</span>    }<a name="line.399"></a>
+<span class="sourceLineNo">400</span><a name="line.400"></a>
+<span class="sourceLineNo">401</span>    CleanerTask(final Path dir, final boolean root) {<a name="line.401"></a>
+<span class="sourceLineNo">402</span>      this.dir = dir;<a name="line.402"></a>
+<span class="sourceLineNo">403</span>      this.root = root;<a name="line.403"></a>
+<span class="sourceLineNo">404</span>    }<a name="line.404"></a>
+<span class="sourceLineNo">405</span><a name="line.405"></a>
+<span class="sourceLineNo">406</span>    @Override<a name="line.406"></a>
+<span class="sourceLineNo">407</span>    protected Boolean compute() {<a name="line.407"></a>
+<span class="sourceLineNo">408</span>      if (LOG.isDebugEnabled()) {<a name="line.408"></a>
+<span class="sourceLineNo">409</span>        LOG.debug("CleanerTask " + Thread.currentThread().getId() +<a name="line.409"></a>
+<span class="sourceLineNo">410</span>          " starts cleaning dirs and files under " + dir + " and itself.");<a name="line.410"></a>
+<span class="sourceLineNo">411</span>      }<a name="line.411"></a>
+<span class="sourceLineNo">412</span><a name="line.412"></a>
+<span class="sourceLineNo">413</span>      List&lt;FileStatus&gt; subDirs;<a name="line.413"></a>
+<span class="sourceLineNo">414</span>      List&lt;FileStatus&gt; files;<a name="line.414"></a>
+<span class="sourceLineNo">415</span>      try {<a name="line.415"></a>
+<span class="sourceLineNo">416</span>        subDirs = getFilteredStatus(status -&gt; status.isDirectory());<a name="line.416"></a>
+<span class="sourceLineNo">417</span>        files = getFilteredStatus(status -&gt; status.isFile());<a name="line.417"></a>
+<span class="sourceLineNo">418</span>      } catch (IOException ioe) {<a name="line.418"></a>
+<span class="sourceLineNo">419</span>        LOG.warn(dir + " doesn't exist, just skip it. ", ioe);<a name="line.419"></a>
+<span class="sourceLineNo">420</span>        return true;<a name="line.420"></a>
+<span class="sourceLineNo">421</span>      }<a name="line.421"></a>
+<span class="sourceLineNo">422</span><a name="line.422"></a>
+<span class="sourceLineNo">423</span>      boolean nullSubDirs = subDirs == null;<a name="line.423"></a>
+<span class="sourceLineNo">424</span>      if (nullSubDirs) {<a name="line.424"></a>
+<span class="sourceLineNo">425</span>        LOG.trace("There is no subdir under {}", dir);<a name="line.425"></a>
+<span class="sourceLineNo">426</span>      }<a name="line.426"></a>
+<span class="sourceLineNo">427</span>      if (files == null) {<a name="line.427"></a>
+<span class="sourceLineNo">428</span>        LOG.trace("There is no file under {}", dir);<a name="line.428"></a>
+<span class="sourceLineNo">429</span>      }<a name="line.429"></a>
+<span class="sourceLineNo">430</span><a name="line.430"></a>
+<span class="sourceLineNo">431</span>      int capacity = nullSubDirs ? 0 : subDirs.size();<a name="line.431"></a>
+<span class="sourceLineNo">432</span>      List&lt;CleanerTask&gt; tasks = Lists.newArrayListWithCapacity(capacity);<a name="line.432"></a>
+<span class="sourceLineNo">433</span>      if (!nullSubDirs) {<a name="line.433"></a>
+<span class="sourceLineNo">434</span>        sortByConsumedSpace(subDirs);<a name="line.434"></a>
+<span class="sourceLineNo">435</span>        for (FileStatus subdir : subDirs) {<a name="line.435"></a>
+<span class="sourceLineNo">436</span>          CleanerTask task = new CleanerTask(subdir, false);<a name="line.436"></a>
+<span class="sourceLineNo">437</span>          tasks.add(task);<a name="line.437"></a>
+<span class="sourceLineNo">438</span>          task.fork();<a name="line.438"></a>
+<span class="sourceLineNo">439</span>        }<a name="line.439"></a>
+<span class="sourceLineNo">440</span>      }<a name="line.440"></a>
+<span class="sourceLineNo">441</span><a name="line.441"></a>
+<span class="sourceLineNo">442</span>      boolean result = true;<a name="line.442"></a>
+<span class="sourceLineNo">443</span>      result &amp;= deleteAction(() -&gt; checkAndDeleteFiles(files), "files");<a name="line.443"></a>
+<span class="sourceLineNo">444</span>      result &amp;= deleteAction(() -&gt; getCleanResult(tasks), "subdirs");<a name="line.444"></a>
+<span class="sourceLineNo">445</span>      // if and only if files and subdirs under current dir are deleted successfully, and<a name="line.445"></a>
+<span class="sourceLineNo">446</span>      // it is not the root dir, then task will try to delete it.<a name="line.446"></a>
+<span class="sourceLineNo">447</span>      if (result &amp;&amp; !root) {<a name="line.447"></a>
+<span class="sourceLineNo">448</span>        result &amp;= deleteAction(() -&gt; fs.delete(dir, false), "dir");<a name="line.448"></a>
+<span class="sourceLineNo">449</span>      }<a name="line.449"></a>
+<span class="sourceLineNo">450</span>      return result;<a name="line.450"></a>
+<span class="sourceLineNo">451</span>    }<a name="line.451"></a>
+<span class="sourceLineNo">452</span><a name="line.452"></a>
+<span class="sourceLineNo">453</span>    /**<a name="line.453"></a>
+<span class="sourceLineNo">454</span>     * Get FileStatus with filter.<a name="line.454"></a>
+<span class="sourceLineNo">455</span>     * Pay attention that FSUtils #listStatusWithStatusFilter would return null,<a name="line.455"></a>
+<span class="sourceLineNo">456</span>     * even though status is empty but not null.<a name="line.456"></a>
+<span class="sourceLineNo">457</span>     * @param function a filter function<a name="line.457"></a>
+<span class="sourceLineNo">458</span>     * @return filtered FileStatus<a name="line.458"></a>
+<span class="sourceLineNo">459</span>     * @throws IOException if there's no such a directory<a name="line.459"></a>
+<span class="sourceLineNo">460</span>     */<a name="line.460"></a>
+<span class="sourceLineNo">461</span>    private List&lt;FileStatus&gt; getFilteredStatus(Predicate&lt;FileStatus&gt; function) throws IOException {<a name="line.461"></a>
+<span class="sourceLineNo">462</span>      return FSUtils.listStatusWithStatusFilter(fs, dir, status -&gt; function.test(status));<a name="line.462"></a>
+<span class="sourceLineNo">463</span>    }<a name="line.463"></a>
+<span class="sourceLineNo">464</span><a name="line.464"></a>
+<span class="sourceLineNo">465</span>    /**<a name="line.465"></a>
+<span class="sourceLineNo">466</span>     * Perform a delete on a specified type.<a name="line.466"></a>
+<span class="sourceLineNo">467</span>     * @param deletion a delete<a name="line.467"></a>
+<span class="sourceLineNo">468</span>     * @param type possible values are 'files', 'subdirs', 'dirs'<a name="line.468"></a>
+<span class="sourceLineNo">469</span>     * @return true if it deleted successfully, false otherwise<a name="line.469"></a>
+<span class="sourceLineNo">470</span>     */<a name="line.470"></a>
+<span class="sourceLineNo">471</span>    private boolean deleteAction(Action&lt;Boolean&gt; deletion, String type) {<a name="line.471"></a>
+<span class="sourceLineNo">472</span>      boolean deleted;<a name="line.472"></a>
+<span class="sourceLineNo">473</span>      String errorMsg = null;<a name="line.473"></a>
+<span class="sourceLineNo">474</span>      try {<a name="line.474"></a>
+<span class="sourceLineNo">475</span>        LOG.trace("Start deleting {} under {}", type, dir);<a name="line.475"></a>
+<span class="sourceLineNo">476</span>        deleted = deletion.act();<a name="line.476"></a>
+<span class="sourceLineNo">477</span>      } catch (IOException ioe) {<a name="line.477"></a>
+<span class="sourceLineNo">478</span>        errorMsg = ioe.getMessage();<a name="line.478"></a>
+<span class="sourceLineNo">479</span>        LOG.warn("Could not delete {} under {}; {}", type, dir, errorMsg);<a name="line.479"></a>
+<span class="sourceLineNo">480</span>        deleted = false;<a name="line.480"></a>
+<span class="sourceLineNo">481</span>      }<a name="line.481"></a>
+<span class="sourceLineNo">482</span>      LOG.trace("Finish deleting {} under {}, deleted=", type, dir, deleted);<a name="line.482"></a>
+<span class="sourceLineNo">483</span>      return deleted;<a name="line.483"></a>
+<span class="sourceLineNo">484</span>    }<a name="line.484"></a>
+<span class="sourceLineNo">485</span><a name="line.485"></a>
+<span class="sourceLineNo">486</span>    /**<a name="line.486"></a>
+<span class="sourceLineNo">487</span>     * Get cleaner results of subdirs.<a name="line.487"></a>
+<span class="sourceLineNo">488</span>     * @param tasks subdirs cleaner tasks<a name="line.488"></a>
+<span class="sourceLineNo">489</span>     * @return true if all subdirs deleted successfully, false for patial/all failures<a name="line.489"></a>
+<span class="sourceLineNo">490</span>     * @throws IOException something happen during computation<a name="line.490"></a>
+<span class="sourceLineNo">491</span>     */<a name="line.491"></a>
+<span class="sourceLineNo">492</span>    private boolean getCleanResult(List&lt;CleanerTask&gt; tasks) throws IOException {<a name="line.492"></a>
+<span class="sourceLineNo">493</span>      boolean cleaned = true;<a name="line.493"></a>
+<span class="sourceLineNo">494</span>      try {<a name="line.494"></a>
+<span class="sourceLineNo">495</span>        for (CleanerTask task : tasks) {<a name="line.495"></a>
+<span class="sourceLineNo">496</span>          cleaned &amp;= task.get();<a name="line.496"></a>
+<span class="sourceLineNo">497</span>        }<a name="line.497"></a>
+<span class="sourceLineNo">498</span>      } catch (InterruptedException | ExecutionException e) {<a name="line.498"></a>
+<span class="sourceLineNo">499</span>        throw new IOException(e);<a name="line.499"></a>
+<span class="sourceLineNo">500</span>      }<a name="line.500"></a>
+<span class="sourceLineNo">501</span>      return cleaned;<a name="line.501"></a>
+<span class="sourceLineNo">502</span>    }<a name="line.502"></a>
+<span class="sourceLineNo">503</span>  }<a name="line.503"></a>
+<span class="sourceLineNo">504</span>}<a name="line.504"></a>
 
 
 


[05/15] hbase-site git commit: Published site at .

Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html
index 4d770af..f2100fa 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.html
@@ -34,424 +34,425 @@
 <span class="sourceLineNo">026</span>import java.util.Arrays;<a name="line.26"></a>
 <span class="sourceLineNo">027</span>import java.util.List;<a name="line.27"></a>
 <span class="sourceLineNo">028</span><a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.slf4j.Logger;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.slf4j.LoggerFactory;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>import org.apache.hadoop.conf.Configuration;<a name="line.32"></a>
-<span class="sourceLineNo">033</span>import org.apache.hadoop.fs.Path;<a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.hadoop.fs.FileSystem;<a name="line.34"></a>
-<span class="sourceLineNo">035</span>import org.apache.hadoop.fs.FSDataInputStream;<a name="line.35"></a>
-<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.codec.Codec;<a name="line.36"></a>
-<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.io.LimitInputStream;<a name="line.37"></a>
-<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.HBaseInterfaceAudience;<a name="line.38"></a>
-<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos;<a name="line.40"></a>
-<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALHeader.Builder;<a name="line.41"></a>
-<span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALKey;<a name="line.42"></a>
-<span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALTrailer;<a name="line.43"></a>
-<span class="sourceLineNo">044</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.44"></a>
-<span class="sourceLineNo">045</span>import org.apache.hadoop.hbase.wal.WAL.Entry;<a name="line.45"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.conf.Configuration;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.fs.Path;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.hadoop.fs.FileSystem;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import org.apache.hadoop.fs.FSDataInputStream;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.codec.Codec;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.HBaseInterfaceAudience;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALHeader.Builder;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALKey;<a name="line.38"></a>
+<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALTrailer;<a name="line.39"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.40"></a>
+<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.wal.WAL.Entry;<a name="line.41"></a>
+<span class="sourceLineNo">042</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.42"></a>
+<span class="sourceLineNo">043</span><a name="line.43"></a>
+<span class="sourceLineNo">044</span>import org.slf4j.Logger;<a name="line.44"></a>
+<span class="sourceLineNo">045</span>import org.slf4j.LoggerFactory;<a name="line.45"></a>
 <span class="sourceLineNo">046</span><a name="line.46"></a>
-<span class="sourceLineNo">047</span>import org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream;<a name="line.47"></a>
-<span class="sourceLineNo">048</span>import org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException;<a name="line.48"></a>
-<span class="sourceLineNo">049</span><a name="line.49"></a>
-<span class="sourceLineNo">050</span>/**<a name="line.50"></a>
-<span class="sourceLineNo">051</span> * A Protobuf based WAL has the following structure:<a name="line.51"></a>
-<span class="sourceLineNo">052</span> * &lt;p&gt;<a name="line.52"></a>
-<span class="sourceLineNo">053</span> * &amp;lt;PB_WAL_MAGIC&amp;gt;&amp;lt;WALHeader&amp;gt;&amp;lt;WALEdits&amp;gt;...&amp;lt;WALEdits&amp;gt;&amp;lt;Trailer&amp;gt;<a name="line.53"></a>
-<span class="sourceLineNo">054</span> * &amp;lt;TrailerSize&amp;gt; &amp;lt;PB_WAL_COMPLETE_MAGIC&amp;gt;<a name="line.54"></a>
-<span class="sourceLineNo">055</span> * &lt;/p&gt;<a name="line.55"></a>
-<span class="sourceLineNo">056</span> * The Reader reads meta information (WAL Compression state, WALTrailer, etc) in<a name="line.56"></a>
-<span class="sourceLineNo">057</span> * ProtobufLogReader#initReader(FSDataInputStream). A WALTrailer is an extensible structure<a name="line.57"></a>
-<span class="sourceLineNo">058</span> * which is appended at the end of the WAL. This is empty for now; it can contain some meta<a name="line.58"></a>
-<span class="sourceLineNo">059</span> * information such as Region level stats, etc in future.<a name="line.59"></a>
-<span class="sourceLineNo">060</span> */<a name="line.60"></a>
-<span class="sourceLineNo">061</span>@InterfaceAudience.LimitedPrivate({HBaseInterfaceAudience.COPROC, HBaseInterfaceAudience.PHOENIX,<a name="line.61"></a>
-<span class="sourceLineNo">062</span>  HBaseInterfaceAudience.CONFIG})<a name="line.62"></a>
-<span class="sourceLineNo">063</span>public class ProtobufLogReader extends ReaderBase {<a name="line.63"></a>
-<span class="sourceLineNo">064</span>  private static final Logger LOG = LoggerFactory.getLogger(ProtobufLogReader.class);<a name="line.64"></a>
-<span class="sourceLineNo">065</span>  // public for WALFactory until we move everything to o.a.h.h.wal<a name="line.65"></a>
-<span class="sourceLineNo">066</span>  @InterfaceAudience.Private<a name="line.66"></a>
-<span class="sourceLineNo">067</span>  public static final byte[] PB_WAL_MAGIC = Bytes.toBytes("PWAL");<a name="line.67"></a>
-<span class="sourceLineNo">068</span>  // public for TestWALSplit<a name="line.68"></a>
-<span class="sourceLineNo">069</span>  @InterfaceAudience.Private<a name="line.69"></a>
-<span class="sourceLineNo">070</span>  public static final byte[] PB_WAL_COMPLETE_MAGIC = Bytes.toBytes("LAWP");<a name="line.70"></a>
-<span class="sourceLineNo">071</span>  /**<a name="line.71"></a>
-<span class="sourceLineNo">072</span>   * Configuration name of WAL Trailer's warning size. If a waltrailer's size is greater than the<a name="line.72"></a>
-<span class="sourceLineNo">073</span>   * configured size, providers should log a warning. e.g. this is used with Protobuf reader/writer.<a name="line.73"></a>
-<span class="sourceLineNo">074</span>   */<a name="line.74"></a>
-<span class="sourceLineNo">075</span>  static final String WAL_TRAILER_WARN_SIZE = "hbase.regionserver.waltrailer.warn.size";<a name="line.75"></a>
-<span class="sourceLineNo">076</span>  static final int DEFAULT_WAL_TRAILER_WARN_SIZE = 1024 * 1024; // 1MB<a name="line.76"></a>
-<span class="sourceLineNo">077</span><a name="line.77"></a>
-<span class="sourceLineNo">078</span>  protected FSDataInputStream inputStream;<a name="line.78"></a>
-<span class="sourceLineNo">079</span>  protected Codec.Decoder cellDecoder;<a name="line.79"></a>
-<span class="sourceLineNo">080</span>  protected WALCellCodec.ByteStringUncompressor byteStringUncompressor;<a name="line.80"></a>
-<span class="sourceLineNo">081</span>  protected boolean hasCompression = false;<a name="line.81"></a>
-<span class="sourceLineNo">082</span>  protected boolean hasTagCompression = false;<a name="line.82"></a>
-<span class="sourceLineNo">083</span>  // walEditsStopOffset is the position of the last byte to read. After reading the last WALEdit<a name="line.83"></a>
-<span class="sourceLineNo">084</span>  // entry in the wal, the inputstream's position is equal to walEditsStopOffset.<a name="line.84"></a>
-<span class="sourceLineNo">085</span>  private long walEditsStopOffset;<a name="line.85"></a>
-<span class="sourceLineNo">086</span>  private boolean trailerPresent;<a name="line.86"></a>
-<span class="sourceLineNo">087</span>  protected WALTrailer trailer;<a name="line.87"></a>
-<span class="sourceLineNo">088</span>  // maximum size of the wal Trailer in bytes. If a user writes/reads a trailer with size larger<a name="line.88"></a>
-<span class="sourceLineNo">089</span>  // than this size, it is written/read respectively, with a WARN message in the log.<a name="line.89"></a>
-<span class="sourceLineNo">090</span>  protected int trailerWarnSize;<a name="line.90"></a>
-<span class="sourceLineNo">091</span>  private static List&lt;String&gt; writerClsNames = new ArrayList&lt;&gt;();<a name="line.91"></a>
-<span class="sourceLineNo">092</span>  static {<a name="line.92"></a>
-<span class="sourceLineNo">093</span>    writerClsNames.add(ProtobufLogWriter.class.getSimpleName());<a name="line.93"></a>
-<span class="sourceLineNo">094</span>    writerClsNames.add(AsyncProtobufLogWriter.class.getSimpleName());<a name="line.94"></a>
-<span class="sourceLineNo">095</span>  }<a name="line.95"></a>
-<span class="sourceLineNo">096</span>  <a name="line.96"></a>
-<span class="sourceLineNo">097</span>  // cell codec classname<a name="line.97"></a>
-<span class="sourceLineNo">098</span>  private String codecClsName = null;<a name="line.98"></a>
-<span class="sourceLineNo">099</span><a name="line.99"></a>
-<span class="sourceLineNo">100</span>  @InterfaceAudience.Private<a name="line.100"></a>
-<span class="sourceLineNo">101</span>  public long trailerSize() {<a name="line.101"></a>
-<span class="sourceLineNo">102</span>    if (trailerPresent) {<a name="line.102"></a>
-<span class="sourceLineNo">103</span>      // sizeof PB_WAL_COMPLETE_MAGIC + sizof trailerSize + trailer<a name="line.103"></a>
-<span class="sourceLineNo">104</span>      final long calculatedSize = PB_WAL_COMPLETE_MAGIC.length + Bytes.SIZEOF_INT + trailer.getSerializedSize();<a name="line.104"></a>
-<span class="sourceLineNo">105</span>      final long expectedSize = fileLength - walEditsStopOffset;<a name="line.105"></a>
-<span class="sourceLineNo">106</span>      if (expectedSize != calculatedSize) {<a name="line.106"></a>
-<span class="sourceLineNo">107</span>        LOG.warn("After parsing the trailer, we expect the total footer to be "+ expectedSize +" bytes, but we calculate it as being " + calculatedSize);<a name="line.107"></a>
-<span class="sourceLineNo">108</span>      }<a name="line.108"></a>
-<span class="sourceLineNo">109</span>      return expectedSize;<a name="line.109"></a>
-<span class="sourceLineNo">110</span>    } else {<a name="line.110"></a>
-<span class="sourceLineNo">111</span>      return -1L;<a name="line.111"></a>
-<span class="sourceLineNo">112</span>    }<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>  enum WALHdrResult {<a name="line.115"></a>
-<span class="sourceLineNo">116</span>    EOF,                   // stream is at EOF when method starts<a name="line.116"></a>
-<span class="sourceLineNo">117</span>    SUCCESS,<a name="line.117"></a>
-<span class="sourceLineNo">118</span>    UNKNOWN_WRITER_CLS     // name of writer class isn't recognized<a name="line.118"></a>
-<span class="sourceLineNo">119</span>  }<a name="line.119"></a>
-<span class="sourceLineNo">120</span>  <a name="line.120"></a>
-<span class="sourceLineNo">121</span>  // context for WALHdr carrying information such as Cell Codec classname<a name="line.121"></a>
-<span class="sourceLineNo">122</span>  static class WALHdrContext {<a name="line.122"></a>
-<span class="sourceLineNo">123</span>    WALHdrResult result;<a name="line.123"></a>
-<span class="sourceLineNo">124</span>    String cellCodecClsName;<a name="line.124"></a>
-<span class="sourceLineNo">125</span>    <a name="line.125"></a>
-<span class="sourceLineNo">126</span>    WALHdrContext(WALHdrResult result, String cellCodecClsName) {<a name="line.126"></a>
-<span class="sourceLineNo">127</span>      this.result = result;<a name="line.127"></a>
-<span class="sourceLineNo">128</span>      this.cellCodecClsName = cellCodecClsName;<a name="line.128"></a>
-<span class="sourceLineNo">129</span>    }<a name="line.129"></a>
-<span class="sourceLineNo">130</span>    WALHdrResult getResult() {<a name="line.130"></a>
-<span class="sourceLineNo">131</span>      return result;<a name="line.131"></a>
-<span class="sourceLineNo">132</span>    }<a name="line.132"></a>
-<span class="sourceLineNo">133</span>    String getCellCodecClsName() {<a name="line.133"></a>
-<span class="sourceLineNo">134</span>      return cellCodecClsName;<a name="line.134"></a>
-<span class="sourceLineNo">135</span>    }<a name="line.135"></a>
-<span class="sourceLineNo">136</span>  }<a name="line.136"></a>
-<span class="sourceLineNo">137</span><a name="line.137"></a>
-<span class="sourceLineNo">138</span>  public ProtobufLogReader() {<a name="line.138"></a>
-<span class="sourceLineNo">139</span>    super();<a name="line.139"></a>
-<span class="sourceLineNo">140</span>  }<a name="line.140"></a>
-<span class="sourceLineNo">141</span><a name="line.141"></a>
-<span class="sourceLineNo">142</span>  @Override<a name="line.142"></a>
-<span class="sourceLineNo">143</span>  public void close() throws IOException {<a name="line.143"></a>
-<span class="sourceLineNo">144</span>    if (this.inputStream != null) {<a name="line.144"></a>
-<span class="sourceLineNo">145</span>      this.inputStream.close();<a name="line.145"></a>
-<span class="sourceLineNo">146</span>      this.inputStream = null;<a name="line.146"></a>
-<span class="sourceLineNo">147</span>    }<a name="line.147"></a>
-<span class="sourceLineNo">148</span>  }<a name="line.148"></a>
-<span class="sourceLineNo">149</span><a name="line.149"></a>
-<span class="sourceLineNo">150</span>  @Override<a name="line.150"></a>
-<span class="sourceLineNo">151</span>  public long getPosition() throws IOException {<a name="line.151"></a>
-<span class="sourceLineNo">152</span>    return inputStream.getPos();<a name="line.152"></a>
-<span class="sourceLineNo">153</span>  }<a name="line.153"></a>
-<span class="sourceLineNo">154</span><a name="line.154"></a>
-<span class="sourceLineNo">155</span>  @Override<a name="line.155"></a>
-<span class="sourceLineNo">156</span>  public void reset() throws IOException {<a name="line.156"></a>
-<span class="sourceLineNo">157</span>    String clsName = initInternal(null, false);<a name="line.157"></a>
-<span class="sourceLineNo">158</span>    initAfterCompression(clsName); // We need a new decoder (at least).<a name="line.158"></a>
-<span class="sourceLineNo">159</span>  }<a name="line.159"></a>
-<span class="sourceLineNo">160</span><a name="line.160"></a>
-<span class="sourceLineNo">161</span>  @Override<a name="line.161"></a>
-<span class="sourceLineNo">162</span>  public void init(FileSystem fs, Path path, Configuration conf, FSDataInputStream stream)<a name="line.162"></a>
-<span class="sourceLineNo">163</span>      throws IOException {<a name="line.163"></a>
-<span class="sourceLineNo">164</span>    this.trailerWarnSize = conf.getInt(WAL_TRAILER_WARN_SIZE, DEFAULT_WAL_TRAILER_WARN_SIZE);<a name="line.164"></a>
-<span class="sourceLineNo">165</span>    super.init(fs, path, conf, stream);<a name="line.165"></a>
-<span class="sourceLineNo">166</span>  }<a name="line.166"></a>
-<span class="sourceLineNo">167</span><a name="line.167"></a>
-<span class="sourceLineNo">168</span>  @Override<a name="line.168"></a>
-<span class="sourceLineNo">169</span>  protected String initReader(FSDataInputStream stream) throws IOException {<a name="line.169"></a>
-<span class="sourceLineNo">170</span>    return initInternal(stream, true);<a name="line.170"></a>
-<span class="sourceLineNo">171</span>  }<a name="line.171"></a>
-<span class="sourceLineNo">172</span><a name="line.172"></a>
-<span class="sourceLineNo">173</span>  /*<a name="line.173"></a>
-<span class="sourceLineNo">174</span>   * Returns names of the accepted writer classes<a name="line.174"></a>
-<span class="sourceLineNo">175</span>   */<a name="line.175"></a>
-<span class="sourceLineNo">176</span>  public List&lt;String&gt; getWriterClsNames() {<a name="line.176"></a>
-<span class="sourceLineNo">177</span>    return writerClsNames;<a name="line.177"></a>
-<span class="sourceLineNo">178</span>  }<a name="line.178"></a>
-<span class="sourceLineNo">179</span>  <a name="line.179"></a>
-<span class="sourceLineNo">180</span>  /*<a name="line.180"></a>
-<span class="sourceLineNo">181</span>   * Returns the cell codec classname<a name="line.181"></a>
-<span class="sourceLineNo">182</span>   */<a name="line.182"></a>
-<span class="sourceLineNo">183</span>  public String getCodecClsName() {<a name="line.183"></a>
-<span class="sourceLineNo">184</span>      return codecClsName;<a name="line.184"></a>
-<span class="sourceLineNo">185</span>  }<a name="line.185"></a>
-<span class="sourceLineNo">186</span><a name="line.186"></a>
-<span class="sourceLineNo">187</span>  protected WALHdrContext readHeader(Builder builder, FSDataInputStream stream)<a name="line.187"></a>
-<span class="sourceLineNo">188</span>      throws IOException {<a name="line.188"></a>
-<span class="sourceLineNo">189</span>     boolean res = builder.mergeDelimitedFrom(stream);<a name="line.189"></a>
-<span class="sourceLineNo">190</span>     if (!res) return new WALHdrContext(WALHdrResult.EOF, null);<a name="line.190"></a>
-<span class="sourceLineNo">191</span>     if (builder.hasWriterClsName() &amp;&amp;<a name="line.191"></a>
-<span class="sourceLineNo">192</span>         !getWriterClsNames().contains(builder.getWriterClsName())) {<a name="line.192"></a>
-<span class="sourceLineNo">193</span>       return new WALHdrContext(WALHdrResult.UNKNOWN_WRITER_CLS, null);<a name="line.193"></a>
-<span class="sourceLineNo">194</span>     }<a name="line.194"></a>
-<span class="sourceLineNo">195</span>     String clsName = null;<a name="line.195"></a>
-<span class="sourceLineNo">196</span>     if (builder.hasCellCodecClsName()) {<a name="line.196"></a>
-<span class="sourceLineNo">197</span>       clsName = builder.getCellCodecClsName();<a name="line.197"></a>
-<span class="sourceLineNo">198</span>     }<a name="line.198"></a>
-<span class="sourceLineNo">199</span>     return new WALHdrContext(WALHdrResult.SUCCESS, clsName);<a name="line.199"></a>
-<span class="sourceLineNo">200</span>  }<a name="line.200"></a>
-<span class="sourceLineNo">201</span><a name="line.201"></a>
-<span class="sourceLineNo">202</span>  private String initInternal(FSDataInputStream stream, boolean isFirst)<a name="line.202"></a>
-<span class="sourceLineNo">203</span>      throws IOException {<a name="line.203"></a>
-<span class="sourceLineNo">204</span>    close();<a name="line.204"></a>
-<span class="sourceLineNo">205</span>    long expectedPos = PB_WAL_MAGIC.length;<a name="line.205"></a>
-<span class="sourceLineNo">206</span>    if (stream == null) {<a name="line.206"></a>
-<span class="sourceLineNo">207</span>      stream = fs.open(path);<a name="line.207"></a>
-<span class="sourceLineNo">208</span>      stream.seek(expectedPos);<a name="line.208"></a>
-<span class="sourceLineNo">209</span>    }<a name="line.209"></a>
-<span class="sourceLineNo">210</span>    if (stream.getPos() != expectedPos) {<a name="line.210"></a>
-<span class="sourceLineNo">211</span>      throw new IOException("The stream is at invalid position: " + stream.getPos());<a name="line.211"></a>
-<span class="sourceLineNo">212</span>    }<a name="line.212"></a>
-<span class="sourceLineNo">213</span>    // Initialize metadata or, when we reset, just skip the header.<a name="line.213"></a>
-<span class="sourceLineNo">214</span>    WALProtos.WALHeader.Builder builder = WALProtos.WALHeader.newBuilder();<a name="line.214"></a>
-<span class="sourceLineNo">215</span>    WALHdrContext hdrCtxt = readHeader(builder, stream);<a name="line.215"></a>
-<span class="sourceLineNo">216</span>    WALHdrResult walHdrRes = hdrCtxt.getResult();<a name="line.216"></a>
-<span class="sourceLineNo">217</span>    if (walHdrRes == WALHdrResult.EOF) {<a name="line.217"></a>
-<span class="sourceLineNo">218</span>      throw new EOFException("Couldn't read WAL PB header");<a name="line.218"></a>
-<span class="sourceLineNo">219</span>    }<a name="line.219"></a>
-<span class="sourceLineNo">220</span>    if (walHdrRes == WALHdrResult.UNKNOWN_WRITER_CLS) {<a name="line.220"></a>
-<span class="sourceLineNo">221</span>      throw new IOException("Got unknown writer class: " + builder.getWriterClsName());<a name="line.221"></a>
-<span class="sourceLineNo">222</span>    }<a name="line.222"></a>
-<span class="sourceLineNo">223</span>    if (isFirst) {<a name="line.223"></a>
-<span class="sourceLineNo">224</span>      WALProtos.WALHeader header = builder.build();<a name="line.224"></a>
-<span class="sourceLineNo">225</span>      this.hasCompression = header.hasHasCompression() &amp;&amp; header.getHasCompression();<a name="line.225"></a>
-<span class="sourceLineNo">226</span>      this.hasTagCompression = header.hasHasTagCompression() &amp;&amp; header.getHasTagCompression();<a name="line.226"></a>
-<span class="sourceLineNo">227</span>    }<a name="line.227"></a>
-<span class="sourceLineNo">228</span>    this.inputStream = stream;<a name="line.228"></a>
-<span class="sourceLineNo">229</span>    this.walEditsStopOffset = this.fileLength;<a name="line.229"></a>
-<span class="sourceLineNo">230</span>    long currentPosition = stream.getPos();<a name="line.230"></a>
-<span class="sourceLineNo">231</span>    trailerPresent = setTrailerIfPresent();<a name="line.231"></a>
-<span class="sourceLineNo">232</span>    this.seekOnFs(currentPosition);<a name="line.232"></a>
-<span class="sourceLineNo">233</span>    if (LOG.isTraceEnabled()) {<a name="line.233"></a>
-<span class="sourceLineNo">234</span>      LOG.trace("After reading the trailer: walEditsStopOffset: " + this.walEditsStopOffset<a name="line.234"></a>
-<span class="sourceLineNo">235</span>          + ", fileLength: " + this.fileLength + ", " + "trailerPresent: " + (trailerPresent ? "true, size: " + trailer.getSerializedSize() : "false") + ", currentPosition: " + currentPosition);<a name="line.235"></a>
-<span class="sourceLineNo">236</span>    }<a name="line.236"></a>
-<span class="sourceLineNo">237</span>    <a name="line.237"></a>
-<span class="sourceLineNo">238</span>    codecClsName = hdrCtxt.getCellCodecClsName();<a name="line.238"></a>
-<span class="sourceLineNo">239</span>    <a name="line.239"></a>
-<span class="sourceLineNo">240</span>    return hdrCtxt.getCellCodecClsName();<a name="line.240"></a>
-<span class="sourceLineNo">241</span>  }<a name="line.241"></a>
-<span class="sourceLineNo">242</span><a name="line.242"></a>
-<span class="sourceLineNo">243</span>  /**<a name="line.243"></a>
-<span class="sourceLineNo">244</span>   * To check whether a trailer is present in a WAL, it seeks to position (fileLength -<a name="line.244"></a>
-<span class="sourceLineNo">245</span>   * PB_WAL_COMPLETE_MAGIC.size() - Bytes.SIZEOF_INT). It reads the int value to know the size of<a name="line.245"></a>
-<span class="sourceLineNo">246</span>   * the trailer, and checks whether the trailer is present at the end or not by comparing the last<a name="line.246"></a>
-<span class="sourceLineNo">247</span>   * PB_WAL_COMPLETE_MAGIC.size() bytes. In case trailer is not present, it returns false;<a name="line.247"></a>
-<span class="sourceLineNo">248</span>   * otherwise, sets the trailer and sets this.walEditsStopOffset variable up to the point just<a name="line.248"></a>
-<span class="sourceLineNo">249</span>   * before the trailer.<a name="line.249"></a>
-<span class="sourceLineNo">250</span>   * &lt;ul&gt;<a name="line.250"></a>
-<span class="sourceLineNo">251</span>   * The trailer is ignored in case:<a name="line.251"></a>
-<span class="sourceLineNo">252</span>   * &lt;li&gt;fileLength is 0 or not correct (when file is under recovery, etc).<a name="line.252"></a>
-<span class="sourceLineNo">253</span>   * &lt;li&gt;the trailer size is negative.<a name="line.253"></a>
-<span class="sourceLineNo">254</span>   * &lt;/ul&gt;<a name="line.254"></a>
-<span class="sourceLineNo">255</span>   * &lt;p&gt;<a name="line.255"></a>
-<span class="sourceLineNo">256</span>   * In case the trailer size &gt; this.trailerMaxSize, it is read after a WARN message.<a name="line.256"></a>
-<span class="sourceLineNo">257</span>   * @return true if a valid trailer is present<a name="line.257"></a>
-<span class="sourceLineNo">258</span>   * @throws IOException<a name="line.258"></a>
-<span class="sourceLineNo">259</span>   */<a name="line.259"></a>
-<span class="sourceLineNo">260</span>  private boolean setTrailerIfPresent() {<a name="line.260"></a>
-<span class="sourceLineNo">261</span>    try {<a name="line.261"></a>
-<span class="sourceLineNo">262</span>      long trailerSizeOffset = this.fileLength - (PB_WAL_COMPLETE_MAGIC.length + Bytes.SIZEOF_INT);<a name="line.262"></a>
-<span class="sourceLineNo">263</span>      if (trailerSizeOffset &lt;= 0) return false;// no trailer possible.<a name="line.263"></a>
-<span class="sourceLineNo">264</span>      this.seekOnFs(trailerSizeOffset);<a name="line.264"></a>
-<span class="sourceLineNo">265</span>      // read the int as trailer size.<a name="line.265"></a>
-<span class="sourceLineNo">266</span>      int trailerSize = this.inputStream.readInt();<a name="line.266"></a>
-<span class="sourceLineNo">267</span>      ByteBuffer buf = ByteBuffer.allocate(ProtobufLogReader.PB_WAL_COMPLETE_MAGIC.length);<a name="line.267"></a>
-<span class="sourceLineNo">268</span>      this.inputStream.readFully(buf.array(), buf.arrayOffset(), buf.capacity());<a name="line.268"></a>
-<span class="sourceLineNo">269</span>      if (!Arrays.equals(buf.array(), PB_WAL_COMPLETE_MAGIC)) {<a name="line.269"></a>
-<span class="sourceLineNo">270</span>        LOG.trace("No trailer found.");<a name="line.270"></a>
-<span class="sourceLineNo">271</span>        return false;<a name="line.271"></a>
-<span class="sourceLineNo">272</span>      }<a name="line.272"></a>
-<span class="sourceLineNo">273</span>      if (trailerSize &lt; 0) {<a name="line.273"></a>
-<span class="sourceLineNo">274</span>        LOG.warn("Invalid trailer Size " + trailerSize + ", ignoring the trailer");<a name="line.274"></a>
-<span class="sourceLineNo">275</span>        return false;<a name="line.275"></a>
-<span class="sourceLineNo">276</span>      } else if (trailerSize &gt; this.trailerWarnSize) {<a name="line.276"></a>
-<span class="sourceLineNo">277</span>        // continue reading after warning the user.<a name="line.277"></a>
-<span class="sourceLineNo">278</span>        LOG.warn("Please investigate WALTrailer usage. Trailer size &gt; maximum configured size : "<a name="line.278"></a>
-<span class="sourceLineNo">279</span>          + trailerSize + " &gt; " + this.trailerWarnSize);<a name="line.279"></a>
-<span class="sourceLineNo">280</span>      }<a name="line.280"></a>
-<span class="sourceLineNo">281</span>      // seek to the position where trailer starts.<a name="line.281"></a>
-<span class="sourceLineNo">282</span>      long positionOfTrailer = trailerSizeOffset - trailerSize;<a name="line.282"></a>
-<span class="sourceLineNo">283</span>      this.seekOnFs(positionOfTrailer);<a name="line.283"></a>
-<span class="sourceLineNo">284</span>      // read the trailer.<a name="line.284"></a>
-<span class="sourceLineNo">285</span>      buf = ByteBuffer.allocate(trailerSize);// for trailer.<a name="line.285"></a>
-<span class="sourceLineNo">286</span>      this.inputStream.readFully(buf.array(), buf.arrayOffset(), buf.capacity());<a name="line.286"></a>
-<span class="sourceLineNo">287</span>      trailer = WALTrailer.parseFrom(buf.array());<a name="line.287"></a>
-<span class="sourceLineNo">288</span>      this.walEditsStopOffset = positionOfTrailer;<a name="line.288"></a>
-<span class="sourceLineNo">289</span>      return true;<a name="line.289"></a>
-<span class="sourceLineNo">290</span>    } catch (IOException ioe) {<a name="line.290"></a>
-<span class="sourceLineNo">291</span>      LOG.warn("Got IOE while reading the trailer. Continuing as if no trailer is present.", ioe);<a name="line.291"></a>
-<span class="sourceLineNo">292</span>    }<a name="line.292"></a>
-<span class="sourceLineNo">293</span>    return false;<a name="line.293"></a>
-<span class="sourceLineNo">294</span>  }<a name="line.294"></a>
-<span class="sourceLineNo">295</span><a name="line.295"></a>
-<span class="sourceLineNo">296</span>  protected WALCellCodec getCodec(Configuration conf, String cellCodecClsName,<a name="line.296"></a>
-<span class="sourceLineNo">297</span>      CompressionContext compressionContext) throws IOException {<a name="line.297"></a>
-<span class="sourceLineNo">298</span>    return WALCellCodec.create(conf, cellCodecClsName, compressionContext);<a name="line.298"></a>
-<span class="sourceLineNo">299</span>  }<a name="line.299"></a>
-<span class="sourceLineNo">300</span><a name="line.300"></a>
-<span class="sourceLineNo">301</span>  @Override<a name="line.301"></a>
-<span class="sourceLineNo">302</span>  protected void initAfterCompression() throws IOException {<a name="line.302"></a>
-<span class="sourceLineNo">303</span>    initAfterCompression(null);<a name="line.303"></a>
-<span class="sourceLineNo">304</span>  }<a name="line.304"></a>
-<span class="sourceLineNo">305</span>  <a name="line.305"></a>
-<span class="sourceLineNo">306</span>  @Override<a name="line.306"></a>
-<span class="sourceLineNo">307</span>  protected void initAfterCompression(String cellCodecClsName) throws IOException {<a name="line.307"></a>
-<span class="sourceLineNo">308</span>    WALCellCodec codec = getCodec(this.conf, cellCodecClsName, this.compressionContext);<a name="line.308"></a>
-<span class="sourceLineNo">309</span>    this.cellDecoder = codec.getDecoder(this.inputStream);<a name="line.309"></a>
-<span class="sourceLineNo">310</span>    if (this.hasCompression) {<a name="line.310"></a>
-<span class="sourceLineNo">311</span>      this.byteStringUncompressor = codec.getByteStringUncompressor();<a name="line.311"></a>
-<span class="sourceLineNo">312</span>    }<a name="line.312"></a>
-<span class="sourceLineNo">313</span>  }<a name="line.313"></a>
-<span class="sourceLineNo">314</span><a name="line.314"></a>
-<span class="sourceLineNo">315</span>  @Override<a name="line.315"></a>
-<span class="sourceLineNo">316</span>  protected boolean hasCompression() {<a name="line.316"></a>
-<span class="sourceLineNo">317</span>    return this.hasCompression;<a name="line.317"></a>
-<span class="sourceLineNo">318</span>  }<a name="line.318"></a>
-<span class="sourceLineNo">319</span><a name="line.319"></a>
-<span class="sourceLineNo">320</span>  @Override<a name="line.320"></a>
-<span class="sourceLineNo">321</span>  protected boolean hasTagCompression() {<a name="line.321"></a>
-<span class="sourceLineNo">322</span>    return this.hasTagCompression;<a name="line.322"></a>
-<span class="sourceLineNo">323</span>  }<a name="line.323"></a>
-<span class="sourceLineNo">324</span><a name="line.324"></a>
-<span class="sourceLineNo">325</span>  @Override<a name="line.325"></a>
-<span class="sourceLineNo">326</span>  protected boolean readNext(Entry entry) throws IOException {<a name="line.326"></a>
-<span class="sourceLineNo">327</span>    while (true) {<a name="line.327"></a>
-<span class="sourceLineNo">328</span>      // OriginalPosition might be &lt; 0 on local fs; if so, it is useless to us.<a name="line.328"></a>
-<span class="sourceLineNo">329</span>      long originalPosition = this.inputStream.getPos();<a name="line.329"></a>
-<span class="sourceLineNo">330</span>      if (trailerPresent &amp;&amp; originalPosition &gt; 0 &amp;&amp; originalPosition == this.walEditsStopOffset) {<a name="line.330"></a>
-<span class="sourceLineNo">331</span>        if (LOG.isTraceEnabled()) {<a name="line.331"></a>
-<span class="sourceLineNo">332</span>          LOG.trace("Reached end of expected edits area at offset " + originalPosition);<a name="line.332"></a>
-<span class="sourceLineNo">333</span>        }<a name="line.333"></a>
-<span class="sourceLineNo">334</span>        return false;<a name="line.334"></a>
-<span class="sourceLineNo">335</span>      }<a name="line.335"></a>
-<span class="sourceLineNo">336</span>      WALKey.Builder builder = WALKey.newBuilder();<a name="line.336"></a>
-<span class="sourceLineNo">337</span>      long size = 0;<a name="line.337"></a>
-<span class="sourceLineNo">338</span>      try {<a name="line.338"></a>
-<span class="sourceLineNo">339</span>        long available = -1;<a name="line.339"></a>
-<span class="sourceLineNo">340</span>        try {<a name="line.340"></a>
-<span class="sourceLineNo">341</span>          int firstByte = this.inputStream.read();<a name="line.341"></a>
-<span class="sourceLineNo">342</span>          if (firstByte == -1) {<a name="line.342"></a>
-<span class="sourceLineNo">343</span>            throw new EOFException("First byte is negative at offset " + originalPosition);<a name="line.343"></a>
-<span class="sourceLineNo">344</span>          }<a name="line.344"></a>
-<span class="sourceLineNo">345</span>          size = CodedInputStream.readRawVarint32(firstByte, this.inputStream);<a name="line.345"></a>
-<span class="sourceLineNo">346</span>          // available may be &lt; 0 on local fs for instance.  If so, can't depend on it.<a name="line.346"></a>
-<span class="sourceLineNo">347</span>          available = this.inputStream.available();<a name="line.347"></a>
-<span class="sourceLineNo">348</span>          if (available &gt; 0 &amp;&amp; available &lt; size) {<a name="line.348"></a>
-<span class="sourceLineNo">349</span>            throw new EOFException("Available stream not enough for edit, " +<a name="line.349"></a>
-<span class="sourceLineNo">350</span>                "inputStream.available()= " + this.inputStream.available() + ", " +<a name="line.350"></a>
-<span class="sourceLineNo">351</span>                "entry size= " + size + " at offset = " + this.inputStream.getPos());<a name="line.351"></a>
-<span class="sourceLineNo">352</span>          }<a name="line.352"></a>
-<span class="sourceLineNo">353</span>          ProtobufUtil.mergeFrom(builder, new LimitInputStream(this.inputStream, size),<a name="line.353"></a>
-<span class="sourceLineNo">354</span>            (int)size);<a name="line.354"></a>
-<span class="sourceLineNo">355</span>        } catch (InvalidProtocolBufferException ipbe) {<a name="line.355"></a>
-<span class="sourceLineNo">356</span>          throw (EOFException) new EOFException("Invalid PB, EOF? Ignoring; originalPosition=" +<a name="line.356"></a>
-<span class="sourceLineNo">357</span>            originalPosition + ", currentPosition=" + this.inputStream.getPos() +<a name="line.357"></a>
-<span class="sourceLineNo">358</span>            ", messageSize=" + size + ", currentAvailable=" + available).initCause(ipbe);<a name="line.358"></a>
-<span class="sourceLineNo">359</span>        }<a name="line.359"></a>
-<span class="sourceLineNo">360</span>        if (!builder.isInitialized()) {<a name="line.360"></a>
-<span class="sourceLineNo">361</span>          // TODO: not clear if we should try to recover from corrupt PB that looks semi-legit.<a name="line.361"></a>
-<span class="sourceLineNo">362</span>          //       If we can get the KV count, we could, theoretically, try to get next record.<a name="line.362"></a>
-<span class="sourceLineNo">363</span>          throw new EOFException("Partial PB while reading WAL, " +<a name="line.363"></a>
-<span class="sourceLineNo">364</span>              "probably an unexpected EOF, ignoring. current offset=" + this.inputStream.getPos());<a name="line.364"></a>
-<span class="sourceLineNo">365</span>        }<a name="line.365"></a>
-<span class="sourceLineNo">366</span>        WALKey walKey = builder.build();<a name="line.366"></a>
-<span class="sourceLineNo">367</span>        entry.getKey().readFieldsFromPb(walKey, this.byteStringUncompressor);<a name="line.367"></a>
-<span class="sourceLineNo">368</span>        if (!walKey.hasFollowingKvCount() || 0 == walKey.getFollowingKvCount()) {<a name="line.368"></a>
-<span class="sourceLineNo">369</span>          if (LOG.isTraceEnabled()) {<a name="line.369"></a>
-<span class="sourceLineNo">370</span>            LOG.trace("WALKey has no KVs that follow it; trying the next one. current offset=" +<a name="line.370"></a>
-<span class="sourceLineNo">371</span>                this.inputStream.getPos());<a name="line.371"></a>
-<span class="sourceLineNo">372</span>          }<a name="line.372"></a>
-<span class="sourceLineNo">373</span>          continue;<a name="line.373"></a>
-<span class="sourceLineNo">374</span>        }<a name="line.374"></a>
-<span class="sourceLineNo">375</span>        int expectedCells = walKey.getFollowingKvCount();<a name="line.375"></a>
-<span class="sourceLineNo">376</span>        long posBefore = this.inputStream.getPos();<a name="line.376"></a>
-<span class="sourceLineNo">377</span>        try {<a name="line.377"></a>
-<span class="sourceLineNo">378</span>          int actualCells = entry.getEdit().readFromCells(cellDecoder, expectedCells);<a name="line.378"></a>
-<span class="sourceLineNo">379</span>          if (expectedCells != actualCells) {<a name="line.379"></a>
-<span class="sourceLineNo">380</span>            throw new EOFException("Only read " + actualCells); // other info added in catch<a name="line.380"></a>
-<span class="sourceLineNo">381</span>          }<a name="line.381"></a>
-<span class="sourceLineNo">382</span>        } catch (Exception ex) {<a name="line.382"></a>
-<span class="sourceLineNo">383</span>          String posAfterStr = "&lt;unknown&gt;";<a name="line.383"></a>
-<span class="sourceLineNo">384</span>          try {<a name="line.384"></a>
-<span class="sourceLineNo">385</span>            posAfterStr = this.inputStream.getPos() + "";<a name="line.385"></a>
-<span class="sourceLineNo">386</span>          } catch (Throwable t) {<a name="line.386"></a>
-<span class="sourceLineNo">387</span>            if (LOG.isTraceEnabled()) {<a name="line.387"></a>
-<span class="sourceLineNo">388</span>              LOG.trace("Error getting pos for error message - ignoring", t);<a name="line.388"></a>
-<span class="sourceLineNo">389</span>            }<a name="line.389"></a>
-<span class="sourceLineNo">390</span>          }<a name="line.390"></a>
-<span class="sourceLineNo">391</span>          String message = " while reading " + expectedCells + " WAL KVs; started reading at "<a name="line.391"></a>
-<span class="sourceLineNo">392</span>              + posBefore + " and read up to " + posAfterStr;<a name="line.392"></a>
-<span class="sourceLineNo">393</span>          IOException realEofEx = extractHiddenEof(ex);<a name="line.393"></a>
-<span class="sourceLineNo">394</span>          throw (EOFException) new EOFException("EOF " + message).<a name="line.394"></a>
-<span class="sourceLineNo">395</span>              initCause(realEofEx != null ? realEofEx : ex);<a name="line.395"></a>
-<span class="sourceLineNo">396</span>        }<a name="line.396"></a>
-<span class="sourceLineNo">397</span>        if (trailerPresent &amp;&amp; this.inputStream.getPos() &gt; this.walEditsStopOffset) {<a name="line.397"></a>
-<span class="sourceLineNo">398</span>          LOG.error("Read WALTrailer while reading WALEdits. wal: " + this.path<a name="line.398"></a>
-<span class="sourceLineNo">399</span>              + ", inputStream.getPos(): " + this.inputStream.getPos() + ", walEditsStopOffset: "<a name="line.399"></a>
-<span class="sourceLineNo">400</span>              + this.walEditsStopOffset);<a name="line.400"></a>
-<span class="sourceLineNo">401</span>          throw new EOFException("Read WALTrailer while reading WALEdits");<a name="line.401"></a>
-<span class="sourceLineNo">402</span>        }<a name="line.402"></a>
-<span class="sourceLineNo">403</span>      } catch (EOFException eof) {<a name="line.403"></a>
-<span class="sourceLineNo">404</span>        // If originalPosition is &lt; 0, it is rubbish and we cannot use it (probably local fs)<a name="line.404"></a>
-<span class="sourceLineNo">405</span>        if (originalPosition &lt; 0) {<a name="line.405"></a>
-<span class="sourceLineNo">406</span>          if (LOG.isTraceEnabled()) {<a name="line.406"></a>
-<span class="sourceLineNo">407</span>            LOG.trace("Encountered a malformed edit, but can't seek back to last good position because originalPosition is negative. last offset=" + this.inputStream.getPos(), eof);<a name="line.407"></a>
-<span class="sourceLineNo">408</span>          }<a name="line.408"></a>
-<span class="sourceLineNo">409</span>          throw eof;<a name="line.409"></a>
-<span class="sourceLineNo">410</span>        }<a name="line.410"></a>
-<span class="sourceLineNo">411</span>        // Else restore our position to original location in hope that next time through we will<a name="line.411"></a>
-<span class="sourceLineNo">412</span>        // read successfully.<a name="line.412"></a>
-<span class="sourceLineNo">413</span>        if (LOG.isTraceEnabled()) {<a name="line.413"></a>
-<span class="sourceLineNo">414</span>          LOG.trace("Encountered a malformed edit, seeking back to last good position in file, from "+ inputStream.getPos()+" to " + originalPosition, eof);<a name="line.414"></a>
-<span class="sourceLineNo">415</span>        }<a name="line.415"></a>
-<span class="sourceLineNo">416</span>        seekOnFs(originalPosition);<a name="line.416"></a>
-<span class="sourceLineNo">417</span>        return false;<a name="line.417"></a>
-<span class="sourceLineNo">418</span>      }<a name="line.418"></a>
-<span class="sourceLineNo">419</span>      return true;<a name="line.419"></a>
-<span class="sourceLineNo">420</span>    }<a name="line.420"></a>
-<span class="sourceLineNo">421</span>  }<a name="line.421"></a>
-<span class="sourceLineNo">422</span><a name="line.422"></a>
-<span class="sourceLineNo">423</span>  private IOException extractHiddenEof(Exception ex) {<a name="line.423"></a>
-<span class="sourceLineNo">424</span>    // There are two problems we are dealing with here. Hadoop stream throws generic exception<a name="line.424"></a>
-<span class="sourceLineNo">425</span>    // for EOF, not EOFException; and scanner further hides it inside RuntimeException.<a name="line.425"></a>
-<span class="sourceLineNo">426</span>    IOException ioEx = null;<a name="line.426"></a>
-<span class="sourceLineNo">427</span>    if (ex instanceof EOFException) {<a name="line.427"></a>
-<span class="sourceLineNo">428</span>      return (EOFException)ex;<a name="line.428"></a>
-<span class="sourceLineNo">429</span>    } else if (ex instanceof IOException) {<a name="line.429"></a>
-<span class="sourceLineNo">430</span>      ioEx = (IOException)ex;<a name="line.430"></a>
-<span class="sourceLineNo">431</span>    } else if (ex instanceof RuntimeException<a name="line.431"></a>
-<span class="sourceLineNo">432</span>        &amp;&amp; ex.getCause() != null &amp;&amp; ex.getCause() instanceof IOException) {<a name="line.432"></a>
-<span class="sourceLineNo">433</span>      ioEx = (IOException)ex.getCause();<a name="line.433"></a>
-<span class="sourceLineNo">434</span>    }<a name="line.434"></a>
-<span class="sourceLineNo">435</span>    if (ioEx != null) {<a name="line.435"></a>
-<span class="sourceLineNo">436</span>      if (ioEx.getMessage().contains("EOF")) return ioEx;<a name="line.436"></a>
-<span class="sourceLineNo">437</span>      return null;<a name="line.437"></a>
-<span class="sourceLineNo">438</span>    }<a name="line.438"></a>
-<span class="sourceLineNo">439</span>    return null;<a name="line.439"></a>
-<span class="sourceLineNo">440</span>  }<a name="line.440"></a>
-<span class="sourceLineNo">441</span><a name="line.441"></a>
-<span class="sourceLineNo">442</span>  @Override<a name="line.442"></a>
-<span class="sourceLineNo">443</span>  protected void seekOnFs(long pos) throws IOException {<a name="line.443"></a>
-<span class="sourceLineNo">444</span>    this.inputStream.seek(pos);<a name="line.444"></a>
-<span class="sourceLineNo">445</span>  }<a name="line.445"></a>
-<span class="sourceLineNo">446</span>}<a name="line.446"></a>
+<span class="sourceLineNo">047</span>import org.apache.hbase.thirdparty.com.google.common.io.ByteStreams;<a name="line.47"></a>
+<span class="sourceLineNo">048</span>import org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream;<a name="line.48"></a>
+<span class="sourceLineNo">049</span>import org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException;<a name="line.49"></a>
+<span class="sourceLineNo">050</span><a name="line.50"></a>
+<span class="sourceLineNo">051</span>/**<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * A Protobuf based WAL has the following structure:<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * &lt;p&gt;<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * &amp;lt;PB_WAL_MAGIC&amp;gt;&amp;lt;WALHeader&amp;gt;&amp;lt;WALEdits&amp;gt;...&amp;lt;WALEdits&amp;gt;&amp;lt;Trailer&amp;gt;<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * &amp;lt;TrailerSize&amp;gt; &amp;lt;PB_WAL_COMPLETE_MAGIC&amp;gt;<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * &lt;/p&gt;<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * The Reader reads meta information (WAL Compression state, WALTrailer, etc) in<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * ProtobufLogReader#initReader(FSDataInputStream). A WALTrailer is an extensible structure<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * which is appended at the end of the WAL. This is empty for now; it can contain some meta<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * information such as Region level stats, etc in future.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> */<a name="line.61"></a>
+<span class="sourceLineNo">062</span>@InterfaceAudience.LimitedPrivate({HBaseInterfaceAudience.COPROC, HBaseInterfaceAudience.PHOENIX,<a name="line.62"></a>
+<span class="sourceLineNo">063</span>  HBaseInterfaceAudience.CONFIG})<a name="line.63"></a>
+<span class="sourceLineNo">064</span>public class ProtobufLogReader extends ReaderBase {<a name="line.64"></a>
+<span class="sourceLineNo">065</span>  private static final Logger LOG = LoggerFactory.getLogger(ProtobufLogReader.class);<a name="line.65"></a>
+<span class="sourceLineNo">066</span>  // public for WALFactory until we move everything to o.a.h.h.wal<a name="line.66"></a>
+<span class="sourceLineNo">067</span>  @InterfaceAudience.Private<a name="line.67"></a>
+<span class="sourceLineNo">068</span>  public static final byte[] PB_WAL_MAGIC = Bytes.toBytes("PWAL");<a name="line.68"></a>
+<span class="sourceLineNo">069</span>  // public for TestWALSplit<a name="line.69"></a>
+<span class="sourceLineNo">070</span>  @InterfaceAudience.Private<a name="line.70"></a>
+<span class="sourceLineNo">071</span>  public static final byte[] PB_WAL_COMPLETE_MAGIC = Bytes.toBytes("LAWP");<a name="line.71"></a>
+<span class="sourceLineNo">072</span>  /**<a name="line.72"></a>
+<span class="sourceLineNo">073</span>   * Configuration name of WAL Trailer's warning size. If a waltrailer's size is greater than the<a name="line.73"></a>
+<span class="sourceLineNo">074</span>   * configured size, providers should log a warning. e.g. this is used with Protobuf reader/writer.<a name="line.74"></a>
+<span class="sourceLineNo">075</span>   */<a name="line.75"></a>
+<span class="sourceLineNo">076</span>  static final String WAL_TRAILER_WARN_SIZE = "hbase.regionserver.waltrailer.warn.size";<a name="line.76"></a>
+<span class="sourceLineNo">077</span>  static final int DEFAULT_WAL_TRAILER_WARN_SIZE = 1024 * 1024; // 1MB<a name="line.77"></a>
+<span class="sourceLineNo">078</span><a name="line.78"></a>
+<span class="sourceLineNo">079</span>  protected FSDataInputStream inputStream;<a name="line.79"></a>
+<span class="sourceLineNo">080</span>  protected Codec.Decoder cellDecoder;<a name="line.80"></a>
+<span class="sourceLineNo">081</span>  protected WALCellCodec.ByteStringUncompressor byteStringUncompressor;<a name="line.81"></a>
+<span class="sourceLineNo">082</span>  protected boolean hasCompression = false;<a name="line.82"></a>
+<span class="sourceLineNo">083</span>  protected boolean hasTagCompression = false;<a name="line.83"></a>
+<span class="sourceLineNo">084</span>  // walEditsStopOffset is the position of the last byte to read. After reading the last WALEdit<a name="line.84"></a>
+<span class="sourceLineNo">085</span>  // entry in the wal, the inputstream's position is equal to walEditsStopOffset.<a name="line.85"></a>
+<span class="sourceLineNo">086</span>  private long walEditsStopOffset;<a name="line.86"></a>
+<span class="sourceLineNo">087</span>  private boolean trailerPresent;<a name="line.87"></a>
+<span class="sourceLineNo">088</span>  protected WALTrailer trailer;<a name="line.88"></a>
+<span class="sourceLineNo">089</span>  // maximum size of the wal Trailer in bytes. If a user writes/reads a trailer with size larger<a name="line.89"></a>
+<span class="sourceLineNo">090</span>  // than this size, it is written/read respectively, with a WARN message in the log.<a name="line.90"></a>
+<span class="sourceLineNo">091</span>  protected int trailerWarnSize;<a name="line.91"></a>
+<span class="sourceLineNo">092</span>  private static List&lt;String&gt; writerClsNames = new ArrayList&lt;&gt;();<a name="line.92"></a>
+<span class="sourceLineNo">093</span>  static {<a name="line.93"></a>
+<span class="sourceLineNo">094</span>    writerClsNames.add(ProtobufLogWriter.class.getSimpleName());<a name="line.94"></a>
+<span class="sourceLineNo">095</span>    writerClsNames.add(AsyncProtobufLogWriter.class.getSimpleName());<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>  // cell codec classname<a name="line.98"></a>
+<span class="sourceLineNo">099</span>  private String codecClsName = null;<a name="line.99"></a>
+<span class="sourceLineNo">100</span><a name="line.100"></a>
+<span class="sourceLineNo">101</span>  @InterfaceAudience.Private<a name="line.101"></a>
+<span class="sourceLineNo">102</span>  public long trailerSize() {<a name="line.102"></a>
+<span class="sourceLineNo">103</span>    if (trailerPresent) {<a name="line.103"></a>
+<span class="sourceLineNo">104</span>      // sizeof PB_WAL_COMPLETE_MAGIC + sizof trailerSize + trailer<a name="line.104"></a>
+<span class="sourceLineNo">105</span>      final long calculatedSize = PB_WAL_COMPLETE_MAGIC.length + Bytes.SIZEOF_INT + trailer.getSerializedSize();<a name="line.105"></a>
+<span class="sourceLineNo">106</span>      final long expectedSize = fileLength - walEditsStopOffset;<a name="line.106"></a>
+<span class="sourceLineNo">107</span>      if (expectedSize != calculatedSize) {<a name="line.107"></a>
+<span class="sourceLineNo">108</span>        LOG.warn("After parsing the trailer, we expect the total footer to be "+ expectedSize +" bytes, but we calculate it as being " + calculatedSize);<a name="line.108"></a>
+<span class="sourceLineNo">109</span>      }<a name="line.109"></a>
+<span class="sourceLineNo">110</span>      return expectedSize;<a name="line.110"></a>
+<span class="sourceLineNo">111</span>    } else {<a name="line.111"></a>
+<span class="sourceLineNo">112</span>      return -1L;<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><a name="line.115"></a>
+<span class="sourceLineNo">116</span>  enum WALHdrResult {<a name="line.116"></a>
+<span class="sourceLineNo">117</span>    EOF,                   // stream is at EOF when method starts<a name="line.117"></a>
+<span class="sourceLineNo">118</span>    SUCCESS,<a name="line.118"></a>
+<span class="sourceLineNo">119</span>    UNKNOWN_WRITER_CLS     // name of writer class isn't recognized<a name="line.119"></a>
+<span class="sourceLineNo">120</span>  }<a name="line.120"></a>
+<span class="sourceLineNo">121</span>  <a name="line.121"></a>
+<span class="sourceLineNo">122</span>  // context for WALHdr carrying information such as Cell Codec classname<a name="line.122"></a>
+<span class="sourceLineNo">123</span>  static class WALHdrContext {<a name="line.123"></a>
+<span class="sourceLineNo">124</span>    WALHdrResult result;<a name="line.124"></a>
+<span class="sourceLineNo">125</span>    String cellCodecClsName;<a name="line.125"></a>
+<span class="sourceLineNo">126</span>    <a name="line.126"></a>
+<span class="sourceLineNo">127</span>    WALHdrContext(WALHdrResult result, String cellCodecClsName) {<a name="line.127"></a>
+<span class="sourceLineNo">128</span>      this.result = result;<a name="line.128"></a>
+<span class="sourceLineNo">129</span>      this.cellCodecClsName = cellCodecClsName;<a name="line.129"></a>
+<span class="sourceLineNo">130</span>    }<a name="line.130"></a>
+<span class="sourceLineNo">131</span>    WALHdrResult getResult() {<a name="line.131"></a>
+<span class="sourceLineNo">132</span>      return result;<a name="line.132"></a>
+<span class="sourceLineNo">133</span>    }<a name="line.133"></a>
+<span class="sourceLineNo">134</span>    String getCellCodecClsName() {<a name="line.134"></a>
+<span class="sourceLineNo">135</span>      return cellCodecClsName;<a name="line.135"></a>
+<span class="sourceLineNo">136</span>    }<a name="line.136"></a>
+<span class="sourceLineNo">137</span>  }<a name="line.137"></a>
+<span class="sourceLineNo">138</span><a name="line.138"></a>
+<span class="sourceLineNo">139</span>  public ProtobufLogReader() {<a name="line.139"></a>
+<span class="sourceLineNo">140</span>    super();<a name="line.140"></a>
+<span class="sourceLineNo">141</span>  }<a name="line.141"></a>
+<span class="sourceLineNo">142</span><a name="line.142"></a>
+<span class="sourceLineNo">143</span>  @Override<a name="line.143"></a>
+<span class="sourceLineNo">144</span>  public void close() throws IOException {<a name="line.144"></a>
+<span class="sourceLineNo">145</span>    if (this.inputStream != null) {<a name="line.145"></a>
+<span class="sourceLineNo">146</span>      this.inputStream.close();<a name="line.146"></a>
+<span class="sourceLineNo">147</span>      this.inputStream = null;<a name="line.147"></a>
+<span class="sourceLineNo">148</span>    }<a name="line.148"></a>
+<span class="sourceLineNo">149</span>  }<a name="line.149"></a>
+<span class="sourceLineNo">150</span><a name="line.150"></a>
+<span class="sourceLineNo">151</span>  @Override<a name="line.151"></a>
+<span class="sourceLineNo">152</span>  public long getPosition() throws IOException {<a name="line.152"></a>
+<span class="sourceLineNo">153</span>    return inputStream.getPos();<a name="line.153"></a>
+<span class="sourceLineNo">154</span>  }<a name="line.154"></a>
+<span class="sourceLineNo">155</span><a name="line.155"></a>
+<span class="sourceLineNo">156</span>  @Override<a name="line.156"></a>
+<span class="sourceLineNo">157</span>  public void reset() throws IOException {<a name="line.157"></a>
+<span class="sourceLineNo">158</span>    String clsName = initInternal(null, false);<a name="line.158"></a>
+<span class="sourceLineNo">159</span>    initAfterCompression(clsName); // We need a new decoder (at least).<a name="line.159"></a>
+<span class="sourceLineNo">160</span>  }<a name="line.160"></a>
+<span class="sourceLineNo">161</span><a name="line.161"></a>
+<span class="sourceLineNo">162</span>  @Override<a name="line.162"></a>
+<span class="sourceLineNo">163</span>  public void init(FileSystem fs, Path path, Configuration conf, FSDataInputStream stream)<a name="line.163"></a>
+<span class="sourceLineNo">164</span>      throws IOException {<a name="line.164"></a>
+<span class="sourceLineNo">165</span>    this.trailerWarnSize = conf.getInt(WAL_TRAILER_WARN_SIZE, DEFAULT_WAL_TRAILER_WARN_SIZE);<a name="line.165"></a>
+<span class="sourceLineNo">166</span>    super.init(fs, path, conf, stream);<a name="line.166"></a>
+<span class="sourceLineNo">167</span>  }<a name="line.167"></a>
+<span class="sourceLineNo">168</span><a name="line.168"></a>
+<span class="sourceLineNo">169</span>  @Override<a name="line.169"></a>
+<span class="sourceLineNo">170</span>  protected String initReader(FSDataInputStream stream) throws IOException {<a name="line.170"></a>
+<span class="sourceLineNo">171</span>    return initInternal(stream, true);<a name="line.171"></a>
+<span class="sourceLineNo">172</span>  }<a name="line.172"></a>
+<span class="sourceLineNo">173</span><a name="line.173"></a>
+<span class="sourceLineNo">174</span>  /*<a name="line.174"></a>
+<span class="sourceLineNo">175</span>   * Returns names of the accepted writer classes<a name="line.175"></a>
+<span class="sourceLineNo">176</span>   */<a name="line.176"></a>
+<span class="sourceLineNo">177</span>  public List&lt;String&gt; getWriterClsNames() {<a name="line.177"></a>
+<span class="sourceLineNo">178</span>    return writerClsNames;<a name="line.178"></a>
+<span class="sourceLineNo">179</span>  }<a name="line.179"></a>
+<span class="sourceLineNo">180</span>  <a name="line.180"></a>
+<span class="sourceLineNo">181</span>  /*<a name="line.181"></a>
+<span class="sourceLineNo">182</span>   * Returns the cell codec classname<a name="line.182"></a>
+<span class="sourceLineNo">183</span>   */<a name="line.183"></a>
+<span class="sourceLineNo">184</span>  public String getCodecClsName() {<a name="line.184"></a>
+<span class="sourceLineNo">185</span>      return codecClsName;<a name="line.185"></a>
+<span class="sourceLineNo">186</span>  }<a name="line.186"></a>
+<span class="sourceLineNo">187</span><a name="line.187"></a>
+<span class="sourceLineNo">188</span>  protected WALHdrContext readHeader(Builder builder, FSDataInputStream stream)<a name="line.188"></a>
+<span class="sourceLineNo">189</span>      throws IOException {<a name="line.189"></a>
+<span class="sourceLineNo">190</span>     boolean res = builder.mergeDelimitedFrom(stream);<a name="line.190"></a>
+<span class="sourceLineNo">191</span>     if (!res) return new WALHdrContext(WALHdrResult.EOF, null);<a name="line.191"></a>
+<span class="sourceLineNo">192</span>     if (builder.hasWriterClsName() &amp;&amp;<a name="line.192"></a>
+<span class="sourceLineNo">193</span>         !getWriterClsNames().contains(builder.getWriterClsName())) {<a name="line.193"></a>
+<span class="sourceLineNo">194</span>       return new WALHdrContext(WALHdrResult.UNKNOWN_WRITER_CLS, null);<a name="line.194"></a>
+<span class="sourceLineNo">195</span>     }<a name="line.195"></a>
+<span class="sourceLineNo">196</span>     String clsName = null;<a name="line.196"></a>
+<span class="sourceLineNo">197</span>     if (builder.hasCellCodecClsName()) {<a name="line.197"></a>
+<span class="sourceLineNo">198</span>       clsName = builder.getCellCodecClsName();<a name="line.198"></a>
+<span class="sourceLineNo">199</span>     }<a name="line.199"></a>
+<span class="sourceLineNo">200</span>     return new WALHdrContext(WALHdrResult.SUCCESS, clsName);<a name="line.200"></a>
+<span class="sourceLineNo">201</span>  }<a name="line.201"></a>
+<span class="sourceLineNo">202</span><a name="line.202"></a>
+<span class="sourceLineNo">203</span>  private String initInternal(FSDataInputStream stream, boolean isFirst)<a name="line.203"></a>
+<span class="sourceLineNo">204</span>      throws IOException {<a name="line.204"></a>
+<span class="sourceLineNo">205</span>    close();<a name="line.205"></a>
+<span class="sourceLineNo">206</span>    long expectedPos = PB_WAL_MAGIC.length;<a name="line.206"></a>
+<span class="sourceLineNo">207</span>    if (stream == null) {<a name="line.207"></a>
+<span class="sourceLineNo">208</span>      stream = fs.open(path);<a name="line.208"></a>
+<span class="sourceLineNo">209</span>      stream.seek(expectedPos);<a name="line.209"></a>
+<span class="sourceLineNo">210</span>    }<a name="line.210"></a>
+<span class="sourceLineNo">211</span>    if (stream.getPos() != expectedPos) {<a name="line.211"></a>
+<span class="sourceLineNo">212</span>      throw new IOException("The stream is at invalid position: " + stream.getPos());<a name="line.212"></a>
+<span class="sourceLineNo">213</span>    }<a name="line.213"></a>
+<span class="sourceLineNo">214</span>    // Initialize metadata or, when we reset, just skip the header.<a name="line.214"></a>
+<span class="sourceLineNo">215</span>    WALProtos.WALHeader.Builder builder = WALProtos.WALHeader.newBuilder();<a name="line.215"></a>
+<span class="sourceLineNo">216</span>    WALHdrContext hdrCtxt = readHeader(builder, stream);<a name="line.216"></a>
+<span class="sourceLineNo">217</span>    WALHdrResult walHdrRes = hdrCtxt.getResult();<a name="line.217"></a>
+<span class="sourceLineNo">218</span>    if (walHdrRes == WALHdrResult.EOF) {<a name="line.218"></a>
+<span class="sourceLineNo">219</span>      throw new EOFException("Couldn't read WAL PB header");<a name="line.219"></a>
+<span class="sourceLineNo">220</span>    }<a name="line.220"></a>
+<span class="sourceLineNo">221</span>    if (walHdrRes == WALHdrResult.UNKNOWN_WRITER_CLS) {<a name="line.221"></a>
+<span class="sourceLineNo">222</span>      throw new IOException("Got unknown writer class: " + builder.getWriterClsName());<a name="line.222"></a>
+<span class="sourceLineNo">223</span>    }<a name="line.223"></a>
+<span class="sourceLineNo">224</span>    if (isFirst) {<a name="line.224"></a>
+<span class="sourceLineNo">225</span>      WALProtos.WALHeader header = builder.build();<a name="line.225"></a>
+<span class="sourceLineNo">226</span>      this.hasCompression = header.hasHasCompression() &amp;&amp; header.getHasCompression();<a name="line.226"></a>
+<span class="sourceLineNo">227</span>      this.hasTagCompression = header.hasHasTagCompression() &amp;&amp; header.getHasTagCompression();<a name="line.227"></a>
+<span class="sourceLineNo">228</span>    }<a name="line.228"></a>
+<span class="sourceLineNo">229</span>    this.inputStream = stream;<a name="line.229"></a>
+<span class="sourceLineNo">230</span>    this.walEditsStopOffset = this.fileLength;<a name="line.230"></a>
+<span class="sourceLineNo">231</span>    long currentPosition = stream.getPos();<a name="line.231"></a>
+<span class="sourceLineNo">232</span>    trailerPresent = setTrailerIfPresent();<a name="line.232"></a>
+<span class="sourceLineNo">233</span>    this.seekOnFs(currentPosition);<a name="line.233"></a>
+<span class="sourceLineNo">234</span>    if (LOG.isTraceEnabled()) {<a name="line.234"></a>
+<span class="sourceLineNo">235</span>      LOG.trace("After reading the trailer: walEditsStopOffset: " + this.walEditsStopOffset<a name="line.235"></a>
+<span class="sourceLineNo">236</span>          + ", fileLength: " + this.fileLength + ", " + "trailerPresent: " + (trailerPresent ? "true, size: " + trailer.getSerializedSize() : "false") + ", currentPosition: " + currentPosition);<a name="line.236"></a>
+<span class="sourceLineNo">237</span>    }<a name="line.237"></a>
+<span class="sourceLineNo">238</span>    <a name="line.238"></a>
+<span class="sourceLineNo">239</span>    codecClsName = hdrCtxt.getCellCodecClsName();<a name="line.239"></a>
+<span class="sourceLineNo">240</span>    <a name="line.240"></a>
+<span class="sourceLineNo">241</span>    return hdrCtxt.getCellCodecClsName();<a name="line.241"></a>
+<span class="sourceLineNo">242</span>  }<a name="line.242"></a>
+<span class="sourceLineNo">243</span><a name="line.243"></a>
+<span class="sourceLineNo">244</span>  /**<a name="line.244"></a>
+<span class="sourceLineNo">245</span>   * To check whether a trailer is present in a WAL, it seeks to position (fileLength -<a name="line.245"></a>
+<span class="sourceLineNo">246</span>   * PB_WAL_COMPLETE_MAGIC.size() - Bytes.SIZEOF_INT). It reads the int value to know the size of<a name="line.246"></a>
+<span class="sourceLineNo">247</span>   * the trailer, and checks whether the trailer is present at the end or not by comparing the last<a name="line.247"></a>
+<span class="sourceLineNo">248</span>   * PB_WAL_COMPLETE_MAGIC.size() bytes. In case trailer is not present, it returns false;<a name="line.248"></a>
+<span class="sourceLineNo">249</span>   * otherwise, sets the trailer and sets this.walEditsStopOffset variable up to the point just<a name="line.249"></a>
+<span class="sourceLineNo">250</span>   * before the trailer.<a name="line.250"></a>
+<span class="sourceLineNo">251</span>   * &lt;ul&gt;<a name="line.251"></a>
+<span class="sourceLineNo">252</span>   * The trailer is ignored in case:<a name="line.252"></a>
+<span class="sourceLineNo">253</span>   * &lt;li&gt;fileLength is 0 or not correct (when file is under recovery, etc).<a name="line.253"></a>
+<span class="sourceLineNo">254</span>   * &lt;li&gt;the trailer size is negative.<a name="line.254"></a>
+<span class="sourceLineNo">255</span>   * &lt;/ul&gt;<a name="line.255"></a>
+<span class="sourceLineNo">256</span>   * &lt;p&gt;<a name="line.256"></a>
+<span class="sourceLineNo">257</span>   * In case the trailer size &gt; this.trailerMaxSize, it is read after a WARN message.<a name="line.257"></a>
+<span class="sourceLineNo">258</span>   * @return true if a valid trailer is present<a name="line.258"></a>
+<span class="sourceLineNo">259</span>   * @throws IOException<a name="line.259"></a>
+<span class="sourceLineNo">260</span>   */<a name="line.260"></a>
+<span class="sourceLineNo">261</span>  private boolean setTrailerIfPresent() {<a name="line.261"></a>
+<span class="sourceLineNo">262</span>    try {<a name="line.262"></a>
+<span class="sourceLineNo">263</span>      long trailerSizeOffset = this.fileLength - (PB_WAL_COMPLETE_MAGIC.length + Bytes.SIZEOF_INT);<a name="line.263"></a>
+<span class="sourceLineNo">264</span>      if (trailerSizeOffset &lt;= 0) return false;// no trailer possible.<a name="line.264"></a>
+<span class="sourceLineNo">265</span>      this.seekOnFs(trailerSizeOffset);<a name="line.265"></a>
+<span class="sourceLineNo">266</span>      // read the int as trailer size.<a name="line.266"></a>
+<span class="sourceLineNo">267</span>      int trailerSize = this.inputStream.readInt();<a name="line.267"></a>
+<span class="sourceLineNo">268</span>      ByteBuffer buf = ByteBuffer.allocate(ProtobufLogReader.PB_WAL_COMPLETE_MAGIC.length);<a name="line.268"></a>
+<span class="sourceLineNo">269</span>      this.inputStream.readFully(buf.array(), buf.arrayOffset(), buf.capacity());<a name="line.269"></a>
+<span class="sourceLineNo">270</span>      if (!Arrays.equals(buf.array(), PB_WAL_COMPLETE_MAGIC)) {<a name="line.270"></a>
+<span class="sourceLineNo">271</span>        LOG.trace("No trailer found.");<a name="line.271"></a>
+<span class="sourceLineNo">272</span>        return false;<a name="line.272"></a>
+<span class="sourceLineNo">273</span>      }<a name="line.273"></a>
+<span class="sourceLineNo">274</span>      if (trailerSize &lt; 0) {<a name="line.274"></a>
+<span class="sourceLineNo">275</span>        LOG.warn("Invalid trailer Size " + trailerSize + ", ignoring the trailer");<a name="line.275"></a>
+<span class="sourceLineNo">276</span>        return false;<a name="line.276"></a>
+<span class="sourceLineNo">277</span>      } else if (trailerSize &gt; this.trailerWarnSize) {<a name="line.277"></a>
+<span class="sourceLineNo">278</span>        // continue reading after warning the user.<a name="line.278"></a>
+<span class="sourceLineNo">279</span>        LOG.warn("Please investigate WALTrailer usage. Trailer size &gt; maximum configured size : "<a name="line.279"></a>
+<span class="sourceLineNo">280</span>          + trailerSize + " &gt; " + this.trailerWarnSize);<a name="line.280"></a>
+<span class="sourceLineNo">281</span>      }<a name="line.281"></a>
+<span class="sourceLineNo">282</span>      // seek to the position where trailer starts.<a name="line.282"></a>
+<span class="sourceLineNo">283</span>      long positionOfTrailer = trailerSizeOffset - trailerSize;<a name="line.283"></a>
+<span class="sourceLineNo">284</span>      this.seekOnFs(positionOfTrailer);<a name="line.284"></a>
+<span class="sourceLineNo">285</span>      // read the trailer.<a name="line.285"></a>
+<span class="sourceLineNo">286</span>      buf = ByteBuffer.allocate(trailerSize);// for trailer.<a name="line.286"></a>
+<span class="sourceLineNo">287</span>      this.inputStream.readFully(buf.array(), buf.arrayOffset(), buf.capacity());<a name="line.287"></a>
+<span class="sourceLineNo">288</span>      trailer = WALTrailer.parseFrom(buf.array());<a name="line.288"></a>
+<span class="sourceLineNo">289</span>      this.walEditsStopOffset = positionOfTrailer;<a name="line.289"></a>
+<span class="sourceLineNo">290</span>      return true;<a name="line.290"></a>
+<span class="sourceLineNo">291</span>    } catch (IOException ioe) {<a name="line.291"></a>
+<span class="sourceLineNo">292</span>      LOG.warn("Got IOE while reading the trailer. Continuing as if no trailer is present.", ioe);<a name="line.292"></a>
+<span class="sourceLineNo">293</span>    }<a name="line.293"></a>
+<span class="sourceLineNo">294</span>    return false;<a name="line.294"></a>
+<span class="sourceLineNo">295</span>  }<a name="line.295"></a>
+<span class="sourceLineNo">296</span><a name="line.296"></a>
+<span class="sourceLineNo">297</span>  protected WALCellCodec getCodec(Configuration conf, String cellCodecClsName,<a name="line.297"></a>
+<span class="sourceLineNo">298</span>      CompressionContext compressionContext) throws IOException {<a name="line.298"></a>
+<span class="sourceLineNo">299</span>    return WALCellCodec.create(conf, cellCodecClsName, compressionContext);<a name="line.299"></a>
+<span class="sourceLineNo">300</span>  }<a name="line.300"></a>
+<span class="sourceLineNo">301</span><a name="line.301"></a>
+<span class="sourceLineNo">302</span>  @Override<a name="line.302"></a>
+<span class="sourceLineNo">303</span>  protected void initAfterCompression() throws IOException {<a name="line.303"></a>
+<span class="sourceLineNo">304</span>    initAfterCompression(null);<a name="line.304"></a>
+<span class="sourceLineNo">305</span>  }<a name="line.305"></a>
+<span class="sourceLineNo">306</span>  <a name="line.306"></a>
+<span class="sourceLineNo">307</span>  @Override<a name="line.307"></a>
+<span class="sourceLineNo">308</span>  protected void initAfterCompression(String cellCodecClsName) throws IOException {<a name="line.308"></a>
+<span class="sourceLineNo">309</span>    WALCellCodec codec = getCodec(this.conf, cellCodecClsName, this.compressionContext);<a name="line.309"></a>
+<span class="sourceLineNo">310</span>    this.cellDecoder = codec.getDecoder(this.inputStream);<a name="line.310"></a>
+<span class="sourceLineNo">311</span>    if (this.hasCompression) {<a name="line.311"></a>
+<span class="sourceLineNo">312</span>      this.byteStringUncompressor = codec.getByteStringUncompressor();<a name="line.312"></a>
+<span class="sourceLineNo">313</span>    }<a name="line.313"></a>
+<span class="sourceLineNo">314</span>  }<a name="line.314"></a>
+<span class="sourceLineNo">315</span><a name="line.315"></a>
+<span class="sourceLineNo">316</span>  @Override<a name="line.316"></a>
+<span class="sourceLineNo">317</span>  protected boolean hasCompression() {<a name="line.317"></a>
+<span class="sourceLineNo">318</span>    return this.hasCompression;<a name="line.318"></a>
+<span class="sourceLineNo">319</span>  }<a name="line.319"></a>
+<span class="sourceLineNo">320</span><a name="line.320"></a>
+<span class="sourceLineNo">321</span>  @Override<a name="line.321"></a>
+<span class="sourceLineNo">322</span>  protected boolean hasTagCompression() {<a name="line.322"></a>
+<span class="sourceLineNo">323</span>    return this.hasTagCompression;<a name="line.323"></a>
+<span class="sourceLineNo">324</span>  }<a name="line.324"></a>
+<span class="sourceLineNo">325</span><a name="line.325"></a>
+<span class="sourceLineNo">326</span>  @Override<a name="line.326"></a>
+<span class="sourceLineNo">327</span>  protected boolean readNext(Entry entry) throws IOException {<a name="line.327"></a>
+<span class="sourceLineNo">328</span>    while (true) {<a name="line.328"></a>
+<span class="sourceLineNo">329</span>      // OriginalPosition might be &lt; 0 on local fs; if so, it is useless to us.<a name="line.329"></a>
+<span class="sourceLineNo">330</span>      long originalPosition = this.inputStream.getPos();<a name="line.330"></a>
+<span class="sourceLineNo">331</span>      if (trailerPresent &amp;&amp; originalPosition &gt; 0 &amp;&amp; originalPosition == this.walEditsStopOffset) {<a name="line.331"></a>
+<span class="sourceLineNo">332</span>        if (LOG.isTraceEnabled()) {<a name="line.332"></a>
+<span class="sourceLineNo">333</span>          LOG.trace("Reached end of expected edits area at offset " + originalPosition);<a name="line.333"></a>
+<span class="sourceLineNo">334</span>        }<a name="line.334"></a>
+<span class="sourceLineNo">335</span>        return false;<a name="line.335"></a>
+<span class="sourceLineNo">336</span>      }<a name="line.336"></a>
+<span class="sourceLineNo">337</span>      WALKey.Builder builder = WALKey.newBuilder();<a name="line.337"></a>
+<span class="sourceLineNo">338</span>      long size = 0;<a name="line.338"></a>
+<span class="sourceLineNo">339</span>      try {<a name="line.339"></a>
+<span class="sourceLineNo">340</span>        long available = -1;<a name="line.340"></a>
+<span class="sourceLineNo">341</span>        try {<a name="line.341"></a>
+<span class="sourceLineNo">342</span>          int firstByte = this.inputStream.read();<a name="line.342"></a>
+<span class="sourceLineNo">343</span>          if (firstByte == -1) {<a name="line.343"></a>
+<span class="sourceLineNo">344</span>            throw new EOFException("First byte is negative at offset " + originalPosition);<a name="line.344"></a>
+<span class="sourceLineNo">345</span>          }<a name="line.345"></a>
+<span class="sourceLineNo">346</span>          size = CodedInputStream.readRawVarint32(firstByte, this.inputStream);<a name="line.346"></a>
+<span class="sourceLineNo">347</span>          // available may be &lt; 0 on local fs for instance.  If so, can't depend on it.<a name="line.347"></a>
+<span class="sourceLineNo">348</span>          available = this.inputStream.available();<a name="line.348"></a>
+<span class="sourceLineNo">349</span>          if (available &gt; 0 &amp;&amp; available &lt; size) {<a name="line.349"></a>
+<span class="sourceLineNo">350</span>            throw new EOFException("Available stream not enough for edit, " +<a name="line.350"></a>
+<span class="sourceLineNo">351</span>                "inputStream.available()= " + this.inputStream.available() + ", " +<a name="line.351"></a>
+<span class="sourceLineNo">352</span>                "entry size= " + size + " at offset = " + this.inputStream.getPos());<a name="line.352"></a>
+<span class="sourceLineNo">353</span>          }<a name="line.353"></a>
+<span class="sourceLineNo">354</span>          ProtobufUtil.mergeFrom(builder, ByteStreams.limit(this.inputStream, size),<a name="line.354"></a>
+<span class="sourceLineNo">355</span>            (int)size);<a name="line.355"></a>
+<span class="sourceLineNo">356</span>        } catch (InvalidProtocolBufferException ipbe) {<a name="line.356"></a>
+<span class="sourceLineNo">357</span>          throw (EOFException) new EOFException("Invalid PB, EOF? Ignoring; originalPosition=" +<a name="line.357"></a>
+<span class="sourceLineNo">358</span>            originalPosition + ", currentPosition=" + this.inputStream.getPos() +<a name="line.358"></a>
+<span class="sourceLineNo">359</span>            ", messageSize=" + size + ", currentAvailable=" + available).initCause(ipbe);<a name="line.359"></a>
+<span class="sourceLineNo">360</span>        }<a name="line.360"></a>
+<span class="sourceLineNo">361</span>        if (!builder.isInitialized()) {<a name="line.361"></a>
+<span class="sourceLineNo">362</span>          // TODO: not clear if we should try to recover from corrupt PB that looks semi-legit.<a name="line.362"></a>
+<span class="sourceLineNo">363</span>          //       If we can get the KV count, we could, theoretically, try to get next record.<a name="line.363"></a>
+<span class="sourceLineNo">364</span>          throw new EOFException("Partial PB while reading WAL, " +<a name="line.364"></a>
+<span class="sourceLineNo">365</span>              "probably an unexpected EOF, ignoring. current offset=" + this.inputStream.getPos());<a name="line.365"></a>
+<span class="sourceLineNo">366</span>        }<a name="line.366"></a>
+<span class="sourceLineNo">367</span>        WALKey walKey = builder.build();<a name="line.367"></a>
+<span class="sourceLineNo">368</span>        entry.getKey().readFieldsFromPb(walKey, this.byteStringUncompressor);<a name="line.368"></a>
+<span class="sourceLineNo">369</span>        if (!walKey.hasFollowingKvCount() || 0 == walKey.getFollowingKvCount()) {<a name="line.369"></a>
+<span class="sourceLineNo">370</span>          if (LOG.isTraceEnabled()) {<a name="line.370"></a>
+<span class="sourceLineNo">371</span>            LOG.trace("WALKey has no KVs that follow it; trying the next one. current offset=" +<a name="line.371"></a>
+<span class="sourceLineNo">372</span>                this.inputStream.getPos());<a name="line.372"></a>
+<span class="sourceLineNo">373</span>          }<a name="line.373"></a>
+<span class="sourceLineNo">374</span>          continue;<a name="line.374"></a>
+<span class="sourceLineNo">375</span>        }<a name="line.375"></a>
+<span class="sourceLineNo">376</span>        int expectedCells = walKey.getFollowingKvCount();<a name="line.376"></a>
+<span class="sourceLineNo">377</span>        long posBefore = this.inputStream.getPos();<a name="line.377"></a>
+<span class="sourceLineNo">378</span>        try {<a name="line.378"></a>
+<span class="sourceLineNo">379</span>          int actualCells = entry.getEdit().readFromCells(cellDecoder, expectedCells);<a name="line.379"></a>
+<span class="sourceLineNo">380</span>          if (expectedCells != actualCells) {<a name="line.380"></a>
+<span class="sourceLineNo">381</span>            throw new EOFException("Only read " + actualCells); // other info added in catch<a name="line.381"></a>
+<span class="sourceLineNo">382</span>          }<a name="line.382"></a>
+<span class="sourceLineNo">383</span>        } catch (Exception ex) {<a name="line.383"></a>
+<span class="sourceLineNo">384</span>          String posAfterStr = "&lt;unknown&gt;";<a name="line.384"></a>
+<span class="sourceLineNo">385</span>          try {<a name="line.385"></a>
+<span class="sourceLineNo">386</span>            posAfterStr = this.inputStream.getPos() + "";<a name="line.386"></a>
+<span class="sourceLineNo">387</span>          } catch (Throwable t) {<a name="line.387"></a>
+<span class="sourceLineNo">388</span>            if (LOG.isTraceEnabled()) {<a name="line.388"></a>
+<span class="sourceLineNo">389</span>              LOG.trace("Error getting pos for error message - ignoring", t);<a name="line.389"></a>
+<span class="sourceLineNo">390</span>            }<a name="line.390"></a>
+<span class="sourceLineNo">391</span>          }<a name="line.391"></a>
+<span class="sourceLineNo">392</span>          String message = " while reading " + expectedCells + " WAL KVs; started reading at "<a name="line.392"></a>
+<span class="sourceLineNo">393</span>              + posBefore + " and read up to " + posAfterStr;<a name="line.393"></a>
+<span class="sourceLineNo">394</span>          IOException realEofEx = extractHiddenEof(ex);<a name="line.394"></a>
+<span class="sourceLineNo">395</span>          throw (EOFException) new EOFException("EOF " + message).<a name="line.395"></a>
+<span class="sourceLineNo">396</span>              initCause(realEofEx != null ? realEofEx : ex);<a name="line.396"></a>
+<span class="sourceLineNo">397</span>        }<a name="line.397"></a>
+<span class="sourceLineNo">398</span>        if (trailerPresent &amp;&amp; this.inputStream.getPos() &gt; this.walEditsStopOffset) {<a name="line.398"></a>
+<span class="sourceLineNo">399</span>          LOG.error("Read WALTrailer while reading WALEdits. wal: " + this.path<a name="line.399"></a>
+<span class="sourceLineNo">400</span>              + ", inputStream.getPos(): " + this.inputStream.getPos() + ", walEditsStopOffset: "<a name="line.400"></a>
+<span class="sourceLineNo">401</span>              + this.walEditsStopOffset);<a name="line.401"></a>
+<span class="sourceLineNo">402</span>          throw new EOFException("Read WALTrailer while reading WALEdits");<a name="line.402"></a>
+<span class="sourceLineNo">403</span>        }<a name="line.403"></a>
+<span class="sourceLineNo">404</span>      } catch (EOFException eof) {<a name="line.404"></a>
+<span class="sourceLineNo">405</span>        // If originalPosition is &lt; 0, it is rubbish and we cannot use it (probably local fs)<a name="line.405"></a>
+<span class="sourceLineNo">406</span>        if (originalPosition &lt; 0) {<a name="line.406"></a>
+<span class="sourceLineNo">407</span>          if (LOG.isTraceEnabled()) {<a name="line.407"></a>
+<span class="sourceLineNo">408</span>            LOG.trace("Encountered a malformed edit, but can't seek back to last good position because originalPosition is negative. last offset=" + this.inputStream.getPos(), eof);<a name="line.408"></a>
+<span class="sourceLineNo">409</span>          }<a name="line.409"></a>
+<span class="sourceLineNo">410</span>          throw eof;<a name="line.410"></a>
+<span class="sourceLineNo">411</span>        }<a name="line.411"></a>
+<span class="sourceLineNo">412</span>        // Else restore our position to original location in hope that next time through we will<a name="line.412"></a>
+<span class="sourceLineNo">413</span>        // read successfully.<a name="line.413"></a>
+<span class="sourceLineNo">414</span>        if (LOG.isTraceEnabled()) {<a name="line.414"></a>
+<span class="sourceLineNo">415</span>          LOG.trace("Encountered a malformed edit, seeking back to last good position in file, from "+ inputStream.getPos()+" to " + originalPosition, eof);<a name="line.415"></a>
+<span class="sourceLineNo">416</span>        }<a name="line.416"></a>
+<span class="sourceLineNo">417</span>        seekOnFs(originalPosition);<a name="line.417"></a>
+<span class="sourceLineNo">418</span>        return false;<a name="line.418"></a>
+<span class="sourceLineNo">419</span>      }<a name="line.419"></a>
+<span class="sourceLineNo">420</span>      return true;<a name="line.420"></a>
+<span class="sourceLineNo">421</span>    }<a name="line.421"></a>
+<span class="sourceLineNo">422</span>  }<a name="line.422"></a>
+<span class="sourceLineNo">423</span><a name="line.423"></a>
+<span class="sourceLineNo">424</span>  private IOException extractHiddenEof(Exception ex) {<a name="line.424"></a>
+<span class="sourceLineNo">425</span>    // There are two problems we are dealing with here. Hadoop stream throws generic exception<a name="line.425"></a>
+<span class="sourceLineNo">426</span>    // for EOF, not EOFException; and scanner further hides it inside RuntimeException.<a name="line.426"></a>
+<span class="sourceLineNo">427</span>    IOException ioEx = null;<a name="line.427"></a>
+<span class="sourceLineNo">428</span>    if (ex instanceof EOFException) {<a name="line.428"></a>
+<span class="sourceLineNo">429</span>      return (EOFException)ex;<a name="line.429"></a>
+<span class="sourceLineNo">430</span>    } else if (ex instanceof IOException) {<a name="line.430"></a>
+<span class="sourceLineNo">431</span>      ioEx = (IOException)ex;<a name="line.431"></a>
+<span class="sourceLineNo">432</span>    } else if (ex instanceof RuntimeException<a name="line.432"></a>
+<span class="sourceLineNo">433</span>        &amp;&amp; ex.getCause() != null &amp;&amp; ex.getCause() instanceof IOException) {<a name="line.433"></a>
+<span class="sourceLineNo">434</span>      ioEx = (IOException)ex.getCause();<a name="line.434"></a>
+<span class="sourceLineNo">435</span>    }<a name="line.435"></a>
+<span class="sourceLineNo">436</span>    if (ioEx != null) {<a name="line.436"></a>
+<span class="sourceLineNo">437</span>      if (ioEx.getMessage().contains("EOF")) return ioEx;<a name="line.437"></a>
+<span class="sourceLineNo">438</span>      return null;<a name="line.438"></a>
+<span class="sourceLineNo">439</span>    }<a name="line.439"></a>
+<span class="sourceLineNo">440</span>    return null;<a name="line.440"></a>
+<span class="sourceLineNo">441</span>  }<a name="line.441"></a>
+<span class="sourceLineNo">442</span><a name="line.442"></a>
+<span class="sourceLineNo">443</span>  @Override<a name="line.443"></a>
+<span class="sourceLineNo">444</span>  protected void seekOnFs(long pos) throws IOException {<a name="line.444"></a>
+<span class="sourceLineNo">445</span>    this.inputStream.seek(pos);<a name="line.445"></a>
+<span class="sourceLineNo">446</span>  }<a name="line.446"></a>
+<span class="sourceLineNo">447</span>}<a name="line.447"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/export_control.html
----------------------------------------------------------------------
diff --git a/export_control.html b/export_control.html
index 572f9bf..3e2cda4 100644
--- a/export_control.html
+++ b/export_control.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; 
       Export Control
@@ -336,7 +336,7 @@ for more details.</p>
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-annotations/checkstyle.html
----------------------------------------------------------------------
diff --git a/hbase-annotations/checkstyle.html b/hbase-annotations/checkstyle.html
index d6fa720..25de6de 100644
--- a/hbase-annotations/checkstyle.html
+++ b/hbase-annotations/checkstyle.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Checkstyle Results</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -150,7 +150,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 


[06/15] hbase-site git commit: Published site at .

Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html
index 4d770af..f2100fa 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.WALHdrResult.html
@@ -34,424 +34,425 @@
 <span class="sourceLineNo">026</span>import java.util.Arrays;<a name="line.26"></a>
 <span class="sourceLineNo">027</span>import java.util.List;<a name="line.27"></a>
 <span class="sourceLineNo">028</span><a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.slf4j.Logger;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.slf4j.LoggerFactory;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>import org.apache.hadoop.conf.Configuration;<a name="line.32"></a>
-<span class="sourceLineNo">033</span>import org.apache.hadoop.fs.Path;<a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.hadoop.fs.FileSystem;<a name="line.34"></a>
-<span class="sourceLineNo">035</span>import org.apache.hadoop.fs.FSDataInputStream;<a name="line.35"></a>
-<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.codec.Codec;<a name="line.36"></a>
-<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.io.LimitInputStream;<a name="line.37"></a>
-<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.HBaseInterfaceAudience;<a name="line.38"></a>
-<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos;<a name="line.40"></a>
-<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALHeader.Builder;<a name="line.41"></a>
-<span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALKey;<a name="line.42"></a>
-<span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALTrailer;<a name="line.43"></a>
-<span class="sourceLineNo">044</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.44"></a>
-<span class="sourceLineNo">045</span>import org.apache.hadoop.hbase.wal.WAL.Entry;<a name="line.45"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.conf.Configuration;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.fs.Path;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.hadoop.fs.FileSystem;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import org.apache.hadoop.fs.FSDataInputStream;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.codec.Codec;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.HBaseInterfaceAudience;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALHeader.Builder;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALKey;<a name="line.38"></a>
+<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALTrailer;<a name="line.39"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.40"></a>
+<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.wal.WAL.Entry;<a name="line.41"></a>
+<span class="sourceLineNo">042</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.42"></a>
+<span class="sourceLineNo">043</span><a name="line.43"></a>
+<span class="sourceLineNo">044</span>import org.slf4j.Logger;<a name="line.44"></a>
+<span class="sourceLineNo">045</span>import org.slf4j.LoggerFactory;<a name="line.45"></a>
 <span class="sourceLineNo">046</span><a name="line.46"></a>
-<span class="sourceLineNo">047</span>import org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream;<a name="line.47"></a>
-<span class="sourceLineNo">048</span>import org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException;<a name="line.48"></a>
-<span class="sourceLineNo">049</span><a name="line.49"></a>
-<span class="sourceLineNo">050</span>/**<a name="line.50"></a>
-<span class="sourceLineNo">051</span> * A Protobuf based WAL has the following structure:<a name="line.51"></a>
-<span class="sourceLineNo">052</span> * &lt;p&gt;<a name="line.52"></a>
-<span class="sourceLineNo">053</span> * &amp;lt;PB_WAL_MAGIC&amp;gt;&amp;lt;WALHeader&amp;gt;&amp;lt;WALEdits&amp;gt;...&amp;lt;WALEdits&amp;gt;&amp;lt;Trailer&amp;gt;<a name="line.53"></a>
-<span class="sourceLineNo">054</span> * &amp;lt;TrailerSize&amp;gt; &amp;lt;PB_WAL_COMPLETE_MAGIC&amp;gt;<a name="line.54"></a>
-<span class="sourceLineNo">055</span> * &lt;/p&gt;<a name="line.55"></a>
-<span class="sourceLineNo">056</span> * The Reader reads meta information (WAL Compression state, WALTrailer, etc) in<a name="line.56"></a>
-<span class="sourceLineNo">057</span> * ProtobufLogReader#initReader(FSDataInputStream). A WALTrailer is an extensible structure<a name="line.57"></a>
-<span class="sourceLineNo">058</span> * which is appended at the end of the WAL. This is empty for now; it can contain some meta<a name="line.58"></a>
-<span class="sourceLineNo">059</span> * information such as Region level stats, etc in future.<a name="line.59"></a>
-<span class="sourceLineNo">060</span> */<a name="line.60"></a>
-<span class="sourceLineNo">061</span>@InterfaceAudience.LimitedPrivate({HBaseInterfaceAudience.COPROC, HBaseInterfaceAudience.PHOENIX,<a name="line.61"></a>
-<span class="sourceLineNo">062</span>  HBaseInterfaceAudience.CONFIG})<a name="line.62"></a>
-<span class="sourceLineNo">063</span>public class ProtobufLogReader extends ReaderBase {<a name="line.63"></a>
-<span class="sourceLineNo">064</span>  private static final Logger LOG = LoggerFactory.getLogger(ProtobufLogReader.class);<a name="line.64"></a>
-<span class="sourceLineNo">065</span>  // public for WALFactory until we move everything to o.a.h.h.wal<a name="line.65"></a>
-<span class="sourceLineNo">066</span>  @InterfaceAudience.Private<a name="line.66"></a>
-<span class="sourceLineNo">067</span>  public static final byte[] PB_WAL_MAGIC = Bytes.toBytes("PWAL");<a name="line.67"></a>
-<span class="sourceLineNo">068</span>  // public for TestWALSplit<a name="line.68"></a>
-<span class="sourceLineNo">069</span>  @InterfaceAudience.Private<a name="line.69"></a>
-<span class="sourceLineNo">070</span>  public static final byte[] PB_WAL_COMPLETE_MAGIC = Bytes.toBytes("LAWP");<a name="line.70"></a>
-<span class="sourceLineNo">071</span>  /**<a name="line.71"></a>
-<span class="sourceLineNo">072</span>   * Configuration name of WAL Trailer's warning size. If a waltrailer's size is greater than the<a name="line.72"></a>
-<span class="sourceLineNo">073</span>   * configured size, providers should log a warning. e.g. this is used with Protobuf reader/writer.<a name="line.73"></a>
-<span class="sourceLineNo">074</span>   */<a name="line.74"></a>
-<span class="sourceLineNo">075</span>  static final String WAL_TRAILER_WARN_SIZE = "hbase.regionserver.waltrailer.warn.size";<a name="line.75"></a>
-<span class="sourceLineNo">076</span>  static final int DEFAULT_WAL_TRAILER_WARN_SIZE = 1024 * 1024; // 1MB<a name="line.76"></a>
-<span class="sourceLineNo">077</span><a name="line.77"></a>
-<span class="sourceLineNo">078</span>  protected FSDataInputStream inputStream;<a name="line.78"></a>
-<span class="sourceLineNo">079</span>  protected Codec.Decoder cellDecoder;<a name="line.79"></a>
-<span class="sourceLineNo">080</span>  protected WALCellCodec.ByteStringUncompressor byteStringUncompressor;<a name="line.80"></a>
-<span class="sourceLineNo">081</span>  protected boolean hasCompression = false;<a name="line.81"></a>
-<span class="sourceLineNo">082</span>  protected boolean hasTagCompression = false;<a name="line.82"></a>
-<span class="sourceLineNo">083</span>  // walEditsStopOffset is the position of the last byte to read. After reading the last WALEdit<a name="line.83"></a>
-<span class="sourceLineNo">084</span>  // entry in the wal, the inputstream's position is equal to walEditsStopOffset.<a name="line.84"></a>
-<span class="sourceLineNo">085</span>  private long walEditsStopOffset;<a name="line.85"></a>
-<span class="sourceLineNo">086</span>  private boolean trailerPresent;<a name="line.86"></a>
-<span class="sourceLineNo">087</span>  protected WALTrailer trailer;<a name="line.87"></a>
-<span class="sourceLineNo">088</span>  // maximum size of the wal Trailer in bytes. If a user writes/reads a trailer with size larger<a name="line.88"></a>
-<span class="sourceLineNo">089</span>  // than this size, it is written/read respectively, with a WARN message in the log.<a name="line.89"></a>
-<span class="sourceLineNo">090</span>  protected int trailerWarnSize;<a name="line.90"></a>
-<span class="sourceLineNo">091</span>  private static List&lt;String&gt; writerClsNames = new ArrayList&lt;&gt;();<a name="line.91"></a>
-<span class="sourceLineNo">092</span>  static {<a name="line.92"></a>
-<span class="sourceLineNo">093</span>    writerClsNames.add(ProtobufLogWriter.class.getSimpleName());<a name="line.93"></a>
-<span class="sourceLineNo">094</span>    writerClsNames.add(AsyncProtobufLogWriter.class.getSimpleName());<a name="line.94"></a>
-<span class="sourceLineNo">095</span>  }<a name="line.95"></a>
-<span class="sourceLineNo">096</span>  <a name="line.96"></a>
-<span class="sourceLineNo">097</span>  // cell codec classname<a name="line.97"></a>
-<span class="sourceLineNo">098</span>  private String codecClsName = null;<a name="line.98"></a>
-<span class="sourceLineNo">099</span><a name="line.99"></a>
-<span class="sourceLineNo">100</span>  @InterfaceAudience.Private<a name="line.100"></a>
-<span class="sourceLineNo">101</span>  public long trailerSize() {<a name="line.101"></a>
-<span class="sourceLineNo">102</span>    if (trailerPresent) {<a name="line.102"></a>
-<span class="sourceLineNo">103</span>      // sizeof PB_WAL_COMPLETE_MAGIC + sizof trailerSize + trailer<a name="line.103"></a>
-<span class="sourceLineNo">104</span>      final long calculatedSize = PB_WAL_COMPLETE_MAGIC.length + Bytes.SIZEOF_INT + trailer.getSerializedSize();<a name="line.104"></a>
-<span class="sourceLineNo">105</span>      final long expectedSize = fileLength - walEditsStopOffset;<a name="line.105"></a>
-<span class="sourceLineNo">106</span>      if (expectedSize != calculatedSize) {<a name="line.106"></a>
-<span class="sourceLineNo">107</span>        LOG.warn("After parsing the trailer, we expect the total footer to be "+ expectedSize +" bytes, but we calculate it as being " + calculatedSize);<a name="line.107"></a>
-<span class="sourceLineNo">108</span>      }<a name="line.108"></a>
-<span class="sourceLineNo">109</span>      return expectedSize;<a name="line.109"></a>
-<span class="sourceLineNo">110</span>    } else {<a name="line.110"></a>
-<span class="sourceLineNo">111</span>      return -1L;<a name="line.111"></a>
-<span class="sourceLineNo">112</span>    }<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>  enum WALHdrResult {<a name="line.115"></a>
-<span class="sourceLineNo">116</span>    EOF,                   // stream is at EOF when method starts<a name="line.116"></a>
-<span class="sourceLineNo">117</span>    SUCCESS,<a name="line.117"></a>
-<span class="sourceLineNo">118</span>    UNKNOWN_WRITER_CLS     // name of writer class isn't recognized<a name="line.118"></a>
-<span class="sourceLineNo">119</span>  }<a name="line.119"></a>
-<span class="sourceLineNo">120</span>  <a name="line.120"></a>
-<span class="sourceLineNo">121</span>  // context for WALHdr carrying information such as Cell Codec classname<a name="line.121"></a>
-<span class="sourceLineNo">122</span>  static class WALHdrContext {<a name="line.122"></a>
-<span class="sourceLineNo">123</span>    WALHdrResult result;<a name="line.123"></a>
-<span class="sourceLineNo">124</span>    String cellCodecClsName;<a name="line.124"></a>
-<span class="sourceLineNo">125</span>    <a name="line.125"></a>
-<span class="sourceLineNo">126</span>    WALHdrContext(WALHdrResult result, String cellCodecClsName) {<a name="line.126"></a>
-<span class="sourceLineNo">127</span>      this.result = result;<a name="line.127"></a>
-<span class="sourceLineNo">128</span>      this.cellCodecClsName = cellCodecClsName;<a name="line.128"></a>
-<span class="sourceLineNo">129</span>    }<a name="line.129"></a>
-<span class="sourceLineNo">130</span>    WALHdrResult getResult() {<a name="line.130"></a>
-<span class="sourceLineNo">131</span>      return result;<a name="line.131"></a>
-<span class="sourceLineNo">132</span>    }<a name="line.132"></a>
-<span class="sourceLineNo">133</span>    String getCellCodecClsName() {<a name="line.133"></a>
-<span class="sourceLineNo">134</span>      return cellCodecClsName;<a name="line.134"></a>
-<span class="sourceLineNo">135</span>    }<a name="line.135"></a>
-<span class="sourceLineNo">136</span>  }<a name="line.136"></a>
-<span class="sourceLineNo">137</span><a name="line.137"></a>
-<span class="sourceLineNo">138</span>  public ProtobufLogReader() {<a name="line.138"></a>
-<span class="sourceLineNo">139</span>    super();<a name="line.139"></a>
-<span class="sourceLineNo">140</span>  }<a name="line.140"></a>
-<span class="sourceLineNo">141</span><a name="line.141"></a>
-<span class="sourceLineNo">142</span>  @Override<a name="line.142"></a>
-<span class="sourceLineNo">143</span>  public void close() throws IOException {<a name="line.143"></a>
-<span class="sourceLineNo">144</span>    if (this.inputStream != null) {<a name="line.144"></a>
-<span class="sourceLineNo">145</span>      this.inputStream.close();<a name="line.145"></a>
-<span class="sourceLineNo">146</span>      this.inputStream = null;<a name="line.146"></a>
-<span class="sourceLineNo">147</span>    }<a name="line.147"></a>
-<span class="sourceLineNo">148</span>  }<a name="line.148"></a>
-<span class="sourceLineNo">149</span><a name="line.149"></a>
-<span class="sourceLineNo">150</span>  @Override<a name="line.150"></a>
-<span class="sourceLineNo">151</span>  public long getPosition() throws IOException {<a name="line.151"></a>
-<span class="sourceLineNo">152</span>    return inputStream.getPos();<a name="line.152"></a>
-<span class="sourceLineNo">153</span>  }<a name="line.153"></a>
-<span class="sourceLineNo">154</span><a name="line.154"></a>
-<span class="sourceLineNo">155</span>  @Override<a name="line.155"></a>
-<span class="sourceLineNo">156</span>  public void reset() throws IOException {<a name="line.156"></a>
-<span class="sourceLineNo">157</span>    String clsName = initInternal(null, false);<a name="line.157"></a>
-<span class="sourceLineNo">158</span>    initAfterCompression(clsName); // We need a new decoder (at least).<a name="line.158"></a>
-<span class="sourceLineNo">159</span>  }<a name="line.159"></a>
-<span class="sourceLineNo">160</span><a name="line.160"></a>
-<span class="sourceLineNo">161</span>  @Override<a name="line.161"></a>
-<span class="sourceLineNo">162</span>  public void init(FileSystem fs, Path path, Configuration conf, FSDataInputStream stream)<a name="line.162"></a>
-<span class="sourceLineNo">163</span>      throws IOException {<a name="line.163"></a>
-<span class="sourceLineNo">164</span>    this.trailerWarnSize = conf.getInt(WAL_TRAILER_WARN_SIZE, DEFAULT_WAL_TRAILER_WARN_SIZE);<a name="line.164"></a>
-<span class="sourceLineNo">165</span>    super.init(fs, path, conf, stream);<a name="line.165"></a>
-<span class="sourceLineNo">166</span>  }<a name="line.166"></a>
-<span class="sourceLineNo">167</span><a name="line.167"></a>
-<span class="sourceLineNo">168</span>  @Override<a name="line.168"></a>
-<span class="sourceLineNo">169</span>  protected String initReader(FSDataInputStream stream) throws IOException {<a name="line.169"></a>
-<span class="sourceLineNo">170</span>    return initInternal(stream, true);<a name="line.170"></a>
-<span class="sourceLineNo">171</span>  }<a name="line.171"></a>
-<span class="sourceLineNo">172</span><a name="line.172"></a>
-<span class="sourceLineNo">173</span>  /*<a name="line.173"></a>
-<span class="sourceLineNo">174</span>   * Returns names of the accepted writer classes<a name="line.174"></a>
-<span class="sourceLineNo">175</span>   */<a name="line.175"></a>
-<span class="sourceLineNo">176</span>  public List&lt;String&gt; getWriterClsNames() {<a name="line.176"></a>
-<span class="sourceLineNo">177</span>    return writerClsNames;<a name="line.177"></a>
-<span class="sourceLineNo">178</span>  }<a name="line.178"></a>
-<span class="sourceLineNo">179</span>  <a name="line.179"></a>
-<span class="sourceLineNo">180</span>  /*<a name="line.180"></a>
-<span class="sourceLineNo">181</span>   * Returns the cell codec classname<a name="line.181"></a>
-<span class="sourceLineNo">182</span>   */<a name="line.182"></a>
-<span class="sourceLineNo">183</span>  public String getCodecClsName() {<a name="line.183"></a>
-<span class="sourceLineNo">184</span>      return codecClsName;<a name="line.184"></a>
-<span class="sourceLineNo">185</span>  }<a name="line.185"></a>
-<span class="sourceLineNo">186</span><a name="line.186"></a>
-<span class="sourceLineNo">187</span>  protected WALHdrContext readHeader(Builder builder, FSDataInputStream stream)<a name="line.187"></a>
-<span class="sourceLineNo">188</span>      throws IOException {<a name="line.188"></a>
-<span class="sourceLineNo">189</span>     boolean res = builder.mergeDelimitedFrom(stream);<a name="line.189"></a>
-<span class="sourceLineNo">190</span>     if (!res) return new WALHdrContext(WALHdrResult.EOF, null);<a name="line.190"></a>
-<span class="sourceLineNo">191</span>     if (builder.hasWriterClsName() &amp;&amp;<a name="line.191"></a>
-<span class="sourceLineNo">192</span>         !getWriterClsNames().contains(builder.getWriterClsName())) {<a name="line.192"></a>
-<span class="sourceLineNo">193</span>       return new WALHdrContext(WALHdrResult.UNKNOWN_WRITER_CLS, null);<a name="line.193"></a>
-<span class="sourceLineNo">194</span>     }<a name="line.194"></a>
-<span class="sourceLineNo">195</span>     String clsName = null;<a name="line.195"></a>
-<span class="sourceLineNo">196</span>     if (builder.hasCellCodecClsName()) {<a name="line.196"></a>
-<span class="sourceLineNo">197</span>       clsName = builder.getCellCodecClsName();<a name="line.197"></a>
-<span class="sourceLineNo">198</span>     }<a name="line.198"></a>
-<span class="sourceLineNo">199</span>     return new WALHdrContext(WALHdrResult.SUCCESS, clsName);<a name="line.199"></a>
-<span class="sourceLineNo">200</span>  }<a name="line.200"></a>
-<span class="sourceLineNo">201</span><a name="line.201"></a>
-<span class="sourceLineNo">202</span>  private String initInternal(FSDataInputStream stream, boolean isFirst)<a name="line.202"></a>
-<span class="sourceLineNo">203</span>      throws IOException {<a name="line.203"></a>
-<span class="sourceLineNo">204</span>    close();<a name="line.204"></a>
-<span class="sourceLineNo">205</span>    long expectedPos = PB_WAL_MAGIC.length;<a name="line.205"></a>
-<span class="sourceLineNo">206</span>    if (stream == null) {<a name="line.206"></a>
-<span class="sourceLineNo">207</span>      stream = fs.open(path);<a name="line.207"></a>
-<span class="sourceLineNo">208</span>      stream.seek(expectedPos);<a name="line.208"></a>
-<span class="sourceLineNo">209</span>    }<a name="line.209"></a>
-<span class="sourceLineNo">210</span>    if (stream.getPos() != expectedPos) {<a name="line.210"></a>
-<span class="sourceLineNo">211</span>      throw new IOException("The stream is at invalid position: " + stream.getPos());<a name="line.211"></a>
-<span class="sourceLineNo">212</span>    }<a name="line.212"></a>
-<span class="sourceLineNo">213</span>    // Initialize metadata or, when we reset, just skip the header.<a name="line.213"></a>
-<span class="sourceLineNo">214</span>    WALProtos.WALHeader.Builder builder = WALProtos.WALHeader.newBuilder();<a name="line.214"></a>
-<span class="sourceLineNo">215</span>    WALHdrContext hdrCtxt = readHeader(builder, stream);<a name="line.215"></a>
-<span class="sourceLineNo">216</span>    WALHdrResult walHdrRes = hdrCtxt.getResult();<a name="line.216"></a>
-<span class="sourceLineNo">217</span>    if (walHdrRes == WALHdrResult.EOF) {<a name="line.217"></a>
-<span class="sourceLineNo">218</span>      throw new EOFException("Couldn't read WAL PB header");<a name="line.218"></a>
-<span class="sourceLineNo">219</span>    }<a name="line.219"></a>
-<span class="sourceLineNo">220</span>    if (walHdrRes == WALHdrResult.UNKNOWN_WRITER_CLS) {<a name="line.220"></a>
-<span class="sourceLineNo">221</span>      throw new IOException("Got unknown writer class: " + builder.getWriterClsName());<a name="line.221"></a>
-<span class="sourceLineNo">222</span>    }<a name="line.222"></a>
-<span class="sourceLineNo">223</span>    if (isFirst) {<a name="line.223"></a>
-<span class="sourceLineNo">224</span>      WALProtos.WALHeader header = builder.build();<a name="line.224"></a>
-<span class="sourceLineNo">225</span>      this.hasCompression = header.hasHasCompression() &amp;&amp; header.getHasCompression();<a name="line.225"></a>
-<span class="sourceLineNo">226</span>      this.hasTagCompression = header.hasHasTagCompression() &amp;&amp; header.getHasTagCompression();<a name="line.226"></a>
-<span class="sourceLineNo">227</span>    }<a name="line.227"></a>
-<span class="sourceLineNo">228</span>    this.inputStream = stream;<a name="line.228"></a>
-<span class="sourceLineNo">229</span>    this.walEditsStopOffset = this.fileLength;<a name="line.229"></a>
-<span class="sourceLineNo">230</span>    long currentPosition = stream.getPos();<a name="line.230"></a>
-<span class="sourceLineNo">231</span>    trailerPresent = setTrailerIfPresent();<a name="line.231"></a>
-<span class="sourceLineNo">232</span>    this.seekOnFs(currentPosition);<a name="line.232"></a>
-<span class="sourceLineNo">233</span>    if (LOG.isTraceEnabled()) {<a name="line.233"></a>
-<span class="sourceLineNo">234</span>      LOG.trace("After reading the trailer: walEditsStopOffset: " + this.walEditsStopOffset<a name="line.234"></a>
-<span class="sourceLineNo">235</span>          + ", fileLength: " + this.fileLength + ", " + "trailerPresent: " + (trailerPresent ? "true, size: " + trailer.getSerializedSize() : "false") + ", currentPosition: " + currentPosition);<a name="line.235"></a>
-<span class="sourceLineNo">236</span>    }<a name="line.236"></a>
-<span class="sourceLineNo">237</span>    <a name="line.237"></a>
-<span class="sourceLineNo">238</span>    codecClsName = hdrCtxt.getCellCodecClsName();<a name="line.238"></a>
-<span class="sourceLineNo">239</span>    <a name="line.239"></a>
-<span class="sourceLineNo">240</span>    return hdrCtxt.getCellCodecClsName();<a name="line.240"></a>
-<span class="sourceLineNo">241</span>  }<a name="line.241"></a>
-<span class="sourceLineNo">242</span><a name="line.242"></a>
-<span class="sourceLineNo">243</span>  /**<a name="line.243"></a>
-<span class="sourceLineNo">244</span>   * To check whether a trailer is present in a WAL, it seeks to position (fileLength -<a name="line.244"></a>
-<span class="sourceLineNo">245</span>   * PB_WAL_COMPLETE_MAGIC.size() - Bytes.SIZEOF_INT). It reads the int value to know the size of<a name="line.245"></a>
-<span class="sourceLineNo">246</span>   * the trailer, and checks whether the trailer is present at the end or not by comparing the last<a name="line.246"></a>
-<span class="sourceLineNo">247</span>   * PB_WAL_COMPLETE_MAGIC.size() bytes. In case trailer is not present, it returns false;<a name="line.247"></a>
-<span class="sourceLineNo">248</span>   * otherwise, sets the trailer and sets this.walEditsStopOffset variable up to the point just<a name="line.248"></a>
-<span class="sourceLineNo">249</span>   * before the trailer.<a name="line.249"></a>
-<span class="sourceLineNo">250</span>   * &lt;ul&gt;<a name="line.250"></a>
-<span class="sourceLineNo">251</span>   * The trailer is ignored in case:<a name="line.251"></a>
-<span class="sourceLineNo">252</span>   * &lt;li&gt;fileLength is 0 or not correct (when file is under recovery, etc).<a name="line.252"></a>
-<span class="sourceLineNo">253</span>   * &lt;li&gt;the trailer size is negative.<a name="line.253"></a>
-<span class="sourceLineNo">254</span>   * &lt;/ul&gt;<a name="line.254"></a>
-<span class="sourceLineNo">255</span>   * &lt;p&gt;<a name="line.255"></a>
-<span class="sourceLineNo">256</span>   * In case the trailer size &gt; this.trailerMaxSize, it is read after a WARN message.<a name="line.256"></a>
-<span class="sourceLineNo">257</span>   * @return true if a valid trailer is present<a name="line.257"></a>
-<span class="sourceLineNo">258</span>   * @throws IOException<a name="line.258"></a>
-<span class="sourceLineNo">259</span>   */<a name="line.259"></a>
-<span class="sourceLineNo">260</span>  private boolean setTrailerIfPresent() {<a name="line.260"></a>
-<span class="sourceLineNo">261</span>    try {<a name="line.261"></a>
-<span class="sourceLineNo">262</span>      long trailerSizeOffset = this.fileLength - (PB_WAL_COMPLETE_MAGIC.length + Bytes.SIZEOF_INT);<a name="line.262"></a>
-<span class="sourceLineNo">263</span>      if (trailerSizeOffset &lt;= 0) return false;// no trailer possible.<a name="line.263"></a>
-<span class="sourceLineNo">264</span>      this.seekOnFs(trailerSizeOffset);<a name="line.264"></a>
-<span class="sourceLineNo">265</span>      // read the int as trailer size.<a name="line.265"></a>
-<span class="sourceLineNo">266</span>      int trailerSize = this.inputStream.readInt();<a name="line.266"></a>
-<span class="sourceLineNo">267</span>      ByteBuffer buf = ByteBuffer.allocate(ProtobufLogReader.PB_WAL_COMPLETE_MAGIC.length);<a name="line.267"></a>
-<span class="sourceLineNo">268</span>      this.inputStream.readFully(buf.array(), buf.arrayOffset(), buf.capacity());<a name="line.268"></a>
-<span class="sourceLineNo">269</span>      if (!Arrays.equals(buf.array(), PB_WAL_COMPLETE_MAGIC)) {<a name="line.269"></a>
-<span class="sourceLineNo">270</span>        LOG.trace("No trailer found.");<a name="line.270"></a>
-<span class="sourceLineNo">271</span>        return false;<a name="line.271"></a>
-<span class="sourceLineNo">272</span>      }<a name="line.272"></a>
-<span class="sourceLineNo">273</span>      if (trailerSize &lt; 0) {<a name="line.273"></a>
-<span class="sourceLineNo">274</span>        LOG.warn("Invalid trailer Size " + trailerSize + ", ignoring the trailer");<a name="line.274"></a>
-<span class="sourceLineNo">275</span>        return false;<a name="line.275"></a>
-<span class="sourceLineNo">276</span>      } else if (trailerSize &gt; this.trailerWarnSize) {<a name="line.276"></a>
-<span class="sourceLineNo">277</span>        // continue reading after warning the user.<a name="line.277"></a>
-<span class="sourceLineNo">278</span>        LOG.warn("Please investigate WALTrailer usage. Trailer size &gt; maximum configured size : "<a name="line.278"></a>
-<span class="sourceLineNo">279</span>          + trailerSize + " &gt; " + this.trailerWarnSize);<a name="line.279"></a>
-<span class="sourceLineNo">280</span>      }<a name="line.280"></a>
-<span class="sourceLineNo">281</span>      // seek to the position where trailer starts.<a name="line.281"></a>
-<span class="sourceLineNo">282</span>      long positionOfTrailer = trailerSizeOffset - trailerSize;<a name="line.282"></a>
-<span class="sourceLineNo">283</span>      this.seekOnFs(positionOfTrailer);<a name="line.283"></a>
-<span class="sourceLineNo">284</span>      // read the trailer.<a name="line.284"></a>
-<span class="sourceLineNo">285</span>      buf = ByteBuffer.allocate(trailerSize);// for trailer.<a name="line.285"></a>
-<span class="sourceLineNo">286</span>      this.inputStream.readFully(buf.array(), buf.arrayOffset(), buf.capacity());<a name="line.286"></a>
-<span class="sourceLineNo">287</span>      trailer = WALTrailer.parseFrom(buf.array());<a name="line.287"></a>
-<span class="sourceLineNo">288</span>      this.walEditsStopOffset = positionOfTrailer;<a name="line.288"></a>
-<span class="sourceLineNo">289</span>      return true;<a name="line.289"></a>
-<span class="sourceLineNo">290</span>    } catch (IOException ioe) {<a name="line.290"></a>
-<span class="sourceLineNo">291</span>      LOG.warn("Got IOE while reading the trailer. Continuing as if no trailer is present.", ioe);<a name="line.291"></a>
-<span class="sourceLineNo">292</span>    }<a name="line.292"></a>
-<span class="sourceLineNo">293</span>    return false;<a name="line.293"></a>
-<span class="sourceLineNo">294</span>  }<a name="line.294"></a>
-<span class="sourceLineNo">295</span><a name="line.295"></a>
-<span class="sourceLineNo">296</span>  protected WALCellCodec getCodec(Configuration conf, String cellCodecClsName,<a name="line.296"></a>
-<span class="sourceLineNo">297</span>      CompressionContext compressionContext) throws IOException {<a name="line.297"></a>
-<span class="sourceLineNo">298</span>    return WALCellCodec.create(conf, cellCodecClsName, compressionContext);<a name="line.298"></a>
-<span class="sourceLineNo">299</span>  }<a name="line.299"></a>
-<span class="sourceLineNo">300</span><a name="line.300"></a>
-<span class="sourceLineNo">301</span>  @Override<a name="line.301"></a>
-<span class="sourceLineNo">302</span>  protected void initAfterCompression() throws IOException {<a name="line.302"></a>
-<span class="sourceLineNo">303</span>    initAfterCompression(null);<a name="line.303"></a>
-<span class="sourceLineNo">304</span>  }<a name="line.304"></a>
-<span class="sourceLineNo">305</span>  <a name="line.305"></a>
-<span class="sourceLineNo">306</span>  @Override<a name="line.306"></a>
-<span class="sourceLineNo">307</span>  protected void initAfterCompression(String cellCodecClsName) throws IOException {<a name="line.307"></a>
-<span class="sourceLineNo">308</span>    WALCellCodec codec = getCodec(this.conf, cellCodecClsName, this.compressionContext);<a name="line.308"></a>
-<span class="sourceLineNo">309</span>    this.cellDecoder = codec.getDecoder(this.inputStream);<a name="line.309"></a>
-<span class="sourceLineNo">310</span>    if (this.hasCompression) {<a name="line.310"></a>
-<span class="sourceLineNo">311</span>      this.byteStringUncompressor = codec.getByteStringUncompressor();<a name="line.311"></a>
-<span class="sourceLineNo">312</span>    }<a name="line.312"></a>
-<span class="sourceLineNo">313</span>  }<a name="line.313"></a>
-<span class="sourceLineNo">314</span><a name="line.314"></a>
-<span class="sourceLineNo">315</span>  @Override<a name="line.315"></a>
-<span class="sourceLineNo">316</span>  protected boolean hasCompression() {<a name="line.316"></a>
-<span class="sourceLineNo">317</span>    return this.hasCompression;<a name="line.317"></a>
-<span class="sourceLineNo">318</span>  }<a name="line.318"></a>
-<span class="sourceLineNo">319</span><a name="line.319"></a>
-<span class="sourceLineNo">320</span>  @Override<a name="line.320"></a>
-<span class="sourceLineNo">321</span>  protected boolean hasTagCompression() {<a name="line.321"></a>
-<span class="sourceLineNo">322</span>    return this.hasTagCompression;<a name="line.322"></a>
-<span class="sourceLineNo">323</span>  }<a name="line.323"></a>
-<span class="sourceLineNo">324</span><a name="line.324"></a>
-<span class="sourceLineNo">325</span>  @Override<a name="line.325"></a>
-<span class="sourceLineNo">326</span>  protected boolean readNext(Entry entry) throws IOException {<a name="line.326"></a>
-<span class="sourceLineNo">327</span>    while (true) {<a name="line.327"></a>
-<span class="sourceLineNo">328</span>      // OriginalPosition might be &lt; 0 on local fs; if so, it is useless to us.<a name="line.328"></a>
-<span class="sourceLineNo">329</span>      long originalPosition = this.inputStream.getPos();<a name="line.329"></a>
-<span class="sourceLineNo">330</span>      if (trailerPresent &amp;&amp; originalPosition &gt; 0 &amp;&amp; originalPosition == this.walEditsStopOffset) {<a name="line.330"></a>
-<span class="sourceLineNo">331</span>        if (LOG.isTraceEnabled()) {<a name="line.331"></a>
-<span class="sourceLineNo">332</span>          LOG.trace("Reached end of expected edits area at offset " + originalPosition);<a name="line.332"></a>
-<span class="sourceLineNo">333</span>        }<a name="line.333"></a>
-<span class="sourceLineNo">334</span>        return false;<a name="line.334"></a>
-<span class="sourceLineNo">335</span>      }<a name="line.335"></a>
-<span class="sourceLineNo">336</span>      WALKey.Builder builder = WALKey.newBuilder();<a name="line.336"></a>
-<span class="sourceLineNo">337</span>      long size = 0;<a name="line.337"></a>
-<span class="sourceLineNo">338</span>      try {<a name="line.338"></a>
-<span class="sourceLineNo">339</span>        long available = -1;<a name="line.339"></a>
-<span class="sourceLineNo">340</span>        try {<a name="line.340"></a>
-<span class="sourceLineNo">341</span>          int firstByte = this.inputStream.read();<a name="line.341"></a>
-<span class="sourceLineNo">342</span>          if (firstByte == -1) {<a name="line.342"></a>
-<span class="sourceLineNo">343</span>            throw new EOFException("First byte is negative at offset " + originalPosition);<a name="line.343"></a>
-<span class="sourceLineNo">344</span>          }<a name="line.344"></a>
-<span class="sourceLineNo">345</span>          size = CodedInputStream.readRawVarint32(firstByte, this.inputStream);<a name="line.345"></a>
-<span class="sourceLineNo">346</span>          // available may be &lt; 0 on local fs for instance.  If so, can't depend on it.<a name="line.346"></a>
-<span class="sourceLineNo">347</span>          available = this.inputStream.available();<a name="line.347"></a>
-<span class="sourceLineNo">348</span>          if (available &gt; 0 &amp;&amp; available &lt; size) {<a name="line.348"></a>
-<span class="sourceLineNo">349</span>            throw new EOFException("Available stream not enough for edit, " +<a name="line.349"></a>
-<span class="sourceLineNo">350</span>                "inputStream.available()= " + this.inputStream.available() + ", " +<a name="line.350"></a>
-<span class="sourceLineNo">351</span>                "entry size= " + size + " at offset = " + this.inputStream.getPos());<a name="line.351"></a>
-<span class="sourceLineNo">352</span>          }<a name="line.352"></a>
-<span class="sourceLineNo">353</span>          ProtobufUtil.mergeFrom(builder, new LimitInputStream(this.inputStream, size),<a name="line.353"></a>
-<span class="sourceLineNo">354</span>            (int)size);<a name="line.354"></a>
-<span class="sourceLineNo">355</span>        } catch (InvalidProtocolBufferException ipbe) {<a name="line.355"></a>
-<span class="sourceLineNo">356</span>          throw (EOFException) new EOFException("Invalid PB, EOF? Ignoring; originalPosition=" +<a name="line.356"></a>
-<span class="sourceLineNo">357</span>            originalPosition + ", currentPosition=" + this.inputStream.getPos() +<a name="line.357"></a>
-<span class="sourceLineNo">358</span>            ", messageSize=" + size + ", currentAvailable=" + available).initCause(ipbe);<a name="line.358"></a>
-<span class="sourceLineNo">359</span>        }<a name="line.359"></a>
-<span class="sourceLineNo">360</span>        if (!builder.isInitialized()) {<a name="line.360"></a>
-<span class="sourceLineNo">361</span>          // TODO: not clear if we should try to recover from corrupt PB that looks semi-legit.<a name="line.361"></a>
-<span class="sourceLineNo">362</span>          //       If we can get the KV count, we could, theoretically, try to get next record.<a name="line.362"></a>
-<span class="sourceLineNo">363</span>          throw new EOFException("Partial PB while reading WAL, " +<a name="line.363"></a>
-<span class="sourceLineNo">364</span>              "probably an unexpected EOF, ignoring. current offset=" + this.inputStream.getPos());<a name="line.364"></a>
-<span class="sourceLineNo">365</span>        }<a name="line.365"></a>
-<span class="sourceLineNo">366</span>        WALKey walKey = builder.build();<a name="line.366"></a>
-<span class="sourceLineNo">367</span>        entry.getKey().readFieldsFromPb(walKey, this.byteStringUncompressor);<a name="line.367"></a>
-<span class="sourceLineNo">368</span>        if (!walKey.hasFollowingKvCount() || 0 == walKey.getFollowingKvCount()) {<a name="line.368"></a>
-<span class="sourceLineNo">369</span>          if (LOG.isTraceEnabled()) {<a name="line.369"></a>
-<span class="sourceLineNo">370</span>            LOG.trace("WALKey has no KVs that follow it; trying the next one. current offset=" +<a name="line.370"></a>
-<span class="sourceLineNo">371</span>                this.inputStream.getPos());<a name="line.371"></a>
-<span class="sourceLineNo">372</span>          }<a name="line.372"></a>
-<span class="sourceLineNo">373</span>          continue;<a name="line.373"></a>
-<span class="sourceLineNo">374</span>        }<a name="line.374"></a>
-<span class="sourceLineNo">375</span>        int expectedCells = walKey.getFollowingKvCount();<a name="line.375"></a>
-<span class="sourceLineNo">376</span>        long posBefore = this.inputStream.getPos();<a name="line.376"></a>
-<span class="sourceLineNo">377</span>        try {<a name="line.377"></a>
-<span class="sourceLineNo">378</span>          int actualCells = entry.getEdit().readFromCells(cellDecoder, expectedCells);<a name="line.378"></a>
-<span class="sourceLineNo">379</span>          if (expectedCells != actualCells) {<a name="line.379"></a>
-<span class="sourceLineNo">380</span>            throw new EOFException("Only read " + actualCells); // other info added in catch<a name="line.380"></a>
-<span class="sourceLineNo">381</span>          }<a name="line.381"></a>
-<span class="sourceLineNo">382</span>        } catch (Exception ex) {<a name="line.382"></a>
-<span class="sourceLineNo">383</span>          String posAfterStr = "&lt;unknown&gt;";<a name="line.383"></a>
-<span class="sourceLineNo">384</span>          try {<a name="line.384"></a>
-<span class="sourceLineNo">385</span>            posAfterStr = this.inputStream.getPos() + "";<a name="line.385"></a>
-<span class="sourceLineNo">386</span>          } catch (Throwable t) {<a name="line.386"></a>
-<span class="sourceLineNo">387</span>            if (LOG.isTraceEnabled()) {<a name="line.387"></a>
-<span class="sourceLineNo">388</span>              LOG.trace("Error getting pos for error message - ignoring", t);<a name="line.388"></a>
-<span class="sourceLineNo">389</span>            }<a name="line.389"></a>
-<span class="sourceLineNo">390</span>          }<a name="line.390"></a>
-<span class="sourceLineNo">391</span>          String message = " while reading " + expectedCells + " WAL KVs; started reading at "<a name="line.391"></a>
-<span class="sourceLineNo">392</span>              + posBefore + " and read up to " + posAfterStr;<a name="line.392"></a>
-<span class="sourceLineNo">393</span>          IOException realEofEx = extractHiddenEof(ex);<a name="line.393"></a>
-<span class="sourceLineNo">394</span>          throw (EOFException) new EOFException("EOF " + message).<a name="line.394"></a>
-<span class="sourceLineNo">395</span>              initCause(realEofEx != null ? realEofEx : ex);<a name="line.395"></a>
-<span class="sourceLineNo">396</span>        }<a name="line.396"></a>
-<span class="sourceLineNo">397</span>        if (trailerPresent &amp;&amp; this.inputStream.getPos() &gt; this.walEditsStopOffset) {<a name="line.397"></a>
-<span class="sourceLineNo">398</span>          LOG.error("Read WALTrailer while reading WALEdits. wal: " + this.path<a name="line.398"></a>
-<span class="sourceLineNo">399</span>              + ", inputStream.getPos(): " + this.inputStream.getPos() + ", walEditsStopOffset: "<a name="line.399"></a>
-<span class="sourceLineNo">400</span>              + this.walEditsStopOffset);<a name="line.400"></a>
-<span class="sourceLineNo">401</span>          throw new EOFException("Read WALTrailer while reading WALEdits");<a name="line.401"></a>
-<span class="sourceLineNo">402</span>        }<a name="line.402"></a>
-<span class="sourceLineNo">403</span>      } catch (EOFException eof) {<a name="line.403"></a>
-<span class="sourceLineNo">404</span>        // If originalPosition is &lt; 0, it is rubbish and we cannot use it (probably local fs)<a name="line.404"></a>
-<span class="sourceLineNo">405</span>        if (originalPosition &lt; 0) {<a name="line.405"></a>
-<span class="sourceLineNo">406</span>          if (LOG.isTraceEnabled()) {<a name="line.406"></a>
-<span class="sourceLineNo">407</span>            LOG.trace("Encountered a malformed edit, but can't seek back to last good position because originalPosition is negative. last offset=" + this.inputStream.getPos(), eof);<a name="line.407"></a>
-<span class="sourceLineNo">408</span>          }<a name="line.408"></a>
-<span class="sourceLineNo">409</span>          throw eof;<a name="line.409"></a>
-<span class="sourceLineNo">410</span>        }<a name="line.410"></a>
-<span class="sourceLineNo">411</span>        // Else restore our position to original location in hope that next time through we will<a name="line.411"></a>
-<span class="sourceLineNo">412</span>        // read successfully.<a name="line.412"></a>
-<span class="sourceLineNo">413</span>        if (LOG.isTraceEnabled()) {<a name="line.413"></a>
-<span class="sourceLineNo">414</span>          LOG.trace("Encountered a malformed edit, seeking back to last good position in file, from "+ inputStream.getPos()+" to " + originalPosition, eof);<a name="line.414"></a>
-<span class="sourceLineNo">415</span>        }<a name="line.415"></a>
-<span class="sourceLineNo">416</span>        seekOnFs(originalPosition);<a name="line.416"></a>
-<span class="sourceLineNo">417</span>        return false;<a name="line.417"></a>
-<span class="sourceLineNo">418</span>      }<a name="line.418"></a>
-<span class="sourceLineNo">419</span>      return true;<a name="line.419"></a>
-<span class="sourceLineNo">420</span>    }<a name="line.420"></a>
-<span class="sourceLineNo">421</span>  }<a name="line.421"></a>
-<span class="sourceLineNo">422</span><a name="line.422"></a>
-<span class="sourceLineNo">423</span>  private IOException extractHiddenEof(Exception ex) {<a name="line.423"></a>
-<span class="sourceLineNo">424</span>    // There are two problems we are dealing with here. Hadoop stream throws generic exception<a name="line.424"></a>
-<span class="sourceLineNo">425</span>    // for EOF, not EOFException; and scanner further hides it inside RuntimeException.<a name="line.425"></a>
-<span class="sourceLineNo">426</span>    IOException ioEx = null;<a name="line.426"></a>
-<span class="sourceLineNo">427</span>    if (ex instanceof EOFException) {<a name="line.427"></a>
-<span class="sourceLineNo">428</span>      return (EOFException)ex;<a name="line.428"></a>
-<span class="sourceLineNo">429</span>    } else if (ex instanceof IOException) {<a name="line.429"></a>
-<span class="sourceLineNo">430</span>      ioEx = (IOException)ex;<a name="line.430"></a>
-<span class="sourceLineNo">431</span>    } else if (ex instanceof RuntimeException<a name="line.431"></a>
-<span class="sourceLineNo">432</span>        &amp;&amp; ex.getCause() != null &amp;&amp; ex.getCause() instanceof IOException) {<a name="line.432"></a>
-<span class="sourceLineNo">433</span>      ioEx = (IOException)ex.getCause();<a name="line.433"></a>
-<span class="sourceLineNo">434</span>    }<a name="line.434"></a>
-<span class="sourceLineNo">435</span>    if (ioEx != null) {<a name="line.435"></a>
-<span class="sourceLineNo">436</span>      if (ioEx.getMessage().contains("EOF")) return ioEx;<a name="line.436"></a>
-<span class="sourceLineNo">437</span>      return null;<a name="line.437"></a>
-<span class="sourceLineNo">438</span>    }<a name="line.438"></a>
-<span class="sourceLineNo">439</span>    return null;<a name="line.439"></a>
-<span class="sourceLineNo">440</span>  }<a name="line.440"></a>
-<span class="sourceLineNo">441</span><a name="line.441"></a>
-<span class="sourceLineNo">442</span>  @Override<a name="line.442"></a>
-<span class="sourceLineNo">443</span>  protected void seekOnFs(long pos) throws IOException {<a name="line.443"></a>
-<span class="sourceLineNo">444</span>    this.inputStream.seek(pos);<a name="line.444"></a>
-<span class="sourceLineNo">445</span>  }<a name="line.445"></a>
-<span class="sourceLineNo">446</span>}<a name="line.446"></a>
+<span class="sourceLineNo">047</span>import org.apache.hbase.thirdparty.com.google.common.io.ByteStreams;<a name="line.47"></a>
+<span class="sourceLineNo">048</span>import org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream;<a name="line.48"></a>
+<span class="sourceLineNo">049</span>import org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException;<a name="line.49"></a>
+<span class="sourceLineNo">050</span><a name="line.50"></a>
+<span class="sourceLineNo">051</span>/**<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * A Protobuf based WAL has the following structure:<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * &lt;p&gt;<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * &amp;lt;PB_WAL_MAGIC&amp;gt;&amp;lt;WALHeader&amp;gt;&amp;lt;WALEdits&amp;gt;...&amp;lt;WALEdits&amp;gt;&amp;lt;Trailer&amp;gt;<a name="line.54"></a>
+<span class="sourceLineNo">055</span> * &amp;lt;TrailerSize&amp;gt; &amp;lt;PB_WAL_COMPLETE_MAGIC&amp;gt;<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * &lt;/p&gt;<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * The Reader reads meta information (WAL Compression state, WALTrailer, etc) in<a name="line.57"></a>
+<span class="sourceLineNo">058</span> * ProtobufLogReader#initReader(FSDataInputStream). A WALTrailer is an extensible structure<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * which is appended at the end of the WAL. This is empty for now; it can contain some meta<a name="line.59"></a>
+<span class="sourceLineNo">060</span> * information such as Region level stats, etc in future.<a name="line.60"></a>
+<span class="sourceLineNo">061</span> */<a name="line.61"></a>
+<span class="sourceLineNo">062</span>@InterfaceAudience.LimitedPrivate({HBaseInterfaceAudience.COPROC, HBaseInterfaceAudience.PHOENIX,<a name="line.62"></a>
+<span class="sourceLineNo">063</span>  HBaseInterfaceAudience.CONFIG})<a name="line.63"></a>
+<span class="sourceLineNo">064</span>public class ProtobufLogReader extends ReaderBase {<a name="line.64"></a>
+<span class="sourceLineNo">065</span>  private static final Logger LOG = LoggerFactory.getLogger(ProtobufLogReader.class);<a name="line.65"></a>
+<span class="sourceLineNo">066</span>  // public for WALFactory until we move everything to o.a.h.h.wal<a name="line.66"></a>
+<span class="sourceLineNo">067</span>  @InterfaceAudience.Private<a name="line.67"></a>
+<span class="sourceLineNo">068</span>  public static final byte[] PB_WAL_MAGIC = Bytes.toBytes("PWAL");<a name="line.68"></a>
+<span class="sourceLineNo">069</span>  // public for TestWALSplit<a name="line.69"></a>
+<span class="sourceLineNo">070</span>  @InterfaceAudience.Private<a name="line.70"></a>
+<span class="sourceLineNo">071</span>  public static final byte[] PB_WAL_COMPLETE_MAGIC = Bytes.toBytes("LAWP");<a name="line.71"></a>
+<span class="sourceLineNo">072</span>  /**<a name="line.72"></a>
+<span class="sourceLineNo">073</span>   * Configuration name of WAL Trailer's warning size. If a waltrailer's size is greater than the<a name="line.73"></a>
+<span class="sourceLineNo">074</span>   * configured size, providers should log a warning. e.g. this is used with Protobuf reader/writer.<a name="line.74"></a>
+<span class="sourceLineNo">075</span>   */<a name="line.75"></a>
+<span class="sourceLineNo">076</span>  static final String WAL_TRAILER_WARN_SIZE = "hbase.regionserver.waltrailer.warn.size";<a name="line.76"></a>
+<span class="sourceLineNo">077</span>  static final int DEFAULT_WAL_TRAILER_WARN_SIZE = 1024 * 1024; // 1MB<a name="line.77"></a>
+<span class="sourceLineNo">078</span><a name="line.78"></a>
+<span class="sourceLineNo">079</span>  protected FSDataInputStream inputStream;<a name="line.79"></a>
+<span class="sourceLineNo">080</span>  protected Codec.Decoder cellDecoder;<a name="line.80"></a>
+<span class="sourceLineNo">081</span>  protected WALCellCodec.ByteStringUncompressor byteStringUncompressor;<a name="line.81"></a>
+<span class="sourceLineNo">082</span>  protected boolean hasCompression = false;<a name="line.82"></a>
+<span class="sourceLineNo">083</span>  protected boolean hasTagCompression = false;<a name="line.83"></a>
+<span class="sourceLineNo">084</span>  // walEditsStopOffset is the position of the last byte to read. After reading the last WALEdit<a name="line.84"></a>
+<span class="sourceLineNo">085</span>  // entry in the wal, the inputstream's position is equal to walEditsStopOffset.<a name="line.85"></a>
+<span class="sourceLineNo">086</span>  private long walEditsStopOffset;<a name="line.86"></a>
+<span class="sourceLineNo">087</span>  private boolean trailerPresent;<a name="line.87"></a>
+<span class="sourceLineNo">088</span>  protected WALTrailer trailer;<a name="line.88"></a>
+<span class="sourceLineNo">089</span>  // maximum size of the wal Trailer in bytes. If a user writes/reads a trailer with size larger<a name="line.89"></a>
+<span class="sourceLineNo">090</span>  // than this size, it is written/read respectively, with a WARN message in the log.<a name="line.90"></a>
+<span class="sourceLineNo">091</span>  protected int trailerWarnSize;<a name="line.91"></a>
+<span class="sourceLineNo">092</span>  private static List&lt;String&gt; writerClsNames = new ArrayList&lt;&gt;();<a name="line.92"></a>
+<span class="sourceLineNo">093</span>  static {<a name="line.93"></a>
+<span class="sourceLineNo">094</span>    writerClsNames.add(ProtobufLogWriter.class.getSimpleName());<a name="line.94"></a>
+<span class="sourceLineNo">095</span>    writerClsNames.add(AsyncProtobufLogWriter.class.getSimpleName());<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>  // cell codec classname<a name="line.98"></a>
+<span class="sourceLineNo">099</span>  private String codecClsName = null;<a name="line.99"></a>
+<span class="sourceLineNo">100</span><a name="line.100"></a>
+<span class="sourceLineNo">101</span>  @InterfaceAudience.Private<a name="line.101"></a>
+<span class="sourceLineNo">102</span>  public long trailerSize() {<a name="line.102"></a>
+<span class="sourceLineNo">103</span>    if (trailerPresent) {<a name="line.103"></a>
+<span class="sourceLineNo">104</span>      // sizeof PB_WAL_COMPLETE_MAGIC + sizof trailerSize + trailer<a name="line.104"></a>
+<span class="sourceLineNo">105</span>      final long calculatedSize = PB_WAL_COMPLETE_MAGIC.length + Bytes.SIZEOF_INT + trailer.getSerializedSize();<a name="line.105"></a>
+<span class="sourceLineNo">106</span>      final long expectedSize = fileLength - walEditsStopOffset;<a name="line.106"></a>
+<span class="sourceLineNo">107</span>      if (expectedSize != calculatedSize) {<a name="line.107"></a>
+<span class="sourceLineNo">108</span>        LOG.warn("After parsing the trailer, we expect the total footer to be "+ expectedSize +" bytes, but we calculate it as being " + calculatedSize);<a name="line.108"></a>
+<span class="sourceLineNo">109</span>      }<a name="line.109"></a>
+<span class="sourceLineNo">110</span>      return expectedSize;<a name="line.110"></a>
+<span class="sourceLineNo">111</span>    } else {<a name="line.111"></a>
+<span class="sourceLineNo">112</span>      return -1L;<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><a name="line.115"></a>
+<span class="sourceLineNo">116</span>  enum WALHdrResult {<a name="line.116"></a>
+<span class="sourceLineNo">117</span>    EOF,                   // stream is at EOF when method starts<a name="line.117"></a>
+<span class="sourceLineNo">118</span>    SUCCESS,<a name="line.118"></a>
+<span class="sourceLineNo">119</span>    UNKNOWN_WRITER_CLS     // name of writer class isn't recognized<a name="line.119"></a>
+<span class="sourceLineNo">120</span>  }<a name="line.120"></a>
+<span class="sourceLineNo">121</span>  <a name="line.121"></a>
+<span class="sourceLineNo">122</span>  // context for WALHdr carrying information such as Cell Codec classname<a name="line.122"></a>
+<span class="sourceLineNo">123</span>  static class WALHdrContext {<a name="line.123"></a>
+<span class="sourceLineNo">124</span>    WALHdrResult result;<a name="line.124"></a>
+<span class="sourceLineNo">125</span>    String cellCodecClsName;<a name="line.125"></a>
+<span class="sourceLineNo">126</span>    <a name="line.126"></a>
+<span class="sourceLineNo">127</span>    WALHdrContext(WALHdrResult result, String cellCodecClsName) {<a name="line.127"></a>
+<span class="sourceLineNo">128</span>      this.result = result;<a name="line.128"></a>
+<span class="sourceLineNo">129</span>      this.cellCodecClsName = cellCodecClsName;<a name="line.129"></a>
+<span class="sourceLineNo">130</span>    }<a name="line.130"></a>
+<span class="sourceLineNo">131</span>    WALHdrResult getResult() {<a name="line.131"></a>
+<span class="sourceLineNo">132</span>      return result;<a name="line.132"></a>
+<span class="sourceLineNo">133</span>    }<a name="line.133"></a>
+<span class="sourceLineNo">134</span>    String getCellCodecClsName() {<a name="line.134"></a>
+<span class="sourceLineNo">135</span>      return cellCodecClsName;<a name="line.135"></a>
+<span class="sourceLineNo">136</span>    }<a name="line.136"></a>
+<span class="sourceLineNo">137</span>  }<a name="line.137"></a>
+<span class="sourceLineNo">138</span><a name="line.138"></a>
+<span class="sourceLineNo">139</span>  public ProtobufLogReader() {<a name="line.139"></a>
+<span class="sourceLineNo">140</span>    super();<a name="line.140"></a>
+<span class="sourceLineNo">141</span>  }<a name="line.141"></a>
+<span class="sourceLineNo">142</span><a name="line.142"></a>
+<span class="sourceLineNo">143</span>  @Override<a name="line.143"></a>
+<span class="sourceLineNo">144</span>  public void close() throws IOException {<a name="line.144"></a>
+<span class="sourceLineNo">145</span>    if (this.inputStream != null) {<a name="line.145"></a>
+<span class="sourceLineNo">146</span>      this.inputStream.close();<a name="line.146"></a>
+<span class="sourceLineNo">147</span>      this.inputStream = null;<a name="line.147"></a>
+<span class="sourceLineNo">148</span>    }<a name="line.148"></a>
+<span class="sourceLineNo">149</span>  }<a name="line.149"></a>
+<span class="sourceLineNo">150</span><a name="line.150"></a>
+<span class="sourceLineNo">151</span>  @Override<a name="line.151"></a>
+<span class="sourceLineNo">152</span>  public long getPosition() throws IOException {<a name="line.152"></a>
+<span class="sourceLineNo">153</span>    return inputStream.getPos();<a name="line.153"></a>
+<span class="sourceLineNo">154</span>  }<a name="line.154"></a>
+<span class="sourceLineNo">155</span><a name="line.155"></a>
+<span class="sourceLineNo">156</span>  @Override<a name="line.156"></a>
+<span class="sourceLineNo">157</span>  public void reset() throws IOException {<a name="line.157"></a>
+<span class="sourceLineNo">158</span>    String clsName = initInternal(null, false);<a name="line.158"></a>
+<span class="sourceLineNo">159</span>    initAfterCompression(clsName); // We need a new decoder (at least).<a name="line.159"></a>
+<span class="sourceLineNo">160</span>  }<a name="line.160"></a>
+<span class="sourceLineNo">161</span><a name="line.161"></a>
+<span class="sourceLineNo">162</span>  @Override<a name="line.162"></a>
+<span class="sourceLineNo">163</span>  public void init(FileSystem fs, Path path, Configuration conf, FSDataInputStream stream)<a name="line.163"></a>
+<span class="sourceLineNo">164</span>      throws IOException {<a name="line.164"></a>
+<span class="sourceLineNo">165</span>    this.trailerWarnSize = conf.getInt(WAL_TRAILER_WARN_SIZE, DEFAULT_WAL_TRAILER_WARN_SIZE);<a name="line.165"></a>
+<span class="sourceLineNo">166</span>    super.init(fs, path, conf, stream);<a name="line.166"></a>
+<span class="sourceLineNo">167</span>  }<a name="line.167"></a>
+<span class="sourceLineNo">168</span><a name="line.168"></a>
+<span class="sourceLineNo">169</span>  @Override<a name="line.169"></a>
+<span class="sourceLineNo">170</span>  protected String initReader(FSDataInputStream stream) throws IOException {<a name="line.170"></a>
+<span class="sourceLineNo">171</span>    return initInternal(stream, true);<a name="line.171"></a>
+<span class="sourceLineNo">172</span>  }<a name="line.172"></a>
+<span class="sourceLineNo">173</span><a name="line.173"></a>
+<span class="sourceLineNo">174</span>  /*<a name="line.174"></a>
+<span class="sourceLineNo">175</span>   * Returns names of the accepted writer classes<a name="line.175"></a>
+<span class="sourceLineNo">176</span>   */<a name="line.176"></a>
+<span class="sourceLineNo">177</span>  public List&lt;String&gt; getWriterClsNames() {<a name="line.177"></a>
+<span class="sourceLineNo">178</span>    return writerClsNames;<a name="line.178"></a>
+<span class="sourceLineNo">179</span>  }<a name="line.179"></a>
+<span class="sourceLineNo">180</span>  <a name="line.180"></a>
+<span class="sourceLineNo">181</span>  /*<a name="line.181"></a>
+<span class="sourceLineNo">182</span>   * Returns the cell codec classname<a name="line.182"></a>
+<span class="sourceLineNo">183</span>   */<a name="line.183"></a>
+<span class="sourceLineNo">184</span>  public String getCodecClsName() {<a name="line.184"></a>
+<span class="sourceLineNo">185</span>      return codecClsName;<a name="line.185"></a>
+<span class="sourceLineNo">186</span>  }<a name="line.186"></a>
+<span class="sourceLineNo">187</span><a name="line.187"></a>
+<span class="sourceLineNo">188</span>  protected WALHdrContext readHeader(Builder builder, FSDataInputStream stream)<a name="line.188"></a>
+<span class="sourceLineNo">189</span>      throws IOException {<a name="line.189"></a>
+<span class="sourceLineNo">190</span>     boolean res = builder.mergeDelimitedFrom(stream);<a name="line.190"></a>
+<span class="sourceLineNo">191</span>     if (!res) return new WALHdrContext(WALHdrResult.EOF, null);<a name="line.191"></a>
+<span class="sourceLineNo">192</span>     if (builder.hasWriterClsName() &amp;&amp;<a name="line.192"></a>
+<span class="sourceLineNo">193</span>         !getWriterClsNames().contains(builder.getWriterClsName())) {<a name="line.193"></a>
+<span class="sourceLineNo">194</span>       return new WALHdrContext(WALHdrResult.UNKNOWN_WRITER_CLS, null);<a name="line.194"></a>
+<span class="sourceLineNo">195</span>     }<a name="line.195"></a>
+<span class="sourceLineNo">196</span>     String clsName = null;<a name="line.196"></a>
+<span class="sourceLineNo">197</span>     if (builder.hasCellCodecClsName()) {<a name="line.197"></a>
+<span class="sourceLineNo">198</span>       clsName = builder.getCellCodecClsName();<a name="line.198"></a>
+<span class="sourceLineNo">199</span>     }<a name="line.199"></a>
+<span class="sourceLineNo">200</span>     return new WALHdrContext(WALHdrResult.SUCCESS, clsName);<a name="line.200"></a>
+<span class="sourceLineNo">201</span>  }<a name="line.201"></a>
+<span class="sourceLineNo">202</span><a name="line.202"></a>
+<span class="sourceLineNo">203</span>  private String initInternal(FSDataInputStream stream, boolean isFirst)<a name="line.203"></a>
+<span class="sourceLineNo">204</span>      throws IOException {<a name="line.204"></a>
+<span class="sourceLineNo">205</span>    close();<a name="line.205"></a>
+<span class="sourceLineNo">206</span>    long expectedPos = PB_WAL_MAGIC.length;<a name="line.206"></a>
+<span class="sourceLineNo">207</span>    if (stream == null) {<a name="line.207"></a>
+<span class="sourceLineNo">208</span>      stream = fs.open(path);<a name="line.208"></a>
+<span class="sourceLineNo">209</span>      stream.seek(expectedPos);<a name="line.209"></a>
+<span class="sourceLineNo">210</span>    }<a name="line.210"></a>
+<span class="sourceLineNo">211</span>    if (stream.getPos() != expectedPos) {<a name="line.211"></a>
+<span class="sourceLineNo">212</span>      throw new IOException("The stream is at invalid position: " + stream.getPos());<a name="line.212"></a>
+<span class="sourceLineNo">213</span>    }<a name="line.213"></a>
+<span class="sourceLineNo">214</span>    // Initialize metadata or, when we reset, just skip the header.<a name="line.214"></a>
+<span class="sourceLineNo">215</span>    WALProtos.WALHeader.Builder builder = WALProtos.WALHeader.newBuilder();<a name="line.215"></a>
+<span class="sourceLineNo">216</span>    WALHdrContext hdrCtxt = readHeader(builder, stream);<a name="line.216"></a>
+<span class="sourceLineNo">217</span>    WALHdrResult walHdrRes = hdrCtxt.getResult();<a name="line.217"></a>
+<span class="sourceLineNo">218</span>    if (walHdrRes == WALHdrResult.EOF) {<a name="line.218"></a>
+<span class="sourceLineNo">219</span>      throw new EOFException("Couldn't read WAL PB header");<a name="line.219"></a>
+<span class="sourceLineNo">220</span>    }<a name="line.220"></a>
+<span class="sourceLineNo">221</span>    if (walHdrRes == WALHdrResult.UNKNOWN_WRITER_CLS) {<a name="line.221"></a>
+<span class="sourceLineNo">222</span>      throw new IOException("Got unknown writer class: " + builder.getWriterClsName());<a name="line.222"></a>
+<span class="sourceLineNo">223</span>    }<a name="line.223"></a>
+<span class="sourceLineNo">224</span>    if (isFirst) {<a name="line.224"></a>
+<span class="sourceLineNo">225</span>      WALProtos.WALHeader header = builder.build();<a name="line.225"></a>
+<span class="sourceLineNo">226</span>      this.hasCompression = header.hasHasCompression() &amp;&amp; header.getHasCompression();<a name="line.226"></a>
+<span class="sourceLineNo">227</span>      this.hasTagCompression = header.hasHasTagCompression() &amp;&amp; header.getHasTagCompression();<a name="line.227"></a>
+<span class="sourceLineNo">228</span>    }<a name="line.228"></a>
+<span class="sourceLineNo">229</span>    this.inputStream = stream;<a name="line.229"></a>
+<span class="sourceLineNo">230</span>    this.walEditsStopOffset = this.fileLength;<a name="line.230"></a>
+<span class="sourceLineNo">231</span>    long currentPosition = stream.getPos();<a name="line.231"></a>
+<span class="sourceLineNo">232</span>    trailerPresent = setTrailerIfPresent();<a name="line.232"></a>
+<span class="sourceLineNo">233</span>    this.seekOnFs(currentPosition);<a name="line.233"></a>
+<span class="sourceLineNo">234</span>    if (LOG.isTraceEnabled()) {<a name="line.234"></a>
+<span class="sourceLineNo">235</span>      LOG.trace("After reading the trailer: walEditsStopOffset: " + this.walEditsStopOffset<a name="line.235"></a>
+<span class="sourceLineNo">236</span>          + ", fileLength: " + this.fileLength + ", " + "trailerPresent: " + (trailerPresent ? "true, size: " + trailer.getSerializedSize() : "false") + ", currentPosition: " + currentPosition);<a name="line.236"></a>
+<span class="sourceLineNo">237</span>    }<a name="line.237"></a>
+<span class="sourceLineNo">238</span>    <a name="line.238"></a>
+<span class="sourceLineNo">239</span>    codecClsName = hdrCtxt.getCellCodecClsName();<a name="line.239"></a>
+<span class="sourceLineNo">240</span>    <a name="line.240"></a>
+<span class="sourceLineNo">241</span>    return hdrCtxt.getCellCodecClsName();<a name="line.241"></a>
+<span class="sourceLineNo">242</span>  }<a name="line.242"></a>
+<span class="sourceLineNo">243</span><a name="line.243"></a>
+<span class="sourceLineNo">244</span>  /**<a name="line.244"></a>
+<span class="sourceLineNo">245</span>   * To check whether a trailer is present in a WAL, it seeks to position (fileLength -<a name="line.245"></a>
+<span class="sourceLineNo">246</span>   * PB_WAL_COMPLETE_MAGIC.size() - Bytes.SIZEOF_INT). It reads the int value to know the size of<a name="line.246"></a>
+<span class="sourceLineNo">247</span>   * the trailer, and checks whether the trailer is present at the end or not by comparing the last<a name="line.247"></a>
+<span class="sourceLineNo">248</span>   * PB_WAL_COMPLETE_MAGIC.size() bytes. In case trailer is not present, it returns false;<a name="line.248"></a>
+<span class="sourceLineNo">249</span>   * otherwise, sets the trailer and sets this.walEditsStopOffset variable up to the point just<a name="line.249"></a>
+<span class="sourceLineNo">250</span>   * before the trailer.<a name="line.250"></a>
+<span class="sourceLineNo">251</span>   * &lt;ul&gt;<a name="line.251"></a>
+<span class="sourceLineNo">252</span>   * The trailer is ignored in case:<a name="line.252"></a>
+<span class="sourceLineNo">253</span>   * &lt;li&gt;fileLength is 0 or not correct (when file is under recovery, etc).<a name="line.253"></a>
+<span class="sourceLineNo">254</span>   * &lt;li&gt;the trailer size is negative.<a name="line.254"></a>
+<span class="sourceLineNo">255</span>   * &lt;/ul&gt;<a name="line.255"></a>
+<span class="sourceLineNo">256</span>   * &lt;p&gt;<a name="line.256"></a>
+<span class="sourceLineNo">257</span>   * In case the trailer size &gt; this.trailerMaxSize, it is read after a WARN message.<a name="line.257"></a>
+<span class="sourceLineNo">258</span>   * @return true if a valid trailer is present<a name="line.258"></a>
+<span class="sourceLineNo">259</span>   * @throws IOException<a name="line.259"></a>
+<span class="sourceLineNo">260</span>   */<a name="line.260"></a>
+<span class="sourceLineNo">261</span>  private boolean setTrailerIfPresent() {<a name="line.261"></a>
+<span class="sourceLineNo">262</span>    try {<a name="line.262"></a>
+<span class="sourceLineNo">263</span>      long trailerSizeOffset = this.fileLength - (PB_WAL_COMPLETE_MAGIC.length + Bytes.SIZEOF_INT);<a name="line.263"></a>
+<span class="sourceLineNo">264</span>      if (trailerSizeOffset &lt;= 0) return false;// no trailer possible.<a name="line.264"></a>
+<span class="sourceLineNo">265</span>      this.seekOnFs(trailerSizeOffset);<a name="line.265"></a>
+<span class="sourceLineNo">266</span>      // read the int as trailer size.<a name="line.266"></a>
+<span class="sourceLineNo">267</span>      int trailerSize = this.inputStream.readInt();<a name="line.267"></a>
+<span class="sourceLineNo">268</span>      ByteBuffer buf = ByteBuffer.allocate(ProtobufLogReader.PB_WAL_COMPLETE_MAGIC.length);<a name="line.268"></a>
+<span class="sourceLineNo">269</span>      this.inputStream.readFully(buf.array(), buf.arrayOffset(), buf.capacity());<a name="line.269"></a>
+<span class="sourceLineNo">270</span>      if (!Arrays.equals(buf.array(), PB_WAL_COMPLETE_MAGIC)) {<a name="line.270"></a>
+<span class="sourceLineNo">271</span>        LOG.trace("No trailer found.");<a name="line.271"></a>
+<span class="sourceLineNo">272</span>        return false;<a name="line.272"></a>
+<span class="sourceLineNo">273</span>      }<a name="line.273"></a>
+<span class="sourceLineNo">274</span>      if (trailerSize &lt; 0) {<a name="line.274"></a>
+<span class="sourceLineNo">275</span>        LOG.warn("Invalid trailer Size " + trailerSize + ", ignoring the trailer");<a name="line.275"></a>
+<span class="sourceLineNo">276</span>        return false;<a name="line.276"></a>
+<span class="sourceLineNo">277</span>      } else if (trailerSize &gt; this.trailerWarnSize) {<a name="line.277"></a>
+<span class="sourceLineNo">278</span>        // continue reading after warning the user.<a name="line.278"></a>
+<span class="sourceLineNo">279</span>        LOG.warn("Please investigate WALTrailer usage. Trailer size &gt; maximum configured size : "<a name="line.279"></a>
+<span class="sourceLineNo">280</span>          + trailerSize + " &gt; " + this.trailerWarnSize);<a name="line.280"></a>
+<span class="sourceLineNo">281</span>      }<a name="line.281"></a>
+<span class="sourceLineNo">282</span>      // seek to the position where trailer starts.<a name="line.282"></a>
+<span class="sourceLineNo">283</span>      long positionOfTrailer = trailerSizeOffset - trailerSize;<a name="line.283"></a>
+<span class="sourceLineNo">284</span>      this.seekOnFs(positionOfTrailer);<a name="line.284"></a>
+<span class="sourceLineNo">285</span>      // read the trailer.<a name="line.285"></a>
+<span class="sourceLineNo">286</span>      buf = ByteBuffer.allocate(trailerSize);// for trailer.<a name="line.286"></a>
+<span class="sourceLineNo">287</span>      this.inputStream.readFully(buf.array(), buf.arrayOffset(), buf.capacity());<a name="line.287"></a>
+<span class="sourceLineNo">288</span>      trailer = WALTrailer.parseFrom(buf.array());<a name="line.288"></a>
+<span class="sourceLineNo">289</span>      this.walEditsStopOffset = positionOfTrailer;<a name="line.289"></a>
+<span class="sourceLineNo">290</span>      return true;<a name="line.290"></a>
+<span class="sourceLineNo">291</span>    } catch (IOException ioe) {<a name="line.291"></a>
+<span class="sourceLineNo">292</span>      LOG.warn("Got IOE while reading the trailer. Continuing as if no trailer is present.", ioe);<a name="line.292"></a>
+<span class="sourceLineNo">293</span>    }<a name="line.293"></a>
+<span class="sourceLineNo">294</span>    return false;<a name="line.294"></a>
+<span class="sourceLineNo">295</span>  }<a name="line.295"></a>
+<span class="sourceLineNo">296</span><a name="line.296"></a>
+<span class="sourceLineNo">297</span>  protected WALCellCodec getCodec(Configuration conf, String cellCodecClsName,<a name="line.297"></a>
+<span class="sourceLineNo">298</span>      CompressionContext compressionContext) throws IOException {<a name="line.298"></a>
+<span class="sourceLineNo">299</span>    return WALCellCodec.create(conf, cellCodecClsName, compressionContext);<a name="line.299"></a>
+<span class="sourceLineNo">300</span>  }<a name="line.300"></a>
+<span class="sourceLineNo">301</span><a name="line.301"></a>
+<span class="sourceLineNo">302</span>  @Override<a name="line.302"></a>
+<span class="sourceLineNo">303</span>  protected void initAfterCompression() throws IOException {<a name="line.303"></a>
+<span class="sourceLineNo">304</span>    initAfterCompression(null);<a name="line.304"></a>
+<span class="sourceLineNo">305</span>  }<a name="line.305"></a>
+<span class="sourceLineNo">306</span>  <a name="line.306"></a>
+<span class="sourceLineNo">307</span>  @Override<a name="line.307"></a>
+<span class="sourceLineNo">308</span>  protected void initAfterCompression(String cellCodecClsName) throws IOException {<a name="line.308"></a>
+<span class="sourceLineNo">309</span>    WALCellCodec codec = getCodec(this.conf, cellCodecClsName, this.compressionContext);<a name="line.309"></a>
+<span class="sourceLineNo">310</span>    this.cellDecoder = codec.getDecoder(this.inputStream);<a name="line.310"></a>
+<span class="sourceLineNo">311</span>    if (this.hasCompression) {<a name="line.311"></a>
+<span class="sourceLineNo">312</span>      this.byteStringUncompressor = codec.getByteStringUncompressor();<a name="line.312"></a>
+<span class="sourceLineNo">313</span>    }<a name="line.313"></a>
+<span class="sourceLineNo">314</span>  }<a name="line.314"></a>
+<span class="sourceLineNo">315</span><a name="line.315"></a>
+<span class="sourceLineNo">316</span>  @Override<a name="line.316"></a>
+<span class="sourceLineNo">317</span>  protected boolean hasCompression() {<a name="line.317"></a>
+<span class="sourceLineNo">318</span>    return this.hasCompression;<a name="line.318"></a>
+<span class="sourceLineNo">319</span>  }<a name="line.319"></a>
+<span class="sourceLineNo">320</span><a name="line.320"></a>
+<span class="sourceLineNo">321</span>  @Override<a name="line.321"></a>
+<span class="sourceLineNo">322</span>  protected boolean hasTagCompression() {<a name="line.322"></a>
+<span class="sourceLineNo">323</span>    return this.hasTagCompression;<a name="line.323"></a>
+<span class="sourceLineNo">324</span>  }<a name="line.324"></a>
+<span class="sourceLineNo">325</span><a name="line.325"></a>
+<span class="sourceLineNo">326</span>  @Override<a name="line.326"></a>
+<span class="sourceLineNo">327</span>  protected boolean readNext(Entry entry) throws IOException {<a name="line.327"></a>
+<span class="sourceLineNo">328</span>    while (true) {<a name="line.328"></a>
+<span class="sourceLineNo">329</span>      // OriginalPosition might be &lt; 0 on local fs; if so, it is useless to us.<a name="line.329"></a>
+<span class="sourceLineNo">330</span>      long originalPosition = this.inputStream.getPos();<a name="line.330"></a>
+<span class="sourceLineNo">331</span>      if (trailerPresent &amp;&amp; originalPosition &gt; 0 &amp;&amp; originalPosition == this.walEditsStopOffset) {<a name="line.331"></a>
+<span class="sourceLineNo">332</span>        if (LOG.isTraceEnabled()) {<a name="line.332"></a>
+<span class="sourceLineNo">333</span>          LOG.trace("Reached end of expected edits area at offset " + originalPosition);<a name="line.333"></a>
+<span class="sourceLineNo">334</span>        }<a name="line.334"></a>
+<span class="sourceLineNo">335</span>        return false;<a name="line.335"></a>
+<span class="sourceLineNo">336</span>      }<a name="line.336"></a>
+<span class="sourceLineNo">337</span>      WALKey.Builder builder = WALKey.newBuilder();<a name="line.337"></a>
+<span class="sourceLineNo">338</span>      long size = 0;<a name="line.338"></a>
+<span class="sourceLineNo">339</span>      try {<a name="line.339"></a>
+<span class="sourceLineNo">340</span>        long available = -1;<a name="line.340"></a>
+<span class="sourceLineNo">341</span>        try {<a name="line.341"></a>
+<span class="sourceLineNo">342</span>          int firstByte = this.inputStream.read();<a name="line.342"></a>
+<span class="sourceLineNo">343</span>          if (firstByte == -1) {<a name="line.343"></a>
+<span class="sourceLineNo">344</span>            throw new EOFException("First byte is negative at offset " + originalPosition);<a name="line.344"></a>
+<span class="sourceLineNo">345</span>          }<a name="line.345"></a>
+<span class="sourceLineNo">346</span>          size = CodedInputStream.readRawVarint32(firstByte, this.inputStream);<a name="line.346"></a>
+<span class="sourceLineNo">347</span>          // available may be &lt; 0 on local fs for instance.  If so, can't depend on it.<a name="line.347"></a>
+<span class="sourceLineNo">348</span>          available = this.inputStream.available();<a name="line.348"></a>
+<span class="sourceLineNo">349</span>          if (available &gt; 0 &amp;&amp; available &lt; size) {<a name="line.349"></a>
+<span class="sourceLineNo">350</span>            throw new EOFException("Available stream not enough for edit, " +<a name="line.350"></a>
+<span class="sourceLineNo">351</span>                "inputStream.available()= " + this.inputStream.available() + ", " +<a name="line.351"></a>
+<span class="sourceLineNo">352</span>                "entry size= " + size + " at offset = " + this.inputStream.getPos());<a name="line.352"></a>
+<span class="sourceLineNo">353</span>          }<a name="line.353"></a>
+<span class="sourceLineNo">354</span>          ProtobufUtil.mergeFrom(builder, ByteStreams.limit(this.inputStream, size),<a name="line.354"></a>
+<span class="sourceLineNo">355</span>            (int)size);<a name="line.355"></a>
+<span class="sourceLineNo">356</span>        } catch (InvalidProtocolBufferException ipbe) {<a name="line.356"></a>
+<span class="sourceLineNo">357</span>          throw (EOFException) new EOFException("Invalid PB, EOF? Ignoring; originalPosition=" +<a name="line.357"></a>
+<span class="sourceLineNo">358</span>            originalPosition + ", currentPosition=" + this.inputStream.getPos() +<a name="line.358"></a>
+<span class="sourceLineNo">359</span>            ", messageSize=" + size + ", currentAvailable=" + available).initCause(ipbe);<a name="line.359"></a>
+<span class="sourceLineNo">360</span>        }<a name="line.360"></a>
+<span class="sourceLineNo">361</span>        if (!builder.isInitialized()) {<a name="line.361"></a>
+<span class="sourceLineNo">362</span>          // TODO: not clear if we should try to recover from corrupt PB that looks semi-legit.<a name="line.362"></a>
+<span class="sourceLineNo">363</span>          //       If we can get the KV count, we could, theoretically, try to get next record.<a name="line.363"></a>
+<span class="sourceLineNo">364</span>          throw new EOFException("Partial PB while reading WAL, " +<a name="line.364"></a>
+<span class="sourceLineNo">365</span>              "probably an unexpected EOF, ignoring. current offset=" + this.inputStream.getPos());<a name="line.365"></a>
+<span class="sourceLineNo">366</span>        }<a name="line.366"></a>
+<span class="sourceLineNo">367</span>        WALKey walKey = builder.build();<a name="line.367"></a>
+<span class="sourceLineNo">368</span>        entry.getKey().readFieldsFromPb(walKey, this.byteStringUncompressor);<a name="line.368"></a>
+<span class="sourceLineNo">369</span>        if (!walKey.hasFollowingKvCount() || 0 == walKey.getFollowingKvCount()) {<a name="line.369"></a>
+<span class="sourceLineNo">370</span>          if (LOG.isTraceEnabled()) {<a name="line.370"></a>
+<span class="sourceLineNo">371</span>            LOG.trace("WALKey has no KVs that follow it; trying the next one. current offset=" +<a name="line.371"></a>
+<span class="sourceLineNo">372</span>                this.inputStream.getPos());<a name="line.372"></a>
+<span class="sourceLineNo">373</span>          }<a name="line.373"></a>
+<span class="sourceLineNo">374</span>          continue;<a name="line.374"></a>
+<span class="sourceLineNo">375</span>        }<a name="line.375"></a>
+<span class="sourceLineNo">376</span>        int expectedCells = walKey.getFollowingKvCount();<a name="line.376"></a>
+<span class="sourceLineNo">377</span>        long posBefore = this.inputStream.getPos();<a name="line.377"></a>
+<span class="sourceLineNo">378</span>        try {<a name="line.378"></a>
+<span class="sourceLineNo">379</span>          int actualCells = entry.getEdit().readFromCells(cellDecoder, expectedCells);<a name="line.379"></a>
+<span class="sourceLineNo">380</span>          if (expectedCells != actualCells) {<a name="line.380"></a>
+<span class="sourceLineNo">381</span>            throw new EOFException("Only read " + actualCells); // other info added in catch<a name="line.381"></a>
+<span class="sourceLineNo">382</span>          }<a name="line.382"></a>
+<span class="sourceLineNo">383</span>        } catch (Exception ex) {<a name="line.383"></a>
+<span class="sourceLineNo">384</span>          String posAfterStr = "&lt;unknown&gt;";<a name="line.384"></a>
+<span class="sourceLineNo">385</span>          try {<a name="line.385"></a>
+<span class="sourceLineNo">386</span>            posAfterStr = this.inputStream.getPos() + "";<a name="line.386"></a>
+<span class="sourceLineNo">387</span>          } catch (Throwable t) {<a name="line.387"></a>
+<span class="sourceLineNo">388</span>            if (LOG.isTraceEnabled()) {<a name="line.388"></a>
+<span class="sourceLineNo">389</span>              LOG.trace("Error getting pos for error message - ignoring", t);<a name="line.389"></a>
+<span class="sourceLineNo">390</span>            }<a name="line.390"></a>
+<span class="sourceLineNo">391</span>          }<a name="line.391"></a>
+<span class="sourceLineNo">392</span>          String message = " while reading " + expectedCells + " WAL KVs; started reading at "<a name="line.392"></a>
+<span class="sourceLineNo">393</span>              + posBefore + " and read up to " + posAfterStr;<a name="line.393"></a>
+<span class="sourceLineNo">394</span>          IOException realEofEx = extractHiddenEof(ex);<a name="line.394"></a>
+<span class="sourceLineNo">395</span>          throw (EOFException) new EOFException("EOF " + message).<a name="line.395"></a>
+<span class="sourceLineNo">396</span>              initCause(realEofEx != null ? realEofEx : ex);<a name="line.396"></a>
+<span class="sourceLineNo">397</span>        }<a name="line.397"></a>
+<span class="sourceLineNo">398</span>        if (trailerPresent &amp;&amp; this.inputStream.getPos() &gt; this.walEditsStopOffset) {<a name="line.398"></a>
+<span class="sourceLineNo">399</span>          LOG.error("Read WALTrailer while reading WALEdits. wal: " + this.path<a name="line.399"></a>
+<span class="sourceLineNo">400</span>              + ", inputStream.getPos(): " + this.inputStream.getPos() + ", walEditsStopOffset: "<a name="line.400"></a>
+<span class="sourceLineNo">401</span>              + this.walEditsStopOffset);<a name="line.401"></a>
+<span class="sourceLineNo">402</span>          throw new EOFException("Read WALTrailer while reading WALEdits");<a name="line.402"></a>
+<span class="sourceLineNo">403</span>        }<a name="line.403"></a>
+<span class="sourceLineNo">404</span>      } catch (EOFException eof) {<a name="line.404"></a>
+<span class="sourceLineNo">405</span>        // If originalPosition is &lt; 0, it is rubbish and we cannot use it (probably local fs)<a name="line.405"></a>
+<span class="sourceLineNo">406</span>        if (originalPosition &lt; 0) {<a name="line.406"></a>
+<span class="sourceLineNo">407</span>          if (LOG.isTraceEnabled()) {<a name="line.407"></a>
+<span class="sourceLineNo">408</span>            LOG.trace("Encountered a malformed edit, but can't seek back to last good position because originalPosition is negative. last offset=" + this.inputStream.getPos(), eof);<a name="line.408"></a>
+<span class="sourceLineNo">409</span>          }<a name="line.409"></a>
+<span class="sourceLineNo">410</span>          throw eof;<a name="line.410"></a>
+<span class="sourceLineNo">411</span>        }<a name="line.411"></a>
+<span class="sourceLineNo">412</span>        // Else restore our position to original location in hope that next time through we will<a name="line.412"></a>
+<span class="sourceLineNo">413</span>        // read successfully.<a name="line.413"></a>
+<span class="sourceLineNo">414</span>        if (LOG.isTraceEnabled()) {<a name="line.414"></a>
+<span class="sourceLineNo">415</span>          LOG.trace("Encountered a malformed edit, seeking back to last good position in file, from "+ inputStream.getPos()+" to " + originalPosition, eof);<a name="line.415"></a>
+<span class="sourceLineNo">416</span>        }<a name="line.416"></a>
+<span class="sourceLineNo">417</span>        seekOnFs(originalPosition);<a name="line.417"></a>
+<span class="sourceLineNo">418</span>        return false;<a name="line.418"></a>
+<span class="sourceLineNo">419</span>      }<a name="line.419"></a>
+<span class="sourceLineNo">420</span>      return true;<a name="line.420"></a>
+<span class="sourceLineNo">421</span>    }<a name="line.421"></a>
+<span class="sourceLineNo">422</span>  }<a name="line.422"></a>
+<span class="sourceLineNo">423</span><a name="line.423"></a>
+<span class="sourceLineNo">424</span>  private IOException extractHiddenEof(Exception ex) {<a name="line.424"></a>
+<span class="sourceLineNo">425</span>    // There are two problems we are dealing with here. Hadoop stream throws generic exception<a name="line.425"></a>
+<span class="sourceLineNo">426</span>    // for EOF, not EOFException; and scanner further hides it inside RuntimeException.<a name="line.426"></a>
+<span class="sourceLineNo">427</span>    IOException ioEx = null;<a name="line.427"></a>
+<span class="sourceLineNo">428</span>    if (ex instanceof EOFException) {<a name="line.428"></a>
+<span class="sourceLineNo">429</span>      return (EOFException)ex;<a name="line.429"></a>
+<span class="sourceLineNo">430</span>    } else if (ex instanceof IOException) {<a name="line.430"></a>
+<span class="sourceLineNo">431</span>      ioEx = (IOException)ex;<a name="line.431"></a>
+<span class="sourceLineNo">432</span>    } else if (ex instanceof RuntimeException<a name="line.432"></a>
+<span class="sourceLineNo">433</span>        &amp;&amp; ex.getCause() != null &amp;&amp; ex.getCause() instanceof IOException) {<a name="line.433"></a>
+<span class="sourceLineNo">434</span>      ioEx = (IOException)ex.getCause();<a name="line.434"></a>
+<span class="sourceLineNo">435</span>    }<a name="line.435"></a>
+<span class="sourceLineNo">436</span>    if (ioEx != null) {<a name="line.436"></a>
+<span class="sourceLineNo">437</span>      if (ioEx.getMessage().contains("EOF")) return ioEx;<a name="line.437"></a>
+<span class="sourceLineNo">438</span>      return null;<a name="line.438"></a>
+<span class="sourceLineNo">439</span>    }<a name="line.439"></a>
+<span class="sourceLineNo">440</span>    return null;<a name="line.440"></a>
+<span class="sourceLineNo">441</span>  }<a name="line.441"></a>
+<span class="sourceLineNo">442</span><a name="line.442"></a>
+<span class="sourceLineNo">443</span>  @Override<a name="line.443"></a>
+<span class="sourceLineNo">444</span>  protected void seekOnFs(long pos) throws IOException {<a name="line.444"></a>
+<span class="sourceLineNo">445</span>    this.inputStream.seek(pos);<a name="line.445"></a>
+<span class="sourceLineNo">446</span>  }<a name="line.446"></a>
+<span class="sourceLineNo">447</span>}<a name="line.447"></a>
 
 
 


[08/15] hbase-site git commit: Published site at .

Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/devapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html b/devapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html
index ce37fa3..60dc639 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/master/cleaner/CleanerChore.html
@@ -127,7 +127,7 @@
 <span class="sourceLineNo">119</span>   * @param poolSize size from configuration<a name="line.119"></a>
 <span class="sourceLineNo">120</span>   * @return size of pool after calculation<a name="line.120"></a>
 <span class="sourceLineNo">121</span>   */<a name="line.121"></a>
-<span class="sourceLineNo">122</span>  private int calculatePoolSize(String poolSize) {<a name="line.122"></a>
+<span class="sourceLineNo">122</span>  int calculatePoolSize(String poolSize) {<a name="line.122"></a>
 <span class="sourceLineNo">123</span>    if (poolSize.matches("[1-9][0-9]*")) {<a name="line.123"></a>
 <span class="sourceLineNo">124</span>      // If poolSize is an integer, return it directly,<a name="line.124"></a>
 <span class="sourceLineNo">125</span>      // but upmost to the number of available processors.<a name="line.125"></a>
@@ -138,372 +138,378 @@
 <span class="sourceLineNo">130</span>      return size;<a name="line.130"></a>
 <span class="sourceLineNo">131</span>    } else if (poolSize.matches("0.[0-9]+|1.0")) {<a name="line.131"></a>
 <span class="sourceLineNo">132</span>      // if poolSize is a double, return poolSize * availableProcessors;<a name="line.132"></a>
-<span class="sourceLineNo">133</span>      return (int) (AVAIL_PROCESSORS * Double.valueOf(poolSize));<a name="line.133"></a>
-<span class="sourceLineNo">134</span>    } else {<a name="line.134"></a>
-<span class="sourceLineNo">135</span>      LOG.error("Unrecognized value: " + poolSize + " for " + CHORE_POOL_SIZE +<a name="line.135"></a>
-<span class="sourceLineNo">136</span>          ", use default config: " + DEFAULT_CHORE_POOL_SIZE + " instead.");<a name="line.136"></a>
-<span class="sourceLineNo">137</span>      return calculatePoolSize(DEFAULT_CHORE_POOL_SIZE);<a name="line.137"></a>
-<span class="sourceLineNo">138</span>    }<a name="line.138"></a>
-<span class="sourceLineNo">139</span>  }<a name="line.139"></a>
-<span class="sourceLineNo">140</span><a name="line.140"></a>
-<span class="sourceLineNo">141</span>  /**<a name="line.141"></a>
-<span class="sourceLineNo">142</span>   * Validate the file to see if it even belongs in the directory. If it is valid, then the file<a name="line.142"></a>
-<span class="sourceLineNo">143</span>   * will go through the cleaner delegates, but otherwise the file is just deleted.<a name="line.143"></a>
-<span class="sourceLineNo">144</span>   * @param file full {@link Path} of the file to be checked<a name="line.144"></a>
-<span class="sourceLineNo">145</span>   * @return &lt;tt&gt;true&lt;/tt&gt; if the file is valid, &lt;tt&gt;false&lt;/tt&gt; otherwise<a name="line.145"></a>
-<span class="sourceLineNo">146</span>   */<a name="line.146"></a>
-<span class="sourceLineNo">147</span>  protected abstract boolean validate(Path file);<a name="line.147"></a>
-<span class="sourceLineNo">148</span><a name="line.148"></a>
-<span class="sourceLineNo">149</span>  /**<a name="line.149"></a>
-<span class="sourceLineNo">150</span>   * Instantiate and initialize all the file cleaners set in the configuration<a name="line.150"></a>
-<span class="sourceLineNo">151</span>   * @param confKey key to get the file cleaner classes from the configuration<a name="line.151"></a>
+<span class="sourceLineNo">133</span>      // Ensure that we always return at least one.<a name="line.133"></a>
+<span class="sourceLineNo">134</span>      int computedThreads = (int) (AVAIL_PROCESSORS * Double.valueOf(poolSize));<a name="line.134"></a>
+<span class="sourceLineNo">135</span>      if (computedThreads &lt; 1) {<a name="line.135"></a>
+<span class="sourceLineNo">136</span>        LOG.debug("Computed {} threads for CleanerChore, using 1 instead", computedThreads);<a name="line.136"></a>
+<span class="sourceLineNo">137</span>        return 1;<a name="line.137"></a>
+<span class="sourceLineNo">138</span>      }<a name="line.138"></a>
+<span class="sourceLineNo">139</span>      return computedThreads;<a name="line.139"></a>
+<span class="sourceLineNo">140</span>    } else {<a name="line.140"></a>
+<span class="sourceLineNo">141</span>      LOG.error("Unrecognized value: " + poolSize + " for " + CHORE_POOL_SIZE +<a name="line.141"></a>
+<span class="sourceLineNo">142</span>          ", use default config: " + DEFAULT_CHORE_POOL_SIZE + " instead.");<a name="line.142"></a>
+<span class="sourceLineNo">143</span>      return calculatePoolSize(DEFAULT_CHORE_POOL_SIZE);<a name="line.143"></a>
+<span class="sourceLineNo">144</span>    }<a name="line.144"></a>
+<span class="sourceLineNo">145</span>  }<a name="line.145"></a>
+<span class="sourceLineNo">146</span><a name="line.146"></a>
+<span class="sourceLineNo">147</span>  /**<a name="line.147"></a>
+<span class="sourceLineNo">148</span>   * Validate the file to see if it even belongs in the directory. If it is valid, then the file<a name="line.148"></a>
+<span class="sourceLineNo">149</span>   * will go through the cleaner delegates, but otherwise the file is just deleted.<a name="line.149"></a>
+<span class="sourceLineNo">150</span>   * @param file full {@link Path} of the file to be checked<a name="line.150"></a>
+<span class="sourceLineNo">151</span>   * @return &lt;tt&gt;true&lt;/tt&gt; if the file is valid, &lt;tt&gt;false&lt;/tt&gt; otherwise<a name="line.151"></a>
 <span class="sourceLineNo">152</span>   */<a name="line.152"></a>
-<span class="sourceLineNo">153</span>  private void initCleanerChain(String confKey) {<a name="line.153"></a>
-<span class="sourceLineNo">154</span>    this.cleanersChain = new LinkedList&lt;&gt;();<a name="line.154"></a>
-<span class="sourceLineNo">155</span>    String[] logCleaners = conf.getStrings(confKey);<a name="line.155"></a>
-<span class="sourceLineNo">156</span>    if (logCleaners != null) {<a name="line.156"></a>
-<span class="sourceLineNo">157</span>      for (String className : logCleaners) {<a name="line.157"></a>
-<span class="sourceLineNo">158</span>        T logCleaner = newFileCleaner(className, conf);<a name="line.158"></a>
-<span class="sourceLineNo">159</span>        if (logCleaner != null) {<a name="line.159"></a>
-<span class="sourceLineNo">160</span>          LOG.debug("Initialize cleaner={}", className);<a name="line.160"></a>
-<span class="sourceLineNo">161</span>          this.cleanersChain.add(logCleaner);<a name="line.161"></a>
-<span class="sourceLineNo">162</span>        }<a name="line.162"></a>
-<span class="sourceLineNo">163</span>      }<a name="line.163"></a>
-<span class="sourceLineNo">164</span>    }<a name="line.164"></a>
-<span class="sourceLineNo">165</span>  }<a name="line.165"></a>
-<span class="sourceLineNo">166</span><a name="line.166"></a>
-<span class="sourceLineNo">167</span>  @Override<a name="line.167"></a>
-<span class="sourceLineNo">168</span>  public void onConfigurationChange(Configuration conf) {<a name="line.168"></a>
-<span class="sourceLineNo">169</span>    int updatedSize = calculatePoolSize(conf.get(CHORE_POOL_SIZE, DEFAULT_CHORE_POOL_SIZE));<a name="line.169"></a>
-<span class="sourceLineNo">170</span>    if (updatedSize == chorePoolSize) {<a name="line.170"></a>
-<span class="sourceLineNo">171</span>      LOG.trace("Size from configuration is same as previous={}, no need to update.", updatedSize);<a name="line.171"></a>
-<span class="sourceLineNo">172</span>      return;<a name="line.172"></a>
-<span class="sourceLineNo">173</span>    }<a name="line.173"></a>
-<span class="sourceLineNo">174</span>    chorePoolSize = updatedSize;<a name="line.174"></a>
-<span class="sourceLineNo">175</span>    if (chorePool.getPoolSize() == 0) {<a name="line.175"></a>
-<span class="sourceLineNo">176</span>      // Chore does not work now, update it directly.<a name="line.176"></a>
-<span class="sourceLineNo">177</span>      updateChorePoolSize(updatedSize);<a name="line.177"></a>
+<span class="sourceLineNo">153</span>  protected abstract boolean validate(Path file);<a name="line.153"></a>
+<span class="sourceLineNo">154</span><a name="line.154"></a>
+<span class="sourceLineNo">155</span>  /**<a name="line.155"></a>
+<span class="sourceLineNo">156</span>   * Instantiate and initialize all the file cleaners set in the configuration<a name="line.156"></a>
+<span class="sourceLineNo">157</span>   * @param confKey key to get the file cleaner classes from the configuration<a name="line.157"></a>
+<span class="sourceLineNo">158</span>   */<a name="line.158"></a>
+<span class="sourceLineNo">159</span>  private void initCleanerChain(String confKey) {<a name="line.159"></a>
+<span class="sourceLineNo">160</span>    this.cleanersChain = new LinkedList&lt;&gt;();<a name="line.160"></a>
+<span class="sourceLineNo">161</span>    String[] logCleaners = conf.getStrings(confKey);<a name="line.161"></a>
+<span class="sourceLineNo">162</span>    if (logCleaners != null) {<a name="line.162"></a>
+<span class="sourceLineNo">163</span>      for (String className : logCleaners) {<a name="line.163"></a>
+<span class="sourceLineNo">164</span>        T logCleaner = newFileCleaner(className, conf);<a name="line.164"></a>
+<span class="sourceLineNo">165</span>        if (logCleaner != null) {<a name="line.165"></a>
+<span class="sourceLineNo">166</span>          LOG.debug("Initialize cleaner={}", className);<a name="line.166"></a>
+<span class="sourceLineNo">167</span>          this.cleanersChain.add(logCleaner);<a name="line.167"></a>
+<span class="sourceLineNo">168</span>        }<a name="line.168"></a>
+<span class="sourceLineNo">169</span>      }<a name="line.169"></a>
+<span class="sourceLineNo">170</span>    }<a name="line.170"></a>
+<span class="sourceLineNo">171</span>  }<a name="line.171"></a>
+<span class="sourceLineNo">172</span><a name="line.172"></a>
+<span class="sourceLineNo">173</span>  @Override<a name="line.173"></a>
+<span class="sourceLineNo">174</span>  public void onConfigurationChange(Configuration conf) {<a name="line.174"></a>
+<span class="sourceLineNo">175</span>    int updatedSize = calculatePoolSize(conf.get(CHORE_POOL_SIZE, DEFAULT_CHORE_POOL_SIZE));<a name="line.175"></a>
+<span class="sourceLineNo">176</span>    if (updatedSize == chorePoolSize) {<a name="line.176"></a>
+<span class="sourceLineNo">177</span>      LOG.trace("Size from configuration is same as previous={}, no need to update.", updatedSize);<a name="line.177"></a>
 <span class="sourceLineNo">178</span>      return;<a name="line.178"></a>
 <span class="sourceLineNo">179</span>    }<a name="line.179"></a>
-<span class="sourceLineNo">180</span>    // Chore is working, update it after chore finished.<a name="line.180"></a>
-<span class="sourceLineNo">181</span>    reconfig.set(true);<a name="line.181"></a>
-<span class="sourceLineNo">182</span>  }<a name="line.182"></a>
-<span class="sourceLineNo">183</span><a name="line.183"></a>
-<span class="sourceLineNo">184</span>  private void updateChorePoolSize(int updatedSize) {<a name="line.184"></a>
-<span class="sourceLineNo">185</span>    chorePool.shutdownNow();<a name="line.185"></a>
-<span class="sourceLineNo">186</span>    LOG.info("Update chore's pool size from {} to {}", chorePool.getParallelism(), updatedSize);<a name="line.186"></a>
-<span class="sourceLineNo">187</span>    chorePool = new ForkJoinPool(updatedSize);<a name="line.187"></a>
+<span class="sourceLineNo">180</span>    chorePoolSize = updatedSize;<a name="line.180"></a>
+<span class="sourceLineNo">181</span>    if (chorePool.getPoolSize() == 0) {<a name="line.181"></a>
+<span class="sourceLineNo">182</span>      // Chore does not work now, update it directly.<a name="line.182"></a>
+<span class="sourceLineNo">183</span>      updateChorePoolSize(updatedSize);<a name="line.183"></a>
+<span class="sourceLineNo">184</span>      return;<a name="line.184"></a>
+<span class="sourceLineNo">185</span>    }<a name="line.185"></a>
+<span class="sourceLineNo">186</span>    // Chore is working, update it after chore finished.<a name="line.186"></a>
+<span class="sourceLineNo">187</span>    reconfig.set(true);<a name="line.187"></a>
 <span class="sourceLineNo">188</span>  }<a name="line.188"></a>
 <span class="sourceLineNo">189</span><a name="line.189"></a>
-<span class="sourceLineNo">190</span>  /**<a name="line.190"></a>
-<span class="sourceLineNo">191</span>   * A utility method to create new instances of LogCleanerDelegate based on the class name of the<a name="line.191"></a>
-<span class="sourceLineNo">192</span>   * LogCleanerDelegate.<a name="line.192"></a>
-<span class="sourceLineNo">193</span>   * @param className fully qualified class name of the LogCleanerDelegate<a name="line.193"></a>
-<span class="sourceLineNo">194</span>   * @param conf used configuration<a name="line.194"></a>
-<span class="sourceLineNo">195</span>   * @return the new instance<a name="line.195"></a>
-<span class="sourceLineNo">196</span>   */<a name="line.196"></a>
-<span class="sourceLineNo">197</span>  private T newFileCleaner(String className, Configuration conf) {<a name="line.197"></a>
-<span class="sourceLineNo">198</span>    try {<a name="line.198"></a>
-<span class="sourceLineNo">199</span>      Class&lt;? extends FileCleanerDelegate&gt; c = Class.forName(className).asSubclass(<a name="line.199"></a>
-<span class="sourceLineNo">200</span>        FileCleanerDelegate.class);<a name="line.200"></a>
-<span class="sourceLineNo">201</span>      @SuppressWarnings("unchecked")<a name="line.201"></a>
-<span class="sourceLineNo">202</span>      T cleaner = (T) c.newInstance();<a name="line.202"></a>
-<span class="sourceLineNo">203</span>      cleaner.setConf(conf);<a name="line.203"></a>
-<span class="sourceLineNo">204</span>      cleaner.init(this.params);<a name="line.204"></a>
-<span class="sourceLineNo">205</span>      return cleaner;<a name="line.205"></a>
-<span class="sourceLineNo">206</span>    } catch (Exception e) {<a name="line.206"></a>
-<span class="sourceLineNo">207</span>      LOG.warn("Can NOT create CleanerDelegate={}", className, e);<a name="line.207"></a>
-<span class="sourceLineNo">208</span>      // skipping if can't instantiate<a name="line.208"></a>
-<span class="sourceLineNo">209</span>      return null;<a name="line.209"></a>
-<span class="sourceLineNo">210</span>    }<a name="line.210"></a>
-<span class="sourceLineNo">211</span>  }<a name="line.211"></a>
-<span class="sourceLineNo">212</span><a name="line.212"></a>
-<span class="sourceLineNo">213</span>  @Override<a name="line.213"></a>
-<span class="sourceLineNo">214</span>  protected void chore() {<a name="line.214"></a>
-<span class="sourceLineNo">215</span>    if (getEnabled()) {<a name="line.215"></a>
-<span class="sourceLineNo">216</span>      if (runCleaner()) {<a name="line.216"></a>
-<span class="sourceLineNo">217</span>        LOG.debug("Cleaned old files/dirs under {} successfully",  oldFileDir);<a name="line.217"></a>
-<span class="sourceLineNo">218</span>      } else {<a name="line.218"></a>
-<span class="sourceLineNo">219</span>        LOG.warn("Failed to fully clean old files/dirs under {}", oldFileDir);<a name="line.219"></a>
-<span class="sourceLineNo">220</span>      }<a name="line.220"></a>
-<span class="sourceLineNo">221</span>      // After each clean chore, checks if receives reconfigure notification while cleaning<a name="line.221"></a>
-<span class="sourceLineNo">222</span>      if (reconfig.compareAndSet(true, false)) {<a name="line.222"></a>
-<span class="sourceLineNo">223</span>        updateChorePoolSize(chorePoolSize);<a name="line.223"></a>
-<span class="sourceLineNo">224</span>      }<a name="line.224"></a>
-<span class="sourceLineNo">225</span>    } else {<a name="line.225"></a>
-<span class="sourceLineNo">226</span>      LOG.debug("Cleaner chore disabled! Not cleaning.");<a name="line.226"></a>
-<span class="sourceLineNo">227</span>    }<a name="line.227"></a>
-<span class="sourceLineNo">228</span>  }<a name="line.228"></a>
-<span class="sourceLineNo">229</span><a name="line.229"></a>
-<span class="sourceLineNo">230</span>  private void preRunCleaner() {<a name="line.230"></a>
-<span class="sourceLineNo">231</span>    cleanersChain.forEach(FileCleanerDelegate::preClean);<a name="line.231"></a>
-<span class="sourceLineNo">232</span>  }<a name="line.232"></a>
-<span class="sourceLineNo">233</span><a name="line.233"></a>
-<span class="sourceLineNo">234</span>  public Boolean runCleaner() {<a name="line.234"></a>
-<span class="sourceLineNo">235</span>    preRunCleaner();<a name="line.235"></a>
-<span class="sourceLineNo">236</span>    CleanerTask task = new CleanerTask(this.oldFileDir, true);<a name="line.236"></a>
-<span class="sourceLineNo">237</span>    chorePool.submit(task);<a name="line.237"></a>
-<span class="sourceLineNo">238</span>    return task.join();<a name="line.238"></a>
-<span class="sourceLineNo">239</span>  }<a name="line.239"></a>
-<span class="sourceLineNo">240</span><a name="line.240"></a>
-<span class="sourceLineNo">241</span>  /**<a name="line.241"></a>
-<span class="sourceLineNo">242</span>   * Sort the given list in (descending) order of the space each element takes<a name="line.242"></a>
-<span class="sourceLineNo">243</span>   * @param dirs the list to sort, element in it should be directory (not file)<a name="line.243"></a>
-<span class="sourceLineNo">244</span>   */<a name="line.244"></a>
-<span class="sourceLineNo">245</span>  private void sortByConsumedSpace(List&lt;FileStatus&gt; dirs) {<a name="line.245"></a>
-<span class="sourceLineNo">246</span>    if (dirs == null || dirs.size() &lt; 2) {<a name="line.246"></a>
-<span class="sourceLineNo">247</span>      // no need to sort for empty or single directory<a name="line.247"></a>
-<span class="sourceLineNo">248</span>      return;<a name="line.248"></a>
-<span class="sourceLineNo">249</span>    }<a name="line.249"></a>
-<span class="sourceLineNo">250</span>    dirs.sort(new Comparator&lt;FileStatus&gt;() {<a name="line.250"></a>
-<span class="sourceLineNo">251</span>      HashMap&lt;FileStatus, Long&gt; directorySpaces = new HashMap&lt;&gt;();<a name="line.251"></a>
-<span class="sourceLineNo">252</span><a name="line.252"></a>
-<span class="sourceLineNo">253</span>      @Override<a name="line.253"></a>
-<span class="sourceLineNo">254</span>      public int compare(FileStatus f1, FileStatus f2) {<a name="line.254"></a>
-<span class="sourceLineNo">255</span>        long f1ConsumedSpace = getSpace(f1);<a name="line.255"></a>
-<span class="sourceLineNo">256</span>        long f2ConsumedSpace = getSpace(f2);<a name="line.256"></a>
-<span class="sourceLineNo">257</span>        return Long.compare(f2ConsumedSpace, f1ConsumedSpace);<a name="line.257"></a>
-<span class="sourceLineNo">258</span>      }<a name="line.258"></a>
-<span class="sourceLineNo">259</span><a name="line.259"></a>
-<span class="sourceLineNo">260</span>      private long getSpace(FileStatus f) {<a name="line.260"></a>
-<span class="sourceLineNo">261</span>        Long cached = directorySpaces.get(f);<a name="line.261"></a>
-<span class="sourceLineNo">262</span>        if (cached != null) {<a name="line.262"></a>
-<span class="sourceLineNo">263</span>          return cached;<a name="line.263"></a>
-<span class="sourceLineNo">264</span>        }<a name="line.264"></a>
-<span class="sourceLineNo">265</span>        try {<a name="line.265"></a>
-<span class="sourceLineNo">266</span>          long space =<a name="line.266"></a>
-<span class="sourceLineNo">267</span>              f.isDirectory() ? fs.getContentSummary(f.getPath()).getSpaceConsumed() : f.getLen();<a name="line.267"></a>
-<span class="sourceLineNo">268</span>          directorySpaces.put(f, space);<a name="line.268"></a>
-<span class="sourceLineNo">269</span>          return space;<a name="line.269"></a>
-<span class="sourceLineNo">270</span>        } catch (IOException e) {<a name="line.270"></a>
-<span class="sourceLineNo">271</span>          LOG.trace("Failed to get space consumed by path={}", f, e);<a name="line.271"></a>
-<span class="sourceLineNo">272</span>          return -1;<a name="line.272"></a>
-<span class="sourceLineNo">273</span>        }<a name="line.273"></a>
-<span class="sourceLineNo">274</span>      }<a name="line.274"></a>
-<span class="sourceLineNo">275</span>    });<a name="line.275"></a>
-<span class="sourceLineNo">276</span>  }<a name="line.276"></a>
-<span class="sourceLineNo">277</span><a name="line.277"></a>
-<span class="sourceLineNo">278</span>  /**<a name="line.278"></a>
-<span class="sourceLineNo">279</span>   * Run the given files through each of the cleaners to see if it should be deleted, deleting it if<a name="line.279"></a>
-<span class="sourceLineNo">280</span>   * necessary.<a name="line.280"></a>
-<span class="sourceLineNo">281</span>   * @param files List of FileStatus for the files to check (and possibly delete)<a name="line.281"></a>
-<span class="sourceLineNo">282</span>   * @return true iff successfully deleted all files<a name="line.282"></a>
-<span class="sourceLineNo">283</span>   */<a name="line.283"></a>
-<span class="sourceLineNo">284</span>  private boolean checkAndDeleteFiles(List&lt;FileStatus&gt; files) {<a name="line.284"></a>
-<span class="sourceLineNo">285</span>    if (files == null) {<a name="line.285"></a>
-<span class="sourceLineNo">286</span>      return true;<a name="line.286"></a>
-<span class="sourceLineNo">287</span>    }<a name="line.287"></a>
-<span class="sourceLineNo">288</span><a name="line.288"></a>
-<span class="sourceLineNo">289</span>    // first check to see if the path is valid<a name="line.289"></a>
-<span class="sourceLineNo">290</span>    List&lt;FileStatus&gt; validFiles = Lists.newArrayListWithCapacity(files.size());<a name="line.290"></a>
-<span class="sourceLineNo">291</span>    List&lt;FileStatus&gt; invalidFiles = Lists.newArrayList();<a name="line.291"></a>
-<span class="sourceLineNo">292</span>    for (FileStatus file : files) {<a name="line.292"></a>
-<span class="sourceLineNo">293</span>      if (validate(file.getPath())) {<a name="line.293"></a>
-<span class="sourceLineNo">294</span>        validFiles.add(file);<a name="line.294"></a>
-<span class="sourceLineNo">295</span>      } else {<a name="line.295"></a>
-<span class="sourceLineNo">296</span>        LOG.warn("Found a wrongly formatted file: " + file.getPath() + " - will delete it.");<a name="line.296"></a>
-<span class="sourceLineNo">297</span>        invalidFiles.add(file);<a name="line.297"></a>
-<span class="sourceLineNo">298</span>      }<a name="line.298"></a>
-<span class="sourceLineNo">299</span>    }<a name="line.299"></a>
-<span class="sourceLineNo">300</span><a name="line.300"></a>
-<span class="sourceLineNo">301</span>    Iterable&lt;FileStatus&gt; deletableValidFiles = validFiles;<a name="line.301"></a>
-<span class="sourceLineNo">302</span>    // check each of the cleaners for the valid files<a name="line.302"></a>
-<span class="sourceLineNo">303</span>    for (T cleaner : cleanersChain) {<a name="line.303"></a>
-<span class="sourceLineNo">304</span>      if (cleaner.isStopped() || this.getStopper().isStopped()) {<a name="line.304"></a>
-<span class="sourceLineNo">305</span>        LOG.warn("A file cleaner" + this.getName() + " is stopped, won't delete any more files in:"<a name="line.305"></a>
-<span class="sourceLineNo">306</span>            + this.oldFileDir);<a name="line.306"></a>
-<span class="sourceLineNo">307</span>        return false;<a name="line.307"></a>
-<span class="sourceLineNo">308</span>      }<a name="line.308"></a>
-<span class="sourceLineNo">309</span><a name="line.309"></a>
-<span class="sourceLineNo">310</span>      Iterable&lt;FileStatus&gt; filteredFiles = cleaner.getDeletableFiles(deletableValidFiles);<a name="line.310"></a>
-<span class="sourceLineNo">311</span>      <a name="line.311"></a>
-<span class="sourceLineNo">312</span>      // trace which cleaner is holding on to each file<a name="line.312"></a>
-<span class="sourceLineNo">313</span>      if (LOG.isTraceEnabled()) {<a name="line.313"></a>
-<span class="sourceLineNo">314</span>        ImmutableSet&lt;FileStatus&gt; filteredFileSet = ImmutableSet.copyOf(filteredFiles);<a name="line.314"></a>
-<span class="sourceLineNo">315</span>        for (FileStatus file : deletableValidFiles) {<a name="line.315"></a>
-<span class="sourceLineNo">316</span>          if (!filteredFileSet.contains(file)) {<a name="line.316"></a>
-<span class="sourceLineNo">317</span>            LOG.trace(file.getPath() + " is not deletable according to:" + cleaner);<a name="line.317"></a>
-<span class="sourceLineNo">318</span>          }<a name="line.318"></a>
-<span class="sourceLineNo">319</span>        }<a name="line.319"></a>
-<span class="sourceLineNo">320</span>      }<a name="line.320"></a>
-<span class="sourceLineNo">321</span>      <a name="line.321"></a>
-<span class="sourceLineNo">322</span>      deletableValidFiles = filteredFiles;<a name="line.322"></a>
-<span class="sourceLineNo">323</span>    }<a name="line.323"></a>
-<span class="sourceLineNo">324</span>    <a name="line.324"></a>
-<span class="sourceLineNo">325</span>    Iterable&lt;FileStatus&gt; filesToDelete = Iterables.concat(invalidFiles, deletableValidFiles);<a name="line.325"></a>
-<span class="sourceLineNo">326</span>    return deleteFiles(filesToDelete) == files.size();<a name="line.326"></a>
-<span class="sourceLineNo">327</span>  }<a name="line.327"></a>
-<span class="sourceLineNo">328</span><a name="line.328"></a>
-<span class="sourceLineNo">329</span>  /**<a name="line.329"></a>
-<span class="sourceLineNo">330</span>   * Delete the given files<a name="line.330"></a>
-<span class="sourceLineNo">331</span>   * @param filesToDelete files to delete<a name="line.331"></a>
-<span class="sourceLineNo">332</span>   * @return number of deleted files<a name="line.332"></a>
-<span class="sourceLineNo">333</span>   */<a name="line.333"></a>
-<span class="sourceLineNo">334</span>  protected int deleteFiles(Iterable&lt;FileStatus&gt; filesToDelete) {<a name="line.334"></a>
-<span class="sourceLineNo">335</span>    int deletedFileCount = 0;<a name="line.335"></a>
-<span class="sourceLineNo">336</span>    for (FileStatus file : filesToDelete) {<a name="line.336"></a>
-<span class="sourceLineNo">337</span>      Path filePath = file.getPath();<a name="line.337"></a>
-<span class="sourceLineNo">338</span>      LOG.trace("Removing {} from archive", filePath);<a name="line.338"></a>
-<span class="sourceLineNo">339</span>      try {<a name="line.339"></a>
-<span class="sourceLineNo">340</span>        boolean success = this.fs.delete(filePath, false);<a name="line.340"></a>
-<span class="sourceLineNo">341</span>        if (success) {<a name="line.341"></a>
-<span class="sourceLineNo">342</span>          deletedFileCount++;<a name="line.342"></a>
-<span class="sourceLineNo">343</span>        } else {<a name="line.343"></a>
-<span class="sourceLineNo">344</span>          LOG.warn("Attempted to delete:" + filePath<a name="line.344"></a>
-<span class="sourceLineNo">345</span>              + ", but couldn't. Run cleaner chain and attempt to delete on next pass.");<a name="line.345"></a>
-<span class="sourceLineNo">346</span>        }<a name="line.346"></a>
-<span class="sourceLineNo">347</span>      } catch (IOException e) {<a name="line.347"></a>
-<span class="sourceLineNo">348</span>        e = e instanceof RemoteException ?<a name="line.348"></a>
-<span class="sourceLineNo">349</span>                  ((RemoteException)e).unwrapRemoteException() : e;<a name="line.349"></a>
-<span class="sourceLineNo">350</span>        LOG.warn("Error while deleting: " + filePath, e);<a name="line.350"></a>
-<span class="sourceLineNo">351</span>      }<a name="line.351"></a>
-<span class="sourceLineNo">352</span>    }<a name="line.352"></a>
-<span class="sourceLineNo">353</span>    return deletedFileCount;<a name="line.353"></a>
-<span class="sourceLineNo">354</span>  }<a name="line.354"></a>
-<span class="sourceLineNo">355</span><a name="line.355"></a>
-<span class="sourceLineNo">356</span>  @Override<a name="line.356"></a>
-<span class="sourceLineNo">357</span>  public void cleanup() {<a name="line.357"></a>
-<span class="sourceLineNo">358</span>    for (T lc : this.cleanersChain) {<a name="line.358"></a>
-<span class="sourceLineNo">359</span>      try {<a name="line.359"></a>
-<span class="sourceLineNo">360</span>        lc.stop("Exiting");<a name="line.360"></a>
-<span class="sourceLineNo">361</span>      } catch (Throwable t) {<a name="line.361"></a>
-<span class="sourceLineNo">362</span>        LOG.warn("Stopping", t);<a name="line.362"></a>
-<span class="sourceLineNo">363</span>      }<a name="line.363"></a>
-<span class="sourceLineNo">364</span>    }<a name="line.364"></a>
-<span class="sourceLineNo">365</span>  }<a name="line.365"></a>
-<span class="sourceLineNo">366</span><a name="line.366"></a>
-<span class="sourceLineNo">367</span>  @VisibleForTesting<a name="line.367"></a>
-<span class="sourceLineNo">368</span>  int getChorePoolSize() {<a name="line.368"></a>
-<span class="sourceLineNo">369</span>    return chorePoolSize;<a name="line.369"></a>
-<span class="sourceLineNo">370</span>  }<a name="line.370"></a>
-<span class="sourceLineNo">371</span><a name="line.371"></a>
-<span class="sourceLineNo">372</span>  /**<a name="line.372"></a>
-<span class="sourceLineNo">373</span>   * @param enabled<a name="line.373"></a>
-<span class="sourceLineNo">374</span>   */<a name="line.374"></a>
-<span class="sourceLineNo">375</span>  public boolean setEnabled(final boolean enabled) {<a name="line.375"></a>
-<span class="sourceLineNo">376</span>    return this.enabled.getAndSet(enabled);<a name="line.376"></a>
-<span class="sourceLineNo">377</span>  }<a name="line.377"></a>
-<span class="sourceLineNo">378</span><a name="line.378"></a>
-<span class="sourceLineNo">379</span>  public boolean getEnabled() {<a name="line.379"></a>
-<span class="sourceLineNo">380</span>    return this.enabled.get();<a name="line.380"></a>
-<span class="sourceLineNo">381</span>  }<a name="line.381"></a>
-<span class="sourceLineNo">382</span><a name="line.382"></a>
-<span class="sourceLineNo">383</span>  private interface Action&lt;T&gt; {<a name="line.383"></a>
-<span class="sourceLineNo">384</span>    T act() throws IOException;<a name="line.384"></a>
-<span class="sourceLineNo">385</span>  }<a name="line.385"></a>
-<span class="sourceLineNo">386</span><a name="line.386"></a>
-<span class="sourceLineNo">387</span>  private class CleanerTask extends RecursiveTask&lt;Boolean&gt; {<a name="line.387"></a>
-<span class="sourceLineNo">388</span>    private final Path dir;<a name="line.388"></a>
-<span class="sourceLineNo">389</span>    private final boolean root;<a name="line.389"></a>
-<span class="sourceLineNo">390</span><a name="line.390"></a>
-<span class="sourceLineNo">391</span>    CleanerTask(final FileStatus dir, final boolean root) {<a name="line.391"></a>
-<span class="sourceLineNo">392</span>      this(dir.getPath(), root);<a name="line.392"></a>
-<span class="sourceLineNo">393</span>    }<a name="line.393"></a>
-<span class="sourceLineNo">394</span><a name="line.394"></a>
-<span class="sourceLineNo">395</span>    CleanerTask(final Path dir, final boolean root) {<a name="line.395"></a>
-<span class="sourceLineNo">396</span>      this.dir = dir;<a name="line.396"></a>
-<span class="sourceLineNo">397</span>      this.root = root;<a name="line.397"></a>
-<span class="sourceLineNo">398</span>    }<a name="line.398"></a>
-<span class="sourceLineNo">399</span><a name="line.399"></a>
-<span class="sourceLineNo">400</span>    @Override<a name="line.400"></a>
-<span class="sourceLineNo">401</span>    protected Boolean compute() {<a name="line.401"></a>
-<span class="sourceLineNo">402</span>      if (LOG.isDebugEnabled()) {<a name="line.402"></a>
-<span class="sourceLineNo">403</span>        LOG.debug("CleanerTask " + Thread.currentThread().getId() +<a name="line.403"></a>
-<span class="sourceLineNo">404</span>          " starts cleaning dirs and files under " + dir + " and itself.");<a name="line.404"></a>
-<span class="sourceLineNo">405</span>      }<a name="line.405"></a>
-<span class="sourceLineNo">406</span><a name="line.406"></a>
-<span class="sourceLineNo">407</span>      List&lt;FileStatus&gt; subDirs;<a name="line.407"></a>
-<span class="sourceLineNo">408</span>      List&lt;FileStatus&gt; files;<a name="line.408"></a>
-<span class="sourceLineNo">409</span>      try {<a name="line.409"></a>
-<span class="sourceLineNo">410</span>        subDirs = getFilteredStatus(status -&gt; status.isDirectory());<a name="line.410"></a>
-<span class="sourceLineNo">411</span>        files = getFilteredStatus(status -&gt; status.isFile());<a name="line.411"></a>
-<span class="sourceLineNo">412</span>      } catch (IOException ioe) {<a name="line.412"></a>
-<span class="sourceLineNo">413</span>        LOG.warn(dir + " doesn't exist, just skip it. ", ioe);<a name="line.413"></a>
-<span class="sourceLineNo">414</span>        return true;<a name="line.414"></a>
-<span class="sourceLineNo">415</span>      }<a name="line.415"></a>
-<span class="sourceLineNo">416</span><a name="line.416"></a>
-<span class="sourceLineNo">417</span>      boolean nullSubDirs = subDirs == null;<a name="line.417"></a>
-<span class="sourceLineNo">418</span>      if (nullSubDirs) {<a name="line.418"></a>
-<span class="sourceLineNo">419</span>        LOG.trace("There is no subdir under {}", dir);<a name="line.419"></a>
-<span class="sourceLineNo">420</span>      }<a name="line.420"></a>
-<span class="sourceLineNo">421</span>      if (files == null) {<a name="line.421"></a>
-<span class="sourceLineNo">422</span>        LOG.trace("There is no file under {}", dir);<a name="line.422"></a>
-<span class="sourceLineNo">423</span>      }<a name="line.423"></a>
-<span class="sourceLineNo">424</span><a name="line.424"></a>
-<span class="sourceLineNo">425</span>      int capacity = nullSubDirs ? 0 : subDirs.size();<a name="line.425"></a>
-<span class="sourceLineNo">426</span>      List&lt;CleanerTask&gt; tasks = Lists.newArrayListWithCapacity(capacity);<a name="line.426"></a>
-<span class="sourceLineNo">427</span>      if (!nullSubDirs) {<a name="line.427"></a>
-<span class="sourceLineNo">428</span>        sortByConsumedSpace(subDirs);<a name="line.428"></a>
-<span class="sourceLineNo">429</span>        for (FileStatus subdir : subDirs) {<a name="line.429"></a>
-<span class="sourceLineNo">430</span>          CleanerTask task = new CleanerTask(subdir, false);<a name="line.430"></a>
-<span class="sourceLineNo">431</span>          tasks.add(task);<a name="line.431"></a>
-<span class="sourceLineNo">432</span>          task.fork();<a name="line.432"></a>
-<span class="sourceLineNo">433</span>        }<a name="line.433"></a>
-<span class="sourceLineNo">434</span>      }<a name="line.434"></a>
-<span class="sourceLineNo">435</span><a name="line.435"></a>
-<span class="sourceLineNo">436</span>      boolean result = true;<a name="line.436"></a>
-<span class="sourceLineNo">437</span>      result &amp;= deleteAction(() -&gt; checkAndDeleteFiles(files), "files");<a name="line.437"></a>
-<span class="sourceLineNo">438</span>      result &amp;= deleteAction(() -&gt; getCleanResult(tasks), "subdirs");<a name="line.438"></a>
-<span class="sourceLineNo">439</span>      // if and only if files and subdirs under current dir are deleted successfully, and<a name="line.439"></a>
-<span class="sourceLineNo">440</span>      // it is not the root dir, then task will try to delete it.<a name="line.440"></a>
-<span class="sourceLineNo">441</span>      if (result &amp;&amp; !root) {<a name="line.441"></a>
-<span class="sourceLineNo">442</span>        result &amp;= deleteAction(() -&gt; fs.delete(dir, false), "dir");<a name="line.442"></a>
-<span class="sourceLineNo">443</span>      }<a name="line.443"></a>
-<span class="sourceLineNo">444</span>      return result;<a name="line.444"></a>
-<span class="sourceLineNo">445</span>    }<a name="line.445"></a>
-<span class="sourceLineNo">446</span><a name="line.446"></a>
-<span class="sourceLineNo">447</span>    /**<a name="line.447"></a>
-<span class="sourceLineNo">448</span>     * Get FileStatus with filter.<a name="line.448"></a>
-<span class="sourceLineNo">449</span>     * Pay attention that FSUtils #listStatusWithStatusFilter would return null,<a name="line.449"></a>
-<span class="sourceLineNo">450</span>     * even though status is empty but not null.<a name="line.450"></a>
-<span class="sourceLineNo">451</span>     * @param function a filter function<a name="line.451"></a>
-<span class="sourceLineNo">452</span>     * @return filtered FileStatus<a name="line.452"></a>
-<span class="sourceLineNo">453</span>     * @throws IOException if there's no such a directory<a name="line.453"></a>
-<span class="sourceLineNo">454</span>     */<a name="line.454"></a>
-<span class="sourceLineNo">455</span>    private List&lt;FileStatus&gt; getFilteredStatus(Predicate&lt;FileStatus&gt; function) throws IOException {<a name="line.455"></a>
-<span class="sourceLineNo">456</span>      return FSUtils.listStatusWithStatusFilter(fs, dir, status -&gt; function.test(status));<a name="line.456"></a>
-<span class="sourceLineNo">457</span>    }<a name="line.457"></a>
-<span class="sourceLineNo">458</span><a name="line.458"></a>
-<span class="sourceLineNo">459</span>    /**<a name="line.459"></a>
-<span class="sourceLineNo">460</span>     * Perform a delete on a specified type.<a name="line.460"></a>
-<span class="sourceLineNo">461</span>     * @param deletion a delete<a name="line.461"></a>
-<span class="sourceLineNo">462</span>     * @param type possible values are 'files', 'subdirs', 'dirs'<a name="line.462"></a>
-<span class="sourceLineNo">463</span>     * @return true if it deleted successfully, false otherwise<a name="line.463"></a>
-<span class="sourceLineNo">464</span>     */<a name="line.464"></a>
-<span class="sourceLineNo">465</span>    private boolean deleteAction(Action&lt;Boolean&gt; deletion, String type) {<a name="line.465"></a>
-<span class="sourceLineNo">466</span>      boolean deleted;<a name="line.466"></a>
-<span class="sourceLineNo">467</span>      String errorMsg = null;<a name="line.467"></a>
-<span class="sourceLineNo">468</span>      try {<a name="line.468"></a>
-<span class="sourceLineNo">469</span>        LOG.trace("Start deleting {} under {}", type, dir);<a name="line.469"></a>
-<span class="sourceLineNo">470</span>        deleted = deletion.act();<a name="line.470"></a>
-<span class="sourceLineNo">471</span>      } catch (IOException ioe) {<a name="line.471"></a>
-<span class="sourceLineNo">472</span>        errorMsg = ioe.getMessage();<a name="line.472"></a>
-<span class="sourceLineNo">473</span>        LOG.warn("Could not delete {} under {}; {}", type, dir, errorMsg);<a name="line.473"></a>
-<span class="sourceLineNo">474</span>        deleted = false;<a name="line.474"></a>
-<span class="sourceLineNo">475</span>      }<a name="line.475"></a>
-<span class="sourceLineNo">476</span>      LOG.trace("Finish deleting {} under {}, deleted=", type, dir, deleted);<a name="line.476"></a>
-<span class="sourceLineNo">477</span>      return deleted;<a name="line.477"></a>
-<span class="sourceLineNo">478</span>    }<a name="line.478"></a>
-<span class="sourceLineNo">479</span><a name="line.479"></a>
-<span class="sourceLineNo">480</span>    /**<a name="line.480"></a>
-<span class="sourceLineNo">481</span>     * Get cleaner results of subdirs.<a name="line.481"></a>
-<span class="sourceLineNo">482</span>     * @param tasks subdirs cleaner tasks<a name="line.482"></a>
-<span class="sourceLineNo">483</span>     * @return true if all subdirs deleted successfully, false for patial/all failures<a name="line.483"></a>
-<span class="sourceLineNo">484</span>     * @throws IOException something happen during computation<a name="line.484"></a>
-<span class="sourceLineNo">485</span>     */<a name="line.485"></a>
-<span class="sourceLineNo">486</span>    private boolean getCleanResult(List&lt;CleanerTask&gt; tasks) throws IOException {<a name="line.486"></a>
-<span class="sourceLineNo">487</span>      boolean cleaned = true;<a name="line.487"></a>
-<span class="sourceLineNo">488</span>      try {<a name="line.488"></a>
-<span class="sourceLineNo">489</span>        for (CleanerTask task : tasks) {<a name="line.489"></a>
-<span class="sourceLineNo">490</span>          cleaned &amp;= task.get();<a name="line.490"></a>
-<span class="sourceLineNo">491</span>        }<a name="line.491"></a>
-<span class="sourceLineNo">492</span>      } catch (InterruptedException | ExecutionException e) {<a name="line.492"></a>
-<span class="sourceLineNo">493</span>        throw new IOException(e);<a name="line.493"></a>
-<span class="sourceLineNo">494</span>      }<a name="line.494"></a>
-<span class="sourceLineNo">495</span>      return cleaned;<a name="line.495"></a>
-<span class="sourceLineNo">496</span>    }<a name="line.496"></a>
-<span class="sourceLineNo">497</span>  }<a name="line.497"></a>
-<span class="sourceLineNo">498</span>}<a name="line.498"></a>
+<span class="sourceLineNo">190</span>  private void updateChorePoolSize(int updatedSize) {<a name="line.190"></a>
+<span class="sourceLineNo">191</span>    chorePool.shutdownNow();<a name="line.191"></a>
+<span class="sourceLineNo">192</span>    LOG.info("Update chore's pool size from {} to {}", chorePool.getParallelism(), updatedSize);<a name="line.192"></a>
+<span class="sourceLineNo">193</span>    chorePool = new ForkJoinPool(updatedSize);<a name="line.193"></a>
+<span class="sourceLineNo">194</span>  }<a name="line.194"></a>
+<span class="sourceLineNo">195</span><a name="line.195"></a>
+<span class="sourceLineNo">196</span>  /**<a name="line.196"></a>
+<span class="sourceLineNo">197</span>   * A utility method to create new instances of LogCleanerDelegate based on the class name of the<a name="line.197"></a>
+<span class="sourceLineNo">198</span>   * LogCleanerDelegate.<a name="line.198"></a>
+<span class="sourceLineNo">199</span>   * @param className fully qualified class name of the LogCleanerDelegate<a name="line.199"></a>
+<span class="sourceLineNo">200</span>   * @param conf used configuration<a name="line.200"></a>
+<span class="sourceLineNo">201</span>   * @return the new instance<a name="line.201"></a>
+<span class="sourceLineNo">202</span>   */<a name="line.202"></a>
+<span class="sourceLineNo">203</span>  private T newFileCleaner(String className, Configuration conf) {<a name="line.203"></a>
+<span class="sourceLineNo">204</span>    try {<a name="line.204"></a>
+<span class="sourceLineNo">205</span>      Class&lt;? extends FileCleanerDelegate&gt; c = Class.forName(className).asSubclass(<a name="line.205"></a>
+<span class="sourceLineNo">206</span>        FileCleanerDelegate.class);<a name="line.206"></a>
+<span class="sourceLineNo">207</span>      @SuppressWarnings("unchecked")<a name="line.207"></a>
+<span class="sourceLineNo">208</span>      T cleaner = (T) c.newInstance();<a name="line.208"></a>
+<span class="sourceLineNo">209</span>      cleaner.setConf(conf);<a name="line.209"></a>
+<span class="sourceLineNo">210</span>      cleaner.init(this.params);<a name="line.210"></a>
+<span class="sourceLineNo">211</span>      return cleaner;<a name="line.211"></a>
+<span class="sourceLineNo">212</span>    } catch (Exception e) {<a name="line.212"></a>
+<span class="sourceLineNo">213</span>      LOG.warn("Can NOT create CleanerDelegate={}", className, e);<a name="line.213"></a>
+<span class="sourceLineNo">214</span>      // skipping if can't instantiate<a name="line.214"></a>
+<span class="sourceLineNo">215</span>      return null;<a name="line.215"></a>
+<span class="sourceLineNo">216</span>    }<a name="line.216"></a>
+<span class="sourceLineNo">217</span>  }<a name="line.217"></a>
+<span class="sourceLineNo">218</span><a name="line.218"></a>
+<span class="sourceLineNo">219</span>  @Override<a name="line.219"></a>
+<span class="sourceLineNo">220</span>  protected void chore() {<a name="line.220"></a>
+<span class="sourceLineNo">221</span>    if (getEnabled()) {<a name="line.221"></a>
+<span class="sourceLineNo">222</span>      if (runCleaner()) {<a name="line.222"></a>
+<span class="sourceLineNo">223</span>        LOG.debug("Cleaned old files/dirs under {} successfully",  oldFileDir);<a name="line.223"></a>
+<span class="sourceLineNo">224</span>      } else {<a name="line.224"></a>
+<span class="sourceLineNo">225</span>        LOG.warn("Failed to fully clean old files/dirs under {}", oldFileDir);<a name="line.225"></a>
+<span class="sourceLineNo">226</span>      }<a name="line.226"></a>
+<span class="sourceLineNo">227</span>      // After each clean chore, checks if receives reconfigure notification while cleaning<a name="line.227"></a>
+<span class="sourceLineNo">228</span>      if (reconfig.compareAndSet(true, false)) {<a name="line.228"></a>
+<span class="sourceLineNo">229</span>        updateChorePoolSize(chorePoolSize);<a name="line.229"></a>
+<span class="sourceLineNo">230</span>      }<a name="line.230"></a>
+<span class="sourceLineNo">231</span>    } else {<a name="line.231"></a>
+<span class="sourceLineNo">232</span>      LOG.debug("Cleaner chore disabled! Not cleaning.");<a name="line.232"></a>
+<span class="sourceLineNo">233</span>    }<a name="line.233"></a>
+<span class="sourceLineNo">234</span>  }<a name="line.234"></a>
+<span class="sourceLineNo">235</span><a name="line.235"></a>
+<span class="sourceLineNo">236</span>  private void preRunCleaner() {<a name="line.236"></a>
+<span class="sourceLineNo">237</span>    cleanersChain.forEach(FileCleanerDelegate::preClean);<a name="line.237"></a>
+<span class="sourceLineNo">238</span>  }<a name="line.238"></a>
+<span class="sourceLineNo">239</span><a name="line.239"></a>
+<span class="sourceLineNo">240</span>  public Boolean runCleaner() {<a name="line.240"></a>
+<span class="sourceLineNo">241</span>    preRunCleaner();<a name="line.241"></a>
+<span class="sourceLineNo">242</span>    CleanerTask task = new CleanerTask(this.oldFileDir, true);<a name="line.242"></a>
+<span class="sourceLineNo">243</span>    chorePool.submit(task);<a name="line.243"></a>
+<span class="sourceLineNo">244</span>    return task.join();<a name="line.244"></a>
+<span class="sourceLineNo">245</span>  }<a name="line.245"></a>
+<span class="sourceLineNo">246</span><a name="line.246"></a>
+<span class="sourceLineNo">247</span>  /**<a name="line.247"></a>
+<span class="sourceLineNo">248</span>   * Sort the given list in (descending) order of the space each element takes<a name="line.248"></a>
+<span class="sourceLineNo">249</span>   * @param dirs the list to sort, element in it should be directory (not file)<a name="line.249"></a>
+<span class="sourceLineNo">250</span>   */<a name="line.250"></a>
+<span class="sourceLineNo">251</span>  private void sortByConsumedSpace(List&lt;FileStatus&gt; dirs) {<a name="line.251"></a>
+<span class="sourceLineNo">252</span>    if (dirs == null || dirs.size() &lt; 2) {<a name="line.252"></a>
+<span class="sourceLineNo">253</span>      // no need to sort for empty or single directory<a name="line.253"></a>
+<span class="sourceLineNo">254</span>      return;<a name="line.254"></a>
+<span class="sourceLineNo">255</span>    }<a name="line.255"></a>
+<span class="sourceLineNo">256</span>    dirs.sort(new Comparator&lt;FileStatus&gt;() {<a name="line.256"></a>
+<span class="sourceLineNo">257</span>      HashMap&lt;FileStatus, Long&gt; directorySpaces = new HashMap&lt;&gt;();<a name="line.257"></a>
+<span class="sourceLineNo">258</span><a name="line.258"></a>
+<span class="sourceLineNo">259</span>      @Override<a name="line.259"></a>
+<span class="sourceLineNo">260</span>      public int compare(FileStatus f1, FileStatus f2) {<a name="line.260"></a>
+<span class="sourceLineNo">261</span>        long f1ConsumedSpace = getSpace(f1);<a name="line.261"></a>
+<span class="sourceLineNo">262</span>        long f2ConsumedSpace = getSpace(f2);<a name="line.262"></a>
+<span class="sourceLineNo">263</span>        return Long.compare(f2ConsumedSpace, f1ConsumedSpace);<a name="line.263"></a>
+<span class="sourceLineNo">264</span>      }<a name="line.264"></a>
+<span class="sourceLineNo">265</span><a name="line.265"></a>
+<span class="sourceLineNo">266</span>      private long getSpace(FileStatus f) {<a name="line.266"></a>
+<span class="sourceLineNo">267</span>        Long cached = directorySpaces.get(f);<a name="line.267"></a>
+<span class="sourceLineNo">268</span>        if (cached != null) {<a name="line.268"></a>
+<span class="sourceLineNo">269</span>          return cached;<a name="line.269"></a>
+<span class="sourceLineNo">270</span>        }<a name="line.270"></a>
+<span class="sourceLineNo">271</span>        try {<a name="line.271"></a>
+<span class="sourceLineNo">272</span>          long space =<a name="line.272"></a>
+<span class="sourceLineNo">273</span>              f.isDirectory() ? fs.getContentSummary(f.getPath()).getSpaceConsumed() : f.getLen();<a name="line.273"></a>
+<span class="sourceLineNo">274</span>          directorySpaces.put(f, space);<a name="line.274"></a>
+<span class="sourceLineNo">275</span>          return space;<a name="line.275"></a>
+<span class="sourceLineNo">276</span>        } catch (IOException e) {<a name="line.276"></a>
+<span class="sourceLineNo">277</span>          LOG.trace("Failed to get space consumed by path={}", f, e);<a name="line.277"></a>
+<span class="sourceLineNo">278</span>          return -1;<a name="line.278"></a>
+<span class="sourceLineNo">279</span>        }<a name="line.279"></a>
+<span class="sourceLineNo">280</span>      }<a name="line.280"></a>
+<span class="sourceLineNo">281</span>    });<a name="line.281"></a>
+<span class="sourceLineNo">282</span>  }<a name="line.282"></a>
+<span class="sourceLineNo">283</span><a name="line.283"></a>
+<span class="sourceLineNo">284</span>  /**<a name="line.284"></a>
+<span class="sourceLineNo">285</span>   * Run the given files through each of the cleaners to see if it should be deleted, deleting it if<a name="line.285"></a>
+<span class="sourceLineNo">286</span>   * necessary.<a name="line.286"></a>
+<span class="sourceLineNo">287</span>   * @param files List of FileStatus for the files to check (and possibly delete)<a name="line.287"></a>
+<span class="sourceLineNo">288</span>   * @return true iff successfully deleted all files<a name="line.288"></a>
+<span class="sourceLineNo">289</span>   */<a name="line.289"></a>
+<span class="sourceLineNo">290</span>  private boolean checkAndDeleteFiles(List&lt;FileStatus&gt; files) {<a name="line.290"></a>
+<span class="sourceLineNo">291</span>    if (files == null) {<a name="line.291"></a>
+<span class="sourceLineNo">292</span>      return true;<a name="line.292"></a>
+<span class="sourceLineNo">293</span>    }<a name="line.293"></a>
+<span class="sourceLineNo">294</span><a name="line.294"></a>
+<span class="sourceLineNo">295</span>    // first check to see if the path is valid<a name="line.295"></a>
+<span class="sourceLineNo">296</span>    List&lt;FileStatus&gt; validFiles = Lists.newArrayListWithCapacity(files.size());<a name="line.296"></a>
+<span class="sourceLineNo">297</span>    List&lt;FileStatus&gt; invalidFiles = Lists.newArrayList();<a name="line.297"></a>
+<span class="sourceLineNo">298</span>    for (FileStatus file : files) {<a name="line.298"></a>
+<span class="sourceLineNo">299</span>      if (validate(file.getPath())) {<a name="line.299"></a>
+<span class="sourceLineNo">300</span>        validFiles.add(file);<a name="line.300"></a>
+<span class="sourceLineNo">301</span>      } else {<a name="line.301"></a>
+<span class="sourceLineNo">302</span>        LOG.warn("Found a wrongly formatted file: " + file.getPath() + " - will delete it.");<a name="line.302"></a>
+<span class="sourceLineNo">303</span>        invalidFiles.add(file);<a name="line.303"></a>
+<span class="sourceLineNo">304</span>      }<a name="line.304"></a>
+<span class="sourceLineNo">305</span>    }<a name="line.305"></a>
+<span class="sourceLineNo">306</span><a name="line.306"></a>
+<span class="sourceLineNo">307</span>    Iterable&lt;FileStatus&gt; deletableValidFiles = validFiles;<a name="line.307"></a>
+<span class="sourceLineNo">308</span>    // check each of the cleaners for the valid files<a name="line.308"></a>
+<span class="sourceLineNo">309</span>    for (T cleaner : cleanersChain) {<a name="line.309"></a>
+<span class="sourceLineNo">310</span>      if (cleaner.isStopped() || this.getStopper().isStopped()) {<a name="line.310"></a>
+<span class="sourceLineNo">311</span>        LOG.warn("A file cleaner" + this.getName() + " is stopped, won't delete any more files in:"<a name="line.311"></a>
+<span class="sourceLineNo">312</span>            + this.oldFileDir);<a name="line.312"></a>
+<span class="sourceLineNo">313</span>        return false;<a name="line.313"></a>
+<span class="sourceLineNo">314</span>      }<a name="line.314"></a>
+<span class="sourceLineNo">315</span><a name="line.315"></a>
+<span class="sourceLineNo">316</span>      Iterable&lt;FileStatus&gt; filteredFiles = cleaner.getDeletableFiles(deletableValidFiles);<a name="line.316"></a>
+<span class="sourceLineNo">317</span>      <a name="line.317"></a>
+<span class="sourceLineNo">318</span>      // trace which cleaner is holding on to each file<a name="line.318"></a>
+<span class="sourceLineNo">319</span>      if (LOG.isTraceEnabled()) {<a name="line.319"></a>
+<span class="sourceLineNo">320</span>        ImmutableSet&lt;FileStatus&gt; filteredFileSet = ImmutableSet.copyOf(filteredFiles);<a name="line.320"></a>
+<span class="sourceLineNo">321</span>        for (FileStatus file : deletableValidFiles) {<a name="line.321"></a>
+<span class="sourceLineNo">322</span>          if (!filteredFileSet.contains(file)) {<a name="line.322"></a>
+<span class="sourceLineNo">323</span>            LOG.trace(file.getPath() + " is not deletable according to:" + cleaner);<a name="line.323"></a>
+<span class="sourceLineNo">324</span>          }<a name="line.324"></a>
+<span class="sourceLineNo">325</span>        }<a name="line.325"></a>
+<span class="sourceLineNo">326</span>      }<a name="line.326"></a>
+<span class="sourceLineNo">327</span>      <a name="line.327"></a>
+<span class="sourceLineNo">328</span>      deletableValidFiles = filteredFiles;<a name="line.328"></a>
+<span class="sourceLineNo">329</span>    }<a name="line.329"></a>
+<span class="sourceLineNo">330</span>    <a name="line.330"></a>
+<span class="sourceLineNo">331</span>    Iterable&lt;FileStatus&gt; filesToDelete = Iterables.concat(invalidFiles, deletableValidFiles);<a name="line.331"></a>
+<span class="sourceLineNo">332</span>    return deleteFiles(filesToDelete) == files.size();<a name="line.332"></a>
+<span class="sourceLineNo">333</span>  }<a name="line.333"></a>
+<span class="sourceLineNo">334</span><a name="line.334"></a>
+<span class="sourceLineNo">335</span>  /**<a name="line.335"></a>
+<span class="sourceLineNo">336</span>   * Delete the given files<a name="line.336"></a>
+<span class="sourceLineNo">337</span>   * @param filesToDelete files to delete<a name="line.337"></a>
+<span class="sourceLineNo">338</span>   * @return number of deleted files<a name="line.338"></a>
+<span class="sourceLineNo">339</span>   */<a name="line.339"></a>
+<span class="sourceLineNo">340</span>  protected int deleteFiles(Iterable&lt;FileStatus&gt; filesToDelete) {<a name="line.340"></a>
+<span class="sourceLineNo">341</span>    int deletedFileCount = 0;<a name="line.341"></a>
+<span class="sourceLineNo">342</span>    for (FileStatus file : filesToDelete) {<a name="line.342"></a>
+<span class="sourceLineNo">343</span>      Path filePath = file.getPath();<a name="line.343"></a>
+<span class="sourceLineNo">344</span>      LOG.trace("Removing {} from archive", filePath);<a name="line.344"></a>
+<span class="sourceLineNo">345</span>      try {<a name="line.345"></a>
+<span class="sourceLineNo">346</span>        boolean success = this.fs.delete(filePath, false);<a name="line.346"></a>
+<span class="sourceLineNo">347</span>        if (success) {<a name="line.347"></a>
+<span class="sourceLineNo">348</span>          deletedFileCount++;<a name="line.348"></a>
+<span class="sourceLineNo">349</span>        } else {<a name="line.349"></a>
+<span class="sourceLineNo">350</span>          LOG.warn("Attempted to delete:" + filePath<a name="line.350"></a>
+<span class="sourceLineNo">351</span>              + ", but couldn't. Run cleaner chain and attempt to delete on next pass.");<a name="line.351"></a>
+<span class="sourceLineNo">352</span>        }<a name="line.352"></a>
+<span class="sourceLineNo">353</span>      } catch (IOException e) {<a name="line.353"></a>
+<span class="sourceLineNo">354</span>        e = e instanceof RemoteException ?<a name="line.354"></a>
+<span class="sourceLineNo">355</span>                  ((RemoteException)e).unwrapRemoteException() : e;<a name="line.355"></a>
+<span class="sourceLineNo">356</span>        LOG.warn("Error while deleting: " + filePath, e);<a name="line.356"></a>
+<span class="sourceLineNo">357</span>      }<a name="line.357"></a>
+<span class="sourceLineNo">358</span>    }<a name="line.358"></a>
+<span class="sourceLineNo">359</span>    return deletedFileCount;<a name="line.359"></a>
+<span class="sourceLineNo">360</span>  }<a name="line.360"></a>
+<span class="sourceLineNo">361</span><a name="line.361"></a>
+<span class="sourceLineNo">362</span>  @Override<a name="line.362"></a>
+<span class="sourceLineNo">363</span>  public void cleanup() {<a name="line.363"></a>
+<span class="sourceLineNo">364</span>    for (T lc : this.cleanersChain) {<a name="line.364"></a>
+<span class="sourceLineNo">365</span>      try {<a name="line.365"></a>
+<span class="sourceLineNo">366</span>        lc.stop("Exiting");<a name="line.366"></a>
+<span class="sourceLineNo">367</span>      } catch (Throwable t) {<a name="line.367"></a>
+<span class="sourceLineNo">368</span>        LOG.warn("Stopping", t);<a name="line.368"></a>
+<span class="sourceLineNo">369</span>      }<a name="line.369"></a>
+<span class="sourceLineNo">370</span>    }<a name="line.370"></a>
+<span class="sourceLineNo">371</span>  }<a name="line.371"></a>
+<span class="sourceLineNo">372</span><a name="line.372"></a>
+<span class="sourceLineNo">373</span>  @VisibleForTesting<a name="line.373"></a>
+<span class="sourceLineNo">374</span>  int getChorePoolSize() {<a name="line.374"></a>
+<span class="sourceLineNo">375</span>    return chorePoolSize;<a name="line.375"></a>
+<span class="sourceLineNo">376</span>  }<a name="line.376"></a>
+<span class="sourceLineNo">377</span><a name="line.377"></a>
+<span class="sourceLineNo">378</span>  /**<a name="line.378"></a>
+<span class="sourceLineNo">379</span>   * @param enabled<a name="line.379"></a>
+<span class="sourceLineNo">380</span>   */<a name="line.380"></a>
+<span class="sourceLineNo">381</span>  public boolean setEnabled(final boolean enabled) {<a name="line.381"></a>
+<span class="sourceLineNo">382</span>    return this.enabled.getAndSet(enabled);<a name="line.382"></a>
+<span class="sourceLineNo">383</span>  }<a name="line.383"></a>
+<span class="sourceLineNo">384</span><a name="line.384"></a>
+<span class="sourceLineNo">385</span>  public boolean getEnabled() {<a name="line.385"></a>
+<span class="sourceLineNo">386</span>    return this.enabled.get();<a name="line.386"></a>
+<span class="sourceLineNo">387</span>  }<a name="line.387"></a>
+<span class="sourceLineNo">388</span><a name="line.388"></a>
+<span class="sourceLineNo">389</span>  private interface Action&lt;T&gt; {<a name="line.389"></a>
+<span class="sourceLineNo">390</span>    T act() throws IOException;<a name="line.390"></a>
+<span class="sourceLineNo">391</span>  }<a name="line.391"></a>
+<span class="sourceLineNo">392</span><a name="line.392"></a>
+<span class="sourceLineNo">393</span>  private class CleanerTask extends RecursiveTask&lt;Boolean&gt; {<a name="line.393"></a>
+<span class="sourceLineNo">394</span>    private final Path dir;<a name="line.394"></a>
+<span class="sourceLineNo">395</span>    private final boolean root;<a name="line.395"></a>
+<span class="sourceLineNo">396</span><a name="line.396"></a>
+<span class="sourceLineNo">397</span>    CleanerTask(final FileStatus dir, final boolean root) {<a name="line.397"></a>
+<span class="sourceLineNo">398</span>      this(dir.getPath(), root);<a name="line.398"></a>
+<span class="sourceLineNo">399</span>    }<a name="line.399"></a>
+<span class="sourceLineNo">400</span><a name="line.400"></a>
+<span class="sourceLineNo">401</span>    CleanerTask(final Path dir, final boolean root) {<a name="line.401"></a>
+<span class="sourceLineNo">402</span>      this.dir = dir;<a name="line.402"></a>
+<span class="sourceLineNo">403</span>      this.root = root;<a name="line.403"></a>
+<span class="sourceLineNo">404</span>    }<a name="line.404"></a>
+<span class="sourceLineNo">405</span><a name="line.405"></a>
+<span class="sourceLineNo">406</span>    @Override<a name="line.406"></a>
+<span class="sourceLineNo">407</span>    protected Boolean compute() {<a name="line.407"></a>
+<span class="sourceLineNo">408</span>      if (LOG.isDebugEnabled()) {<a name="line.408"></a>
+<span class="sourceLineNo">409</span>        LOG.debug("CleanerTask " + Thread.currentThread().getId() +<a name="line.409"></a>
+<span class="sourceLineNo">410</span>          " starts cleaning dirs and files under " + dir + " and itself.");<a name="line.410"></a>
+<span class="sourceLineNo">411</span>      }<a name="line.411"></a>
+<span class="sourceLineNo">412</span><a name="line.412"></a>
+<span class="sourceLineNo">413</span>      List&lt;FileStatus&gt; subDirs;<a name="line.413"></a>
+<span class="sourceLineNo">414</span>      List&lt;FileStatus&gt; files;<a name="line.414"></a>
+<span class="sourceLineNo">415</span>      try {<a name="line.415"></a>
+<span class="sourceLineNo">416</span>        subDirs = getFilteredStatus(status -&gt; status.isDirectory());<a name="line.416"></a>
+<span class="sourceLineNo">417</span>        files = getFilteredStatus(status -&gt; status.isFile());<a name="line.417"></a>
+<span class="sourceLineNo">418</span>      } catch (IOException ioe) {<a name="line.418"></a>
+<span class="sourceLineNo">419</span>        LOG.warn(dir + " doesn't exist, just skip it. ", ioe);<a name="line.419"></a>
+<span class="sourceLineNo">420</span>        return true;<a name="line.420"></a>
+<span class="sourceLineNo">421</span>      }<a name="line.421"></a>
+<span class="sourceLineNo">422</span><a name="line.422"></a>
+<span class="sourceLineNo">423</span>      boolean nullSubDirs = subDirs == null;<a name="line.423"></a>
+<span class="sourceLineNo">424</span>      if (nullSubDirs) {<a name="line.424"></a>
+<span class="sourceLineNo">425</span>        LOG.trace("There is no subdir under {}", dir);<a name="line.425"></a>
+<span class="sourceLineNo">426</span>      }<a name="line.426"></a>
+<span class="sourceLineNo">427</span>      if (files == null) {<a name="line.427"></a>
+<span class="sourceLineNo">428</span>        LOG.trace("There is no file under {}", dir);<a name="line.428"></a>
+<span class="sourceLineNo">429</span>      }<a name="line.429"></a>
+<span class="sourceLineNo">430</span><a name="line.430"></a>
+<span class="sourceLineNo">431</span>      int capacity = nullSubDirs ? 0 : subDirs.size();<a name="line.431"></a>
+<span class="sourceLineNo">432</span>      List&lt;CleanerTask&gt; tasks = Lists.newArrayListWithCapacity(capacity);<a name="line.432"></a>
+<span class="sourceLineNo">433</span>      if (!nullSubDirs) {<a name="line.433"></a>
+<span class="sourceLineNo">434</span>        sortByConsumedSpace(subDirs);<a name="line.434"></a>
+<span class="sourceLineNo">435</span>        for (FileStatus subdir : subDirs) {<a name="line.435"></a>
+<span class="sourceLineNo">436</span>          CleanerTask task = new CleanerTask(subdir, false);<a name="line.436"></a>
+<span class="sourceLineNo">437</span>          tasks.add(task);<a name="line.437"></a>
+<span class="sourceLineNo">438</span>          task.fork();<a name="line.438"></a>
+<span class="sourceLineNo">439</span>        }<a name="line.439"></a>
+<span class="sourceLineNo">440</span>      }<a name="line.440"></a>
+<span class="sourceLineNo">441</span><a name="line.441"></a>
+<span class="sourceLineNo">442</span>      boolean result = true;<a name="line.442"></a>
+<span class="sourceLineNo">443</span>      result &amp;= deleteAction(() -&gt; checkAndDeleteFiles(files), "files");<a name="line.443"></a>
+<span class="sourceLineNo">444</span>      result &amp;= deleteAction(() -&gt; getCleanResult(tasks), "subdirs");<a name="line.444"></a>
+<span class="sourceLineNo">445</span>      // if and only if files and subdirs under current dir are deleted successfully, and<a name="line.445"></a>
+<span class="sourceLineNo">446</span>      // it is not the root dir, then task will try to delete it.<a name="line.446"></a>
+<span class="sourceLineNo">447</span>      if (result &amp;&amp; !root) {<a name="line.447"></a>
+<span class="sourceLineNo">448</span>        result &amp;= deleteAction(() -&gt; fs.delete(dir, false), "dir");<a name="line.448"></a>
+<span class="sourceLineNo">449</span>      }<a name="line.449"></a>
+<span class="sourceLineNo">450</span>      return result;<a name="line.450"></a>
+<span class="sourceLineNo">451</span>    }<a name="line.451"></a>
+<span class="sourceLineNo">452</span><a name="line.452"></a>
+<span class="sourceLineNo">453</span>    /**<a name="line.453"></a>
+<span class="sourceLineNo">454</span>     * Get FileStatus with filter.<a name="line.454"></a>
+<span class="sourceLineNo">455</span>     * Pay attention that FSUtils #listStatusWithStatusFilter would return null,<a name="line.455"></a>
+<span class="sourceLineNo">456</span>     * even though status is empty but not null.<a name="line.456"></a>
+<span class="sourceLineNo">457</span>     * @param function a filter function<a name="line.457"></a>
+<span class="sourceLineNo">458</span>     * @return filtered FileStatus<a name="line.458"></a>
+<span class="sourceLineNo">459</span>     * @throws IOException if there's no such a directory<a name="line.459"></a>
+<span class="sourceLineNo">460</span>     */<a name="line.460"></a>
+<span class="sourceLineNo">461</span>    private List&lt;FileStatus&gt; getFilteredStatus(Predicate&lt;FileStatus&gt; function) throws IOException {<a name="line.461"></a>
+<span class="sourceLineNo">462</span>      return FSUtils.listStatusWithStatusFilter(fs, dir, status -&gt; function.test(status));<a name="line.462"></a>
+<span class="sourceLineNo">463</span>    }<a name="line.463"></a>
+<span class="sourceLineNo">464</span><a name="line.464"></a>
+<span class="sourceLineNo">465</span>    /**<a name="line.465"></a>
+<span class="sourceLineNo">466</span>     * Perform a delete on a specified type.<a name="line.466"></a>
+<span class="sourceLineNo">467</span>     * @param deletion a delete<a name="line.467"></a>
+<span class="sourceLineNo">468</span>     * @param type possible values are 'files', 'subdirs', 'dirs'<a name="line.468"></a>
+<span class="sourceLineNo">469</span>     * @return true if it deleted successfully, false otherwise<a name="line.469"></a>
+<span class="sourceLineNo">470</span>     */<a name="line.470"></a>
+<span class="sourceLineNo">471</span>    private boolean deleteAction(Action&lt;Boolean&gt; deletion, String type) {<a name="line.471"></a>
+<span class="sourceLineNo">472</span>      boolean deleted;<a name="line.472"></a>
+<span class="sourceLineNo">473</span>      String errorMsg = null;<a name="line.473"></a>
+<span class="sourceLineNo">474</span>      try {<a name="line.474"></a>
+<span class="sourceLineNo">475</span>        LOG.trace("Start deleting {} under {}", type, dir);<a name="line.475"></a>
+<span class="sourceLineNo">476</span>        deleted = deletion.act();<a name="line.476"></a>
+<span class="sourceLineNo">477</span>      } catch (IOException ioe) {<a name="line.477"></a>
+<span class="sourceLineNo">478</span>        errorMsg = ioe.getMessage();<a name="line.478"></a>
+<span class="sourceLineNo">479</span>        LOG.warn("Could not delete {} under {}; {}", type, dir, errorMsg);<a name="line.479"></a>
+<span class="sourceLineNo">480</span>        deleted = false;<a name="line.480"></a>
+<span class="sourceLineNo">481</span>      }<a name="line.481"></a>
+<span class="sourceLineNo">482</span>      LOG.trace("Finish deleting {} under {}, deleted=", type, dir, deleted);<a name="line.482"></a>
+<span class="sourceLineNo">483</span>      return deleted;<a name="line.483"></a>
+<span class="sourceLineNo">484</span>    }<a name="line.484"></a>
+<span class="sourceLineNo">485</span><a name="line.485"></a>
+<span class="sourceLineNo">486</span>    /**<a name="line.486"></a>
+<span class="sourceLineNo">487</span>     * Get cleaner results of subdirs.<a name="line.487"></a>
+<span class="sourceLineNo">488</span>     * @param tasks subdirs cleaner tasks<a name="line.488"></a>
+<span class="sourceLineNo">489</span>     * @return true if all subdirs deleted successfully, false for patial/all failures<a name="line.489"></a>
+<span class="sourceLineNo">490</span>     * @throws IOException something happen during computation<a name="line.490"></a>
+<span class="sourceLineNo">491</span>     */<a name="line.491"></a>
+<span class="sourceLineNo">492</span>    private boolean getCleanResult(List&lt;CleanerTask&gt; tasks) throws IOException {<a name="line.492"></a>
+<span class="sourceLineNo">493</span>      boolean cleaned = true;<a name="line.493"></a>
+<span class="sourceLineNo">494</span>      try {<a name="line.494"></a>
+<span class="sourceLineNo">495</span>        for (CleanerTask task : tasks) {<a name="line.495"></a>
+<span class="sourceLineNo">496</span>          cleaned &amp;= task.get();<a name="line.496"></a>
+<span class="sourceLineNo">497</span>        }<a name="line.497"></a>
+<span class="sourceLineNo">498</span>      } catch (InterruptedException | ExecutionException e) {<a name="line.498"></a>
+<span class="sourceLineNo">499</span>        throw new IOException(e);<a name="line.499"></a>
+<span class="sourceLineNo">500</span>      }<a name="line.500"></a>
+<span class="sourceLineNo">501</span>      return cleaned;<a name="line.501"></a>
+<span class="sourceLineNo">502</span>    }<a name="line.502"></a>
+<span class="sourceLineNo">503</span>  }<a name="line.503"></a>
+<span class="sourceLineNo">504</span>}<a name="line.504"></a>
 
 
 


[14/15] hbase-site git commit: Published site at .

Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/checkstyle-aggregate.html
----------------------------------------------------------------------
diff --git a/checkstyle-aggregate.html b/checkstyle-aggregate.html
index a9a5701..a59406c 100644
--- a/checkstyle-aggregate.html
+++ b/checkstyle-aggregate.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Checkstyle Results</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -286,10 +286,10 @@
 <th><img src="images/icon_warning_sml.gif" alt="" />&#160;Warnings</th>
 <th><img src="images/icon_error_sml.gif" alt="" />&#160;Errors</th></tr>
 <tr class="b">
-<td>3471</td>
+<td>3470</td>
 <td>0</td>
 <td>0</td>
-<td>18828</td></tr></table></div>
+<td>18827</td></tr></table></div>
 <div class="section">
 <h2><a name="Files"></a>Files</h2>
 <table border="0" class="table table-striped">
@@ -8732,7 +8732,7 @@
 <td><a href="#org.apache.hadoop.hbase.regionserver.wal.ProtobufLogReader.java">org/apache/hadoop/hbase/regionserver/wal/ProtobufLogReader.java</a></td>
 <td>0</td>
 <td>0</td>
-<td>25</td></tr>
+<td>24</td></tr>
 <tr class="a">
 <td><a href="#org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter.java">org/apache/hadoop/hbase/regionserver/wal/ProtobufLogWriter.java</a></td>
 <td>0</td>
@@ -11702,7 +11702,7 @@
 <li>sortStaticImportsAlphabetically: <tt>&quot;true&quot;</tt></li>
 <li>groups: <tt>&quot;*,org.apache.hbase.thirdparty,org.apache.hadoop.hbase.shaded&quot;</tt></li>
 <li>option: <tt>&quot;top&quot;</tt></li></ul></td>
-<td>1989</td>
+<td>1988</td>
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td></tr>
 <tr class="a">
 <td></td>
@@ -11732,12 +11732,12 @@
 <td><a class="externalLink" href="http://checkstyle.sourceforge.net/config_javadoc.html#JavadocTagContinuationIndentation">JavadocTagContinuationIndentation</a>
 <ul>
 <li>offset: <tt>&quot;2&quot;</tt></li></ul></td>
-<td>813</td>
+<td>797</td>
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td></tr>
 <tr class="a">
 <td></td>
 <td><a class="externalLink" href="http://checkstyle.sourceforge.net/config_javadoc.html#NonEmptyAtclauseDescription">NonEmptyAtclauseDescription</a></td>
-<td>4123</td>
+<td>4139</td>
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td></tr>
 <tr class="b">
 <td>misc</td>
@@ -16261,7 +16261,7 @@
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
-<td>JavadocTagContinuationIndentation</td>
+<td>NonEmptyAtclauseDescription</td>
 <td>Javadoc comment at column 26 has parse error. Missed HTML close tag 'arg'. Sometimes it means that close tag missed for one of previous tags.</td>
 <td>43</td></tr></table></div>
 <div class="section">
@@ -16885,7 +16885,7 @@
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
-<td>JavadocTagContinuationIndentation</td>
+<td>NonEmptyAtclauseDescription</td>
 <td>Javadoc comment at column 4 has parse error. Missed HTML close tag 'pre'. Sometimes it means that close tag missed for one of previous tags.</td>
 <td>59</td></tr></table></div>
 <div class="section">
@@ -19015,7 +19015,7 @@
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
-<td>JavadocTagContinuationIndentation</td>
+<td>NonEmptyAtclauseDescription</td>
 <td>Javadoc comment at column 19 has parse error. Details: no viable alternative at input '&lt;code&gt;\n   *   List&lt;Future&lt;' while parsing HTML_TAG</td>
 <td>165</td></tr></table></div>
 <div class="section">
@@ -22057,7 +22057,7 @@
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
-<td>JavadocTagContinuationIndentation</td>
+<td>NonEmptyAtclauseDescription</td>
 <td>Javadoc comment at column 2 has parse error. Unrecognized error from ANTLR parser: null</td>
 <td>83</td></tr>
 <tr class="a">
@@ -23440,7 +23440,7 @@
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
-<td>JavadocTagContinuationIndentation</td>
+<td>NonEmptyAtclauseDescription</td>
 <td>Javadoc comment at column 43 has parse error. Missed HTML close tag 'TableName'. Sometimes it means that close tag missed for one of previous tags.</td>
 <td>179</td></tr>
 <tr class="b">
@@ -39487,7 +39487,7 @@
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
-<td>JavadocTagContinuationIndentation</td>
+<td>NonEmptyAtclauseDescription</td>
 <td>Javadoc comment at column 37 has parse error. Details: no viable alternative at input '&lt;ColumnFamily,' while parsing HTML_ELEMENT</td>
 <td>29</td></tr></table></div>
 <div class="section">
@@ -57439,7 +57439,7 @@
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
-<td>JavadocTagContinuationIndentation</td>
+<td>NonEmptyAtclauseDescription</td>
 <td>Javadoc comment at column 24 has parse error. Details: no viable alternative at input '&lt;key,' while parsing HTML_ELEMENT</td>
 <td>25</td></tr>
 <tr class="a">
@@ -61213,7 +61213,7 @@
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
-<td>JavadocTagContinuationIndentation</td>
+<td>NonEmptyAtclauseDescription</td>
 <td>Javadoc comment at column 2 has parse error. Unrecognized error from ANTLR parser: null</td>
 <td>583</td></tr>
 <tr class="b">
@@ -78471,7 +78471,7 @@
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
-<td>373</td></tr></table></div>
+<td>379</td></tr></table></div>
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.master.cleaner.FileCleanerDelegate.java">org/apache/hadoop/hbase/master/cleaner/FileCleanerDelegate.java</h3>
 <table border="0" class="table table-striped">
@@ -83548,7 +83548,7 @@
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
-<td>JavadocTagContinuationIndentation</td>
+<td>NonEmptyAtclauseDescription</td>
 <td>Javadoc comment at column 60 has parse error. Missed HTML close tag 'Comparable'. Sometimes it means that close tag missed for one of previous tags.</td>
 <td>28</td></tr>
 <tr class="a">
@@ -88186,7 +88186,7 @@
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
-<td>JavadocTagContinuationIndentation</td>
+<td>NonEmptyAtclauseDescription</td>
 <td>Javadoc comment at column 0 has parse error. Unrecognized error from ANTLR parser: null</td>
 <td>74</td></tr>
 <tr class="b">
@@ -99673,7 +99673,7 @@
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
-<td>JavadocTagContinuationIndentation</td>
+<td>NonEmptyAtclauseDescription</td>
 <td>Javadoc comment at column 33 has parse error. Missed HTML close tag 'number'. Sometimes it means that close tag missed for one of previous tags.</td>
 <td>124</td></tr>
 <tr class="a">
@@ -107150,68 +107150,56 @@
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
-<td>Wrong order for 'org.apache.hadoop.conf.Configuration' import.</td>
-<td>32</td></tr>
-<tr class="a">
-<td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
-<td>imports</td>
-<td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.fs.FileSystem' import.</td>
-<td>34</td></tr>
-<tr class="b">
+<td>31</td></tr>
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.fs.FSDataInputStream' import.</td>
-<td>35</td></tr>
-<tr class="a">
+<td>32</td></tr>
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.HBaseInterfaceAudience' import.</td>
-<td>38</td></tr>
-<tr class="b">
+<td>34</td></tr>
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.util.Bytes' import.</td>
-<td>44</td></tr>
-<tr class="a">
+<td>40</td></tr>
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 112).</td>
-<td>104</td></tr>
-<tr class="b">
+<td>105</td></tr>
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 153).</td>
-<td>107</td></tr>
-<tr class="a">
+<td>108</td></tr>
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'method def' child have incorrect indentation level 6, expected level should be 4.</td>
-<td>184</td></tr>
-<tr class="b">
+<td>185</td></tr>
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'method def' child have incorrect indentation level 5, expected level should be 4.</td>
-<td>189</td></tr>
-<tr class="a">
+<td>190</td></tr>
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>190</td></tr>
-<tr class="b">
-<td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
-<td>indentation</td>
-<td>Indentation</td>
-<td>'if' have incorrect indentation level 5, expected level should be 4.</td>
-<td>190</td></tr>
+<td>191</td></tr>
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
@@ -107222,102 +107210,108 @@
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
-<td>'if' child have incorrect indentation level 7, expected level should be 6.</td>
-<td>193</td></tr>
+<td>'if' have incorrect indentation level 5, expected level should be 4.</td>
+<td>192</td></tr>
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
-<td>'if rcurly' have incorrect indentation level 5, expected level should be 4.</td>
+<td>'if' child have incorrect indentation level 7, expected level should be 6.</td>
 <td>194</td></tr>
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
-<td>'method def' child have incorrect indentation level 5, expected level should be 4.</td>
+<td>'if rcurly' have incorrect indentation level 5, expected level should be 4.</td>
 <td>195</td></tr>
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
-<td>'if' have incorrect indentation level 5, expected level should be 4.</td>
+<td>'method def' child have incorrect indentation level 5, expected level should be 4.</td>
 <td>196</td></tr>
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
-<td>'if' child have incorrect indentation level 7, expected level should be 6.</td>
+<td>'if' have incorrect indentation level 5, expected level should be 4.</td>
 <td>197</td></tr>
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
-<td>'if rcurly' have incorrect indentation level 5, expected level should be 4.</td>
+<td>'if' child have incorrect indentation level 7, expected level should be 6.</td>
 <td>198</td></tr>
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
-<td>'method def' child have incorrect indentation level 5, expected level should be 4.</td>
+<td>'if rcurly' have incorrect indentation level 5, expected level should be 4.</td>
 <td>199</td></tr>
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
+<td>indentation</td>
+<td>Indentation</td>
+<td>'method def' child have incorrect indentation level 5, expected level should be 4.</td>
+<td>200</td></tr>
+<tr class="b">
+<td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 194).</td>
-<td>235</td></tr>
-<tr class="b">
+<td>236</td></tr>
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
-<td>258</td></tr>
-<tr class="a">
+<td>259</td></tr>
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>263</td></tr>
-<tr class="b">
+<td>264</td></tr>
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 181).</td>
-<td>407</td></tr>
-<tr class="a">
+<td>408</td></tr>
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 156).</td>
-<td>414</td></tr>
-<tr class="b">
+<td>415</td></tr>
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>436</td></tr></table></div>
+<td>437</td></tr></table></div>
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter.java">org/apache/hadoop/hbase/regionserver/wal/ProtobufLogWriter.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.util.CommonFSUtils' import.</td>
 <td>33</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>65</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -107326,13 +107320,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.ReaderBase.java">org/apache/hadoop/hbase/regionserver/wal/ReaderBase.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -107341,19 +107335,19 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.SecureProtobufLogReader.java">org/apache/hadoop/hbase/regionserver/wal/SecureProtobufLogReader.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.fs.FSDataInputStream' import.</td>
 <td>30</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
@@ -107362,13 +107356,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.SecureProtobufLogWriter.java">org/apache/hadoop/hbase/regionserver/wal/SecureProtobufLogWriter.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
@@ -107377,19 +107371,19 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.SecureWALCellCodec.java">org/apache/hadoop/hbase/regionserver/wal/SecureWALCellCodec.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.conf.Configuration' import.</td>
 <td>29</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
@@ -107398,97 +107392,97 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.SequenceIdAccounting.java">org/apache/hadoop/hbase/regionserver/wal/SequenceIdAccounting.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'java.util.ArrayList' import.</td>
 <td>24</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.util.Bytes' import.</td>
 <td>38</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>108</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>JavadocTagContinuationIndentation</td>
 <td>Line continuation have incorrect indentation level, expected level should be 2.</td>
 <td>110</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>123</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>124</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>JavadocTagContinuationIndentation</td>
 <td>Line continuation have incorrect indentation level, expected level should be 2.</td>
 <td>153</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>165</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>166</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>167</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>239</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>JavadocTagContinuationIndentation</td>
 <td>Line continuation have incorrect indentation level, expected level should be 2.</td>
 <td>261</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>JavadocTagContinuationIndentation</td>
 <td>Line continuation have incorrect indentation level, expected level should be 2.</td>
 <td>262</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>JavadocTagContinuationIndentation</td>
 <td>Line continuation have incorrect indentation level, expected level should be 2.</td>
 <td>263</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>JavadocTagContinuationIndentation</td>
@@ -107497,13 +107491,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.TestAsyncFSWAL.java">org/apache/hadoop/hbase/regionserver/wal/TestAsyncFSWAL.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
@@ -107512,13 +107506,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.TestAsyncProtobufLog.java">org/apache/hadoop/hbase/regionserver/wal/TestAsyncProtobufLog.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
@@ -107527,13 +107521,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.TestAsyncWALReplay.java">org/apache/hadoop/hbase/regionserver/wal/TestAsyncWALReplay.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
@@ -107542,13 +107536,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.TestCompressor.java">org/apache/hadoop/hbase/regionserver/wal/TestCompressor.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
@@ -107557,103 +107551,103 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.TestDurability.java">org/apache/hadoop/hbase/regionserver/wal/TestDurability.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'while' construct must use '{}'s.</td>
 <td>273</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>whitespace</td>
 <td>MethodParamPad</td>
 <td>'(' is preceded with whitespace.</td>
 <td>279</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'method def' child have incorrect indentation level 6, expected level should be 4.</td>
 <td>282</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'method def' child have incorrect indentation level 6, expected level should be 4.</td>
 <td>283</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'method def' child have incorrect indentation level 6, expected level should be 4.</td>
 <td>284</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'method def' child have incorrect indentation level 6, expected level should be 4.</td>
 <td>285</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'method def' child have incorrect indentation level 6, expected level should be 4.</td>
 <td>286</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'method def' child have incorrect indentation level 6, expected level should be 4.</td>
 <td>287</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' have incorrect indentation level 6, expected level should be 4.</td>
 <td>288</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' have incorrect indentation level 8, expected level should be 6.</td>
 <td>289</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' child have incorrect indentation level 10, expected level should be 8.</td>
 <td>290</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if rcurly' have incorrect indentation level 8, expected level should be 6.</td>
 <td>291</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if rcurly' have incorrect indentation level 6, expected level should be 4.</td>
 <td>292</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'method def' child have incorrect indentation level 6, expected level should be 4.</td>
 <td>293</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'method def' child have incorrect indentation level 6, expected level should be 4.</td>
 <td>294</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
@@ -107662,25 +107656,25 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.TestFSHLog.java">org/apache/hadoop/hbase/regionserver/wal/TestFSHLog.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.junit.Assert.assertEquals' import.</td>
 <td>56</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 117).</td>
 <td>106</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
@@ -107689,13 +107683,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.TestFSWALEntry.java">org/apache/hadoop/hbase/regionserver/wal/TestFSWALEntry.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
@@ -107704,13 +107698,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.TestLogRollAbort.java">org/apache/hadoop/hbase/regionserver/wal/TestLogRollAbort.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
@@ -107719,25 +107713,25 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.TestLogRolling.java">org/apache/hadoop/hbase/regionserver/wal/TestLogRolling.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>232</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>339</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -107746,31 +107740,31 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.TestLogRollingNoCluster.java">org/apache/hadoop/hbase/regionserver/wal/TestLogRollingNoCluster.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>77</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>78</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>172</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -107779,19 +107773,19 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.TestMetricsWAL.java">org/apache/hadoop/hbase/regionserver/wal/TestMetricsWAL.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'java.util.concurrent.TimeUnit' import.</td>
 <td>27</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
@@ -107800,19 +107794,19 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.TestMetricsWALSourceImpl.java">org/apache/hadoop/hbase/regionserver/wal/TestMetricsWALSourceImpl.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.testclassification.MetricsTests' import.</td>
 <td>22</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
@@ -107821,13 +107815,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.TestProtobufLog.java">org/apache/hadoop/hbase/regionserver/wal/TestProtobufLog.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
@@ -107836,13 +107830,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.TestWALReplay.java">org/apache/hadoop/hbase/regionserver/wal/TestWALReplay.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>UnusedImports</td>
@@ -107851,19 +107845,19 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.WALActionsListener.java">org/apache/hadoop/hbase/regionserver/wal/WALActionsListener.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>81</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>JavadocTagContinuationIndentation</td>
@@ -107872,43 +107866,43 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.WALCellCodec.java">org/apache/hadoop/hbase/regionserver/wal/WALCellCodec.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>UnusedImports</td>
 <td>Unused import - org.apache.hadoop.hbase.CellUtil.</td>
 <td>27</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.KeyValue' import.</td>
 <td>30</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.codec.BaseDecoder' import.</td>
 <td>33</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'array initialization lcurly' have incorrect indentation level 8, expected level should be one of the following: 4, 6.</td>
 <td>113</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'array initialization lcurly' have incorrect indentation level 8, expected level should be one of the following: 4, 6.</td>
 <td>131</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -107917,13 +107911,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.WALCoprocessorHost.java">org/apache/hadoop/hbase/regionserver/wal/WALCoprocessorHost.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>design</td>
 <td>FinalClass</td>
@@ -107932,13 +107926,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.regionserver.wal.WALUtil.java">org/apache/hadoop/hbase/regionserver/wal/WALUtil.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>design</td>
 <td>FinalClass</td>
@@ -107947,25 +107941,25 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.BaseReplicationEndpoint.java">org/apache/hadoop/hbase/replication/BaseReplicationEndpoint.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 101).</td>
 <td>54</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 106).</td>
 <td>62</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
@@ -107974,13 +107968,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.BulkLoadCellFilter.java">org/apache/hadoop/hbase/replication/BulkLoadCellFilter.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
@@ -107989,13 +107983,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.ChainWALEntryFilter.java">org/apache/hadoop/hbase/replication/ChainWALEntryFilter.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
@@ -108004,25 +107998,25 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.ClusterMarkingEntryFilter.java">org/apache/hadoop/hbase/replication/ClusterMarkingEntryFilter.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.wal.WALEdit' import.</td>
 <td>26</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.wal.WAL.Entry' import.</td>
 <td>28</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
@@ -108031,25 +108025,25 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.HBaseReplicationEndpoint.java">org/apache/hadoop/hbase/replication/HBaseReplicationEndpoint.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.Abortable' import.</td>
 <td>29</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>66</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -108058,19 +108052,19 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.NamespaceTableCfWALEntryFilter.java">org/apache/hadoop/hbase/replication/NamespaceTableCfWALEntryFilter.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.wal.WALEdit' import.</td>
 <td>31</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
@@ -108079,37 +108073,37 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.ReplicationEndpoint.java">org/apache/hadoop/hbase/replication/ReplicationEndpoint.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.conf.Configuration' import.</td>
 <td>29</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.replication.regionserver.MetricsSource' import.</td>
 <td>34</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>LeftCurly</td>
 <td>'{' at column 37 should have line break after.</td>
 <td>114</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>120</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>JavadocTagContinuationIndentation</td>
@@ -108118,13 +108112,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.ReplicationException.java">org/apache/hadoop/hbase/replication/ReplicationException.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
@@ -108133,25 +108127,25 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.ReplicationFactory.java">org/apache/hadoop/hbase/replication/ReplicationFactory.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.conf.Configuration' import.</td>
 <td>23</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>design</td>
 <td>HideUtilityClassConstructor</td>
 <td>Utility classes should not have a public or default constructor.</td>
 <td>31</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
@@ -108160,13 +108154,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.ReplicationPeerConfig.java">org/apache/hadoop/hbase/replication/ReplicationPeerConfig.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
@@ -108175,49 +108169,49 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.ReplicationPeerZKImpl.java">org/apache/hadoop/hbase/replication/ReplicationPeerZKImpl.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.zookeeper.ZKNodeTracker' import.</td>
 <td>36</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>80</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>104</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>211</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>221</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>243</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
@@ -108226,25 +108220,25 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.ReplicationPeers.java">org/apache/hadoop/hbase/replication/ReplicationPeers.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.util.Pair' import.</td>
 <td>29</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>79</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
@@ -108253,37 +108247,37 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.ReplicationPeersZKImpl.java">org/apache/hadoop/hbase/replication/ReplicationPeersZKImpl.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.replication.ReplicationPeer.PeerState' import.</td>
 <td>39</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>465</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>466</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>494</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -108292,133 +108286,133 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.ReplicationQueueInfo.java">org/apache/hadoop/hbase/replication/ReplicationQueueInfo.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.ServerName' import.</td>
 <td>29</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>70</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'case' child have incorrect indentation level 6, expected level should be 8.</td>
 <td>79</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'block' child have incorrect indentation level 8, expected level should be 10.</td>
 <td>80</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'block' child have incorrect indentation level 8, expected level should be 10.</td>
 <td>81</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'case' child have incorrect indentation level 6, expected level should be 8.</td>
 <td>82</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' have incorrect indentation level 8, expected level should be 10.</td>
 <td>83</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' have incorrect indentation level 10, expected level should be 12.</td>
 <td>84</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' child have incorrect indentation level 12, expected level should be 14.</td>
 <td>85</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' have incorrect indentation level 12, expected level should be 14.</td>
 <td>86</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' child have incorrect indentation level 14, expected level should be 16.</td>
 <td>87</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if rcurly' have incorrect indentation level 12, expected level should be 14.</td>
 <td>88</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'else' child have incorrect indentation level 14, expected level should be 16.</td>
 <td>89</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'else rcurly' have incorrect indentation level 12, expected level should be 14.</td>
 <td>90</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' child have incorrect indentation level 12, expected level should be 14.</td>
 <td>91</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if rcurly' have incorrect indentation level 10, expected level should be 12.</td>
 <td>92</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' child have incorrect indentation level 10, expected level should be 12.</td>
 <td>93</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if rcurly' have incorrect indentation level 8, expected level should be 10.</td>
 <td>94</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'block' child have incorrect indentation level 8, expected level should be 10.</td>
 <td>95</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'case' child have incorrect indentation level 6, expected level should be 8.</td>
 <td>96</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
@@ -108427,25 +108421,25 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.ReplicationQueues.java">org/apache/hadoop/hbase/replication/ReplicationQueues.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.util.Pair' import.</td>
 <td>26</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 106).</td>
 <td>93</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
@@ -108454,13 +108448,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.ReplicationQueuesClient.java">org/apache/hadoop/hbase/replication/ReplicationQueuesClient.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
@@ -108469,13 +108463,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.ReplicationQueuesClientZKImpl.java">org/apache/hadoop/hbase/replication/ReplicationQueuesClientZKImpl.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
@@ -108484,13 +108478,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.ReplicationQueuesZKImpl.java">org/apache/hadoop/hbase/replication/ReplicationQueuesZKImpl.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -108499,19 +108493,19 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.ReplicationStateZKBase.java">org/apache/hadoop/hbase/replication/ReplicationStateZKBase.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.zookeeper.ZKConfig' import.</td>
 <td>31</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
@@ -108520,67 +108514,67 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.ReplicationTableBase.java">org/apache/hadoop/hbase/replication/ReplicationTableBase.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.conf.Configuration' import.</td>
 <td>23</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.client.Admin' import.</td>
 <td>32</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>UnusedImports</td>
 <td>Unused import - org.apache.hadoop.hbase.filter.CompareFilter.</td>
 <td>40</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'java.io.IOException' import.</td>
 <td>47</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>324</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'CompareOperator' have incorrect indentation level 4, expected level should be 6.</td>
 <td>329</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>344</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>362</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>416</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
@@ -108589,13 +108583,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.ReplicationTracker.java">org/apache/hadoop/hbase/replication/ReplicationTracker.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
@@ -108604,13 +108598,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.ReplicationTrackerZKImpl.java">org/apache/hadoop/hbase/replication/ReplicationTrackerZKImpl.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
@@ -108619,73 +108613,73 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.ScopeWALEntryFilter.java">org/apache/hadoop/hbase/replication/ScopeWALEntryFilter.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.wal.WALEdit' import.</td>
 <td>27</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.wal.WAL.Entry' import.</td>
 <td>28</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'method def' child have incorrect indentation level 6, expected level should be 4.</td>
 <td>54</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' have incorrect indentation level 6, expected level should be 4.</td>
 <td>55</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' child have incorrect indentation level 8, expected level should be 6.</td>
 <td>56</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 101).</td>
 <td>59</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if rcurly' have incorrect indentation level 6, expected level should be 4.</td>
 <td>62</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' have incorrect indentation level 8, expected level should be 6.</td>
 <td>63</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' child have incorrect indentation level 10, expected level should be 8.</td>
 <td>64</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if rcurly' have incorrect indentation level 8, expected level should be 6.</td>
 <td>65</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
@@ -108694,13 +108688,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.SystemTableWALEntryFilter.java">org/apache/hadoop/hbase/replication/SystemTableWALEntryFilter.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
@@ -108709,79 +108703,79 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.TestMasterReplication.java">org/apache/hadoop/hbase/replication/TestMasterReplication.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'array initialization' child have incorrect indentation level 14, expected level should be one of the following: 12, 27.</td>
 <td>225</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'array initialization' child have incorrect indentation level 10, expected level should be one of the following: 8, 37.</td>
 <td>236</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'array initialization' child have incorrect indentation level 10, expected level should be one of the following: 8, 44.</td>
 <td>239</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'array initialization' child have incorrect indentation level 14, expected level should be one of the following: 12, 27.</td>
 <td>339</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'array initialization' child have incorrect indentation level 10, expected level should be one of the following: 8, 37.</td>
 <td>359</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'array initialization' child have incorrect indentation level 10, expected level should be one of the following: 8, 44.</td>
 <td>363</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'array initialization' child have incorrect indentation level 14, expected level should be one of the following: 12, 27.</td>
 <td>395</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'array initialization' child have incorrect indentation level 10, expected level should be one of the following: 8, 37.</td>
 <td>405</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'method def modifier' have incorrect indentation level 10, expected level should be one of the following: 6, 8.</td>
 <td>691</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'method def' child have incorrect indentation level 12, expected level should be one of the following: 8, 10.</td>
 <td>693</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'method def rcurly' have incorrect indentation level 10, expected level should be one of the following: 6, 8.</td>
 <td>694</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
@@ -108790,55 +108784,55 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.TestMultiSlaveReplication.java">org/apache/hadoop/hbase/replication/TestMultiSlaveReplication.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>UnusedImports</td>
 <td>Unused import - org.junit.Assert.assertFalse.</td>
 <td>24</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>UnusedImports</td>
 <td>Unused import - org.junit.Assert.assertTrue.</td>
 <td>26</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>AvoidStarImport</td>
 <td>Using the '.*' form of import should be avoided - org.apache.hadoop.hbase.*.</td>
 <td>35</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.client.Admin' import.</td>
 <td>38</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'method def modifier' have incorrect indentation level 10, expected level should be one of the following: 6, 8.</td>
 <td>220</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'method def' child have incorrect indentation level 12, expected level should be one of the following: 8, 10.</td>
 <td>222</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'method def rcurly' have incorrect indentation level 10, expected level should be one of the following: 6, 8.</td>
 <td>223</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
@@ -108847,37 +108841,37 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.TestPerTableCFReplication.java">org/apache/hadoop/hbase/replication/TestPerTableCFReplication.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.testclassification.FlakeyTests' import.</td>
 <td>47</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>AvoidStarImport</td>
 <td>Using the '.*' form of import should be avoided - org.junit.Assert.*.</td>
 <td>61</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.junit.Assert.*' import.</td>
 <td>61</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'method def rcurly' have incorrect indentation level 1, expected level should be 2.</td>
 <td>275</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>MethodLength</td>
@@ -108886,25 +108880,25 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.TestReplicationBase.java">org/apache/hadoop/hbase/replication/TestReplicationBase.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>design</td>
 <td>HideUtilityClassConstructor</td>
 <td>Utility classes should not have a public or default constructor.</td>
 <td>55</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>99</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
@@ -108913,13 +108907,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.TestReplicationChangingPeerRegionservers.java">org/apache/hadoop/hbase/replication/TestReplicationChangingPeerRegionservers.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
@@ -108928,19 +108922,19 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer.java">org/apache/hadoop/hbase/replication/TestReplicationDisableInactivePeer.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.junit.Assert.assertArrayEquals' import.</td>
 <td>32</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
@@ -108949,43 +108943,43 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.TestReplicationDroppedTables.java">org/apache/hadoop/hbase/replication/TestReplicationDroppedTables.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.HColumnDescriptor' import.</td>
 <td>22</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.junit.Assert.assertArrayEquals' import.</td>
 <td>44</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>UnusedImports</td>
 <td>Unused import - java.util.ArrayList.</td>
 <td>47</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>UnusedImports</td>
 <td>Unused import - java.util.List.</td>
 <td>48</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>55</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>whitespace</td>
 <td>ParenPad</td>
@@ -108994,49 +108988,49 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.TestReplicationEndpoint.java">org/apache/hadoop/hbase/replication/TestReplicationEndpoint.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 114).</td>
 <td>247</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 114).</td>
 <td>276</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 114).</td>
 <td>286</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 109).</td>
 <td>302</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 110).</td>
 <td>312</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 108).</td>
 <td>313</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
@@ -109045,13 +109039,13 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed.java">org/apache/hadoop/hbase/replication/TestReplicationKillMasterRSCompressed.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
@@ -109060,19 +109054,19 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.TestReplicationKillRS.java">org/apache/hadoop/hbase/replication/TestReplicationKillRS.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.junit.Assert.fail' import.</td>
 <td>32</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
@@ -109081,163 +109075,163 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.TestReplicationSmallTests.java">org/apache/hadoop/hbase/replication/TestReplicationSmallTests.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.wal.WALEdit' import.</td>
 <td>80</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>102</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>whitespace</td>
 <td>ParenPad</td>
 <td>'(' is followed by whitespace.</td>
 <td>108</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>144</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>231</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>277</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 107).</td>
 <td>295</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>328</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>372</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>427</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>488</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>518</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 104).</td>
 <td>534</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 104).</td>
 <td>732</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'try rcurly' have incorrect indentation level 6, expected level should be 4.</td>
 <td>748</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>757</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>777</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'array initialization' child have incorrect indentation level 8, expected level should be one of the following: 6, 26.</td>
 <td>901</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'array initialization' child have incorrect indentation level 8, expected level should be one of the following: 6, 26.</td>
 <td>906</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'array initialization' child have incorrect indentation level 8, expected level should be one of the following: 6, 26.</td>
 <td>907</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'array initialization' child have incorrect indentation level 8, expected level should be one of the following: 6, 35.</td>
 <td>948</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'array initialization' child have incorrect indentation level 8, expected level should be one of the following: 6, 35.</td>
 <td>949</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'array initialization' child have incorrect indentation level 8, expected level should be one of the following: 6, 35.</td>
 <td>950</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'array initialization' child have incorrect indentation level 8, expected level should be one of the following: 6, 26.</td>
 <td>989</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'array initialization' child have incorrect indentation level 8, expected level should be one of the following: 6, 26.</td>
 <td>990</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
@@ -109246,73 +109240,73 @@
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.replication.TestReplicationSource.java">org/apache/hadoop/hbase/replication/TestReplicationSource.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.HBaseConfiguration' import.</td>
 <td>39</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.wal.WALFactory' import.</td>
 <td>50</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.wal.WALEdit' import.</td>
 <td>51</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>imports</td>
 <td>ImportOrder</td>
 <td>Wrong order for 'org.apache.hadoop.hbase.replication.regionserver.HBaseInterClusterReplicationEndpoint' import.</td>
 <td>52</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>81</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>89</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>91</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>105</td></tr>
-<tr class="a">
+<tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>110</td></tr>
-<tr class="b">
+<tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>111</td></tr>
-<tr class=

<TRUNCATED>

[15/15] hbase-site git commit: Published site at .

Posted by gi...@apache.org.
Published site at .


Project: http://git-wip-us.apache.org/repos/asf/hbase-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase-site/commit/e2d0ccd7
Tree: http://git-wip-us.apache.org/repos/asf/hbase-site/tree/e2d0ccd7
Diff: http://git-wip-us.apache.org/repos/asf/hbase-site/diff/e2d0ccd7

Branch: refs/heads/asf-site
Commit: e2d0ccd79855e1c3592820accc14c36a275626af
Parents: fcaea41
Author: jenkins <bu...@apache.org>
Authored: Sat Jan 6 15:19:11 2018 +0000
Committer: jenkins <bu...@apache.org>
Committed: Sat Jan 6 15:19:11 2018 +0000

----------------------------------------------------------------------
 acid-semantics.html                             |     4 +-
 apache_hbase_reference_guide.pdf                |     4 +-
 book.html                                       |     2 +-
 bulk-loads.html                                 |     4 +-
 checkstyle-aggregate.html                       | 12128 ++++++++---------
 checkstyle.rss                                  |    20 +-
 coc.html                                        |     4 +-
 cygwin.html                                     |     4 +-
 dependencies.html                               |     4 +-
 dependency-convergence.html                     |     4 +-
 dependency-info.html                            |     4 +-
 dependency-management.html                      |     4 +-
 devapidocs/allclasses-frame.html                |     1 -
 devapidocs/allclasses-noframe.html              |     1 -
 devapidocs/constant-values.html                 |     6 +-
 devapidocs/index-all.html                       |    23 -
 .../hadoop/hbase/backup/package-tree.html       |     4 +-
 .../hadoop/hbase/client/package-tree.html       |    24 +-
 .../hadoop/hbase/executor/package-tree.html     |     2 +-
 .../hadoop/hbase/filter/package-tree.html       |    10 +-
 .../io/ImmutableBytesWritable.Comparator.html   |     4 +-
 .../hadoop/hbase/io/LimitInputStream.html       |   463 -
 .../org/apache/hadoop/hbase/io/MetricsIO.html   |     4 +-
 .../hbase/io/class-use/LimitInputStream.html    |   125 -
 .../hadoop/hbase/io/hfile/package-tree.html     |    10 +-
 .../apache/hadoop/hbase/io/package-frame.html   |     1 -
 .../apache/hadoop/hbase/io/package-summary.html |    19 +-
 .../apache/hadoop/hbase/io/package-tree.html    |     5 -
 .../apache/hadoop/hbase/ipc/package-tree.html   |     2 +-
 .../hadoop/hbase/mapreduce/package-tree.html    |     4 +-
 .../master/cleaner/CleanerChore.Action.html     |     4 +-
 .../cleaner/CleanerChore.CleanerTask.html       |    18 +-
 .../hbase/master/cleaner/CleanerChore.html      |    34 +-
 .../hbase/master/cleaner/HFileCleaner.html      |     2 +-
 .../hadoop/hbase/master/cleaner/LogCleaner.html |     2 +-
 .../hadoop/hbase/master/package-tree.html       |     2 +-
 .../hbase/master/procedure/package-tree.html    |     2 +-
 .../org/apache/hadoop/hbase/package-tree.html   |    16 +-
 .../hadoop/hbase/procedure2/package-tree.html   |     4 +-
 .../hadoop/hbase/quotas/package-tree.html       |     6 +-
 .../hadoop/hbase/regionserver/package-tree.html |    16 +-
 .../regionserver/querymatcher/package-tree.html |     2 +-
 .../wal/ProtobufLogReader.WALHdrContext.html    |    12 +-
 .../wal/ProtobufLogReader.WALHdrResult.html     |    12 +-
 .../regionserver/wal/ProtobufLogReader.html     |    74 +-
 .../hadoop/hbase/rest/model/package-tree.html   |     2 +-
 .../hbase/security/access/package-tree.html     |     2 +-
 .../hadoop/hbase/security/package-tree.html     |     2 +-
 .../hadoop/hbase/thrift/package-tree.html       |     2 +-
 .../apache/hadoop/hbase/util/package-tree.html  |    10 +-
 devapidocs/overview-tree.html                   |     1 -
 .../org/apache/hadoop/hbase/Version.html        |     6 +-
 .../hadoop/hbase/io/LimitInputStream.html       |   177 -
 .../master/cleaner/CleanerChore.Action.html     |   730 +-
 .../cleaner/CleanerChore.CleanerTask.html       |   730 +-
 .../hbase/master/cleaner/CleanerChore.html      |   730 +-
 .../wal/ProtobufLogReader.WALHdrContext.html    |   835 +-
 .../wal/ProtobufLogReader.WALHdrResult.html     |   835 +-
 .../regionserver/wal/ProtobufLogReader.html     |   835 +-
 export_control.html                             |     4 +-
 hbase-annotations/checkstyle.html               |     4 +-
 hbase-annotations/dependencies.html             |     4 +-
 hbase-annotations/dependency-convergence.html   |     4 +-
 hbase-annotations/dependency-info.html          |     4 +-
 hbase-annotations/dependency-management.html    |     4 +-
 hbase-annotations/index.html                    |     4 +-
 hbase-annotations/integration.html              |     4 +-
 hbase-annotations/issue-tracking.html           |     4 +-
 hbase-annotations/license.html                  |     4 +-
 hbase-annotations/mail-lists.html               |     4 +-
 hbase-annotations/plugin-management.html        |     4 +-
 hbase-annotations/plugins.html                  |     4 +-
 hbase-annotations/project-info.html             |     4 +-
 hbase-annotations/project-reports.html          |     4 +-
 hbase-annotations/project-summary.html          |     4 +-
 hbase-annotations/source-repository.html        |     4 +-
 hbase-annotations/team-list.html                |     4 +-
 hbase-build-configuration/dependencies.html     |     4 +-
 .../dependency-convergence.html                 |     4 +-
 hbase-build-configuration/dependency-info.html  |     4 +-
 .../dependency-management.html                  |     4 +-
 .../hbase-archetypes/dependencies.html          |     4 +-
 .../dependency-convergence.html                 |     4 +-
 .../hbase-archetypes/dependency-info.html       |     4 +-
 .../hbase-archetypes/dependency-management.html |     4 +-
 .../hbase-archetype-builder/dependencies.html   |     4 +-
 .../dependency-convergence.html                 |     4 +-
 .../dependency-info.html                        |     4 +-
 .../dependency-management.html                  |     4 +-
 .../hbase-archetype-builder/index.html          |     4 +-
 .../hbase-archetype-builder/integration.html    |     4 +-
 .../hbase-archetype-builder/issue-tracking.html |     4 +-
 .../hbase-archetype-builder/license.html        |     4 +-
 .../hbase-archetype-builder/mail-lists.html     |     4 +-
 .../plugin-management.html                      |     4 +-
 .../hbase-archetype-builder/plugins.html        |     4 +-
 .../hbase-archetype-builder/project-info.html   |     4 +-
 .../project-summary.html                        |     4 +-
 .../source-repository.html                      |     4 +-
 .../hbase-archetype-builder/team-list.html      |     4 +-
 .../hbase-client-project/checkstyle.html        |     4 +-
 .../hbase-client-project/dependencies.html      |     4 +-
 .../dependency-convergence.html                 |     4 +-
 .../hbase-client-project/dependency-info.html   |     4 +-
 .../dependency-management.html                  |     4 +-
 .../hbase-client-project/index.html             |     4 +-
 .../hbase-client-project/integration.html       |     4 +-
 .../hbase-client-project/issue-tracking.html    |     4 +-
 .../hbase-client-project/license.html           |     4 +-
 .../hbase-client-project/mail-lists.html        |     4 +-
 .../hbase-client-project/plugin-management.html |     4 +-
 .../hbase-client-project/plugins.html           |     4 +-
 .../hbase-client-project/project-info.html      |     4 +-
 .../hbase-client-project/project-reports.html   |     4 +-
 .../hbase-client-project/project-summary.html   |     4 +-
 .../hbase-client-project/source-repository.html |     4 +-
 .../hbase-client-project/team-list.html         |     4 +-
 .../hbase-shaded-client-project/checkstyle.html |     4 +-
 .../dependencies.html                           |     4 +-
 .../dependency-convergence.html                 |     4 +-
 .../dependency-info.html                        |     4 +-
 .../dependency-management.html                  |     4 +-
 .../hbase-shaded-client-project/index.html      |     4 +-
 .../integration.html                            |     4 +-
 .../issue-tracking.html                         |     4 +-
 .../hbase-shaded-client-project/license.html    |     4 +-
 .../hbase-shaded-client-project/mail-lists.html |     4 +-
 .../plugin-management.html                      |     4 +-
 .../hbase-shaded-client-project/plugins.html    |     4 +-
 .../project-info.html                           |     4 +-
 .../project-reports.html                        |     4 +-
 .../project-summary.html                        |     4 +-
 .../source-repository.html                      |     4 +-
 .../hbase-shaded-client-project/team-list.html  |     4 +-
 .../hbase-archetypes/index.html                 |     4 +-
 .../hbase-archetypes/integration.html           |     4 +-
 .../hbase-archetypes/issue-tracking.html        |     4 +-
 .../hbase-archetypes/license.html               |     4 +-
 .../hbase-archetypes/mail-lists.html            |     4 +-
 .../hbase-archetypes/plugin-management.html     |     4 +-
 .../hbase-archetypes/plugins.html               |     4 +-
 .../hbase-archetypes/project-info.html          |     4 +-
 .../hbase-archetypes/project-summary.html       |     4 +-
 .../hbase-archetypes/source-repository.html     |     4 +-
 .../hbase-archetypes/team-list.html             |     4 +-
 .../hbase-spark/checkstyle.html                 |     4 +-
 .../hbase-spark/dependencies.html               |     4 +-
 .../hbase-spark/dependency-convergence.html     |     4 +-
 .../hbase-spark/dependency-info.html            |     4 +-
 .../hbase-spark/dependency-management.html      |     4 +-
 .../hbase-spark/index.html                      |     4 +-
 .../hbase-spark/integration.html                |     4 +-
 .../hbase-spark/issue-tracking.html             |     4 +-
 .../hbase-spark/license.html                    |     4 +-
 .../hbase-spark/mail-lists.html                 |     4 +-
 .../hbase-spark/plugin-management.html          |     4 +-
 .../hbase-spark/plugins.html                    |     4 +-
 .../hbase-spark/project-info.html               |     4 +-
 .../hbase-spark/project-reports.html            |     4 +-
 .../hbase-spark/project-summary.html            |     4 +-
 .../hbase-spark/source-repository.html          |     4 +-
 .../hbase-spark/team-list.html                  |     4 +-
 hbase-build-configuration/index.html            |     4 +-
 hbase-build-configuration/integration.html      |     4 +-
 hbase-build-configuration/issue-tracking.html   |     4 +-
 hbase-build-configuration/license.html          |     4 +-
 hbase-build-configuration/mail-lists.html       |     4 +-
 .../plugin-management.html                      |     4 +-
 hbase-build-configuration/plugins.html          |     4 +-
 hbase-build-configuration/project-info.html     |     4 +-
 hbase-build-configuration/project-summary.html  |     4 +-
 .../source-repository.html                      |     4 +-
 hbase-build-configuration/team-list.html        |     4 +-
 hbase-shaded-check-invariants/checkstyle.html   |     4 +-
 hbase-shaded-check-invariants/dependencies.html |     4 +-
 .../dependency-convergence.html                 |     4 +-
 .../dependency-info.html                        |     4 +-
 .../dependency-management.html                  |     4 +-
 hbase-shaded-check-invariants/index.html        |     4 +-
 hbase-shaded-check-invariants/integration.html  |     4 +-
 .../issue-tracking.html                         |     4 +-
 hbase-shaded-check-invariants/license.html      |     4 +-
 hbase-shaded-check-invariants/mail-lists.html   |     4 +-
 .../plugin-management.html                      |     4 +-
 hbase-shaded-check-invariants/plugins.html      |     4 +-
 hbase-shaded-check-invariants/project-info.html |     4 +-
 .../project-reports.html                        |     4 +-
 .../project-summary.html                        |     4 +-
 .../source-repository.html                      |     4 +-
 hbase-shaded-check-invariants/team-list.html    |     4 +-
 index.html                                      |     4 +-
 integration.html                                |     4 +-
 issue-tracking.html                             |     4 +-
 license.html                                    |     4 +-
 mail-lists.html                                 |     4 +-
 metrics.html                                    |     4 +-
 old_news.html                                   |     4 +-
 plugin-management.html                          |     4 +-
 plugins.html                                    |     4 +-
 poweredbyhbase.html                             |     4 +-
 project-info.html                               |     4 +-
 project-reports.html                            |     4 +-
 project-summary.html                            |     4 +-
 pseudo-distributed.html                         |     4 +-
 replication.html                                |     4 +-
 resources.html                                  |     4 +-
 source-repository.html                          |     4 +-
 sponsors.html                                   |     4 +-
 supportingprojects.html                         |     4 +-
 team-list.html                                  |     4 +-
 testdevapidocs/index-all.html                   |     2 +
 .../hadoop/hbase/backup/package-tree.html       |     2 +-
 .../hadoop/hbase/io/hfile/package-tree.html     |     2 +-
 .../cleaner/TestCleanerChore.AllValidPaths.html |     8 +-
 .../cleaner/TestCleanerChore.AlwaysDelete.html  |     6 +-
 .../cleaner/TestCleanerChore.NeverDelete.html   |     6 +-
 .../hbase/master/cleaner/TestCleanerChore.html  |    28 +-
 .../org/apache/hadoop/hbase/package-tree.html   |    10 +-
 .../hadoop/hbase/procedure2/package-tree.html   |     2 +-
 .../hadoop/hbase/regionserver/package-tree.html |     6 +-
 .../apache/hadoop/hbase/test/package-tree.html  |     2 +-
 .../apache/hadoop/hbase/wal/package-tree.html   |     2 +-
 ...IntegrationTestDDLMasterFailover.ACTION.html |     2 +-
 ...DDLMasterFailover.AddColumnFamilyAction.html |     2 +-
 ...ationTestDDLMasterFailover.AddRowAction.html |     2 +-
 ...asterFailover.AlterFamilyEncodingAction.html |     2 +-
 ...asterFailover.AlterFamilyVersionsAction.html |     2 +-
 ...ationTestDDLMasterFailover.ColumnAction.html |     2 +-
 ...DDLMasterFailover.CreateNamespaceAction.html |     2 +-
 ...TestDDLMasterFailover.CreateTableAction.html |     2 +-
 ...MasterFailover.DeleteColumnFamilyAction.html |     2 +-
 ...DDLMasterFailover.DeleteNamespaceAction.html |     2 +-
 ...TestDDLMasterFailover.DeleteTableAction.html |     2 +-
 ...estDDLMasterFailover.DisableTableAction.html |     2 +-
 ...TestDDLMasterFailover.EnableTableAction.html |     2 +-
 ...ationTestDDLMasterFailover.MasterAction.html |     2 +-
 ...DDLMasterFailover.ModifyNamespaceAction.html |     2 +-
 ...onTestDDLMasterFailover.NamespaceAction.html |     2 +-
 ...rationTestDDLMasterFailover.TableAction.html |     2 +-
 ...IntegrationTestDDLMasterFailover.Worker.html |     2 +-
 .../hbase/IntegrationTestDDLMasterFailover.html |     2 +-
 .../cleaner/TestCleanerChore.AllValidPaths.html |   101 +-
 .../cleaner/TestCleanerChore.AlwaysDelete.html  |   101 +-
 .../cleaner/TestCleanerChore.NeverDelete.html   |   101 +-
 .../hbase/master/cleaner/TestCleanerChore.html  |   101 +-
 245 files changed, 9206 insertions(+), 9913 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/acid-semantics.html
----------------------------------------------------------------------
diff --git a/acid-semantics.html b/acid-semantics.html
index b565cad..de77c25 100644
--- a/acid-semantics.html
+++ b/acid-semantics.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013;  
       Apache HBase (TM) ACID Properties
@@ -606,7 +606,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/apache_hbase_reference_guide.pdf
----------------------------------------------------------------------
diff --git a/apache_hbase_reference_guide.pdf b/apache_hbase_reference_guide.pdf
index be56be6..ce2fa79 100644
--- a/apache_hbase_reference_guide.pdf
+++ b/apache_hbase_reference_guide.pdf
@@ -5,8 +5,8 @@
 /Author (Apache HBase Team)
 /Creator (Asciidoctor PDF 1.5.0.alpha.15, based on Prawn 2.2.2)
 /Producer (Apache HBase Team)
-/ModDate (D:20180105144720+00'00')
-/CreationDate (D:20180105144720+00'00')
+/ModDate (D:20180106144713+00'00')
+/CreationDate (D:20180106144713+00'00')
 >>
 endobj
 2 0 obj

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/book.html
----------------------------------------------------------------------
diff --git a/book.html b/book.html
index 43a266c..df4682c 100644
--- a/book.html
+++ b/book.html
@@ -37140,7 +37140,7 @@ The server will return cellblocks compressed using this same compressor as long
 <div id="footer">
 <div id="footer-text">
 Version 3.0.0-SNAPSHOT<br>
-Last updated 2018-01-05 14:29:43 UTC
+Last updated 2018-01-06 14:29:41 UTC
 </div>
 </div>
 </body>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/bulk-loads.html
----------------------------------------------------------------------
diff --git a/bulk-loads.html b/bulk-loads.html
index ae8bd82..488482e 100644
--- a/bulk-loads.html
+++ b/bulk-loads.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013;  
       Bulk Loads in Apache HBase (TM)
@@ -311,7 +311,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 


[04/15] hbase-site git commit: Published site at .

Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-annotations/dependencies.html
----------------------------------------------------------------------
diff --git a/hbase-annotations/dependencies.html b/hbase-annotations/dependencies.html
index 7b460ca..f31987e 100644
--- a/hbase-annotations/dependencies.html
+++ b/hbase-annotations/dependencies.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Project Dependencies</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -272,7 +272,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-annotations/dependency-convergence.html
----------------------------------------------------------------------
diff --git a/hbase-annotations/dependency-convergence.html b/hbase-annotations/dependency-convergence.html
index f6904f1..953f9a1 100644
--- a/hbase-annotations/dependency-convergence.html
+++ b/hbase-annotations/dependency-convergence.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Reactor Dependency Convergence</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -912,7 +912,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-annotations/dependency-info.html
----------------------------------------------------------------------
diff --git a/hbase-annotations/dependency-info.html b/hbase-annotations/dependency-info.html
index f9127ee..0f5cdc2 100644
--- a/hbase-annotations/dependency-info.html
+++ b/hbase-annotations/dependency-info.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Dependency Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -147,7 +147,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-annotations/dependency-management.html
----------------------------------------------------------------------
diff --git a/hbase-annotations/dependency-management.html b/hbase-annotations/dependency-management.html
index b3a566c..a7fca40 100644
--- a/hbase-annotations/dependency-management.html
+++ b/hbase-annotations/dependency-management.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Project Dependency Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -810,7 +810,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-annotations/index.html
----------------------------------------------------------------------
diff --git a/hbase-annotations/index.html b/hbase-annotations/index.html
index eea4a82..fb4e6f0 100644
--- a/hbase-annotations/index.html
+++ b/hbase-annotations/index.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; About</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -119,7 +119,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-annotations/integration.html
----------------------------------------------------------------------
diff --git a/hbase-annotations/integration.html b/hbase-annotations/integration.html
index a8d422b..0c5d8de 100644
--- a/hbase-annotations/integration.html
+++ b/hbase-annotations/integration.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; CI Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -126,7 +126,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-annotations/issue-tracking.html
----------------------------------------------------------------------
diff --git a/hbase-annotations/issue-tracking.html b/hbase-annotations/issue-tracking.html
index d961797..f6cec4c 100644
--- a/hbase-annotations/issue-tracking.html
+++ b/hbase-annotations/issue-tracking.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Issue Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -123,7 +123,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-annotations/license.html
----------------------------------------------------------------------
diff --git a/hbase-annotations/license.html b/hbase-annotations/license.html
index 301c4e0..8a6cdba 100644
--- a/hbase-annotations/license.html
+++ b/hbase-annotations/license.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Project Licenses</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -326,7 +326,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-annotations/mail-lists.html
----------------------------------------------------------------------
diff --git a/hbase-annotations/mail-lists.html b/hbase-annotations/mail-lists.html
index d4b4f24..69ae314 100644
--- a/hbase-annotations/mail-lists.html
+++ b/hbase-annotations/mail-lists.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Project Mailing Lists</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -176,7 +176,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-annotations/plugin-management.html
----------------------------------------------------------------------
diff --git a/hbase-annotations/plugin-management.html b/hbase-annotations/plugin-management.html
index 24104da..a46591a 100644
--- a/hbase-annotations/plugin-management.html
+++ b/hbase-annotations/plugin-management.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Project Plugin Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -271,7 +271,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-annotations/plugins.html
----------------------------------------------------------------------
diff --git a/hbase-annotations/plugins.html b/hbase-annotations/plugins.html
index bcb06ba..2ad8e8a 100644
--- a/hbase-annotations/plugins.html
+++ b/hbase-annotations/plugins.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Project Plugins</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -222,7 +222,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-annotations/project-info.html
----------------------------------------------------------------------
diff --git a/hbase-annotations/project-info.html b/hbase-annotations/project-info.html
index c1e774e..40305bf 100644
--- a/hbase-annotations/project-info.html
+++ b/hbase-annotations/project-info.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Project Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -167,7 +167,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-annotations/project-reports.html
----------------------------------------------------------------------
diff --git a/hbase-annotations/project-reports.html b/hbase-annotations/project-reports.html
index b0b0039..977aa2a 100644
--- a/hbase-annotations/project-reports.html
+++ b/hbase-annotations/project-reports.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Generated Reports</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -128,7 +128,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-annotations/project-summary.html
----------------------------------------------------------------------
diff --git a/hbase-annotations/project-summary.html b/hbase-annotations/project-summary.html
index 7439f88..bcadf3e 100644
--- a/hbase-annotations/project-summary.html
+++ b/hbase-annotations/project-summary.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Project Summary</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -166,7 +166,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-annotations/source-repository.html
----------------------------------------------------------------------
diff --git a/hbase-annotations/source-repository.html b/hbase-annotations/source-repository.html
index 9f9d0c9..9d6420a 100644
--- a/hbase-annotations/source-repository.html
+++ b/hbase-annotations/source-repository.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Source Code Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -134,7 +134,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-annotations/team-list.html
----------------------------------------------------------------------
diff --git a/hbase-annotations/team-list.html b/hbase-annotations/team-list.html
index c1a1776..60b079d 100644
--- a/hbase-annotations/team-list.html
+++ b/hbase-annotations/team-list.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Annotations &#x2013; Project Team</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -553,7 +553,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/dependencies.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/dependencies.html b/hbase-build-configuration/dependencies.html
index 6d68a08..797fb70 100644
--- a/hbase-build-configuration/dependencies.html
+++ b/hbase-build-configuration/dependencies.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Build Configuration &#x2013; Project Dependencies</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -330,7 +330,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/dependency-convergence.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/dependency-convergence.html b/hbase-build-configuration/dependency-convergence.html
index 8bdcbb5..21cca35 100644
--- a/hbase-build-configuration/dependency-convergence.html
+++ b/hbase-build-configuration/dependency-convergence.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Build Configuration &#x2013; Reactor Dependency Convergence</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -912,7 +912,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/dependency-info.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/dependency-info.html b/hbase-build-configuration/dependency-info.html
index 064b57e..6b09191 100644
--- a/hbase-build-configuration/dependency-info.html
+++ b/hbase-build-configuration/dependency-info.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Build Configuration &#x2013; Dependency Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -148,7 +148,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/dependency-management.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/dependency-management.html b/hbase-build-configuration/dependency-management.html
index 94b5ef8..6709206 100644
--- a/hbase-build-configuration/dependency-management.html
+++ b/hbase-build-configuration/dependency-management.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Build Configuration &#x2013; Project Dependency Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -810,7 +810,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/dependencies.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/dependencies.html b/hbase-build-configuration/hbase-archetypes/dependencies.html
index b878f0f..14eed14 100644
--- a/hbase-build-configuration/hbase-archetypes/dependencies.html
+++ b/hbase-build-configuration/hbase-archetypes/dependencies.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetypes &#x2013; Project Dependencies</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -330,7 +330,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/dependency-convergence.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/dependency-convergence.html b/hbase-build-configuration/hbase-archetypes/dependency-convergence.html
index a653f99..73d1afe 100644
--- a/hbase-build-configuration/hbase-archetypes/dependency-convergence.html
+++ b/hbase-build-configuration/hbase-archetypes/dependency-convergence.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetypes &#x2013; Reactor Dependency Convergence</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -912,7 +912,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/dependency-info.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/dependency-info.html b/hbase-build-configuration/hbase-archetypes/dependency-info.html
index e471a74..4d64c8a 100644
--- a/hbase-build-configuration/hbase-archetypes/dependency-info.html
+++ b/hbase-build-configuration/hbase-archetypes/dependency-info.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetypes &#x2013; Dependency Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -148,7 +148,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/dependency-management.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/dependency-management.html b/hbase-build-configuration/hbase-archetypes/dependency-management.html
index 0aac4cc..3333f94 100644
--- a/hbase-build-configuration/hbase-archetypes/dependency-management.html
+++ b/hbase-build-configuration/hbase-archetypes/dependency-management.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetypes &#x2013; Project Dependency Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -810,7 +810,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/dependencies.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/dependencies.html b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/dependencies.html
index a679df4..02ade02 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/dependencies.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/dependencies.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetype builder &#x2013; Project Dependencies</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -330,7 +330,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/dependency-convergence.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/dependency-convergence.html b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/dependency-convergence.html
index dd9d196..4154722 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/dependency-convergence.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/dependency-convergence.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetype builder &#x2013; Reactor Dependency Convergence</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -912,7 +912,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/dependency-info.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/dependency-info.html b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/dependency-info.html
index 4824682..8d1e97c 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/dependency-info.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/dependency-info.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetype builder &#x2013; Dependency Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -148,7 +148,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/dependency-management.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/dependency-management.html b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/dependency-management.html
index cdcdafa..c9893de 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/dependency-management.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/dependency-management.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetype builder &#x2013; Project Dependency Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -810,7 +810,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/index.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/index.html b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/index.html
index 6e44380..30873aa 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/index.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/index.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetype builder &#x2013; About</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -119,7 +119,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/integration.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/integration.html b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/integration.html
index 23fc75d..bb7e285 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/integration.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/integration.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetype builder &#x2013; CI Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -126,7 +126,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/issue-tracking.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/issue-tracking.html b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/issue-tracking.html
index 8a83aa9..04224e3 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/issue-tracking.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/issue-tracking.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetype builder &#x2013; Issue Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -123,7 +123,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/license.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/license.html b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/license.html
index fe16ab9..3e3711f 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/license.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/license.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetype builder &#x2013; Project Licenses</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -326,7 +326,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/mail-lists.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/mail-lists.html b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/mail-lists.html
index abab5e9..5eab1fd 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/mail-lists.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/mail-lists.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetype builder &#x2013; Project Mailing Lists</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -176,7 +176,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/plugin-management.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/plugin-management.html b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/plugin-management.html
index f7b86ca..e0bd170 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/plugin-management.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/plugin-management.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetype builder &#x2013; Project Plugin Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -271,7 +271,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/plugins.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/plugins.html b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/plugins.html
index 19c87d2..8a4c2a9 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/plugins.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/plugins.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetype builder &#x2013; Project Plugins</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -218,7 +218,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/project-info.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/project-info.html b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/project-info.html
index 067539c..fa27d71 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/project-info.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/project-info.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetype builder &#x2013; Project Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -167,7 +167,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/project-summary.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/project-summary.html b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/project-summary.html
index b1d1fbb..0af3f12 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/project-summary.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/project-summary.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetype builder &#x2013; Project Summary</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -163,7 +163,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/source-repository.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/source-repository.html b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/source-repository.html
index 9dbd439..fe53f08 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/source-repository.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/source-repository.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetype builder &#x2013; Source Code Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -134,7 +134,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/team-list.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/team-list.html b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/team-list.html
index 180b1ca..594ee4c 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/team-list.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-archetype-builder/team-list.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Archetype builder &#x2013; Project Team</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -553,7 +553,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-client-project/checkstyle.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-client-project/checkstyle.html b/hbase-build-configuration/hbase-archetypes/hbase-client-project/checkstyle.html
index 485d72a..512c62b 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-client-project/checkstyle.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-client-project/checkstyle.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-client archetype &#x2013; Checkstyle Results</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -150,7 +150,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-client-project/dependencies.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-client-project/dependencies.html b/hbase-build-configuration/hbase-archetypes/hbase-client-project/dependencies.html
index 8589cdb..f157ff3 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-client-project/dependencies.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-client-project/dependencies.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-client archetype &#x2013; Project Dependencies</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -4168,7 +4168,7 @@ The following provides more details on the included cryptographic software:
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-client-project/dependency-convergence.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-client-project/dependency-convergence.html b/hbase-build-configuration/hbase-archetypes/hbase-client-project/dependency-convergence.html
index 3c48e95..e3a3181 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-client-project/dependency-convergence.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-client-project/dependency-convergence.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-client archetype &#x2013; Reactor Dependency Convergence</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -912,7 +912,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-client-project/dependency-info.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-client-project/dependency-info.html b/hbase-build-configuration/hbase-archetypes/hbase-client-project/dependency-info.html
index d4a7086..33e0cc7 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-client-project/dependency-info.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-client-project/dependency-info.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-client archetype &#x2013; Dependency Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -147,7 +147,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-client-project/dependency-management.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-client-project/dependency-management.html b/hbase-build-configuration/hbase-archetypes/hbase-client-project/dependency-management.html
index 130ca05..bea4c18 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-client-project/dependency-management.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-client-project/dependency-management.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-client archetype &#x2013; Project Dependency Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -810,7 +810,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-client-project/index.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-client-project/index.html b/hbase-build-configuration/hbase-archetypes/hbase-client-project/index.html
index a25553f..9216d70 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-client-project/index.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-client-project/index.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-client archetype &#x2013; About</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -119,7 +119,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-client-project/integration.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-client-project/integration.html b/hbase-build-configuration/hbase-archetypes/hbase-client-project/integration.html
index b013333..85d55fe 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-client-project/integration.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-client-project/integration.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-client archetype &#x2013; CI Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -126,7 +126,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-client-project/issue-tracking.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-client-project/issue-tracking.html b/hbase-build-configuration/hbase-archetypes/hbase-client-project/issue-tracking.html
index ad7f6dc..2afd430 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-client-project/issue-tracking.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-client-project/issue-tracking.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-client archetype &#x2013; Issue Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -123,7 +123,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-client-project/license.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-client-project/license.html b/hbase-build-configuration/hbase-archetypes/hbase-client-project/license.html
index c545fc1..2f44045 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-client-project/license.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-client-project/license.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-client archetype &#x2013; Project Licenses</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -326,7 +326,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-client-project/mail-lists.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-client-project/mail-lists.html b/hbase-build-configuration/hbase-archetypes/hbase-client-project/mail-lists.html
index e28dd85..c63e521 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-client-project/mail-lists.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-client-project/mail-lists.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-client archetype &#x2013; Project Mailing Lists</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -176,7 +176,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-client-project/plugin-management.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-client-project/plugin-management.html b/hbase-build-configuration/hbase-archetypes/hbase-client-project/plugin-management.html
index 0fb7bdf..95eb516 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-client-project/plugin-management.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-client-project/plugin-management.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-client archetype &#x2013; Project Plugin Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -271,7 +271,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-client-project/plugins.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-client-project/plugins.html b/hbase-build-configuration/hbase-archetypes/hbase-client-project/plugins.html
index 4bea2ca..b416c8a 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-client-project/plugins.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-client-project/plugins.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-client archetype &#x2013; Project Plugins</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -226,7 +226,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-client-project/project-info.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-client-project/project-info.html b/hbase-build-configuration/hbase-archetypes/hbase-client-project/project-info.html
index 59a99a3..4f29a4c 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-client-project/project-info.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-client-project/project-info.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-client archetype &#x2013; Project Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -167,7 +167,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-client-project/project-reports.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-client-project/project-reports.html b/hbase-build-configuration/hbase-archetypes/hbase-client-project/project-reports.html
index 4a5f2de..b08e3d9 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-client-project/project-reports.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-client-project/project-reports.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-client archetype &#x2013; Generated Reports</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -128,7 +128,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-client-project/project-summary.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-client-project/project-summary.html b/hbase-build-configuration/hbase-archetypes/hbase-client-project/project-summary.html
index 2c3921f..2ae2e12 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-client-project/project-summary.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-client-project/project-summary.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-client archetype &#x2013; Project Summary</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -166,7 +166,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-client-project/source-repository.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-client-project/source-repository.html b/hbase-build-configuration/hbase-archetypes/hbase-client-project/source-repository.html
index 9be170e..8bfc0c5 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-client-project/source-repository.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-client-project/source-repository.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-client archetype &#x2013; Source Code Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -134,7 +134,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-client-project/team-list.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-client-project/team-list.html b/hbase-build-configuration/hbase-archetypes/hbase-client-project/team-list.html
index 108b24d..a86549e 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-client-project/team-list.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-client-project/team-list.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-client archetype &#x2013; Project Team</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -553,7 +553,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/checkstyle.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/checkstyle.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/checkstyle.html
index bb05887..f757d8b 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/checkstyle.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/checkstyle.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-shaded-client archetype &#x2013; Checkstyle Results</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -150,7 +150,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/dependencies.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/dependencies.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/dependencies.html
index b5b645f..b446e41 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/dependencies.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/dependencies.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-shaded-client archetype &#x2013; Project Dependencies</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -4193,7 +4193,7 @@ built on Jackson JSON processor</p>
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/dependency-convergence.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/dependency-convergence.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/dependency-convergence.html
index e009242..b618831 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/dependency-convergence.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/dependency-convergence.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-shaded-client archetype &#x2013; Reactor Dependency Convergence</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -912,7 +912,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/dependency-info.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/dependency-info.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/dependency-info.html
index 69650e4..00e1fba 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/dependency-info.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/dependency-info.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-shaded-client archetype &#x2013; Dependency Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -147,7 +147,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/dependency-management.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/dependency-management.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/dependency-management.html
index efc2740..f8616ce 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/dependency-management.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/dependency-management.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-shaded-client archetype &#x2013; Project Dependency Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -810,7 +810,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2d0ccd7/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/index.html
----------------------------------------------------------------------
diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/index.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/index.html
index 8d4ea43..668c088 100644
--- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/index.html
+++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/index.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20180105" />
+    <meta name="Date-Revision-yyyymmdd" content="20180106" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase - Exemplar for hbase-shaded-client archetype &#x2013; About</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -119,7 +119,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2018-01-05</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2018-01-06</li>
             </p>
                 </div>