[2/2] hbase git commit: Revert "HBASE-21323 Should not skip force updating for a sub procedure even if it has been finished"

2018-10-18 Thread stack
Revert "HBASE-21323 Should not skip force updating for a sub procedure even if 
it has been finished"

This reverts commit fef4fb36bfbc09d09809dfbafbad16b7284ea833.

Revert till we figure why 2.1 behaves differently to 2.2


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

Branch: refs/heads/branch-2.0
Commit: d160139ea7042269fef3040c05188aa5f17570b2
Parents: cf9e24c
Author: Michael Stack 
Authored: Thu Oct 18 20:05:27 2018 -0700
Committer: Michael Stack 
Committed: Thu Oct 18 20:05:27 2018 -0700

--
 .../hbase/procedure2/ProcedureExecutor.java |  9 +-
 .../store/wal/TestForceUpdateProcedure.java | 33 ++--
 2 files changed, 3 insertions(+), 39 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/d160139e/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
--
diff --git 
a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
 
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
index faad84e..d267c19 100644
--- 
a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
+++ 
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
@@ -368,11 +368,6 @@ public class ProcedureExecutor {
 this(conf, environment, store, new SimpleProcedureScheduler());
   }
 
-  private boolean isRootFinished(Procedure proc) {
-Procedure rootProc = procedures.get(proc.getRootProcId());
-return rootProc == null || rootProc.isFinished();
-  }
-
   private void forceUpdateProcedure(long procId) throws IOException {
 IdLock.Entry lockEntry = procExecutionLock.getLockEntry(procId);
 try {
@@ -381,9 +376,7 @@ public class ProcedureExecutor {
 LOG.debug("No pending procedure with id = {}, skip force updating.", 
procId);
 return;
   }
-  // For a sub procedure which root parent has not been finished, we still 
need to retain the
-  // wal even if the procedure itself is finished.
-  if (proc.isFinished() && (!proc.hasParent() || isRootFinished(proc))) {
+  if (proc.isFinished()) {
 LOG.debug("Procedure {} has already been finished, skip force 
updating.", proc);
 return;
   }

http://git-wip-us.apache.org/repos/asf/hbase/blob/d160139e/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
--
diff --git 
a/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
 
b/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
index eb68955..1e27158 100644
--- 
a/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
+++ 
b/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
@@ -123,34 +123,7 @@ public class TestForceUpdateProcedure {
 @Override
 protected Procedure[] execute(Void env)
 throws ProcedureYieldException, ProcedureSuspendedException, 
InterruptedException {
-  return new Procedure[] { new DummyProcedure(), new WaitingProcedure() };
-}
-
-@Override
-protected void rollback(Void env) throws IOException, InterruptedException 
{
-  throw new UnsupportedOperationException();
-}
-
-@Override
-protected boolean abort(Void env) {
-  return false;
-}
-
-@Override
-protected void serializeStateData(ProcedureStateSerializer serializer) 
throws IOException {
-}
-
-@Override
-protected void deserializeStateData(ProcedureStateSerializer serializer) 
throws IOException {
-}
-  }
-
-  public static final class DummyProcedure extends Procedure {
-
-@Override
-protected Procedure[] execute(Void env)
-throws ProcedureYieldException, ProcedureSuspendedException, 
InterruptedException {
-  return null;
+  return new Procedure[] { new WaitingProcedure() };
 }
 
 @Override
@@ -236,12 +209,10 @@ public class TestForceUpdateProcedure {
 Map, Procedure> procMap = new HashMap<>();
 EXEC.getProcedures().stream().filter(p -> !p.isFinished())
   .forEach(p -> procMap.put(p.getClass(), p));
-assertEquals(3, procMap.size());
+assertEquals(2, procMap.size());
 ParentProcedure parentProc = (ParentProcedure) 
procMap.get(ParentProcedure.class);
 assertEquals(ProcedureState.WAITING, parentProc.getState());
 WaitingProce

[1/2] hbase git commit: Revert "HBASE-21323 Should not skip force updating for a sub procedure even if"

2018-10-18 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-2.0 fa45872ae -> d160139ea


Revert "HBASE-21323 Should not skip force updating for a sub procedure even if"

This reverts commit 32c0cf32c785fd8bb6ee3233861362688644a849.

Revert till we figure why 2.1 behaves differently to 2.2


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

Branch: refs/heads/branch-2.0
Commit: cf9e24c982cde5548f015c25cccb0175ae175742
Parents: fa45872
Author: Michael Stack 
Authored: Thu Oct 18 20:05:07 2018 -0700
Committer: Michael Stack 
Committed: Thu Oct 18 20:05:07 2018 -0700

--
 .../procedure2/store/wal/TestForceUpdateProcedure.java   | 11 ---
 1 file changed, 4 insertions(+), 7 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/cf9e24c9/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
--
diff --git 
a/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
 
b/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
index bf5ce83..eb68955 100644
--- 
a/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
+++ 
b/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
@@ -24,8 +24,6 @@ import java.io.IOException;
 import java.util.HashMap;
 import java.util.Map;
 import java.util.concurrent.Exchanger;
-import java.util.stream.Collectors;
-
 import org.apache.hadoop.fs.Path;
 import org.apache.hadoop.hbase.HBaseClassTestRule;
 import org.apache.hadoop.hbase.HBaseCommonTestingUtility;
@@ -211,7 +209,7 @@ public class TestForceUpdateProcedure {
 EXEC.submitProcedure(new ParentProcedure());
 EXCHANGER.exchange(Boolean.TRUE);
 UTIL.waitFor(1, () -> EXEC.getActiveExecutorCount() == 0);
-// The above operations are to make sure that we have persisted the states 
of the two
+// The above operations are used to make sure that we have persist the 
states of the two
 // procedures.
 long procId = EXEC.submitProcedure(new ExchangeProcedure());
 assertEquals(1, STORE.getActiveLogs().size());
@@ -238,13 +236,12 @@ public class TestForceUpdateProcedure {
 Map, Procedure> procMap = new HashMap<>();
 EXEC.getProcedures().stream().filter(p -> !p.isFinished())
   .forEach(p -> procMap.put(p.getClass(), p));
-StringBuffer sb = new StringBuffer();
-String mapAsStr = procMap.entrySet().stream().map(e -> e.getKey() + " " + 
e.getValue()).
-collect(Collectors.joining(", "));
-assertEquals(mapAsStr, 2, procMap.size());
+assertEquals(3, procMap.size());
 ParentProcedure parentProc = (ParentProcedure) 
procMap.get(ParentProcedure.class);
 assertEquals(ProcedureState.WAITING, parentProc.getState());
 WaitingProcedure waitingProc = (WaitingProcedure) 
procMap.get(WaitingProcedure.class);
 assertEquals(ProcedureState.WAITING_TIMEOUT, waitingProc.getState());
+DummyProcedure dummyProc = (DummyProcedure) 
procMap.get(DummyProcedure.class);
+assertEquals(ProcedureState.SUCCESS, dummyProc.getState());
   }
 }



[1/2] hbase git commit: Revert "HBASE-21323 Should not skip force updating for a sub procedure even if"

2018-10-18 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-2.1 1afedc608 -> 0cd23c3dd


Revert "HBASE-21323 Should not skip force updating for a sub procedure even if"

This reverts commit 30727764a3f9c30c41eaae4340ee7ea9723c1306.

Revert till we figure why behavior between 2.1 and 2.2 is different.


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

Branch: refs/heads/branch-2.1
Commit: 8fd3fd0e9cc0e4bda6abc65f88dd95230e24a5e9
Parents: 1afedc6
Author: Michael Stack 
Authored: Thu Oct 18 20:03:57 2018 -0700
Committer: Michael Stack 
Committed: Thu Oct 18 20:03:57 2018 -0700

--
 .../procedure2/store/wal/TestForceUpdateProcedure.java   | 11 ---
 1 file changed, 4 insertions(+), 7 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/8fd3fd0e/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
--
diff --git 
a/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
 
b/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
index bf5ce83..eb68955 100644
--- 
a/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
+++ 
b/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
@@ -24,8 +24,6 @@ import java.io.IOException;
 import java.util.HashMap;
 import java.util.Map;
 import java.util.concurrent.Exchanger;
-import java.util.stream.Collectors;
-
 import org.apache.hadoop.fs.Path;
 import org.apache.hadoop.hbase.HBaseClassTestRule;
 import org.apache.hadoop.hbase.HBaseCommonTestingUtility;
@@ -211,7 +209,7 @@ public class TestForceUpdateProcedure {
 EXEC.submitProcedure(new ParentProcedure());
 EXCHANGER.exchange(Boolean.TRUE);
 UTIL.waitFor(1, () -> EXEC.getActiveExecutorCount() == 0);
-// The above operations are to make sure that we have persisted the states 
of the two
+// The above operations are used to make sure that we have persist the 
states of the two
 // procedures.
 long procId = EXEC.submitProcedure(new ExchangeProcedure());
 assertEquals(1, STORE.getActiveLogs().size());
@@ -238,13 +236,12 @@ public class TestForceUpdateProcedure {
 Map, Procedure> procMap = new HashMap<>();
 EXEC.getProcedures().stream().filter(p -> !p.isFinished())
   .forEach(p -> procMap.put(p.getClass(), p));
-StringBuffer sb = new StringBuffer();
-String mapAsStr = procMap.entrySet().stream().map(e -> e.getKey() + " " + 
e.getValue()).
-collect(Collectors.joining(", "));
-assertEquals(mapAsStr, 2, procMap.size());
+assertEquals(3, procMap.size());
 ParentProcedure parentProc = (ParentProcedure) 
procMap.get(ParentProcedure.class);
 assertEquals(ProcedureState.WAITING, parentProc.getState());
 WaitingProcedure waitingProc = (WaitingProcedure) 
procMap.get(WaitingProcedure.class);
 assertEquals(ProcedureState.WAITING_TIMEOUT, waitingProc.getState());
+DummyProcedure dummyProc = (DummyProcedure) 
procMap.get(DummyProcedure.class);
+assertEquals(ProcedureState.SUCCESS, dummyProc.getState());
   }
 }



[2/2] hbase git commit: Revert "HBASE-21323 Should not skip force updating for a sub procedure even if it has been finished"

2018-10-18 Thread stack
Revert "HBASE-21323 Should not skip force updating for a sub procedure even if 
it has been finished"

This reverts commit fffd9b9b6dd42c52f4a30e956313cdb4129c66be.

Revert till we figure why behavior between 2.1 and 2.2 is different.


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

Branch: refs/heads/branch-2.1
Commit: 0cd23c3dda1d0cfd1632aa609c4a269c5724cf38
Parents: 8fd3fd0
Author: Michael Stack 
Authored: Thu Oct 18 20:04:24 2018 -0700
Committer: Michael Stack 
Committed: Thu Oct 18 20:04:24 2018 -0700

--
 .../hbase/procedure2/ProcedureExecutor.java |  9 +
 .../store/wal/TestForceUpdateProcedure.java | 35 ++--
 2 files changed, 4 insertions(+), 40 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/0cd23c3d/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
--
diff --git 
a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
 
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
index 890baf2..6542cc6 100644
--- 
a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
+++ 
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
@@ -368,11 +368,6 @@ public class ProcedureExecutor {
 this(conf, environment, store, new SimpleProcedureScheduler());
   }
 
-  private boolean isRootFinished(Procedure proc) {
-Procedure rootProc = procedures.get(proc.getRootProcId());
-return rootProc == null || rootProc.isFinished();
-  }
-
   private void forceUpdateProcedure(long procId) throws IOException {
 IdLock.Entry lockEntry = procExecutionLock.getLockEntry(procId);
 try {
@@ -381,9 +376,7 @@ public class ProcedureExecutor {
 LOG.debug("No pending procedure with id = {}, skip force updating.", 
procId);
 return;
   }
-  // For a sub procedure which root parent has not been finished, we still 
need to retain the
-  // wal even if the procedure itself is finished.
-  if (proc.isFinished() && (!proc.hasParent() || isRootFinished(proc))) {
+  if (proc.isFinished()) {
 LOG.debug("Procedure {} has already been finished, skip force 
updating.", proc);
 return;
   }

http://git-wip-us.apache.org/repos/asf/hbase/blob/0cd23c3d/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
--
diff --git 
a/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
 
b/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
index eb68955..da67fd2 100644
--- 
a/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
+++ 
b/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
@@ -123,34 +123,7 @@ public class TestForceUpdateProcedure {
 @Override
 protected Procedure[] execute(Void env)
 throws ProcedureYieldException, ProcedureSuspendedException, 
InterruptedException {
-  return new Procedure[] { new DummyProcedure(), new WaitingProcedure() };
-}
-
-@Override
-protected void rollback(Void env) throws IOException, InterruptedException 
{
-  throw new UnsupportedOperationException();
-}
-
-@Override
-protected boolean abort(Void env) {
-  return false;
-}
-
-@Override
-protected void serializeStateData(ProcedureStateSerializer serializer) 
throws IOException {
-}
-
-@Override
-protected void deserializeStateData(ProcedureStateSerializer serializer) 
throws IOException {
-}
-  }
-
-  public static final class DummyProcedure extends Procedure {
-
-@Override
-protected Procedure[] execute(Void env)
-throws ProcedureYieldException, ProcedureSuspendedException, 
InterruptedException {
-  return null;
+  return new Procedure[] { new WaitingProcedure() };
 }
 
 @Override
@@ -235,13 +208,11 @@ public class TestForceUpdateProcedure {
 createStoreAndExecutor();
 Map, Procedure> procMap = new HashMap<>();
 EXEC.getProcedures().stream().filter(p -> !p.isFinished())
-  .forEach(p -> procMap.put(p.getClass(), p));
-assertEquals(3, procMap.size());
+.forEach(p -> procMap.put(p.getClass(), p));
+assertEquals(2, procMap.size());
 ParentProcedure parentProc = (ParentProcedure) 
procMap.get(ParentProcedure

hbase git commit: HBASE-21292 IdLock.getLockEntry() may hang if interrupted

2018-10-18 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/master bc7628a8c -> 05d22ed96


HBASE-21292 IdLock.getLockEntry() may hang if interrupted


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

Branch: refs/heads/master
Commit: 05d22ed960204183fbd9bd16f1dbca6410ccde76
Parents: bc7628a
Author: Allan Yang 
Authored: Thu Oct 18 14:40:38 2018 -0700
Committer: Michael Stack 
Committed: Thu Oct 18 14:42:10 2018 -0700

--
 .../java/org/apache/hadoop/hbase/util/IdLock.java  | 17 +
 1 file changed, 17 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/05d22ed9/hbase-common/src/main/java/org/apache/hadoop/hbase/util/IdLock.java
--
diff --git 
a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/IdLock.java 
b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/IdLock.java
index 414cc66..c4adfbf 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/IdLock.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/IdLock.java
@@ -81,6 +81,17 @@ public class IdLock {
   existing.wait();
 } catch (InterruptedException e) {
   --existing.numWaiters;  // Remove ourselves from waiters.
+  // HBASE-21292
+  // There is a rare case that interrupting and the lock owner 
thread call
+  // releaseLockEntry at the same time. Since the owner thread 
found there
+  // still one waiting, it won't remove the entry from the map. If 
the interrupted
+  // thread is the last one waiting on the lock, and since an 
exception is thrown,
+  // the 'existing' entry will stay in the map forever. Later 
threads which try to
+  // get this lock will stuck in a infinite loop because
+  // existing = map.putIfAbsent(entry.id, entry)) != null and 
existing.locked=false.
+  if (!existing.locked && existing.numWaiters == 0) {
+map.remove(existing.id);
+  }
   throw new InterruptedIOException(
   "Interrupted waiting to acquire sparse lock");
 }
@@ -135,6 +146,12 @@ public class IdLock {
 
 }
   } catch (InterruptedException e) {
+// HBASE-21292
+// Please refer to the comments in getLockEntry()
+// the difference here is that we decrease numWaiters in finally 
block
+if (!existing.locked && existing.numWaiters == 1) {
+  map.remove(existing.id);
+}
 throw new InterruptedIOException(
 "Interrupted waiting to acquire sparse lock");
   } finally {



hbase git commit: HBASE-21292 IdLock.getLockEntry() may hang if interrupted

2018-10-18 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-2.0 564406ec5 -> fa45872ae


HBASE-21292 IdLock.getLockEntry() may hang if interrupted


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

Branch: refs/heads/branch-2.0
Commit: fa45872ae7b365a3ed7da924997b3ebb581e70be
Parents: 564406e
Author: Allan Yang 
Authored: Thu Oct 18 14:40:38 2018 -0700
Committer: Michael Stack 
Committed: Thu Oct 18 14:40:38 2018 -0700

--
 .../java/org/apache/hadoop/hbase/util/IdLock.java  | 17 +
 1 file changed, 17 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/fa45872a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/IdLock.java
--
diff --git 
a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/IdLock.java 
b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/IdLock.java
index 414cc66..c4adfbf 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/IdLock.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/IdLock.java
@@ -81,6 +81,17 @@ public class IdLock {
   existing.wait();
 } catch (InterruptedException e) {
   --existing.numWaiters;  // Remove ourselves from waiters.
+  // HBASE-21292
+  // There is a rare case that interrupting and the lock owner 
thread call
+  // releaseLockEntry at the same time. Since the owner thread 
found there
+  // still one waiting, it won't remove the entry from the map. If 
the interrupted
+  // thread is the last one waiting on the lock, and since an 
exception is thrown,
+  // the 'existing' entry will stay in the map forever. Later 
threads which try to
+  // get this lock will stuck in a infinite loop because
+  // existing = map.putIfAbsent(entry.id, entry)) != null and 
existing.locked=false.
+  if (!existing.locked && existing.numWaiters == 0) {
+map.remove(existing.id);
+  }
   throw new InterruptedIOException(
   "Interrupted waiting to acquire sparse lock");
 }
@@ -135,6 +146,12 @@ public class IdLock {
 
 }
   } catch (InterruptedException e) {
+// HBASE-21292
+// Please refer to the comments in getLockEntry()
+// the difference here is that we decrease numWaiters in finally 
block
+if (!existing.locked && existing.numWaiters == 1) {
+  map.remove(existing.id);
+}
 throw new InterruptedIOException(
 "Interrupted waiting to acquire sparse lock");
   } finally {



hbase git commit: HBASE-21292 IdLock.getLockEntry() may hang if interrupted

2018-10-18 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-2 4a609db30 -> ca1b5503e


HBASE-21292 IdLock.getLockEntry() may hang if interrupted


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

Branch: refs/heads/branch-2
Commit: ca1b5503e15c7781d229c58e81ade078285820dc
Parents: 4a609db
Author: Allan Yang 
Authored: Thu Oct 18 14:40:38 2018 -0700
Committer: Michael Stack 
Committed: Thu Oct 18 14:41:42 2018 -0700

--
 .../java/org/apache/hadoop/hbase/util/IdLock.java  | 17 +
 1 file changed, 17 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/ca1b5503/hbase-common/src/main/java/org/apache/hadoop/hbase/util/IdLock.java
--
diff --git 
a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/IdLock.java 
b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/IdLock.java
index 414cc66..c4adfbf 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/IdLock.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/IdLock.java
@@ -81,6 +81,17 @@ public class IdLock {
   existing.wait();
 } catch (InterruptedException e) {
   --existing.numWaiters;  // Remove ourselves from waiters.
+  // HBASE-21292
+  // There is a rare case that interrupting and the lock owner 
thread call
+  // releaseLockEntry at the same time. Since the owner thread 
found there
+  // still one waiting, it won't remove the entry from the map. If 
the interrupted
+  // thread is the last one waiting on the lock, and since an 
exception is thrown,
+  // the 'existing' entry will stay in the map forever. Later 
threads which try to
+  // get this lock will stuck in a infinite loop because
+  // existing = map.putIfAbsent(entry.id, entry)) != null and 
existing.locked=false.
+  if (!existing.locked && existing.numWaiters == 0) {
+map.remove(existing.id);
+  }
   throw new InterruptedIOException(
   "Interrupted waiting to acquire sparse lock");
 }
@@ -135,6 +146,12 @@ public class IdLock {
 
 }
   } catch (InterruptedException e) {
+// HBASE-21292
+// Please refer to the comments in getLockEntry()
+// the difference here is that we decrease numWaiters in finally 
block
+if (!existing.locked && existing.numWaiters == 1) {
+  map.remove(existing.id);
+}
 throw new InterruptedIOException(
 "Interrupted waiting to acquire sparse lock");
   } finally {



hbase git commit: HBASE-21292 IdLock.getLockEntry() may hang if interrupted

2018-10-18 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-2.1 915e87ecf -> 1afedc608


HBASE-21292 IdLock.getLockEntry() may hang if interrupted


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

Branch: refs/heads/branch-2.1
Commit: 1afedc608e3b299f705c73331e279a8a7065d31e
Parents: 915e87e
Author: Allan Yang 
Authored: Thu Oct 18 14:40:38 2018 -0700
Committer: Michael Stack 
Committed: Thu Oct 18 14:41:16 2018 -0700

--
 .../java/org/apache/hadoop/hbase/util/IdLock.java  | 17 +
 1 file changed, 17 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/1afedc60/hbase-common/src/main/java/org/apache/hadoop/hbase/util/IdLock.java
--
diff --git 
a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/IdLock.java 
b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/IdLock.java
index 414cc66..c4adfbf 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/IdLock.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/IdLock.java
@@ -81,6 +81,17 @@ public class IdLock {
   existing.wait();
 } catch (InterruptedException e) {
   --existing.numWaiters;  // Remove ourselves from waiters.
+  // HBASE-21292
+  // There is a rare case that interrupting and the lock owner 
thread call
+  // releaseLockEntry at the same time. Since the owner thread 
found there
+  // still one waiting, it won't remove the entry from the map. If 
the interrupted
+  // thread is the last one waiting on the lock, and since an 
exception is thrown,
+  // the 'existing' entry will stay in the map forever. Later 
threads which try to
+  // get this lock will stuck in a infinite loop because
+  // existing = map.putIfAbsent(entry.id, entry)) != null and 
existing.locked=false.
+  if (!existing.locked && existing.numWaiters == 0) {
+map.remove(existing.id);
+  }
   throw new InterruptedIOException(
   "Interrupted waiting to acquire sparse lock");
 }
@@ -135,6 +146,12 @@ public class IdLock {
 
 }
   } catch (InterruptedException e) {
+// HBASE-21292
+// Please refer to the comments in getLockEntry()
+// the difference here is that we decrease numWaiters in finally 
block
+if (!existing.locked && existing.numWaiters == 1) {
+  map.remove(existing.id);
+}
 throw new InterruptedIOException(
 "Interrupted waiting to acquire sparse lock");
   } finally {



hbase git commit: HBASE-21073 Redo concept of maintenance mode

2018-10-18 Thread mdrob
Repository: hbase
Updated Branches:
  refs/heads/master 5fbb227de -> bc7628a8c


HBASE-21073 Redo concept of maintenance mode

Instead of being an ephemeral state set by hbck, maintenance mode is now
an explicit toggle set by either configuration property or environment
variable. In maintenance mode, master will host system tables and not
assign any user-space tables to RSs. This gives operators the ability to
affect repairs to meta table with fewer moving parts.


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

Branch: refs/heads/master
Commit: bc7628a8c34994529011206ee889fb616525ec80
Parents: 5fbb227
Author: Mike Drob 
Authored: Mon Oct 8 14:28:23 2018 -0500
Committer: Mike Drob 
Committed: Thu Oct 18 16:27:53 2018 -0500

--
 .../org/apache/hadoop/hbase/master/HMaster.java | 108 +++---
 .../hadoop/hbase/master/LoadBalancer.java   |   9 +-
 .../hadoop/hbase/master/MasterRpcServices.java  |   8 +-
 .../hadoop/hbase/master/MasterServices.java |   2 +-
 .../hadoop/hbase/master/ServerManager.java  |  25 ++--
 .../hbase/master/balancer/BaseLoadBalancer.java |  25 ++--
 .../hbase/regionserver/HRegionServer.java   |   3 +-
 .../hbase/regionserver/RSRpcServices.java   |   6 +-
 .../apache/hadoop/hbase/master/TestMaster.java  |   3 +-
 .../hbase/master/TestMasterRepairMode.java  | 141 +++
 .../zookeeper/MasterMaintenanceModeTracker.java |   4 +
 .../asciidoc/_chapters/troubleshooting.adoc |  18 +++
 12 files changed, 260 insertions(+), 92 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/bc7628a8/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
index 68f4b09..90e0e6c 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
@@ -207,7 +207,6 @@ import org.apache.hadoop.hbase.util.Threads;
 import org.apache.hadoop.hbase.util.VersionInfo;
 import org.apache.hadoop.hbase.zookeeper.LoadBalancerTracker;
 import org.apache.hadoop.hbase.zookeeper.MasterAddressTracker;
-import org.apache.hadoop.hbase.zookeeper.MasterMaintenanceModeTracker;
 import org.apache.hadoop.hbase.zookeeper.RegionNormalizerTracker;
 import org.apache.hadoop.hbase.zookeeper.ZKClusterId;
 import org.apache.hadoop.hbase.zookeeper.ZKUtil;
@@ -329,9 +328,6 @@ public class HMaster extends HRegionServer implements 
MasterServices {
   // Tracker for region normalizer state
   private RegionNormalizerTracker regionNormalizerTracker;
 
-  //Tracker for master maintenance mode setting
-  private MasterMaintenanceModeTracker maintenanceModeTracker;
-
   private ClusterSchemaService clusterSchemaService;
 
   public static final String HBASE_MASTER_WAIT_ON_SERVICE_IN_SECONDS =
@@ -441,6 +437,11 @@ public class HMaster extends HRegionServer implements 
MasterServices {
   /** jetty server for master to redirect requests to regionserver infoServer 
*/
   private Server masterJettyServer;
 
+  // Determine if we should do normal startup or minimal "single-user" mode 
with no region
+  // servers and no user tables. Useful for repair and recovery of hbase:meta
+  private final boolean maintenanceMode;
+  static final String MAINTENANCE_MODE = "hbase.master.maintenance_mode";
+
   public static class RedirectServlet extends HttpServlet {
 private static final long serialVersionUID = 2894774810058302473L;
 private final int regionServerInfoPort;
@@ -500,6 +501,16 @@ public class HMaster extends HRegionServer implements 
MasterServices {
 super(conf);
 TraceUtil.initTracer(conf);
 try {
+  if (conf.getBoolean(MAINTENANCE_MODE, false)) {
+LOG.info("Detected {}=true via configuration.", MAINTENANCE_MODE);
+maintenanceMode = true;
+  } else if (Boolean.getBoolean(MAINTENANCE_MODE)) {
+LOG.info("Detected {}=true via environment variables.", 
MAINTENANCE_MODE);
+maintenanceMode = true;
+  } else {
+maintenanceMode = false;
+  }
+
   this.rsFatals = new MemoryBoundedLogMessageBuffer(
   conf.getLong("hbase.master.buffer.for.rs.fatals", 1 * 1024 * 1024));
   LOG.info("hbase.rootdir=" + getRootDir() +
@@ -684,6 +695,9 @@ public class HMaster extends HRegionServer implements 
MasterServices {
*/
   @Override
   protected void waitForMasterActive(){
+if (maintenanceMode) {
+  return;
+}
 boolean tablesOnMaster

[hbase-operator-tools] branch master updated: HBASE-21335 Change the default wait time of HBCK2 tool

2018-10-18 Thread stack
This is an automated email from the ASF dual-hosted git repository.

stack pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase-operator-tools.git


The following commit(s) were added to refs/heads/master by this push:
 new a4315f3  HBASE-21335 Change the default wait time of HBCK2 tool
a4315f3 is described below

commit a4315f316364be75336b240e429c219954d0775f
Author: jingyuntian 
AuthorDate: Thu Oct 18 16:58:32 2018 +0800

HBASE-21335 Change the default wait time of HBCK2 tool

Signed-off-by: Michael Stack 
---
 .../src/main/java/org/apache/hbase/HBCK2.java  | 22 +-
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java 
b/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java
index 64882aa..24717b8 100644
--- a/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java
+++ b/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java
@@ -80,6 +80,10 @@ public class HBCK2 extends Configured implements Tool {
   private Configuration conf;
   private static final String TWO_POINT_ONE = "2.1.0";
   private static final String MININUM_VERSION = "2.0.3";
+  /**
+   * Wait 1ms on lock by default.
+   */
+  private static final long DEFAULT_LOCK_WAIT = 1;
 
   /**
* Check for HBCK support.
@@ -168,7 +172,7 @@ public class HBCK2 extends Configured implements Tool {
 options.addOption(override);
 Option recursive = Option.builder("r").longOpt("recursive").build();
 options.addOption(recursive);
-Option wait = 
Option.builder("w").longOpt("waitTime").hasArg().type(Integer.class).build();
+Option wait = 
Option.builder("w").longOpt("lockWait").hasArg().type(Integer.class).build();
 options.addOption(wait);
 // Parse command-line.
 CommandLineParser parser = new DefaultParser();
@@ -179,10 +183,9 @@ public class HBCK2 extends Configured implements Tool {
   usage(options, e.getMessage());
   return null;
 }
-long waitTime = 0;
+long lockWait = DEFAULT_LOCK_WAIT;
 if (commandLine.hasOption(wait.getOpt())) {
-  waitTime = Integer.valueOf(commandLine.getOptionValue(wait.getOpt()));
-  waitTime *= 1000; // Because time is in seconds.
+  lockWait = Integer.valueOf(commandLine.getOptionValue(wait.getOpt()));
 }
 String[] pidStrs = commandLine.getArgs();
 if (pidStrs == null || pidStrs.length <= 0) {
@@ -194,7 +197,7 @@ public class HBCK2 extends Configured implements Tool {
 List pids = Arrays.stream(pidStrs).map(i -> 
Long.valueOf(i)).collect(Collectors.toList());
 try (ClusterConnection c = (ClusterConnection) 
ConnectionFactory.createConnection(getConf())) {
   try (Hbck hbck = c.getHbck()) {
-return hbck.bypassProcedure(pids, waitTime, overrideFlag, 
recursiveFlag);
+return hbck.bypassProcedure(pids, lockWait, overrideFlag, 
recursiveFlag);
   }
 }
   }
@@ -230,14 +233,15 @@ public class HBCK2 extends Configured implements Tool {
 writer.println();
 writer.println(" " + BYPASS + " [OPTIONS] ...");
 writer.println("   Options:");
-writer.println("-o,--override   interrupt if procedure is running");
+writer.println("-o,--override   override if procedure is 
running/stuck");
 writer.println("-r,--recursive  bypass parent and its children. SLOW! 
EXPENSIVE!");
-writer.println("-w,--waitTime   seconds to wait on lock before giving 
up; default=0");
+writer.println("-w,--lockWait   milliseconds to wait on lock before 
giving up; default=1");
 writer.println("   Pass one (or more) procedure 'pid's to skip to 
procedure finish.");
 writer.println("   Parent of bypassed procedure will also be skipped to 
the finish.");
 writer.println("   Entities will be left in an inconsistent state and will 
require");
-writer.println("   manual fixup. Bypass fails if procedure has children. 
Add 'recursive'");
-writer.println("   if all you have is a parent pid to finish parent and 
children. This");
+writer.println("   manual fixup. May need Master restart to clear locks 
still held.");
+writer.println("   Bypass fails if procedure has children. Add 'recursive' 
if all");
+writer.println("   you have is a parent pid to finish parent and children. 
This");
 writer.println("   is SLOW, and dangerous so use selectively. Does not 
always work.");
 writer.println();
 writer.println(" " + UNASSIGNS + " ...");



hbase git commit: HBASE-21291 Add a test for bypassing stuck state-machine procedures

2018-10-18 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-2.0 32c0cf32c -> 564406ec5


HBASE-21291 Add a test for bypassing stuck state-machine procedures

Signed-off-by: Michael Stack 


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

Branch: refs/heads/branch-2.0
Commit: 564406ec5e48644ad233a94b4c146f1ee69ebe09
Parents: 32c0cf3
Author: tianjingyun 
Authored: Sat Oct 13 18:43:40 2018 +0800
Committer: Michael Stack 
Committed: Thu Oct 18 14:28:11 2018 -0700

--
 .../hbase/procedure2/ProcedureExecutor.java |  1 +
 .../procedure2/ProcedureTestingUtility.java | 40 +
 .../hbase/procedure2/TestProcedureBypass.java   | 63 
 3 files changed, 104 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/564406ec/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
--
diff --git 
a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
 
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
index b1f6900..faad84e 100644
--- 
a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
+++ 
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
@@ -1054,6 +1054,7 @@ public class ProcedureExecutor {
 
   boolean bypassProcedure(long pid, long lockWait, boolean override, boolean 
recursive)
   throws IOException {
+Preconditions.checkArgument(lockWait > 0, "lockWait should be positive");
 final Procedure procedure = getProcedure(pid);
 if (procedure == null) {
   LOG.debug("Procedure pid={} does not exist, skipping bypass", pid);

http://git-wip-us.apache.org/repos/asf/hbase/blob/564406ec/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/ProcedureTestingUtility.java
--
diff --git 
a/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/ProcedureTestingUtility.java
 
b/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/ProcedureTestingUtility.java
index 138215b..52ffa57 100644
--- 
a/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/ProcedureTestingUtility.java
+++ 
b/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/ProcedureTestingUtility.java
@@ -389,6 +389,46 @@ public class ProcedureTestingUtility {
 }
   }
 
+  public static class NoopStateMachineProcedure
+  extends StateMachineProcedure {
+private TState initialState;
+private TEnv env;
+
+public NoopStateMachineProcedure() {
+}
+
+public NoopStateMachineProcedure(TEnv env, TState initialState) {
+  this.env = env;
+  this.initialState = initialState;
+}
+
+@Override
+protected Flow executeFromState(TEnv env, TState tState)
+throws ProcedureSuspendedException, ProcedureYieldException, 
InterruptedException {
+  return null;
+}
+
+@Override
+protected void rollbackState(TEnv env, TState tState) throws IOException, 
InterruptedException {
+
+}
+
+@Override
+protected TState getState(int stateId) {
+  return null;
+}
+
+@Override
+protected int getStateId(TState tState) {
+  return 0;
+}
+
+@Override
+protected TState getInitialState() {
+  return initialState;
+}
+  }
+
   public static class TestProcedure extends NoopProcedure {
 private byte[] data = null;
 

http://git-wip-us.apache.org/repos/asf/hbase/blob/564406ec/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/TestProcedureBypass.java
--
diff --git 
a/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/TestProcedureBypass.java
 
b/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/TestProcedureBypass.java
index 739d161..fa40631 100644
--- 
a/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/TestProcedureBypass.java
+++ 
b/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/TestProcedureBypass.java
@@ -17,8 +17,10 @@
  */
 package org.apache.hadoop.hbase.procedure2;
 
+import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
+import java.util.concurrent.atomic.AtomicBoolean;
 import java.util.stream.Collectors;
 
 import org.apache.hadoop.fs.FileSystem;
@@ -133,6 +135,20 @@ public class TestProcedureBypass {
 LOG.info("{} finished", proc);
   }
 
+  @Test
+  public void testBypassingStuckStateMachineProcedure() throws Exception {
+   

hbase git commit: HBASE-21291 Add a test for bypassing stuck state-machine procedures

2018-10-18 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-2.1 30727764a -> 915e87ecf


HBASE-21291 Add a test for bypassing stuck state-machine procedures

Signed-off-by: Michael Stack 


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

Branch: refs/heads/branch-2.1
Commit: 915e87ecf7809529010b1b149103dd5dadebdd04
Parents: 3072776
Author: tianjingyun 
Authored: Sat Oct 13 18:43:40 2018 +0800
Committer: Michael Stack 
Committed: Thu Oct 18 14:26:47 2018 -0700

--
 .../hbase/procedure2/ProcedureExecutor.java |  1 +
 .../procedure2/ProcedureTestingUtility.java | 40 +
 .../hbase/procedure2/TestProcedureBypass.java   | 63 
 3 files changed, 104 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/915e87ec/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
--
diff --git 
a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
 
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
index 1c99803..890baf2 100644
--- 
a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
+++ 
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
@@ -1054,6 +1054,7 @@ public class ProcedureExecutor {
 
   boolean bypassProcedure(long pid, long lockWait, boolean override, boolean 
recursive)
   throws IOException {
+Preconditions.checkArgument(lockWait > 0, "lockWait should be positive");
 final Procedure procedure = getProcedure(pid);
 if (procedure == null) {
   LOG.debug("Procedure pid={} does not exist, skipping bypass", pid);

http://git-wip-us.apache.org/repos/asf/hbase/blob/915e87ec/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/ProcedureTestingUtility.java
--
diff --git 
a/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/ProcedureTestingUtility.java
 
b/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/ProcedureTestingUtility.java
index 138215b..52ffa57 100644
--- 
a/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/ProcedureTestingUtility.java
+++ 
b/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/ProcedureTestingUtility.java
@@ -389,6 +389,46 @@ public class ProcedureTestingUtility {
 }
   }
 
+  public static class NoopStateMachineProcedure
+  extends StateMachineProcedure {
+private TState initialState;
+private TEnv env;
+
+public NoopStateMachineProcedure() {
+}
+
+public NoopStateMachineProcedure(TEnv env, TState initialState) {
+  this.env = env;
+  this.initialState = initialState;
+}
+
+@Override
+protected Flow executeFromState(TEnv env, TState tState)
+throws ProcedureSuspendedException, ProcedureYieldException, 
InterruptedException {
+  return null;
+}
+
+@Override
+protected void rollbackState(TEnv env, TState tState) throws IOException, 
InterruptedException {
+
+}
+
+@Override
+protected TState getState(int stateId) {
+  return null;
+}
+
+@Override
+protected int getStateId(TState tState) {
+  return 0;
+}
+
+@Override
+protected TState getInitialState() {
+  return initialState;
+}
+  }
+
   public static class TestProcedure extends NoopProcedure {
 private byte[] data = null;
 

http://git-wip-us.apache.org/repos/asf/hbase/blob/915e87ec/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/TestProcedureBypass.java
--
diff --git 
a/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/TestProcedureBypass.java
 
b/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/TestProcedureBypass.java
index 739d161..fa40631 100644
--- 
a/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/TestProcedureBypass.java
+++ 
b/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/TestProcedureBypass.java
@@ -17,8 +17,10 @@
  */
 package org.apache.hadoop.hbase.procedure2;
 
+import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
+import java.util.concurrent.atomic.AtomicBoolean;
 import java.util.stream.Collectors;
 
 import org.apache.hadoop.fs.FileSystem;
@@ -133,6 +135,20 @@ public class TestProcedureBypass {
 LOG.info("{} finished", proc);
   }
 
+  @Test
+  public void testBypassingStuckStateMachineProcedure() throws Exception {
+   

hbase git commit: HBASE-21275 - Disable TRACE HTTP method for thrift http server (branch 1 only)

2018-10-18 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-1.4 8c1572f87 -> 012ec17bd


HBASE-21275 - Disable TRACE HTTP method for thrift http server (branch 1 only)


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

Branch: refs/heads/branch-1.4
Commit: 012ec17bd9e48a639c0cd170626cba414e5ba4b3
Parents: 8c1572f
Author: Wellington Chevreuil 

Authored: Wed Oct 17 12:11:41 2018 +0100
Committer: Michael Stack 
Committed: Thu Oct 18 14:06:25 2018 -0700

--
 .../hadoop/hbase/thrift/ThriftServerRunner.java | 10 ++-
 .../hbase/thrift/TestThriftHttpServer.java  | 66 ++--
 2 files changed, 69 insertions(+), 7 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/012ec17b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftServerRunner.java
--
diff --git 
a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftServerRunner.java
 
b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftServerRunner.java
index 07c18a7..3532ab5 100644
--- 
a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftServerRunner.java
+++ 
b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftServerRunner.java
@@ -100,6 +100,7 @@ import org.apache.hadoop.hbase.thrift.generated.TScan;
 import org.apache.hadoop.hbase.util.Bytes;
 import org.apache.hadoop.hbase.util.ConnectionCache;
 import org.apache.hadoop.hbase.util.DNS;
+import org.apache.hadoop.hbase.util.HttpServerUtil;
 import org.apache.hadoop.hbase.util.JvmPauseMonitor;
 import org.apache.hadoop.hbase.util.Strings;
 import org.apache.hadoop.security.SaslRpcServer.SaslGssCallbackHandler;
@@ -128,6 +129,7 @@ import org.mortbay.jetty.Server;
 import org.mortbay.jetty.nio.SelectChannelConnector;
 import org.mortbay.jetty.servlet.Context;
 import org.mortbay.jetty.servlet.ServletHolder;
+import org.mortbay.jetty.webapp.WebAppContext;
 import org.mortbay.thread.QueuedThreadPool;
 
 import com.google.common.base.Joiner;
@@ -205,6 +207,9 @@ public class ThriftServerRunner implements Runnable {
 
   private final JvmPauseMonitor pauseMonitor;
 
+  static String THRIFT_HTTP_ALLOW_OPTIONS_METHOD = 
"hbase.thrift.http.allow.options.method";
+  private static boolean THRIFT_HTTP_ALLOW_OPTIONS_METHOD_DEFAULT = false;
+
   /** An enum of server implementation selections */
   enum ImplType {
 HS_HA("hsha", true, THsHaServer.class, true),
@@ -417,11 +422,14 @@ public class ThriftServerRunner implements Runnable {
 
 httpServer = new Server();
 // Context handler
-Context context = new Context(httpServer, "/", Context.SESSIONS);
+Context context = new WebAppContext();
 context.setContextPath("/");
+context.setResourceBase("hbase-webapps/");
 String httpPath = "/*";
 httpServer.setHandler(context);
 context.addServlet(new ServletHolder(thriftHttpServlet), httpPath);
+HttpServerUtil.constrainHttpMethods(context,
+conf.getBoolean(THRIFT_HTTP_ALLOW_OPTIONS_METHOD, 
THRIFT_HTTP_ALLOW_OPTIONS_METHOD_DEFAULT));
 
 // set up Jetty and run the embedded server
 Connector connector = new SelectChannelConnector();

http://git-wip-us.apache.org/repos/asf/hbase/blob/012ec17b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftHttpServer.java
--
diff --git 
a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftHttpServer.java
 
b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftHttpServer.java
index cf14e87..b21de38 100644
--- 
a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftHttpServer.java
+++ 
b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftHttpServer.java
@@ -18,10 +18,13 @@
  */
 package org.apache.hadoop.hbase.thrift;
 
+import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertNull;
 import static org.junit.Assert.fail;
 
+import java.net.HttpURLConnection;
+import java.net.URL;
 import java.util.ArrayList;
 import java.util.List;
 
@@ -149,6 +152,46 @@ public class TestThriftHttpServer {
 runThriftServer(0);
   }
 
+  @Test
+  public void testThriftServerHttpTraceForbiddenWhenOptionsDisabled() throws 
Exception {
+// HTTP TRACE method should be disabled for security
+// See https://www.owasp.org/index.php/Cross_Site_Tracing
+checkHttpMethods("TRACE", HttpURLConnection.HTTP_FORBIDDEN);
+  }
+
+  @Test
+  public void testThriftServerHttpTraceForbiddenWhenOptionsEnabled() throws 
Exception {
+// HTTP TRACE method sh

hbase git commit: HBASE-21323 Should not skip force updating for a sub procedure even if it has been finished; ADDENDUM

2018-10-18 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-2.0 9cc5f86e8 -> 32c0cf32c


HBASE-21323 Should not skip force updating for a sub procedure even if
it has been finished; ADDENDUM

Fix broke unit test.


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

Branch: refs/heads/branch-2.0
Commit: 32c0cf32c785fd8bb6ee3233861362688644a849
Parents: 9cc5f86
Author: Michael Stack 
Authored: Thu Oct 18 13:48:02 2018 -0700
Committer: Michael Stack 
Committed: Thu Oct 18 13:49:31 2018 -0700

--
 .../procedure2/store/wal/TestForceUpdateProcedure.java   | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/32c0cf32/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
--
diff --git 
a/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
 
b/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
index eb68955..bf5ce83 100644
--- 
a/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
+++ 
b/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
@@ -24,6 +24,8 @@ import java.io.IOException;
 import java.util.HashMap;
 import java.util.Map;
 import java.util.concurrent.Exchanger;
+import java.util.stream.Collectors;
+
 import org.apache.hadoop.fs.Path;
 import org.apache.hadoop.hbase.HBaseClassTestRule;
 import org.apache.hadoop.hbase.HBaseCommonTestingUtility;
@@ -209,7 +211,7 @@ public class TestForceUpdateProcedure {
 EXEC.submitProcedure(new ParentProcedure());
 EXCHANGER.exchange(Boolean.TRUE);
 UTIL.waitFor(1, () -> EXEC.getActiveExecutorCount() == 0);
-// The above operations are used to make sure that we have persist the 
states of the two
+// The above operations are to make sure that we have persisted the states 
of the two
 // procedures.
 long procId = EXEC.submitProcedure(new ExchangeProcedure());
 assertEquals(1, STORE.getActiveLogs().size());
@@ -236,12 +238,13 @@ public class TestForceUpdateProcedure {
 Map, Procedure> procMap = new HashMap<>();
 EXEC.getProcedures().stream().filter(p -> !p.isFinished())
   .forEach(p -> procMap.put(p.getClass(), p));
-assertEquals(3, procMap.size());
+StringBuffer sb = new StringBuffer();
+String mapAsStr = procMap.entrySet().stream().map(e -> e.getKey() + " " + 
e.getValue()).
+collect(Collectors.joining(", "));
+assertEquals(mapAsStr, 2, procMap.size());
 ParentProcedure parentProc = (ParentProcedure) 
procMap.get(ParentProcedure.class);
 assertEquals(ProcedureState.WAITING, parentProc.getState());
 WaitingProcedure waitingProc = (WaitingProcedure) 
procMap.get(WaitingProcedure.class);
 assertEquals(ProcedureState.WAITING_TIMEOUT, waitingProc.getState());
-DummyProcedure dummyProc = (DummyProcedure) 
procMap.get(DummyProcedure.class);
-assertEquals(ProcedureState.SUCCESS, dummyProc.getState());
   }
 }



hbase git commit: HBASE-21323 Should not skip force updating for a sub procedure even if it has been finished; ADDENDUM

2018-10-18 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-2.1 b3c3393c1 -> 30727764a


HBASE-21323 Should not skip force updating for a sub procedure even if
it has been finished; ADDENDUM

Fix broke unit test.


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

Branch: refs/heads/branch-2.1
Commit: 30727764a3f9c30c41eaae4340ee7ea9723c1306
Parents: b3c3393
Author: Michael Stack 
Authored: Thu Oct 18 13:48:02 2018 -0700
Committer: Michael Stack 
Committed: Thu Oct 18 13:48:02 2018 -0700

--
 .../procedure2/store/wal/TestForceUpdateProcedure.java   | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/30727764/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
--
diff --git 
a/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
 
b/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
index eb68955..bf5ce83 100644
--- 
a/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
+++ 
b/hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/store/wal/TestForceUpdateProcedure.java
@@ -24,6 +24,8 @@ import java.io.IOException;
 import java.util.HashMap;
 import java.util.Map;
 import java.util.concurrent.Exchanger;
+import java.util.stream.Collectors;
+
 import org.apache.hadoop.fs.Path;
 import org.apache.hadoop.hbase.HBaseClassTestRule;
 import org.apache.hadoop.hbase.HBaseCommonTestingUtility;
@@ -209,7 +211,7 @@ public class TestForceUpdateProcedure {
 EXEC.submitProcedure(new ParentProcedure());
 EXCHANGER.exchange(Boolean.TRUE);
 UTIL.waitFor(1, () -> EXEC.getActiveExecutorCount() == 0);
-// The above operations are used to make sure that we have persist the 
states of the two
+// The above operations are to make sure that we have persisted the states 
of the two
 // procedures.
 long procId = EXEC.submitProcedure(new ExchangeProcedure());
 assertEquals(1, STORE.getActiveLogs().size());
@@ -236,12 +238,13 @@ public class TestForceUpdateProcedure {
 Map, Procedure> procMap = new HashMap<>();
 EXEC.getProcedures().stream().filter(p -> !p.isFinished())
   .forEach(p -> procMap.put(p.getClass(), p));
-assertEquals(3, procMap.size());
+StringBuffer sb = new StringBuffer();
+String mapAsStr = procMap.entrySet().stream().map(e -> e.getKey() + " " + 
e.getValue()).
+collect(Collectors.joining(", "));
+assertEquals(mapAsStr, 2, procMap.size());
 ParentProcedure parentProc = (ParentProcedure) 
procMap.get(ParentProcedure.class);
 assertEquals(ProcedureState.WAITING, parentProc.getState());
 WaitingProcedure waitingProc = (WaitingProcedure) 
procMap.get(WaitingProcedure.class);
 assertEquals(ProcedureState.WAITING_TIMEOUT, waitingProc.getState());
-DummyProcedure dummyProc = (DummyProcedure) 
procMap.get(DummyProcedure.class);
-assertEquals(ProcedureState.SUCCESS, dummyProc.getState());
   }
 }



hbase git commit: Amend HBASE-21263 Mention compression algorithm along with other storefile details

2018-10-18 Thread apurtell
Repository: hbase
Updated Branches:
  refs/heads/branch-1.4 a44ba216c -> 8c1572f87


Amend HBASE-21263 Mention compression algorithm along with other storefile 
details

Meant to apply the change for branch-1.3 here to branch-1.4, accidentally
used the branch-1 change instead. Fixing.


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

Branch: refs/heads/branch-1.4
Commit: 8c1572f877a7e4185a2be9e0065a9cd7d3a10ba7
Parents: a44ba21
Author: Andrew Purtell 
Authored: Thu Oct 18 12:03:03 2018 -0700
Committer: Andrew Purtell 
Committed: Thu Oct 18 12:03:03 2018 -0700

--
 .../src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/8c1572f8/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
index 42d9988..201d8c1 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
@@ -352,7 +352,7 @@ public class HStore implements Store {
 
 LOG.info("Store=" + getColumnFamilyName() +
   ", memstore type=" + this.memstore.getClass().getSimpleName() +
-  ", storagePolicy=" + policyName + ", verifyBulkLoads=" + verifyBulkLoads 
+
+  ", verifyBulkLoads=" + verifyBulkLoads +
   ", encoding=" + family.getDataBlockEncoding() +
   ", compression=" + family.getCompressionType());
   }



[36/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/assignment/AssignProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/AssignProcedure.html 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/AssignProcedure.html
index b75fafb..2064091 100644
--- a/devapidocs/org/apache/hadoop/hbase/master/assignment/AssignProcedure.html
+++ b/devapidocs/org/apache/hadoop/hbase/master/assignment/AssignProcedure.html
@@ -339,7 +339,7 @@ extends Procedure
-acquireLock,
 addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollba
 ck, elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcId,
 g
 etProcIdHashCode, getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 holdLock, incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 isYieldAfterExecutionStep, 
releaseLock,
 removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 
 setLastUpdate, setNonceKey,
 setOwner,
 setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setSt
 ackIndexes, setState,
 setSubmittedTime,
 setTimeout,
 setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass, toStringDetails,
 toStringSimpleSB,
 updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 waitInitialized,
 wasExecuted
+acquireLock,
 addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doExecute,
 
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProc
 Id, getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent, holdLock,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting, isYieldAfterExecutionStep,
 releaseLock,
 removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 set
 Failure, setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout,
 setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString, toStringClass,
 toStringDetails,
 toStringSimpleSB,
 updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 waitInitialized,
 wasExecuted
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/assignment/AssignmentManager.RegionInTransitionChore.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/AssignmentManager.RegionInTransitionChore.html
 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/AssignmentManager.RegionInTransitionChore.html
index 2f5e98a..b00c2c9 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/AssignmentManager.RegionInTransitionChore.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/AssignmentManager.RegionInTransitionChore.html
@@ -127,7 +127,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-private static class AssignmentManager.RegionInTransitionChore
+private static class AssignmentManager.RegionInTransitionChore
 extends ProcedureInMemoryChore
 
 
@@ -211,7 +211,7 @@ extends Procedure
-acquireLock,
 addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollba
 ck, elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId, getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedT
 ime, getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 holdLock,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting, isYieldAfterExecutionStep,
 releaseLock,
 removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure, setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId, setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout,
 setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString, toStringClass,
 toStringClassDetails,
 toStringDetails,
 toStringSimpleSB,
 toStringState,
 updateMetricsOnFinish,
 updateMetricsOnSubmit,
 

[47/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/apidocs/src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html
--
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html 
b/apidocs/src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html
index 30a1259..e9324f9 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html
@@ -63,1007 +63,1152 @@
 055  private ByteBufferUtils() {
 056  }
 057
-058  /**
-059   * Similar to {@link 
WritableUtils#writeVLong(java.io.DataOutput, long)},
-060   * but writes to a {@link 
ByteBuffer}.
-061   */
-062  public static void 
writeVLong(ByteBuffer out, long i) {
-063if (i >= -112 && i <= 
127) {
-064  out.put((byte) i);
-065  return;
-066}
-067
-068int len = -112;
-069if (i < 0) {
-070  i ^= -1L; // take one's 
complement
-071  len = -120;
-072}
-073
-074long tmp = i;
-075while (tmp != 0) {
-076  tmp = tmp >> 8;
-077  len--;
-078}
+058
+059  static abstract class Comparer {
+060abstract int compareTo(byte [] buf1, 
int o1, int l1, ByteBuffer buf2, int o2, int l2);
+061abstract int compareTo(ByteBuffer 
buf1, int o1, int l1, ByteBuffer buf2, int o2, int l2);
+062  }
+063
+064  static abstract class Converter {
+065abstract short toShort(ByteBuffer 
buffer, int offset);
+066abstract int toInt(ByteBuffer 
buffer);
+067abstract int toInt(ByteBuffer buffer, 
int offset);
+068abstract long toLong(ByteBuffer 
buffer, int offset);
+069abstract void putInt(ByteBuffer 
buffer, int val);
+070abstract int putInt(ByteBuffer 
buffer, int index, int val);
+071abstract void putShort(ByteBuffer 
buffer, short val);
+072abstract int putShort(ByteBuffer 
buffer, int index, short val);
+073abstract void putLong(ByteBuffer 
buffer, long val);
+074abstract int putLong(ByteBuffer 
buffer, int index, long val);
+075  }
+076
+077  static class ComparerHolder {
+078static final String 
UNSAFE_COMPARER_NAME = ComparerHolder.class.getName() + "$UnsafeComparer";
 079
-080out.put((byte) len);
+080static final Comparer BEST_COMPARER = 
getBestComparer();
 081
-082len = (len < -120) ? -(len + 120) 
: -(len + 112);
-083
-084for (int idx = len; idx != 0; idx--) 
{
-085  int shiftbits = (idx - 1) * 8;
-086  long mask = 0xFFL << 
shiftbits;
-087  out.put((byte) ((i & mask) 
>> shiftbits));
-088}
-089  }
-090
-091  /**
-092   * Similar to {@link 
WritableUtils#readVLong(DataInput)} but reads from a
-093   * {@link ByteBuffer}.
-094   */
-095  public static long readVLong(ByteBuffer 
in) {
-096byte firstByte = in.get();
-097int len = 
WritableUtils.decodeVIntSize(firstByte);
-098if (len == 1) {
-099  return firstByte;
-100}
-101long i = 0;
-102for (int idx = 0; idx < len-1; 
idx++) {
-103  byte b = in.get();
-104  i = i << 8;
-105  i = i | (b & 0xFF);
-106}
-107return 
(WritableUtils.isNegativeVInt(firstByte) ? (i ^ -1L) : i);
-108  }
-109
-110
-111  /**
-112   * Put in buffer integer using 7 bit 
encoding. For each written byte:
-113   * 7 bits are used to store value
-114   * 1 bit is used to indicate whether 
there is next bit.
-115   * @param value Int to be compressed.
-116   * @param out Where to put compressed 
data
-117   * @return Number of bytes written.
-118   * @throws IOException on stream 
error
-119   */
-120   public static int 
putCompressedInt(OutputStream out, final int value)
-121  throws IOException {
-122int i = 0;
-123int tmpvalue = value;
-124do {
-125  byte b = (byte) (tmpvalue & 
VALUE_MASK);
-126  tmpvalue >>>= 
NEXT_BIT_SHIFT;
-127  if (tmpvalue != 0) {
-128b |= (byte) NEXT_BIT_MASK;
-129  }
-130  out.write(b);
-131  i++;
-132} while (tmpvalue != 0);
-133return i;
-134  }
-135
-136   /**
-137* Put in output stream 32 bit integer 
(Big Endian byte order).
-138* @param out Where to put integer.
-139* @param value Value of integer.
-140* @throws IOException On stream 
error.
-141*/
-142   public static void putInt(OutputStream 
out, final int value)
-143   throws IOException {
-144 // We have writeInt in 
ByteBufferOutputStream so that it can directly write
-145 // int to underlying
-146 // ByteBuffer in one step.
-147 if (out instanceof ByteBufferWriter) 
{
-148   ((ByteBufferWriter) 
out).writeInt(value);
-149 } else {
-150   StreamUtils.writeInt(out, 
value);
-151 }
-152   }
-153
-154  public static byte toByte(ByteBuffer 
buffer, int offset) {
-155if (UNSAFE_AVAIL) {
-156  return UnsafeAccess.toByte(buffer, 
offset);
-157} else {
-158  return buffer.get(offset);
-159}
-160  }
-161
-162  /**
-163   * Copy the data to the output stream 
and update position in buffer.

[21/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/procedure/TruncateTableProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/procedure/TruncateTableProcedure.html
 
b/devapidocs/org/apache/hadoop/hbase/master/procedure/TruncateTableProcedure.html
index 093bc8e..7744c8c 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/procedure/TruncateTableProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/procedure/TruncateTableProcedure.html
@@ -377,7 +377,7 @@ extends Procedure
-addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode,
 get
 ProcName, getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 incChildrenLatch,
 isBypass, isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner,
 setParentProcId, setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout,
 setTimeoutFailure, shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringDetails,
 toStringSimpleSB,
 updateMetricsOnFinish,
 updateMetricsOnSubmit, updateTimestamp,
 wasExecuted
+addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProc
 IdHashCode, getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 incChildrenLatch, isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex,
 setAbortFailure, 
setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner, setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout, setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringDetails,
 toStringSimpleSB,
 updateMetricsOnFinish, updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
 
 
 



[19/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/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 3fa4076..8079e92 100644
--- a/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html
@@ -216,8 +216,8 @@
 java.lang.https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true";
 title="class or interface in java.lang">Enum (implements java.lang.https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true";
 title="class or interface in java.lang">Comparable, java.io.https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true";
 title="class or interface in java.io">Serializable)
 
 org.apache.hadoop.hbase.master.procedure.MetaProcedureInterface.MetaOperationType
-org.apache.hadoop.hbase.master.procedure.ServerProcedureInterface.ServerOperationType
 org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType
+org.apache.hadoop.hbase.master.procedure.ServerProcedureInterface.ServerOperationType
 org.apache.hadoop.hbase.master.procedure.PeerProcedureInterface.PeerOperationType
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html
 
b/devapidocs/org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html
index 9576138..8967bb1 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html
@@ -330,7 +330,7 @@ implements Procedure
-addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode, getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner, setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout, shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringClassDetails,
 toStringDetails,
 toStringSimpleSB,
 updateMetricsOnFinish, updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
+addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId, getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 <
 a 
href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#getTimeout--">getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent, incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex, setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner, setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime, setTimeout,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringClassDetails,
 toStringDetails,
 toStringSimpleSB, updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/replication/AddPeerProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/replication/AddPeerProcedure.html 
b/devapidocs/org/apache/hadoop/hbase/master/replication/AddPeerProcedure.html
index 3faea50..1e82772 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/replication/AddPeerProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/replication/AddPeerProcedure.html
@@ -347,7 +347,7 @@ extends Procedure
-addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,

[41/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/checkstyle.rss
--
diff --git a/checkstyle.rss b/checkstyle.rss
index a182fa1..82040af 100644
--- a/checkstyle.rss
+++ b/checkstyle.rss
@@ -25,8 +25,8 @@ under the License.
 en-us
 ©2007 - 2018 The Apache Software Foundation
 
-  File: 3790,
- Errors: 15114,
+  File: 3793,
+ Errors: 15111,
  Warnings: 0,
  Infos: 0
   
@@ -2832,6 +2832,20 @@ under the License.
   
   
 
+  http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.master.assignment.TestRegionBypass.java";>org/apache/hadoop/hbase/master/assignment/TestRegionBypass.java
+
+
+  0
+
+
+  0
+
+
+  0
+
+  
+  
+
   http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.ScheduledChore.java";>org/apache/hadoop/hbase/ScheduledChore.java
 
 
@@ -20677,7 +20691,7 @@ under the License.
   0
 
 
-  13
+  11
 
   
   
@@ -24126,6 +24140,20 @@ under the License.
   
   
 
+  http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.master.procedure.TestReopenTableRegionsProcedureInfiniteLoop.java";>org/apache/hadoop/hbase/master/procedure/TestReopenTableRegionsProcedureInfiniteLoop.java
+
+
+  0
+
+
+  0
+
+
+  0
+
+  
+  
+
   http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.mapred.TestTableInputFormat.java";>org/apache/hadoop/hbase/mapred/TestTableInputFormat.java
 
 
@@ -48593,7 +48621,7 @@ under the License.
   0
 
 
-  89
+  88
 
   
   
@@ -52952,6 +52980,20 @@ under the License.
   
   
 
+  http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.client.TestAdminShell2.java";>org/apache/hadoop/hbase/client/TestAdminShell2.java
+
+
+  0
+
+
+  0
+
+
+  0
+
+  
+  
+
   http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.conf.ConfigurationObserver.java";>org/apache/hadoop/hbase/conf/ConfigurationObserver.java
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/coc.html
--
diff --git a/coc.html b/coc.html
index 22cf628..fc82914 100644
--- a/coc.html
+++ b/coc.html
@@ -7,7 +7,7 @@
   
 
 
-
+
 
 Apache HBase – 
   Code of Conduct Policy
@@ -385,7 +385,7 @@ email to mailto:priv...@hbase.apache.org";>the priv
 https://www.apache.org/";>The Apache Software 
Foundation.
 All rights reserved.  
 
-  Last Published: 
2018-10-17
+  Last Published: 
2018-10-18
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/dependencies.html
--
diff --git a/dependencies.html b/dependencies.html
index 59edd79..237b582 100644
--- a/dependencies.html
+++ b/dependencies.html
@@ -7,7 +7,7 @@
   
 
 
-
+
 
 Apache HBase – Project Dependencies
 
@@ -450,7 +450,7 @@
 https://www.apache.org/";>The Apache Software 
Foundation.
 All rights reserved.  
 
-  Last Published: 
2018-10-17
+  Last Published: 
2018-10-18
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/dependency-convergence.html
--
diff --git a/dependency-convergence.html b/dependency-convergence.html
index fa63c40..d8028b7 100644
--- a/dependency-convergence.html
+++ b/dependency-convergence.html
@@ -7,7 +7,7 @@
   
 
 
-
+
 
 Apache HBase – Reactor Dependency Convergence
 

[48/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/apidocs/src-html/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html
--
diff --git 
a/apidocs/src-html/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html 
b/apidocs/src-html/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html
index 3efe1f0..3b88f1d 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html
@@ -43,629 +43,628 @@
 035import 
org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.BytesBytesPair;
 036import 
org.apache.hadoop.hbase.util.Bytes;
 037import 
org.apache.hadoop.hbase.util.Pair;
-038import 
org.apache.hadoop.hbase.util.UnsafeAccess;
-039import 
org.apache.hadoop.hbase.util.UnsafeAvailChecker;
-040
-041import 
org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting;
-042
-043/**
-044 * This is optimized version of a 
standard FuzzyRowFilter Filters data based on fuzzy row key.
-045 * Performs fast-forwards during 
scanning. It takes pairs (row key, fuzzy info) to match row keys.
-046 * Where fuzzy info is a byte array with 
0 or 1 as its values:
-047 * 
    -048 *
  • 0 - means that this byte in provided row key is fixed, i.e. row key's byte at same position -049 * must match
  • -050 *
  • 1 - means that this byte in provided row key is NOT fixed, i.e. row key's byte at this -051 * position can be different from the one in provided row key
  • -052 *
-053 * Example: Let's assume row key format is userId_actionId_year_month. Length of userId is fixed and -054 * is 4, length of actionId is 2 and year and month are 4 and 2 bytes long respectively. Let's -055 * assume that we need to fetch all users that performed certain action (encoded as "99") in Jan of -056 * any year. Then the pair (row key, fuzzy info) would be the following: row key = "_99__01" -057 * (one can use any value instead of "?") fuzzy info = -058 * "\x01\x01\x01\x01\x00\x00\x00\x00\x01\x01\x01\x01\x00\x00\x00" I.e. fuzzy info tells the matching -059 * mask is "_99__01", where at ? can be any value. -060 */ -061@InterfaceAudience.Public -062public class FuzzyRowFilter extends FilterBase { -063 private static final boolean UNSAFE_UNALIGNED = UnsafeAvailChecker.unaligned(); -064 private List> fuzzyKeysData; -065 private boolean done = false; -066 -067 /** -068 * The index of a last successfully found matching fuzzy string (in fuzzyKeysData). We will start -069 * matching next KV with this one. If they do not match then we will return back to the one-by-one -070 * iteration over fuzzyKeysData. -071 */ -072 private int lastFoundIndex = -1; -073 -074 /** -075 * Row tracker (keeps all next rows after SEEK_NEXT_USING_HINT was returned) -076 */ -077 private RowTracker tracker; -078 -079 public FuzzyRowFilter(List> fuzzyKeysData) { -080List> fuzzyKeyDataCopy = new ArrayList<>(fuzzyKeysData.size()); -081 -082for (Pair aFuzzyKeysData : fuzzyKeysData) { -083 if (aFuzzyKeysData.getFirst().length != aFuzzyKeysData.getSecond().length) { -084Pair readable = -085 new Pair<>(Bytes.toStringBinary(aFuzzyKeysData.getFirst()), Bytes.toStringBinary(aFuzzyKeysData.getSecond())); -086throw new IllegalArgumentException("Fuzzy pair lengths do not match: " + readable); -087 } -088 -089 Pair p = new Pair<>(); -090 // create a copy of pair bytes so that they are not modified by the filter. -091 p.setFirst(Arrays.copyOf(aFuzzyKeysData.getFirst(), aFuzzyKeysData.getFirst().length)); -092 p.setSecond(Arrays.copyOf(aFuzzyKeysData.getSecond(), aFuzzyKeysData.getSecond().length)); -093 -094 // update mask ( 0 -> -1 (0xff), 1 -> 2) -095 p.setSecond(preprocessMask(p.getSecond())); -096 preprocessSearchKey(p); -097 -098 fuzzyKeyDataCopy.add(p); -099} -100this.fuzzyKeysData = fuzzyKeyDataCopy; -101this.tracker = new RowTracker(); -102 } +038import org.apache.hadoop.hbase.util.UnsafeAvailChecker; +039 +040import org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting; +041 +042/** +043 * This is optimized version of a standard FuzzyRowFilter Filters data based on fuzzy row key. +044 * Performs fast-forwards during scanning. It takes pairs (row key, fuzzy info) to match row keys. +045 * Where fuzzy info is a byte array with 0 or 1 as its values: +046 *
    +047 *
  • 0 - means that this byte in provided row key is fixed, i.e. row key's byte at same position +048 * must match
  • +049 *
  • 1 - means that this byte in provided row key is NOT fixed, i.e. row key's byte at this +050 * position can be different from the one in provided row key
  • +051 *
+052 * Example: Let's assume row key format i

[04/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/util/class-use/ByteBufferUtils.Comparer.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/util/class-use/ByteBufferUtils.Comparer.html
 
b/devapidocs/org/apache/hadoop/hbase/util/class-use/ByteBufferUtils.Comparer.html
new file mode 100644
index 000..d3d202d
--- /dev/null
+++ 
b/devapidocs/org/apache/hadoop/hbase/util/class-use/ByteBufferUtils.Comparer.html
@@ -0,0 +1,195 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+
+Uses of Class org.apache.hadoop.hbase.util.ByteBufferUtils.Comparer 
(Apache HBase 3.0.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Overview
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev
+Next
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+
+
+
+Uses of 
Classorg.apache.hadoop.hbase.util.ByteBufferUtils.Comparer
+
+
+
+
+
+Packages that use ByteBufferUtils.Comparer 
+
+Package
+Description
+
+
+
+org.apache.hadoop.hbase.util
+ 
+
+
+
+
+
+
+
+
+
+Uses of ByteBufferUtils.Comparer in 
org.apache.hadoop.hbase.util
+
+Subclasses of ByteBufferUtils.Comparer in 
org.apache.hadoop.hbase.util 
+
+Modifier and Type
+Class and Description
+
+
+
+(package private) static class 
+ByteBufferUtils.ComparerHolder.PureJavaComparer 
+
+
+(package private) static class 
+ByteBufferUtils.ComparerHolder.UnsafeComparer 
+
+
+
+
+Fields in org.apache.hadoop.hbase.util
 declared as ByteBufferUtils.Comparer 
+
+Modifier and Type
+Field and Description
+
+
+
+(package private) static ByteBufferUtils.Comparer
+ByteBufferUtils.ComparerHolder.BEST_COMPARER 
+
+
+
+
+Methods in org.apache.hadoop.hbase.util
 that return ByteBufferUtils.Comparer 
+
+Modifier and Type
+Method and Description
+
+
+
+(package private) static ByteBufferUtils.Comparer
+ByteBufferUtils.ComparerHolder.getBestComparer() 
+
+
+
+
+
+
+
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Overview
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev
+Next
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+
+
+Copyright © 2007–2018 https://www.apache.org/";>The Apache Software Foundation. All rights 
reserved.
+
+

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/util/class-use/ByteBufferUtils.ComparerHolder.PureJavaComparer.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/util/class-use/ByteBufferUtils.ComparerHolder.PureJavaComparer.html
 
b/devapidocs/org/apache/hadoop/hbase/util/class-use/ByteBufferUtils.ComparerHolder.PureJavaComparer.html
new file mode 100644
index 000..6e8eb4d
--- /dev/null
+++ 
b/devapidocs/org/apache/hadoop/hbase/util/class-use/ByteBufferUtils.ComparerHolder.PureJavaComparer.html
@@ -0,0 +1,165 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+
+Uses of Class 
org.apache.hadoop.hbase.util.ByteBufferUtils.ComparerHolder.PureJavaComparer 
(Apache HBase 3.0.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Overview
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev
+Next
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+
+
+
+Uses of 
Classorg.apache.hadoop.hbase.util.ByteBufferUtils.ComparerHolder.PureJavaComparer
+
+
+
+
+
+Packages that use ByteBufferUtils.ComparerHolder.PureJavaComparer 
+
+Package
+Description
+
+
+
+org.apache.hadoop.hbase.util
+ 
+
+
+
+
+
+
+
+
+
+Uses of ByteBufferUtils.ComparerHolder.PureJavaComparer
 in org.apache.hadoop.hbase.util
+
+Fields in org.apache.hadoop.hbase.util
 declared as ByteBufferUtils.ComparerHolder.PureJa

[06/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/util/Bytes.Converter.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/util/Bytes.Converter.html 
b/devapidocs/org/apache/hadoop/hbase/util/Bytes.Converter.html
new file mode 100644
index 000..a8a22f1
--- /dev/null
+++ b/devapidocs/org/apache/hadoop/hbase/util/Bytes.Converter.html
@@ -0,0 +1,369 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+
+Bytes.Converter (Apache HBase 3.0.0-SNAPSHOT API)
+
+
+
+
+
+var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance 
Methods"],4:["t3","Abstract Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Overview
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev Class
+Next Class
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+Summary: 
+Nested | 
+Field | 
+Constr | 
+Method
+
+
+Detail: 
+Field | 
+Constr | 
+Method
+
+
+
+
+
+
+
+
+org.apache.hadoop.hbase.util
+Class Bytes.Converter
+
+
+
+https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">java.lang.Object
+
+
+org.apache.hadoop.hbase.util.Bytes.Converter
+
+
+
+
+
+
+
+Direct Known Subclasses:
+Bytes.ConverterHolder.PureJavaConverter, Bytes.ConverterHolder.UnsafeConverter
+
+
+Enclosing class:
+Bytes
+
+
+
+abstract static class Bytes.Converter
+extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors 
+
+Constructor and Description
+
+
+Converter() 
+
+
+
+
+
+
+
+
+
+Method Summary
+
+All Methods Instance Methods Abstract Methods 
+
+Modifier and Type
+Method and Description
+
+
+(package private) abstract int
+putInt(byte[] bytes,
+  int offset,
+  int val) 
+
+
+(package private) abstract int
+putLong(byte[] bytes,
+   int offset,
+   long val) 
+
+
+(package private) abstract int
+putShort(byte[] bytes,
+int offset,
+short val) 
+
+
+(package private) abstract int
+toInt(byte[] bytes,
+ int offset,
+ int length) 
+
+
+(package private) abstract long
+toLong(byte[] bytes,
+  int offset,
+  int length) 
+
+
+(package private) abstract short
+toShort(byte[] bytes,
+   int offset,
+   int length) 
+
+
+
+
+
+
+Methods inherited from class java.lang.https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
+https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--";
 title="class or interface in java.lang">clone, https://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, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--";
 title="class or interface in java.lang">finalize, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--";
 title="class or interface in java.lang">getClass, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--";
 title="class or interface in java.lang">hashCode, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--";
 title="class or interface in java.lang">notify, https://docs.oracle.com/javase/8/docs/api/ja
 va/lang/Object.html?is-external=true#notifyAll--" title="class or interface in 
java.lang">notifyAll, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--";
 title="class or interface in java.lang">toString, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--";
 title="class or interface in java.lang">wait, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-";
 title="class or interface in java.lang">wait, https://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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Detail
+
+
+
+
+
+Converter
+Converter()
+
+
+
+
+
+
+
+
+
+Method Detail
+
+
+
+
+
+toLong
+abstract long toLong(byte[] bytes,
+

[01/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
Repository: hbase-site
Updated Branches:
  refs/heads/asf-site ba3ba8b2e -> c9ebe6860


http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/src-html/org/apache/hadoop/hbase/filter/FuzzyRowFilter.RowTracker.html
--
diff --git 
a/devapidocs/src-html/org/apache/hadoop/hbase/filter/FuzzyRowFilter.RowTracker.html
 
b/devapidocs/src-html/org/apache/hadoop/hbase/filter/FuzzyRowFilter.RowTracker.html
index 3efe1f0..3b88f1d 100644
--- 
a/devapidocs/src-html/org/apache/hadoop/hbase/filter/FuzzyRowFilter.RowTracker.html
+++ 
b/devapidocs/src-html/org/apache/hadoop/hbase/filter/FuzzyRowFilter.RowTracker.html
@@ -43,629 +43,628 @@
 035import 
org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.BytesBytesPair;
 036import 
org.apache.hadoop.hbase.util.Bytes;
 037import 
org.apache.hadoop.hbase.util.Pair;
-038import 
org.apache.hadoop.hbase.util.UnsafeAccess;
-039import 
org.apache.hadoop.hbase.util.UnsafeAvailChecker;
-040
-041import 
org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting;
-042
-043/**
-044 * This is optimized version of a 
standard FuzzyRowFilter Filters data based on fuzzy row key.
-045 * Performs fast-forwards during 
scanning. It takes pairs (row key, fuzzy info) to match row keys.
-046 * Where fuzzy info is a byte array with 
0 or 1 as its values:
-047 * 
    -048 *
  • 0 - means that this byte in provided row key is fixed, i.e. row key's byte at same position -049 * must match
  • -050 *
  • 1 - means that this byte in provided row key is NOT fixed, i.e. row key's byte at this -051 * position can be different from the one in provided row key
  • -052 *
-053 * Example: Let's assume row key format is userId_actionId_year_month. Length of userId is fixed and -054 * is 4, length of actionId is 2 and year and month are 4 and 2 bytes long respectively. Let's -055 * assume that we need to fetch all users that performed certain action (encoded as "99") in Jan of -056 * any year. Then the pair (row key, fuzzy info) would be the following: row key = "_99__01" -057 * (one can use any value instead of "?") fuzzy info = -058 * "\x01\x01\x01\x01\x00\x00\x00\x00\x01\x01\x01\x01\x00\x00\x00" I.e. fuzzy info tells the matching -059 * mask is "_99__01", where at ? can be any value. -060 */ -061@InterfaceAudience.Public -062public class FuzzyRowFilter extends FilterBase { -063 private static final boolean UNSAFE_UNALIGNED = UnsafeAvailChecker.unaligned(); -064 private List> fuzzyKeysData; -065 private boolean done = false; -066 -067 /** -068 * The index of a last successfully found matching fuzzy string (in fuzzyKeysData). We will start -069 * matching next KV with this one. If they do not match then we will return back to the one-by-one -070 * iteration over fuzzyKeysData. -071 */ -072 private int lastFoundIndex = -1; -073 -074 /** -075 * Row tracker (keeps all next rows after SEEK_NEXT_USING_HINT was returned) -076 */ -077 private RowTracker tracker; -078 -079 public FuzzyRowFilter(List> fuzzyKeysData) { -080List> fuzzyKeyDataCopy = new ArrayList<>(fuzzyKeysData.size()); -081 -082for (Pair aFuzzyKeysData : fuzzyKeysData) { -083 if (aFuzzyKeysData.getFirst().length != aFuzzyKeysData.getSecond().length) { -084Pair readable = -085 new Pair<>(Bytes.toStringBinary(aFuzzyKeysData.getFirst()), Bytes.toStringBinary(aFuzzyKeysData.getSecond())); -086throw new IllegalArgumentException("Fuzzy pair lengths do not match: " + readable); -087 } -088 -089 Pair p = new Pair<>(); -090 // create a copy of pair bytes so that they are not modified by the filter. -091 p.setFirst(Arrays.copyOf(aFuzzyKeysData.getFirst(), aFuzzyKeysData.getFirst().length)); -092 p.setSecond(Arrays.copyOf(aFuzzyKeysData.getSecond(), aFuzzyKeysData.getSecond().length)); -093 -094 // update mask ( 0 -> -1 (0xff), 1 -> 2) -095 p.setSecond(preprocessMask(p.getSecond())); -096 preprocessSearchKey(p); -097 -098 fuzzyKeyDataCopy.add(p); -099} -100this.fuzzyKeysData = fuzzyKeyDataCopy; -101this.tracker = new RowTracker(); -102 } +038import org.apache.hadoop.hbase.util.UnsafeAvailChecker; +039 +040import org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting; +041 +042/** +043 * This is optimized version of a standard FuzzyRowFilter Filters data based on fuzzy row key. +044 * Performs fast-forwards during scanning. It takes pairs (row key, fuzzy info) to match row keys. +045 * Where fuzzy info is a byte array with 0 or 1 as its values: +046 *
    +047 *
  • 0 - means that this byte in provided row key is fixed, i.e. row key's byte at same position +048 * must match
  • +049 *
  • 1 - means that this byte in provided row key is NOT fixed

[29/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.html 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.html
index 7ff373c..a3e902f 100644
--- a/devapidocs/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.html
+++ b/devapidocs/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.html
@@ -118,7 +118,7 @@ var activeTableTab = "activeTableTab";
 
 
 @InterfaceAudience.Private
-public abstract class BaseLoadBalancer
+public abstract class BaseLoadBalancer
 extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 implements LoadBalancer
 The base class for load balancers. It provides the the 
functions used to by
@@ -500,7 +500,7 @@ implements 
 
 MIN_SERVER_BALANCE
-protected static final int MIN_SERVER_BALANCE
+protected static final int MIN_SERVER_BALANCE
 
 See Also:
 Constant
 Field Values
@@ -513,7 +513,7 @@ implements 
 
 stopped
-private volatile boolean stopped
+private volatile boolean stopped
 
 
 
@@ -522,7 +522,7 @@ implements 
 
 EMPTY_REGION_LIST
-private static final https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List EMPTY_REGION_LIST
+private static final https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List EMPTY_REGION_LIST
 
 
 
@@ -531,7 +531,7 @@ implements 
 
 IDLE_SERVER_PREDICATOR
-static final https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true";
 title="class or interface in java.util.function">Predicate IDLE_SERVER_PREDICATOR
+static final https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true";
 title="class or interface in java.util.function">Predicate IDLE_SERVER_PREDICATOR
 
 
 
@@ -540,7 +540,7 @@ implements 
 
 regionFinder
-protected RegionLocationFinder regionFinder
+protected RegionLocationFinder regionFinder
 
 
 
@@ -549,7 +549,7 @@ implements 
 
 useRegionFinder
-protected boolean useRegionFinder
+protected boolean useRegionFinder
 
 
 
@@ -558,7 +558,7 @@ implements 
 
 slop
-protected float slop
+protected float slop
 
 
 
@@ -567,7 +567,7 @@ implements 
 
 overallSlop
-protected float overallSlop
+protected float overallSlop
 
 
 
@@ -576,7 +576,7 @@ implements 
 
 config
-protected org.apache.hadoop.conf.Configuration config
+protected org.apache.hadoop.conf.Configuration config
 
 
 
@@ -585,7 +585,7 @@ implements 
 
 rackManager
-protected RackManager rackManager
+protected RackManager rackManager
 
 
 
@@ -594,7 +594,7 @@ implements 
 
 RANDOM
-private static final https://docs.oracle.com/javase/8/docs/api/java/util/Random.html?is-external=true";
 title="class or interface in java.util">Random RANDOM
+private static final https://docs.oracle.com/javase/8/docs/api/java/util/Random.html?is-external=true";
 title="class or interface in java.util">Random RANDOM
 
 
 
@@ -603,7 +603,7 @@ implements 
 
 LOG
-private static final org.slf4j.Logger LOG
+private static final org.slf4j.Logger LOG
 
 
 
@@ -612,7 +612,7 @@ implements 
 
 metricsBalancer
-protected MetricsBalancer 
metricsBalancer
+protected MetricsBalancer 
metricsBalancer
 
 
 
@@ -621,7 +621,7 @@ implements 
 
 clusterStatus
-protected ClusterMetrics clusterStatus
+protected ClusterMetrics clusterStatus
 
 
 
@@ -630,7 +630,7 @@ implements 
 
 masterServerName
-protected ServerName masterServerName
+protected ServerName masterServerName
 
 
 
@@ -639,7 +639,7 @@ implements 
 
 services
-protected MasterServices services
+protected MasterServices services
 
 
 
@@ -648,7 +648,7 @@ implements 
 
 tablesOnMaster
-protected boolean tablesOnMaster
+protected boolean tablesOnMaster
 
 
 
@@ -657,7 +657,7 @@ implements 
 
 onlySystemTablesOnMaster
-protected boolean onlySystemTablesOnMaster
+protected boolean onlySystemTablesOnMaster
 
 
 
@@ -674,7 +674,7 @@ implements 
 
 BaseLoadBalancer
-protected BaseLoadBalancer()
+protected BaseLoadBalancer()
 The constructor that uses the basic MetricsBalancer
 
 
@@ -684,7 +684,7 @@ implements 
 
 BaseLoadBalancer
-protected BaseLoadBalancer(MetricsBalancer metricsBalancer)
+protected BaseLoadBalancer(MetricsBalancer metricsBalancer)
 This Constructor accepts an instance of MetricsBalancer,
  which will be used instead of creating a new one
 
@@ -703,7 +703,7 @@ implements 
 
 createRegionFinder
-private void createRegionFinder()
+private void createRegionFinder()
 
 
 
@@ -712,7 +712,7 @@ implements 
 
 setConf
-public void setConf(org.apache.hadoop.conf.Configuration conf)
+public void setConf(org.apache.hadoop.conf.Configuration conf)
 
 Speci

[11/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/procedure2/TwoPhaseProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/procedure2/TwoPhaseProcedure.html 
b/devapidocs/org/apache/hadoop/hbase/procedure2/TwoPhaseProcedure.html
index 773eb00..fa380ee 100644
--- a/devapidocs/org/apache/hadoop/hbase/procedure2/TwoPhaseProcedure.html
+++ b/devapidocs/org/apache/hadoop/hbase/procedure2/TwoPhaseProcedure.html
@@ -180,7 +180,7 @@ extends Procedure
-abort,
 acquireLock,
 addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 deserializeStateData,
 doAcquireLock,
 doExecute,
 doReleaseLock,
 doRollback,
 elapsedTime,
 execute,
 getChildrenLatch, getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode,
 getProcName, getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutT
 imestamp, hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 holdLock,
 incChildrenLatch, isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 isYieldAfterExecutionStep,
 lockedWhenLoading, needPersistence,
 releaseLock,
 removeStackIndex,
 resetPersistence,
 restoreLock,
 rollback,
 serializeStateData,
 setAbortFailure, 
setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner,
 s
 etOwner, setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout,
 setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringClassDetails,
 toStringDetails,
 toStringSimpleSB,
 toStringState,
 tryRunnable,
 updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 waitInitialized,
 wasExecuted
+abort,
 acquireLock,
 addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 deserializeStateData,
 doAcquireLock,
 doExecute,
 doReleaseLock,
 doRollback,
 elapsedTime,
 execute,
 getChildrenLatch, getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode,
 getProcName, 
getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp, href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#hasChildren--">hasChildren,
 > href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#hasException--">hasException,
 > href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#hasLock--">hasLock,
 > href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#hasOwner--">hasOwner,
 > href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#hasParent--">hasParent,
 > href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#hasTimeout--">hasTimeout,
 > href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#haveSameParent-org.apache.hadoop.hbase.procedure2.Procedure-org.apache.hadoop.hbase.procedure2.Procedure-">haveSameParent,
 > href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#holdLock-TEnvironment-">holdLock,
 > incChildrenLatch, isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 isYieldAfterExecutionStep,
 lockedWhenLoading, needPersistence,
 releaseLock,
 removeStackIndex,
 resetPersistence,
 restoreLock,
 rollback,
 serializeStateData,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner, setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime,
 setTime
 out, setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringClassDetails,
 toStringDetails,
 toStringSimpleSB,
 toStringState,
 tryRunnable,
 updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 waitInitialized,
 wasExecuted
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/Procedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/Procedure.html 
b/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/Procedure.html
index adb8b5d..dfd7844 100644
--- a/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/Procedure.html
+++ b/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/Procedure.html
@@ -652,22 +652,28 @@
  Procedure proc) 
 
 
+static https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
+MasterProcedureUtil.unwrapRemoteIOException(Procedure proc)
+This is a version of unwr

[15/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/procedure2/Procedure.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/procedure2/Procedure.html 
b/devapidocs/org/apache/hadoop/hbase/procedure2/Procedure.html
index 8f64d70..3444b27 100644
--- a/devapidocs/org/apache/hadoop/hbase/procedure2/Procedure.html
+++ b/devapidocs/org/apache/hadoop/hbase/procedure2/Procedure.html
@@ -230,8 +230,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab
 
 private boolean
 bypass
-Used for force complete of the procedure without
- actually doing any logic in the procedure.
+Used for override complete of the procedure without 
actually doing any logic in the procedure.
 
 
 
@@ -377,12 +376,9 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab
 
 
 
-(package private) void
-bypass()
-set the bypass to true
- Only called in ProcedureExecutor.bypassProcedure(long,
 long, boolean) for now,
- DO NOT use this method alone, since we can't just bypass
- one single procedure.
+protected void
+bypass(TEnvironment env)
+Set the bypass to true.
 
 
 
@@ -535,7 +531,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab
 hasException() 
 
 
-protected boolean
+boolean
 hasLock()
 This is used in conjunction with holdLock(Object).
 
@@ -1016,13 +1012,17 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab
 
 
 bypass
-private volatile boolean bypass
-Used for force complete of the procedure without
- actually doing any logic in the procedure.
+private volatile boolean bypass
+Used for override complete of the procedure without 
actually doing any logic in the procedure.
  If bypass is set to true, when executing it will return null when
- doExecute(Object)
 to finish the procedure and releasing any locks
- it may currently hold.
- Bypassing a procedure is not like aborting. Aborting a procedure will trigger
+ doExecute(Object)
 is called to finish the procedure and release any locks
+ it may currently hold. The bypass does cleanup around the Procedure as far as 
the
+ Procedure framework is concerned. It does not clean any internal state that 
the
+ Procedure's themselves may have set. That is for the Procedures to do 
themselves
+ when bypass is called. They should override bypass and do their cleanup in the
+ overridden bypass method (be sure to call the parent bypass to ensure proper
+ processing).
+ Bypassing a procedure is not like aborting. Aborting a procedure will 
trigger
  a rollback. And since the abort(Object)
 method is overrideable
  Some procedures may have chosen to ignore the aborting.
 
@@ -1033,7 +1033,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab
 
 
 persist
-private boolean persist
+private boolean persist
 Indicate whether we need to persist the procedure to 
ProcedureStore after execution. Default to
  true, and the implementation can all skipPersistence()
 to let the framework skip the
  persistence of the procedure.
@@ -1077,20 +1077,28 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab
 
 
 isBypass
-public boolean isBypass()
+public boolean isBypass()
 
 
-
+
+
+
 
 
 
 
 bypass
-void bypass()
-set the bypass to true
- Only called in ProcedureExecutor.bypassProcedure(long,
 long, boolean) for now,
- DO NOT use this method alone, since we can't just bypass
- one single procedure. We need to bypass its ancestor too. So making it 
package private
+protected void bypass(TEnvironment env)
+Set the bypass to true.
+ Only called in ProcedureExecutor.bypassProcedure(long,
 long, boolean, boolean) for now.
+ DO NOT use this method alone, since we can't just bypass one single 
procedure. We need to
+ bypass its ancestor too. If your Procedure has set state, it needs to undo it 
in here.
+
+Parameters:
+env - Current environment. May be null because of context; 
e.g. pretty-printing
+procedure WALs where there is no 'environment' (and where 
Procedures that require
+an 'environment' won't be run.
+
 
 
 
@@ -1099,7 +1107,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab
 
 
 needPersistence
-boolean needPersistence()
+boolean needPersistence()
 
 
 
@@ -1108,7 +1116,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab
 
 
 resetPersistence
-void resetPersistence()
+void resetPersistence()
 
 
 
@@ -1117,7 +1125,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab
 
 
 skipPersistence
-protected final void skipPersistence()
+protected final void skipPersistence()
 
 
 
@@ -1128,7 +1136,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab
 
 
 execute
-protected abstract Procedure[] execute(TEnvironment env)
+protected abstract Procedure[] execute(TEnvironment env)
   

[08/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.Converter.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.Converter.html 
b/devapidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.Converter.html
new file mode 100644
index 000..61475fa
--- /dev/null
+++ b/devapidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.Converter.html
@@ -0,0 +1,421 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+
+ByteBufferUtils.Converter (Apache HBase 3.0.0-SNAPSHOT API)
+
+
+
+
+
+var methods = 
{"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance 
Methods"],4:["t3","Abstract Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Overview
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev Class
+Next Class
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+Summary: 
+Nested | 
+Field | 
+Constr | 
+Method
+
+
+Detail: 
+Field | 
+Constr | 
+Method
+
+
+
+
+
+
+
+
+org.apache.hadoop.hbase.util
+Class 
ByteBufferUtils.Converter
+
+
+
+https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">java.lang.Object
+
+
+org.apache.hadoop.hbase.util.ByteBufferUtils.Converter
+
+
+
+
+
+
+
+Direct Known Subclasses:
+ByteBufferUtils.ConverterHolder.PureJavaConverter,
 ByteBufferUtils.ConverterHolder.UnsafeConverter
+
+
+Enclosing class:
+ByteBufferUtils
+
+
+
+abstract static class ByteBufferUtils.Converter
+extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors 
+
+Constructor and Description
+
+
+Converter() 
+
+
+
+
+
+
+
+
+
+Method Summary
+
+All Methods Instance Methods Abstract Methods 
+
+Modifier and Type
+Method and Description
+
+
+(package private) abstract void
+putInt(https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer buffer,
+  int val) 
+
+
+(package private) abstract int
+putInt(https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer buffer,
+  int index,
+  int val) 
+
+
+(package private) abstract int
+putLong(https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer buffer,
+   int index,
+   long val) 
+
+
+(package private) abstract void
+putLong(https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer buffer,
+   long val) 
+
+
+(package private) abstract int
+putShort(https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer buffer,
+int index,
+short val) 
+
+
+(package private) abstract void
+putShort(https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer buffer,
+short val) 
+
+
+(package private) abstract int
+toInt(https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in 
java.nio">ByteBuffer buffer) 
+
+
+(package private) abstract int
+toInt(https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer buffer,
+ int offset) 
+
+
+(package private) abstract long
+toLong(https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer buffer,
+  int offset) 
+
+
+(package private) abstract short
+toShort(https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer buffer,
+   int offset) 
+
+
+
+
+
+
+Methods inherited from class java.lang.https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
+https://docs.oracle.com/javase/8/docs/api/java/lang/Object.

[33/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/assignment/MoveRegionProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/MoveRegionProcedure.html 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/MoveRegionProcedure.html
index 375b06a..f5247ae 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/MoveRegionProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/MoveRegionProcedure.html
@@ -355,7 +355,7 @@ extends Procedure
-addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode, getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner, setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout, setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringDetails,
 toStringSimpleSB,
 updateMetricsOnFinish, updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
+addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId, getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 <
 a 
href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#getTimeout--">getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent, incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex, setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner, setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime, setTimeout,
 setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringDetails,
 toStri
 ngSimpleSB, updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/assignment/OpenRegionProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/OpenRegionProcedure.html 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/OpenRegionProcedure.html
index 245b447..b6ee60c 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/OpenRegionProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/OpenRegionProcedure.html
@@ -256,7 +256,7 @@ extends Procedure
-acquireLock,
 addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollba
 ck, elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId, getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedT
 ime, getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 holdLock,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting, isYieldAfterExecutionStep,
 releaseLock,
 removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure, setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId, setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout,
 setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString, toStringClass,
 toStringClassDetails,
 toStringDetails,
 toStringSimpleSB,
 toStringState,
 updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 waitInitialized,
 wasExecuted
+acquireLock,
 addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doExecute,
 
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics, getProcId,
 getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,

hbase-site git commit: INFRA-10751 Empty commit

2018-10-18 Thread git-site-role
Repository: hbase-site
Updated Branches:
  refs/heads/asf-site c9ebe6860 -> 156057826


INFRA-10751 Empty commit


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

Branch: refs/heads/asf-site
Commit: 156057826626968d87583dd42461eaa997bdb814
Parents: c9ebe68
Author: jenkins 
Authored: Thu Oct 18 14:54:10 2018 +
Committer: jenkins 
Committed: Thu Oct 18 14:54:10 2018 +

--

--




[16/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/procedure2/OnePhaseProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/procedure2/OnePhaseProcedure.html 
b/devapidocs/org/apache/hadoop/hbase/procedure2/OnePhaseProcedure.html
index 29b9add..65a5532 100644
--- a/devapidocs/org/apache/hadoop/hbase/procedure2/OnePhaseProcedure.html
+++ b/devapidocs/org/apache/hadoop/hbase/procedure2/OnePhaseProcedure.html
@@ -180,7 +180,7 @@ extends Procedure
-abort,
 acquireLock,
 addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 deserializeStateData,
 doAcquireLock,
 doExecute,
 doReleaseLock,
 doRollback,
 elapsedTime,
 execute,
 getChildrenLatch, getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode,
 getProcName, getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutT
 imestamp, hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 holdLock,
 incChildrenLatch, isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 isYieldAfterExecutionStep,
 lockedWhenLoading, needPersistence,
 releaseLock,
 removeStackIndex,
 resetPersistence,
 restoreLock,
 rollback,
 serializeStateData,
 setAbortFailure, 
setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner,
 s
 etOwner, setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout,
 setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringClassDetails,
 toStringDetails,
 toStringSimpleSB,
 toStringState,
 tryRunnable,
 updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 waitInitialized,
 wasExecuted
+abort,
 acquireLock,
 addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 deserializeStateData,
 doAcquireLock,
 doExecute,
 doReleaseLock,
 doRollback,
 elapsedTime,
 execute,
 getChildrenLatch, getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode,
 getProcName, 
getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp, href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#hasChildren--">hasChildren,
 > href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#hasException--">hasException,
 > href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#hasLock--">hasLock,
 > href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#hasOwner--">hasOwner,
 > href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#hasParent--">hasParent,
 > href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#hasTimeout--">hasTimeout,
 > href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#haveSameParent-org.apache.hadoop.hbase.procedure2.Procedure-org.apache.hadoop.hbase.procedure2.Procedure-">haveSameParent,
 > href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#holdLock-TEnvironment-">holdLock,
 > incChildrenLatch, isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 isYieldAfterExecutionStep,
 lockedWhenLoading, needPersistence,
 releaseLock,
 removeStackIndex,
 resetPersistence,
 restoreLock,
 rollback,
 serializeStateData,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner, setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime,
 setTime
 out, setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringClassDetails,
 toStringDetails,
 toStringSimpleSB,
 toStringState,
 tryRunnable,
 updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 waitInitialized,
 wasExecuted
 
 
 



[30/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.Cluster.AssignRegionAction.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.Cluster.AssignRegionAction.html
 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.Cluster.AssignRegionAction.html
index 6fbe88b..7db6cd7 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.Cluster.AssignRegionAction.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.Cluster.AssignRegionAction.html
@@ -118,7 +118,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-public static class BaseLoadBalancer.Cluster.AssignRegionAction
+public static class BaseLoadBalancer.Cluster.AssignRegionAction
 extends BaseLoadBalancer.Cluster.Action
 
 
@@ -239,7 +239,7 @@ extends 
 
 region
-public int region
+public int region
 
 
 
@@ -248,7 +248,7 @@ extends 
 
 server
-public int server
+public int server
 
 
 
@@ -265,7 +265,7 @@ extends 
 
 AssignRegionAction
-public AssignRegionAction(int region,
+public AssignRegionAction(int region,
   int server)
 
 
@@ -283,7 +283,7 @@ extends 
 
 undoAction
-public BaseLoadBalancer.Cluster.Action undoAction()
+public BaseLoadBalancer.Cluster.Action undoAction()
 Description copied from 
class: BaseLoadBalancer.Cluster.Action
 Returns an Action which would undo this action
 
@@ -298,7 +298,7 @@ extends 
 
 toString
-public https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String toString()
+public https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String toString()
 
 Overrides:
 toString in
 class BaseLoadBalancer.Cluster.Action

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.Cluster.LocalityType.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.Cluster.LocalityType.html
 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.Cluster.LocalityType.html
index 5f9e616..000adce 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.Cluster.LocalityType.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.Cluster.LocalityType.html
@@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-static enum BaseLoadBalancer.Cluster.LocalityType
+static enum BaseLoadBalancer.Cluster.LocalityType
 extends https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true";
 title="class or interface in java.lang">Enum
 
 
@@ -210,7 +210,7 @@ the order they are declared.
 
 
 SERVER
-public static final BaseLoadBalancer.Cluster.LocalityType
 SERVER
+public static final BaseLoadBalancer.Cluster.LocalityType
 SERVER
 
 
 
@@ -219,7 +219,7 @@ the order they are declared.
 
 
 RACK
-public static final BaseLoadBalancer.Cluster.LocalityType
 RACK
+public static final BaseLoadBalancer.Cluster.LocalityType
 RACK
 
 
 
@@ -236,7 +236,7 @@ the order they are declared.
 
 
 values
-public static BaseLoadBalancer.Cluster.LocalityType[] values()
+public static BaseLoadBalancer.Cluster.LocalityType[] values()
 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:
@@ -256,7 +256,7 @@ for (BaseLoadBalancer.Cluster.LocalityType c : 
BaseLoadBalancer.Cluster.Locality
 
 
 valueOf
-public static BaseLoadBalancer.Cluster.LocalityType valueOf(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String name)
+public static BaseLoadBalancer.Cluster.LocalityType valueOf(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String name)
 Returns the enum constant of this type with the specified 
name.
 The string must match exactly an identifier used to declare an
 enum constant in this type.  (Extraneous whitespace characters are 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.Cluster.MoveRegionAction.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.Cluster.MoveRegionAction.html
 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.Cluster.MoveRegionAction.html
index 5ca5086..bd1bf7a 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.Cluster.MoveRegionAction.ht

[22/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/procedure/ReopenTableRegionsProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/procedure/ReopenTableRegionsProcedure.html
 
b/devapidocs/org/apache/hadoop/hbase/master/procedure/ReopenTableRegionsProcedure.html
index 531216d..293a46d 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/procedure/ReopenTableRegionsProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/procedure/ReopenTableRegionsProcedure.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};
+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 tabs = {65535:["t0","All Methods"],2:["t2","Instance 
Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -245,62 +245,67 @@ extends Method and Description
 
 
+private boolean
+canSchedule(MasterProcedureEnv env,
+   HRegionLocation loc) 
+
+
 protected void
 deserializeStateData(ProcedureStateSerializer serializer)
 Called on store load to allow the user to decode the 
previously serialized
  state.
 
 
-
+
 protected StateMachineProcedure.Flow
 executeFromState(MasterProcedureEnv env,
 
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.ReopenTableRegionsState state)
 called to perform a single step of the specified 'state' of 
the procedure
 
 
-
+
 protected 
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.ReopenTableRegionsState
 getInitialState()
 Return the initial state object that will be used for the 
first call to executeFromState().
 
 
-
+
 protected 
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.ReopenTableRegionsState
 getState(int stateId)
 Convert an ordinal (or state id) to an Enum (or more 
descriptive) state object.
 
 
-
+
 protected int
 getStateId(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.ReopenTableRegionsState state)
 Convert the Enum (or more descriptive) state object to an 
ordinal (or state id).
 
 
-
+
 TableName
 getTableName() 
 
-
+
 TableProcedureInterface.TableOperationType
 getTableOperationType()
 Given an operation type we can take decisions about what to 
do with pending operations.
 
 
-
+
 protected void
 rollbackState(MasterProcedureEnv env,
  
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.ReopenTableRegionsState state)
 called to perform the rollback of the specified state
 
 
-
+
 protected void
 serializeStateData(ProcedureStateSerializer serializer)
 The user-level code of the procedure may have some state to
  persist (e.g.
 
 
-
+
 protected boolean
 setTimeoutFailure(MasterProcedureEnv env)
 At end of timeout, wake ourselves up so we run again.
@@ -326,7 +331,7 @@ extends Procedure
-addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode, getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 holdLock, 
incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex, setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner, setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime, setTimeout,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringDetails,
 toStringSimpleSB,
 updateMetricsOnFinish, updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
+addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId, getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 <
 a 
href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#getTimeout--">getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent, holdLock,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting, removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey, setOwner,
 setOwner,
 setParentProcId,
 setProcId,
 setRes

[45/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/apidocs/src-html/org/apache/hadoop/hbase/util/Bytes.RowEndKeyComparator.html
--
diff --git 
a/apidocs/src-html/org/apache/hadoop/hbase/util/Bytes.RowEndKeyComparator.html 
b/apidocs/src-html/org/apache/hadoop/hbase/util/Bytes.RowEndKeyComparator.html
index e999ddb..03e4728 100644
--- 
a/apidocs/src-html/org/apache/hadoop/hbase/util/Bytes.RowEndKeyComparator.html
+++ 
b/apidocs/src-html/org/apache/hadoop/hbase/util/Bytes.RowEndKeyComparator.html
@@ -820,1810 +820,1909 @@
 812if (length != SIZEOF_LONG || offset + 
length > bytes.length) {
 813  throw 
explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_LONG);
 814}
-815if (UNSAFE_UNALIGNED) {
-816  return UnsafeAccess.toLong(bytes, 
offset);
-817} else {
-818  long l = 0;
-819  for(int i = offset; i < offset + 
length; i++) {
-820l <<= 8;
-821l ^= bytes[i] & 0xFF;
-822  }
-823  return l;
-824}
-825  }
-826
-827  private static 
IllegalArgumentException
-828explainWrongLengthOrOffset(final 
byte[] bytes,
-829   final int 
offset,
-830   final int 
length,
-831   final int 
expectedLength) {
-832String reason;
-833if (length != expectedLength) {
-834  reason = "Wrong length: " + length 
+ ", expected " + expectedLength;
-835} else {
-836 reason = "offset (" + offset + ") + 
length (" + length + ") exceed the"
-837+ " capacity of the array: " + 
bytes.length;
-838}
-839return new 
IllegalArgumentException(reason);
-840  }
-841
-842  /**
-843   * Put a long value out to the 
specified byte array position.
-844   * @param bytes the byte array
-845   * @param offset position in the 
array
-846   * @param val long to write out
-847   * @return incremented offset
-848   * @throws IllegalArgumentException if 
the byte array given doesn't have
-849   * enough room at the offset 
specified.
-850   */
-851  public static int putLong(byte[] bytes, 
int offset, long val) {
-852if (bytes.length - offset < 
SIZEOF_LONG) {
-853  throw new 
IllegalArgumentException("Not enough room to put a long at"
-854  + " offset " + offset + " in a 
" + bytes.length + " byte array");
-855}
-856if (UNSAFE_UNALIGNED) {
-857  return UnsafeAccess.putLong(bytes, 
offset, val);
-858} else {
-859  for(int i = offset + 7; i > 
offset; i--) {
-860bytes[i] = (byte) val;
-861val >>>= 8;
-862  }
-863  bytes[offset] = (byte) val;
-864  return offset + SIZEOF_LONG;
-865}
-866  }
-867
-868  /**
-869   * Put a long value out to the 
specified byte array position (Unsafe).
-870   * @param bytes the byte array
-871   * @param offset position in the 
array
-872   * @param val long to write out
-873   * @return incremented offset
-874   * @deprecated As of release 2.0.0, 
this will be removed in HBase 3.0.0.
-875   */
-876  @Deprecated
-877  public static int putLongUnsafe(byte[] 
bytes, int offset, long val) {
-878return UnsafeAccess.putLong(bytes, 
offset, val);
-879  }
-880
-881  /**
-882   * Presumes float encoded as IEEE 754 
floating-point "single format"
+815return 
ConverterHolder.BEST_CONVERTER.toLong(bytes, offset, length);
+816  }
+817
+818  private static 
IllegalArgumentException
+819explainWrongLengthOrOffset(final 
byte[] bytes,
+820   final int 
offset,
+821   final int 
length,
+822   final int 
expectedLength) {
+823String reason;
+824if (length != expectedLength) {
+825  reason = "Wrong length: " + length 
+ ", expected " + expectedLength;
+826} else {
+827 reason = "offset (" + offset + ") + 
length (" + length + ") exceed the"
+828+ " capacity of the array: " + 
bytes.length;
+829}
+830return new 
IllegalArgumentException(reason);
+831  }
+832
+833  /**
+834   * Put a long value out to the 
specified byte array position.
+835   * @param bytes the byte array
+836   * @param offset position in the 
array
+837   * @param val long to write out
+838   * @return incremented offset
+839   * @throws IllegalArgumentException if 
the byte array given doesn't have
+840   * enough room at the offset 
specified.
+841   */
+842  public static int putLong(byte[] bytes, 
int offset, long val) {
+843if (bytes.length - offset < 
SIZEOF_LONG) {
+844  throw new 
IllegalArgumentException("Not enough room to put a long at"
+845  + " offset " + offset + " in a 
" + bytes.length + " byte array");
+846}
+847return 
ConverterHolder.BEST_CONVERTER.putLong(bytes, offset, val);
+848  }
+849
+850  /**
+851   * Put a long value out to the 
specified byte array position (Unsafe).
+852   * @param bytes the byte array
+853   * @param offset position in the 
array
+854   * @param val lon

[17/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/replication/SyncReplicationReplayWALProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/replication/SyncReplicationReplayWALProcedure.html
 
b/devapidocs/org/apache/hadoop/hbase/master/replication/SyncReplicationReplayWALProcedure.html
index a145e1f..169aa47 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/replication/SyncReplicationReplayWALProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/replication/SyncReplicationReplayWALProcedure.html
@@ -317,7 +317,7 @@ extends Procedure
-addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode, getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner, setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout, shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringClassDetails,
 toStringDetails,
 toStringSimpleSB,
 updateMetricsOnFinish, updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
+addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId, getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 <
 a 
href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#getTimeout--">getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent, incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex, setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner, setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime, setTimeout,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringClassDetails,
 toStringDetails,
 toStringSimpleSB, updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/replication/SyncReplicationReplayWALRemoteProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/replication/SyncReplicationReplayWALRemoteProcedure.html
 
b/devapidocs/org/apache/hadoop/hbase/master/replication/SyncReplicationReplayWALRemoteProcedure.html
index 7d47bb7..f33b4da 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/replication/SyncReplicationReplayWALRemoteProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/replication/SyncReplicationReplayWALRemoteProcedure.html
@@ -322,7 +322,7 @@ implements Procedure
-acquireLock,
 addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollba
 ck, elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId, getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedT
 ime, getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 holdLock,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting, isYieldAfterExecutionStep,
 releaseLock,
 removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure, setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId, setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout,
 setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString, toStringClass,
 toStringClassDetails,
 toStringDetails,
 toStringSimpleSB,
 toStringState,
 updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 waitInitialized,
 wasExecuted
+acquireLock,
 addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doExecute,
 
 doRollback,
 elapsedTime,
 ge

[49/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/apidocs/org/apache/hadoop/hbase/util/Bytes.html
--
diff --git a/apidocs/org/apache/hadoop/hbase/util/Bytes.html 
b/apidocs/org/apache/hadoop/hbase/util/Bytes.html
index ea6c069..483a41b 100644
--- a/apidocs/org/apache/hadoop/hbase/util/Bytes.html
+++ b/apidocs/org/apache/hadoop/hbase/util/Bytes.html
@@ -2144,7 +2144,7 @@ public com.google.protobuf.ByteString 
 
 putLong
-public static int putLong(byte[] bytes,
+public static int putLong(byte[] bytes,
   int offset,
   long val)
 Put a long value out to the specified byte array 
position.
@@ -2168,7 +2168,7 @@ public com.google.protobuf.ByteString 
 putLongUnsafe
 https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true";
 title="class or interface in java.lang">@Deprecated
-public static int putLongUnsafe(byte[] bytes,
+public static int putLongUnsafe(byte[] bytes,
 int offset,
 long val)
 Deprecated. As of release 2.0.0, this will be removed in HBase 
3.0.0.
@@ -2189,7 +2189,7 @@ public static int 
 
 toFloat
-public static float toFloat(byte[] bytes)
+public static float toFloat(byte[] bytes)
 Presumes float encoded as IEEE 754 floating-point "single 
format"
 
 Parameters:
@@ -2205,7 +2205,7 @@ public static int 
 
 toFloat
-public static float toFloat(byte[] bytes,
+public static float toFloat(byte[] bytes,
 int offset)
 Presumes float encoded as IEEE 754 floating-point "single 
format"
 
@@ -2223,7 +2223,7 @@ public static int 
 
 putFloat
-public static int putFloat(byte[] bytes,
+public static int putFloat(byte[] bytes,
int offset,
float f)
 
@@ -2242,7 +2242,7 @@ public static int 
 
 toBytes
-public static byte[] toBytes(float f)
+public static byte[] toBytes(float f)
 
 Parameters:
 f - float value
@@ -2257,7 +2257,7 @@ public static int 
 
 toDouble
-public static double toDouble(byte[] bytes)
+public static double toDouble(byte[] bytes)
 
 Parameters:
 bytes - byte array
@@ -2272,7 +2272,7 @@ public static int 
 
 toDouble
-public static double toDouble(byte[] bytes,
+public static double toDouble(byte[] bytes,
   int offset)
 
 Parameters:
@@ -2289,7 +2289,7 @@ public static int 
 
 putDouble
-public static int putDouble(byte[] bytes,
+public static int putDouble(byte[] bytes,
 int offset,
 double d)
 
@@ -2308,7 +2308,7 @@ public static int 
 
 toBytes
-public static byte[] toBytes(double d)
+public static byte[] toBytes(double d)
 Serialize a double as the IEEE 754 double format output. 
The resultant
  array will be 8 bytes long.
 
@@ -2325,7 +2325,7 @@ public static int 
 
 toBytes
-public static byte[] toBytes(int val)
+public static byte[] toBytes(int val)
 Convert an int value to a byte array.  Big-endian.  Same as 
what DataOutputStream.writeInt
  does.
 
@@ -2342,7 +2342,7 @@ public static int 
 
 toInt
-public static int toInt(byte[] bytes)
+public static int toInt(byte[] bytes)
 Converts a byte array to an int value
 
 Parameters:
@@ -2358,7 +2358,7 @@ public static int 
 
 toInt
-public static int toInt(byte[] bytes,
+public static int toInt(byte[] bytes,
 int offset)
 Converts a byte array to an int value
 
@@ -2376,7 +2376,7 @@ public static int 
 
 toInt
-public static int toInt(byte[] bytes,
+public static int toInt(byte[] bytes,
 int offset,
 int length)
 Converts a byte array to an int value
@@ -2400,7 +2400,7 @@ public static int 
 toIntUnsafe
 https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true";
 title="class or interface in java.lang">@Deprecated
-public static int toIntUnsafe(byte[] bytes,
+public static int toIntUnsafe(byte[] bytes,
   int offset)
 Deprecated. As of release 2.0.0, this will be removed in HBase 
3.0.0.
 Converts a byte array to an int value (Unsafe version)
@@ -2420,7 +2420,7 @@ public static int 
 toShortUnsafe
 https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true";
 title="class or interface in java.lang">@Deprecated
-public static short toShortUnsafe(byte[] bytes,
+public static short toShortUnsafe(byte[] bytes,
   int offset)
 Deprecated. As of release 2.0.0, this will be removed in HBase 
3.0.0.
 Converts a byte array to an short value (Unsafe 
version)
@@ -2440,7 +2440,7 @@ public static short 
 toLongUnsafe
 https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true";
 title="class or interface in java.lang">@Deprecated
-public static long toLongUnsafe(byte[] bytes,
+public static long toLongUnsafe(b

[24/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/procedure/DisableTableProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/procedure/DisableTableProcedure.html
 
b/devapidocs/org/apache/hadoop/hbase/master/procedure/DisableTableProcedure.html
index 9023fea..ff13fe2 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/procedure/DisableTableProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/procedure/DisableTableProcedure.html
@@ -381,7 +381,7 @@ extends Procedure
-addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode, getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner, setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout, setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringDetails,
 toStringSimpleSB,
 updateMetricsOnFinish, updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
+addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId, getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 <
 a 
href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#getTimeout--">getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent, incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex, setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner, setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime, setTimeout,
 setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringDetails,
 toStri
 ngSimpleSB, updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/procedure/EnableTableProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/procedure/EnableTableProcedure.html 
b/devapidocs/org/apache/hadoop/hbase/master/procedure/EnableTableProcedure.html
index c7c174f..33ac1a7 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/procedure/EnableTableProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/procedure/EnableTableProcedure.html
@@ -396,7 +396,7 @@ extends Procedure
-addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode, getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 holdLock, 
incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex, setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner, setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime, setTimeout,
 setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringDetails,
 to
 StringSimpleSB, updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
+addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId, getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 <
 a 
href="../../../../../../org/apache/hadoop/hbase/pro

[32/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/assignment/SplitTableRegionProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/SplitTableRegionProcedure.html
 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/SplitTableRegionProcedure.html
index 37eb97f..d0a08f6 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/SplitTableRegionProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/SplitTableRegionProcedure.html
@@ -519,7 +519,7 @@ extends Procedure
-addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcId,
 getProcIdHashCode,
 getProc
 Name, getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 incChildrenLatch,
 isBypass, isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner,
 setParentProcId, setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout,
 setTimeoutFailure, shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringDetails,
 toStringSimpleSB,
 updateMetricsOnFinish,
 updateMetricsOnSubmit, updateTimestamp,
 wasExecuted
+addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcId,
 getProcIdHa
 shCode, getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 incChildrenLatch, isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex,
 setAbortFailure, setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner, setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout, setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringDetails,
 toStringSimpleSB,
 updateMetricsOnFinish, updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/assignment/TransitRegionStateProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/TransitRegionStateProcedure.html
 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/TransitRegionStateProcedure.html
index f3fb747..777b30b 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/TransitRegionStateProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/TransitRegionStateProcedure.html
@@ -134,7 +134,7 @@ var activeTableTab = "activeTableTab";
 
 
 @InterfaceAudience.Private
-public class TransitRegionStateProcedure
+public class TransitRegionStateProcedure
 extends AbstractStateMachineRegionProcedure
 The procedure to deal with the state transition of a 
region. A region with a TRSP in place is
  called RIT, i.e, RegionInTransition.
@@ -288,7 +288,7 @@ extends TransitRegionStateProcedure() 
 
 
-private 
+protected 
 TransitRegionStateProcedure(MasterProcedureEnv env,
RegionInfo hri,
ServerName assignCandidate,
@@ -514,7 +514,7 @@ extends Procedure
-addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcId,
 getProcIdHashCode,
 getProc
 Name, getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 incChildrenLatch,
 isBypass, isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner,
 setParentProcId, setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout,
 shouldWaitClientAck, skipPersistence,
 toString,
 t

[40/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/index-all.html
--
diff --git a/devapidocs/index-all.html b/devapidocs/index-all.html
index 6034196..447 100644
--- a/devapidocs/index-all.html
+++ b/devapidocs/index-all.html
@@ -3906,14 +3906,16 @@
  
 assignRegionToAvailableFavoredNode(Map>, RegionInfo, ServerName, ServerName, 
ServerName) - Method in class 
org.apache.hadoop.hbase.master.balancer.FavoredStochasticBalancer
  
-assigns(List)
 - Method in class org.apache.hadoop.hbase.client.HBaseHbck
+assigns(List,
 boolean) - Method in class org.apache.hadoop.hbase.client.HBaseHbck
  
-assigns(List)
 - Method in interface org.apache.hadoop.hbase.client.Hbck
+assigns(List,
 boolean) - Method in interface org.apache.hadoop.hbase.client.Hbck
 
 Like Admin.assign(byte[])
 but 'raw' in that it can do more than one Region at a time
  -- good if many Regions to online -- and it will schedule the assigns even in 
the case where
  Master is initializing (as long as the ProcedureExecutor is up).
 
+assigns(List)
 - Method in interface org.apache.hadoop.hbase.client.Hbck
+ 
 assigns(RpcController,
 MasterProtos.AssignsRequest) - Method in class 
org.apache.hadoop.hbase.master.MasterRpcServices
 
 A 'raw' version of assign that does bulk and skirts Master 
state checks (assigns can be made
@@ -5901,8 +5903,14 @@
 
 enables output as a single, persistent list.
 
+BEST_COMPARER
 - Static variable in class org.apache.hadoop.hbase.util.ByteBufferUtils.ComparerHolder
+ 
 BEST_COMPARER
 - Static variable in class org.apache.hadoop.hbase.util.Bytes.LexicographicalComparerHolder
  
+BEST_CONVERTER
 - Static variable in class org.apache.hadoop.hbase.util.ByteBufferUtils.ConverterHolder
+ 
+BEST_CONVERTER
 - Static variable in class org.apache.hadoop.hbase.util.Bytes.ConverterHolder
+ 
 bestLocality
 - Variable in class org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer.LocalityBasedCostFunction
  
 bestSplitRow
 - Variable in class org.apache.hadoop.hbase.master.assignment.SplitTableRegionProcedure
@@ -7563,15 +7571,11 @@
  
 bypass
 - Variable in class org.apache.hadoop.hbase.procedure2.Procedure
 
-Used for force complete of the procedure without
- actually doing any logic in the procedure.
+Used for override complete of the procedure without 
actually doing any logic in the procedure.
 
-bypass()
 - Method in class org.apache.hadoop.hbase.procedure2.Procedure
+bypass(TEnvironment)
 - Method in class org.apache.hadoop.hbase.procedure2.Procedure
 
-set the bypass to true
- Only called in ProcedureExecutor.bypassProcedure(long,
 long, boolean) for now,
- DO NOT use this method alone, since we can't just bypass
- one single procedure.
+Set the bypass to true.
 
 bypassable
 - Variable in class org.apache.hadoop.hbase.coprocessor.ObserverContextImpl
 
@@ -7587,9 +7591,9 @@
  
 bypassGlobals
 - Variable in class org.apache.hadoop.hbase.quotas.UserQuotaState
  
-bypassProcedure(List,
 long, boolean) - Method in class org.apache.hadoop.hbase.client.HBaseHbck
+bypassProcedure(List,
 long, boolean, boolean) - Method in class 
org.apache.hadoop.hbase.client.HBaseHbck
  
-bypassProcedure(List,
 long, boolean) - Method in interface 
org.apache.hadoop.hbase.client.Hbck
+bypassProcedure(List,
 long, boolean, boolean) - Method in interface 
org.apache.hadoop.hbase.client.Hbck
 
 Bypass specified procedure and move it to completion.
 
@@ -7597,11 +7601,11 @@
 
 Bypass specified procedure to completion.
 
-bypassProcedure(List,
 long, boolean) - Method in class 
org.apache.hadoop.hbase.procedure2.ProcedureExecutor
+bypassProcedure(List,
 long, boolean, boolean) - Method in class 
org.apache.hadoop.hbase.procedure2.ProcedureExecutor
 
 Bypass a procedure.
 
-bypassProcedure(long,
 long, boolean) - Method in class 
org.apache.hadoop.hbase.procedure2.ProcedureExecutor
+bypassProcedure(long,
 long, boolean, boolean) - Method in class 
org.apache.hadoop.hbase.procedure2.ProcedureExecutor
  
 BYTE_ARRAY_BASE_OFFSET
 - Static variable in class org.apache.hadoop.hbase.util.UnsafeAccess
 
@@ -7771,6 +7775,22 @@
 
 ByteBufferUtils()
 - Constructor for class org.apache.hadoop.hbase.util.ByteBufferUtils
  
+ByteBufferUtils.Comparer - Class in org.apache.hadoop.hbase.util
+ 
+ByteBufferUtils.ComparerHolder - Class in org.apache.hadoop.hbase.util
+ 
+ByteBufferUtils.ComparerHolder.PureJavaComparer 
- Class in org.apache.hadoop.hbase.util
+ 
+ByteBufferUtils.ComparerHolder.UnsafeComparer - 
Class in org.apache.hadoop.hbase.util
+ 
+ByteBufferUtils.Converter - Class in org.apache.hadoop.hbase.util
+ 
+ByteBufferUtils.ConverterHolder - Class in org.apache.hadoop.hbase.util
+ 
+ByteBufferUtils.ConverterHolder.PureJavaConverter
 - Class in org.apache.hadoop.hbase.util
+ 
+ByteBufferUtils.ConverterHolder.UnsafeConverter 
- Class in org.apache.hadoop

[28/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.CostFromRegionLoadFunction.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.CostFromRegionLoadFunction.html
 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.CostFromRegionLoadFunction.html
index d89e994..b6e5205 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.CostFromRegionLoadFunction.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.CostFromRegionLoadFunction.html
@@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-abstract static class StochasticLoadBalancer.CostFromRegionLoadFunction
+abstract static class StochasticLoadBalancer.CostFromRegionLoadFunction
 extends StochasticLoadBalancer.CostFunction
 Base class the allows writing costs functions from rolling 
average of some
  number from RegionLoad.
@@ -250,7 +250,7 @@ extends 
 
 clusterStatus
-private ClusterMetrics clusterStatus
+private ClusterMetrics clusterStatus
 
 
 
@@ -259,7 +259,7 @@ extends 
 
 loads
-private https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true";
 title="class or interface in java.util">MapString,https://docs.oracle.com/javase/8/docs/api/java/util/Deque.html?is-external=true";
 title="class or interface in java.util">Deque> loads
+private https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true";
 title="class or interface in java.util">MapString,https://docs.oracle.com/javase/8/docs/api/java/util/Deque.html?is-external=true";
 title="class or interface in java.util">Deque> loads
 
 
 
@@ -268,7 +268,7 @@ extends 
 
 stats
-private double[] stats
+private double[] stats
 
 
 
@@ -285,7 +285,7 @@ extends 
 
 CostFromRegionLoadFunction
-CostFromRegionLoadFunction(org.apache.hadoop.conf.Configuration conf)
+CostFromRegionLoadFunction(org.apache.hadoop.conf.Configuration conf)
 
 
 
@@ -302,7 +302,7 @@ extends 
 
 setClusterMetrics
-void setClusterMetrics(ClusterMetrics status)
+void setClusterMetrics(ClusterMetrics status)
 
 
 
@@ -311,7 +311,7 @@ extends 
 
 setLoads
-void setLoads(https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true";
 title="class or interface in java.util">MapString,https://docs.oracle.com/javase/8/docs/api/java/util/Deque.html?is-external=true";
 title="class or interface in java.util">Deque> l)
+void setLoads(https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true";
 title="class or interface in java.util">MapString,https://docs.oracle.com/javase/8/docs/api/java/util/Deque.html?is-external=true";
 title="class or interface in java.util">Deque> l)
 
 
 
@@ -320,7 +320,7 @@ extends 
 
 cost
-double cost()
+double cost()
 
 Specified by:
 cost in
 class StochasticLoadBalancer.CostFunction
@@ -333,7 +333,7 @@ extends 
 
 getRegionLoadCost
-protected double getRegionLoadCost(https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection regionLoadList)
+protected double getRegionLoadCost(https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection regionLoadList)
 
 
 
@@ -342,7 +342,7 @@ extends 
 
 getCostFromRl
-protected abstract double getCostFromRl(BalancerRegionLoad rl)
+protected abstract double getCostFromRl(BalancerRegionLoad rl)
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.CostFunction.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.CostFunction.html
 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.CostFunction.html
index 1318a28..3722d00 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.CostFunction.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.CostFunction.html
@@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-abstract static class StochasticLoadB

[39/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

2018-10-18 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/class-use/HRegionLocation.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/HRegionLocation.html 
b/devapidocs/org/apache/hadoop/hbase/class-use/HRegionLocation.html
index 89c9eb0..a146e1c 100644
--- a/devapidocs/org/apache/hadoop/hbase/class-use/HRegionLocation.html
+++ b/devapidocs/org/apache/hadoop/hbase/class-use/HRegionLocation.html
@@ -1136,6 +1136,20 @@ service.
 
 
 
+
+Methods in org.apache.hadoop.hbase.master.procedure
 with parameters of type HRegionLocation 
+
+Modifier and Type
+Method and Description
+
+
+
+private boolean
+ReopenTableRegionsProcedure.canSchedule(MasterProcedureEnv env,
+   HRegionLocation loc) 
+
+
+
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/class-use/ServerName.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/ServerName.html 
b/devapidocs/org/apache/hadoop/hbase/class-use/ServerName.html
index c25f63f..721a8e0 100644
--- a/devapidocs/org/apache/hadoop/hbase/class-use/ServerName.html
+++ b/devapidocs/org/apache/hadoop/hbase/class-use/ServerName.html
@@ -4263,8 +4263,9 @@ Input/OutputFormats, a table indexing MapReduce job, and 
utility methods.
 
 
 private TransitRegionStateProcedure
-AssignmentManager.createAssignProcedure(RegionStateNode regionNode,
- ServerName targetServer) 
+AssignmentManager.createAssignProcedure(RegionStateNode regionNode,
+ ServerName targetServer,
+ boolean override) 
 
 
 private static TransitRegionStateProcedure[]

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/client/HBaseHbck.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/client/HBaseHbck.html 
b/devapidocs/org/apache/hadoop/hbase/client/HBaseHbck.html
index 029fc4f..9446892 100644
--- a/devapidocs/org/apache/hadoop/hbase/client/HBaseHbck.html
+++ b/devapidocs/org/apache/hadoop/hbase/client/HBaseHbck.html
@@ -212,7 +212,8 @@ implements 
 
 https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">ListLong>
-assigns(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">ListString> encodedRegionNames)
+assigns(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">ListString> encodedRegionNames,
+   boolean override)
 Like Admin.assign(byte[])
 but 'raw' in that it can do more than one Region at a time
  -- good if many Regions to online -- and it will schedule the assigns even in 
the case where
  Master is initializing (as long as the ProcedureExecutor is up).
@@ -220,9 +221,10 @@ implements 
 
 https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">ListBoolean>
-bypassProcedure(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">ListLong> pids,
+bypassProcedure(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">ListLong> pids,
long waitTime,
-   boolean force)
+   boolean override,
+   boolean recursive)
 Bypass specified procedure and move it to completion.
 
 
@@ -248,7 +250,8 @@ implements 
 
 https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">ListLong>
-unassigns(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List[02/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/src-html/org/apache/hadoop/hbase/filter/FuzzyRowFilter.Order.html
--
diff --git 
a/devapidocs/src-html/org/apache/hadoop/hbase/filter/FuzzyRowFilter.Order.html 
b/devapidocs/src-html/org/apache/hadoop/hbase/filter/FuzzyRowFilter.Order.html
index 3efe1f0..3b88f1d 100644
--- 
a/devapidocs/src-html/org/apache/hadoop/hbase/filter/FuzzyRowFilter.Order.html
+++ 
b/devapidocs/src-html/org/apache/hadoop/hbase/filter/FuzzyRowFilter.Order.html
@@ -43,629 +43,628 @@
 035import 
org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.BytesBytesPair;
 036import 
org.apache.hadoop.hbase.util.Bytes;
 037import 
org.apache.hadoop.hbase.util.Pair;
-038import 
org.apache.hadoop.hbase.util.UnsafeAccess;
-039import 
org.apache.hadoop.hbase.util.UnsafeAvailChecker;
-040
-041import 
org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting;
-042
-043/**
-044 * This is optimized version of a 
standard FuzzyRowFilter Filters data based on fuzzy row key.
-045 * Performs fast-forwards during 
scanning. It takes pairs (row key, fuzzy info) to match row keys.
-046 * Where fuzzy info is a byte array with 
0 or 1 as its values:
-047 * 
    -048 *
  • 0 - means that this byte in provided row key is fixed, i.e. row key's byte at same position -049 * must match
  • -050 *
  • 1 - means that this byte in provided row key is NOT fixed, i.e. row key's byte at this -051 * position can be different from the one in provided row key
  • -052 *
-053 * Example: Let's assume row key format is userId_actionId_year_month. Length of userId is fixed and -054 * is 4, length of actionId is 2 and year and month are 4 and 2 bytes long respectively. Let's -055 * assume that we need to fetch all users that performed certain action (encoded as "99") in Jan of -056 * any year. Then the pair (row key, fuzzy info) would be the following: row key = "_99__01" -057 * (one can use any value instead of "?") fuzzy info = -058 * "\x01\x01\x01\x01\x00\x00\x00\x00\x01\x01\x01\x01\x00\x00\x00" I.e. fuzzy info tells the matching -059 * mask is "_99__01", where at ? can be any value. -060 */ -061@InterfaceAudience.Public -062public class FuzzyRowFilter extends FilterBase { -063 private static final boolean UNSAFE_UNALIGNED = UnsafeAvailChecker.unaligned(); -064 private List> fuzzyKeysData; -065 private boolean done = false; -066 -067 /** -068 * The index of a last successfully found matching fuzzy string (in fuzzyKeysData). We will start -069 * matching next KV with this one. If they do not match then we will return back to the one-by-one -070 * iteration over fuzzyKeysData. -071 */ -072 private int lastFoundIndex = -1; -073 -074 /** -075 * Row tracker (keeps all next rows after SEEK_NEXT_USING_HINT was returned) -076 */ -077 private RowTracker tracker; -078 -079 public FuzzyRowFilter(List> fuzzyKeysData) { -080List> fuzzyKeyDataCopy = new ArrayList<>(fuzzyKeysData.size()); -081 -082for (Pair aFuzzyKeysData : fuzzyKeysData) { -083 if (aFuzzyKeysData.getFirst().length != aFuzzyKeysData.getSecond().length) { -084Pair readable = -085 new Pair<>(Bytes.toStringBinary(aFuzzyKeysData.getFirst()), Bytes.toStringBinary(aFuzzyKeysData.getSecond())); -086throw new IllegalArgumentException("Fuzzy pair lengths do not match: " + readable); -087 } -088 -089 Pair p = new Pair<>(); -090 // create a copy of pair bytes so that they are not modified by the filter. -091 p.setFirst(Arrays.copyOf(aFuzzyKeysData.getFirst(), aFuzzyKeysData.getFirst().length)); -092 p.setSecond(Arrays.copyOf(aFuzzyKeysData.getSecond(), aFuzzyKeysData.getSecond().length)); -093 -094 // update mask ( 0 -> -1 (0xff), 1 -> 2) -095 p.setSecond(preprocessMask(p.getSecond())); -096 preprocessSearchKey(p); -097 -098 fuzzyKeyDataCopy.add(p); -099} -100this.fuzzyKeysData = fuzzyKeyDataCopy; -101this.tracker = new RowTracker(); -102 } +038import org.apache.hadoop.hbase.util.UnsafeAvailChecker; +039 +040import org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting; +041 +042/** +043 * This is optimized version of a standard FuzzyRowFilter Filters data based on fuzzy row key. +044 * Performs fast-forwards during scanning. It takes pairs (row key, fuzzy info) to match row keys. +045 * Where fuzzy info is a byte array with 0 or 1 as its values: +046 *
    +047 *
  • 0 - means that this byte in provided row key is fixed, i.e. row key's byte at same position +048 * must match
  • +049 *
  • 1 - means that this byte in provided row key is NOT fixed, i.e. row key's byte at this +050 * position can be different from the one in provided row key
  • +051 *

[20/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/procedure/class-use/MasterProcedureEnv.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/procedure/class-use/MasterProcedureEnv.html
 
b/devapidocs/org/apache/hadoop/hbase/master/procedure/class-use/MasterProcedureEnv.html
index 1db4dc7..49e372e 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/procedure/class-use/MasterProcedureEnv.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/procedure/class-use/MasterProcedureEnv.html
@@ -1215,25 +1215,30 @@
 RSProcedureDispatcher.RegionOpenOperation.buildRegionOpenInfoRequest(MasterProcedureEnv env) 
 
 
+private boolean
+ReopenTableRegionsProcedure.canSchedule(MasterProcedureEnv env,
+   HRegionLocation loc) 
+
+
 protected static void
 AbstractStateMachineTableProcedure.checkOnline(MasterProcedureEnv env,
RegionInfo ri)
 Check region is online.
 
 
-
+
 protected void
 AbstractStateMachineRegionProcedure.checkTableModifiable(MasterProcedureEnv env)
 Check whether a table is modifiable - exists and either 
offline or online with config set
 
 
-
+
 protected void
 AbstractStateMachineTableProcedure.checkTableModifiable(MasterProcedureEnv env)
 Check whether a table is modifiable - exists and either 
offline or online with config set
 
 
-
+
 private static void
 DeleteTableProcedure.cleanAnyRemainingRows(MasterProcedureEnv env,
  TableName tableName)
@@ -1241,26 +1246,26 @@
  info:regioninfo column was empty because of some write error.
 
 
-
+
 protected void
 TruncateTableProcedure.completionCleanup(MasterProcedureEnv env) 
 
-
+
 protected void
 ModifyTableProcedure.completionCleanup(MasterProcedureEnv env) 
 
-
+
 protected void
 InitMetaProcedure.completionCleanup(MasterProcedureEnv env) 
 
-
+
 protected static void
 CreateNamespaceProcedure.createDirectory(MasterProcedureEnv env,
NamespaceDescriptor nsDescriptor)
 Create the namespace directory
 
 
-
+
 private https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
 CloneSnapshotProcedure.createFilesystemLayout(MasterProcedureEnv env,
   TableDescriptor tableDescriptor,
@@ -1268,20 +1273,20 @@
 Create regions in file system.
 
 
-
+
 protected static https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
 CreateTableProcedure.createFsLayout(MasterProcedureEnv env,
   TableDescriptor tableDescriptor,
   https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List newRegions) 
 
-
+
 protected static https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
 CreateTableProcedure.createFsLayout(MasterProcedureEnv env,
   TableDescriptor tableDescriptor,
   https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List newRegions,
   CreateTableProcedure.CreateHdfsRegions hdfsRegionHandler) 
 
-
+
 private https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
 CloneSnapshotProcedure.createFsLayout(MasterProcedureEnv env,
   TableDescriptor tableDescriptor,
@@ -1290,19 +1295,19 @@
 Create region layout in file system.
 
 
-
+
 https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
 CreateTableProcedure.CreateHdfsRegions.createHdfsRegions(MasterProcedureEnv env,
  org.apache.hadoop.fs.Path tableRootDir,
  TableName tableName,
  https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List newRegions) 
 
-
+
 protected static void
 DeleteTableProcedure.deleteAssignmentState(MasterProcedureEnv env,
  TableName tableName) 
 
-
+
 static void
 MasterDDLOperationHelper.deleteColumnFamilyFromFileSystem(MasterProcedureEnv env,
 TableName tableName,
@@ -1312,14 +1317,14 @@
 Remove the column family from the file system
 
 
-
+
 protected static void
 DeleteNamespaceProcedure.deleteDirectory(MasterProcedureEnv env,
https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String namespaceName)
 Delete the namespace directories from the file system
 
 
-
+
 private void
 ModifyTableProcedure.deleteFromFs(MasterProcedureEnv env,
 TableDescriptor oldTableDesc

[37/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/MasterRpcServices.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/master/MasterRpcServices.html 
b/devapidocs/org/apache/hadoop/hbase/master/MasterRpcServices.html
index 978ac30..9ff68ad 100644
--- a/devapidocs/org/apache/hadoop/hbase/master/MasterRpcServices.html
+++ b/devapidocs/org/apache/hadoop/hbase/master/MasterRpcServices.html
@@ -119,7 +119,7 @@ var activeTableTab = "activeTableTab";
 
 
 @InterfaceAudience.Private
-public class MasterRpcServices
+public class MasterRpcServices
 extends RSRpcServices
 implements 
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.MasterService.BlockingInterface,
 
org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionServerStatusService.BlockingInterface,
 
org.apache.hadoop.hbase.shaded.protobuf.generated.LockServiceProtos.LockService.BlockingInterface,
 
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.HbckService.BlockingInterface
 Implements the master RPC services.
@@ -838,7 +838,7 @@ implements 
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.Master
 
 
 LOG
-private static final org.slf4j.Logger LOG
+private static final org.slf4j.Logger LOG
 
 
 
@@ -847,7 +847,7 @@ implements 
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.Master
 
 
 master
-private final HMaster master
+private final HMaster master
 
 
 
@@ -864,7 +864,7 @@ implements 
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.Master
 
 
 MasterRpcServices
-public MasterRpcServices(HMaster m)
+public MasterRpcServices(HMaster m)
   throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
 
 Throws:
@@ -886,7 +886,7 @@ implements 
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.Master
 
 
 createConfigurationSubset
-private org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionServerStartupResponse.Builder createConfigurationSubset()
+private org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionServerStartupResponse.Builder createConfigurationSubset()
 
 Returns:
 Subset of configuration to pass initializing regionservers: e.g.
@@ -900,7 +900,7 @@ implements 
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.Master
 
 
 addConfig
-private org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionServerStartupResponse.Builder addConfig(org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionServerStartupResponse.Builder resp,
+private org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionServerStartupResponse.Builder addConfig(org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionServerStartupResponse.Builder resp,

  https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String key)
 
 
@@ -910,7 +910,7 @@ implements 
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.Master
 
 
 getRpcSchedulerFactoryClass
-protected https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true";
 title="class or interface in java.lang">Class getRpcSchedulerFactoryClass()
+protected https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true";
 title="class or interface in java.lang">Class getRpcSchedulerFactoryClass()
 
 Overrides:
 getRpcSchedulerFactoryClass in
 class RSRpcServices
@@ -923,7 +923,7 @@ implements 
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.Master
 
 
 createRpcServer
-protected RpcServerInterface createRpcServer(Server server,
+protected RpcServerInterface createRpcServer(Server server,
  
org.apache.hadoop.conf.Configuration conf,
  RpcSchedulerFactory rpcSchedulerFactory,
  https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true";
 title="class or interface in java.net">InetSocketAddress bindAddress,
@@ -943,7 +943,7 @@ implements 
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.Master
 
 
 createPriority
-protected PriorityFunction createPriority()
+protected PriorityFunction createPriority()
 
 Overrides:
 createPriority in
 class RSRpcServices
@@ -956,7 +956,7 @@ implements 
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.Master
 
 
 rpcPreCheck
-private void rpcPreCheck(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or int

[10/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.FailedOpenUpdaterThread.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.FailedOpenUpdaterThread.html
 
b/devapidocs/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.FailedOpenUpdaterThread.html
index 71ab8c3..7e6be2b 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.FailedOpenUpdaterThread.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.FailedOpenUpdaterThread.html
@@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-private class RSGroupInfoManagerImpl.FailedOpenUpdaterThread
+private class RSGroupInfoManagerImpl.FailedOpenUpdaterThread
 extends https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true";
 title="class or interface in java.lang">Thread
 implements ServerListener
 
@@ -267,7 +267,7 @@ implements 
 
 waitInterval
-private final long waitInterval
+private final long waitInterval
 
 
 
@@ -276,7 +276,7 @@ implements 
 
 hasChanged
-private volatile boolean hasChanged
+private volatile boolean hasChanged
 
 
 
@@ -293,7 +293,7 @@ implements 
 
 FailedOpenUpdaterThread
-public FailedOpenUpdaterThread(org.apache.hadoop.conf.Configuration conf)
+public FailedOpenUpdaterThread(org.apache.hadoop.conf.Configuration conf)
 
 
 
@@ -310,7 +310,7 @@ implements 
 
 serverAdded
-public void serverAdded(ServerName serverName)
+public void serverAdded(ServerName serverName)
 Description copied from 
interface: ServerListener
 The server has joined the cluster.
 
@@ -327,7 +327,7 @@ implements 
 
 serverRemoved
-public void serverRemoved(ServerName serverName)
+public void serverRemoved(ServerName serverName)
 Description copied from 
interface: ServerListener
 The server was removed from the cluster.
 
@@ -344,7 +344,7 @@ implements 
 
 run
-public void run()
+public void run()
 
 Specified by:
 https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html?is-external=true#run--";
 title="class or interface in java.lang">run in 
interface https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html?is-external=true";
 title="class or interface in java.lang">Runnable
@@ -359,7 +359,7 @@ implements 
 
 serverChanged
-public void serverChanged()
+public void serverChanged()
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.RSGroupStartupWorker.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.RSGroupStartupWorker.html
 
b/devapidocs/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.RSGroupStartupWorker.html
index f64b6c3..139397f 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.RSGroupStartupWorker.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.RSGroupStartupWorker.html
@@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-private class RSGroupInfoManagerImpl.RSGroupStartupWorker
+private class RSGroupInfoManagerImpl.RSGroupStartupWorker
 extends https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true";
 title="class or interface in java.lang">Thread
 
 
@@ -255,7 +255,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html
 
 
 LOG
-private final org.slf4j.Logger LOG
+private final org.slf4j.Logger LOG
 
 
 
@@ -264,7 +264,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html
 
 
 online
-private volatile boolean online
+private volatile boolean online
 
 
 
@@ -281,7 +281,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html
 
 
 RSGroupStartupWorker
-RSGroupStartupWorker()
+RSGroupStartupWorker()
 
 
 
@@ -298,7 +298,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html
 
 
 run
-public void run()
+public void run()
 
 Specified by:
 https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html?is-external=true#run--";
 title="class or interface in java.lang">run in 
interface https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html?is-external=true";
 title="class or interface in java.lang">Runnable
@@ -313,7 +313,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html
 
 
 waitForGroupTableOnline
-private boolean waitForGroupTableOnline()
+private boolean waitForGroupTableOnline()
 
 
 
@@ -322,7 +322,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html
 
 
 createRSGroupTable
-private void createRSGroupTable()
+private void createRSGroupTable()
  throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
 
 Throws:
@@ 

[27/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.RegionReplicaCandidateGenerator.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.RegionReplicaCandidateGenerator.html
 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.RegionReplicaCandidateGenerator.html
index 3d27554..fd63f54 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.RegionReplicaCandidateGenerator.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.RegionReplicaCandidateGenerator.html
@@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-static class StochasticLoadBalancer.RegionReplicaCandidateGenerator
+static class StochasticLoadBalancer.RegionReplicaCandidateGenerator
 extends StochasticLoadBalancer.CandidateGenerator
 Generates candidates which moves the replicas out of the 
region server for
  co-hosted region replicas
@@ -228,7 +228,7 @@ extends 
 
 randomGenerator
-StochasticLoadBalancer.RandomCandidateGenerator
 randomGenerator
+StochasticLoadBalancer.RandomCandidateGenerator
 randomGenerator
 
 
 
@@ -245,7 +245,7 @@ extends 
 
 RegionReplicaCandidateGenerator
-RegionReplicaCandidateGenerator()
+RegionReplicaCandidateGenerator()
 
 
 
@@ -262,7 +262,7 @@ extends 
 
 selectCoHostedRegionPerGroup
-int selectCoHostedRegionPerGroup(int[] primariesOfRegionsPerGroup,
+int selectCoHostedRegionPerGroup(int[] primariesOfRegionsPerGroup,
  int[] regionsPerGroup,
  int[] regionIndexToPrimaryIndex)
 Randomly select one regionIndex out of all region replicas 
co-hosted in the same group
@@ -284,7 +284,7 @@ extends 
 
 generate
-BaseLoadBalancer.Cluster.Action generate(BaseLoadBalancer.Cluster cluster)
+BaseLoadBalancer.Cluster.Action generate(BaseLoadBalancer.Cluster cluster)
 
 Specified by:
 generate in
 class StochasticLoadBalancer.CandidateGenerator

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.RegionReplicaHostCostFunction.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.RegionReplicaHostCostFunction.html
 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.RegionReplicaHostCostFunction.html
index 1faf326..76e8473 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.RegionReplicaHostCostFunction.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.RegionReplicaHostCostFunction.html
@@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-static class StochasticLoadBalancer.RegionReplicaHostCostFunction
+static class StochasticLoadBalancer.RegionReplicaHostCostFunction
 extends StochasticLoadBalancer.CostFunction
 A cost function for region replicas. We give a very high 
cost to hosting
  replicas of the same region in the same host. We do not prevent the case
@@ -272,7 +272,7 @@ extends 
 
 REGION_REPLICA_HOST_COST_KEY
-private static final https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String REGION_REPLICA_HOST_COST_KEY
+private static final https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String REGION_REPLICA_HOST_COST_KEY
 
 See Also:
 Constant
 Field Values
@@ -285,7 +285,7 @@ extends 
 
 DEFAULT_REGION_REPLICA_HOST_COST_KEY
-private static final float DEFAULT_REGION_REPLICA_HOST_COST_KEY
+private static final float DEFAULT_REGION_REPLICA_HOST_COST_KEY
 
 See Also:
 Constant
 Field Values
@@ -298,7 +298,7 @@ extends 
 
 maxCost
-long maxCost
+long maxCost
 
 
 
@@ -307,7 +307,7 @@ extends 
 
 costsPerGroup
-long[] costsPerGroup
+long[] costsPerGroup
 
 
 
@@ -316,7 +316,7 @@ extends 
 
 primariesOfRegionsPerGroup
-int[][] primariesOfRegionsPerGroup
+int[][] primariesOfRegionsPerGroup
 
 
 
@@ -333,7 +333,7 @@ extends 
 
 RegionReplicaHostCostFunction
-public RegionReplicaHostCostFunction(org.apache.hadoop.conf.Configuration conf)
+public RegionReplicaHostCostFunction(org.apache.hadoop.conf.Configuration conf)
 
 
 
@@ -350,7 +350,7 @@ extends 
 
 init
-void init(BaseLoadBalancer.Cluster cluster)
+void init(BaseLoadBalancer.Cluster cluster)
 Description copied from 
class: StochasticLoadBalancer.CostFunction
 Called once per LB invocation to give the cost function
  to initialize it's state, and perform any costly calculation.
@@ -366,7 +366,7 @@ extends 
 
 getMaxCost
-long getMaxCost(BaseLoadBalancer.Cluster cluster)
+long getMaxCost(BaseLoadBalancer.Cluster cluster)
 
 
 
@@ -375,7 +375,7 @@ extends 
 
 isNeeded

[07/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.ConverterHolder.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.ConverterHolder.html 
b/devapidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.ConverterHolder.html
new file mode 100644
index 000..5a1ec8a
--- /dev/null
+++ 
b/devapidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.ConverterHolder.html
@@ -0,0 +1,348 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+
+ByteBufferUtils.ConverterHolder (Apache HBase 3.0.0-SNAPSHOT 
API)
+
+
+
+
+
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static 
Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Overview
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev Class
+Next Class
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+Summary: 
+Nested | 
+Field | 
+Constr | 
+Method
+
+
+Detail: 
+Field | 
+Constr | 
+Method
+
+
+
+
+
+
+
+
+org.apache.hadoop.hbase.util
+Class 
ByteBufferUtils.ConverterHolder
+
+
+
+https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">java.lang.Object
+
+
+org.apache.hadoop.hbase.util.ByteBufferUtils.ConverterHolder
+
+
+
+
+
+
+
+Enclosing class:
+ByteBufferUtils
+
+
+
+static class ByteBufferUtils.ConverterHolder
+extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
+
+
+
+
+
+
+
+
+
+
+
+Nested Class Summary
+
+Nested Classes 
+
+Modifier and Type
+Class and Description
+
+
+(package private) static class 
+ByteBufferUtils.ConverterHolder.PureJavaConverter 
+
+
+(package private) static class 
+ByteBufferUtils.ConverterHolder.UnsafeConverter 
+
+
+
+
+
+
+
+
+
+Field Summary
+
+Fields 
+
+Modifier and Type
+Field and Description
+
+
+(package private) static ByteBufferUtils.Converter
+BEST_CONVERTER 
+
+
+(package private) static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String
+UNSAFE_CONVERTER_NAME 
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors 
+
+Constructor and Description
+
+
+ConverterHolder() 
+
+
+
+
+
+
+
+
+
+Method Summary
+
+All Methods Static Methods Concrete Methods 
+
+Modifier and Type
+Method and Description
+
+
+(package private) static ByteBufferUtils.Converter
+getBestConverter() 
+
+
+
+
+
+
+Methods inherited from class java.lang.https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
+https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--";
 title="class or interface in java.lang">clone, https://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, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--";
 title="class or interface in java.lang">finalize, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--";
 title="class or interface in java.lang">getClass, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--";
 title="class or interface in java.lang">hashCode, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--";
 title="class or interface in java.lang">notify, https://docs.oracle.com/javase/8/docs/api/ja
 va/lang/Object.html?is-external=true#notifyAll--" title="class or interface in 
java.lang">notifyAll, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--";
 title="class or interface in java.lang">toString, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--";
 title="class or interface in java.lang">wait, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-";
 title="class or interface in java.lang">wait, https://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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Detail
+
+
+
+

[13/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.html 
b/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.html
index 94b8afc..bcc9006 100644
--- a/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.html
+++ b/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.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,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":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,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance 
Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -299,13 +299,13 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 private https://docs.oracle.com/javase/8/docs/api/java/lang/ThreadGroup.html?is-external=true";
 title="class or interface in java.lang">ThreadGroup
 threadGroup
-Created in the #start(int, boolean) 
method.
+Created in the init(int,
 boolean) method.
 
 
 
 private TimeoutExecutorThread
 timeoutExecutor
-Created in the #start(int, boolean) 
method.
+Created in the init(int,
 boolean) method.
 
 
 
@@ -319,7 +319,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 private https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CopyOnWriteArrayList.html?is-external=true";
 title="class or interface in 
java.util.concurrent">CopyOnWriteArrayList
 workerThreads
-Created in the #start(int, boolean) 
method.
+Created in the init(int,
 boolean)  method.
 
 
 
@@ -387,17 +387,19 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">ListBoolean>
-bypassProcedure(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">ListLong> pids,
+bypassProcedure(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">ListLong> pids,
long lockWait,
-   boolean force)
+   boolean force,
+   boolean recursive)
 Bypass a procedure.
 
 
 
 (package private) boolean
-bypassProcedure(long pid,
+bypassProcedure(long pid,
long lockWait,
-   boolean force) 
+   boolean override,
+   boolean recursive) 
 
 
 private void
@@ -559,106 +561,110 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 
+private boolean
+isRootFinished(Procedure proc) 
+
+
 boolean
 isRunning() 
 
-
+
 boolean
 isStarted(long procId)
 Return true if the procedure is started.
 
 
-
+
 void
 join() 
 
-
+
 private void
 kill(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String msg) 
 
-
+
 private void
 load(boolean abortOnCorruption) 
 
-
+
 private void
 loadProcedures(ProcedureStore.ProcedureIterator procIter,
   boolean abortOnCorruption) 
 
-
+
 private long
 nextProcId() 
 
-
+
 private Procedure

[35/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/assignment/AssignmentManager.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/AssignmentManager.html 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/AssignmentManager.html
index 8eb7b8b..44ab859 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/AssignmentManager.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/AssignmentManager.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":9,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10};
+var methods = 
{"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":9,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10};
 var tabs = {65535:["t0","All Methods"],1:["t1","Static 
Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -401,8 +401,9 @@ implements 
 private TransitRegionStateProcedure
-createAssignProcedure(RegionStateNode regionNode,
- ServerName targetServer) 
+createAssignProcedure(RegionStateNode regionNode,
+ ServerName targetServer,
+ boolean override) 
 
 
 TransitRegionStateProcedure[]
@@ -425,149 +426,168 @@ implements ServerName targetServer) 
 
 
+TransitRegionStateProcedure
+createOneAssignProcedure(RegionInfo hri,
+boolean override)
+Create one TransitRegionStateProcedure to assign a region 
w/o specifying a target server.
+
+
+
+TransitRegionStateProcedure
+createOneUnassignProcedure(RegionInfo hri,
+  boolean override)
+Create one TransitRegionStateProcedure to unassign a 
region.
+
+
+
 TransitRegionStateProcedure[]
 createRoundRobinAssignProcedures(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List hris)
 Create round-robin assigns.
 
 
-
+
 TransitRegionStateProcedure[]
 createRoundRobinAssignProcedures(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List hris,
 https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List serversToExclude)
 Create round-robin assigns.
 
 
-
+
 SplitTableRegionProcedure
 createSplitProcedure(RegionInfo regionToSplit,
 byte[] splitKey) 
 
-
+
+private TransitRegionStateProcedure
+createUnassignProcedure(RegionStateNode regionNode,
+   boolean override) 
+
+
 TransitRegionStateProcedure[]
 createUnassignProceduresForDisabling(TableName tableName)
 Called by DisableTableProcedure to unassign all the regions 
for a table.
 
 
-
+
 void
 deleteTable(TableName tableName)
 Delete the region states.
 
 
-
+
 https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
 getAssignedRegions() 
 
-
+
 (package private) int
 getAssignMaxAttempts() 
 
-
+
 MetricsAssignmentManager
 getAssignmentManagerMetrics() 
 
-
+
 private LoadBalancer
 getBalancer() 
 
-
+
 org.apache.hadoop.c

[05/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.html
 
b/devapidocs/org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.html
index 18ada74..ab6bfd9 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.html
@@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-Prev Class
+Prev Class
 Next Class
 
 
@@ -113,7 +113,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-static class Bytes.LexicographicalComparerHolder
+static class Bytes.LexicographicalComparerHolder
 extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 Provides a lexicographical comparer implementation; either 
a Java
  implementation or a faster implementation based on Unsafe.
@@ -236,7 +236,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 UNSAFE_COMPARER_NAME
-static final https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String UNSAFE_COMPARER_NAME
+static final https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String UNSAFE_COMPARER_NAME
 
 
 
@@ -245,7 +245,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 BEST_COMPARER
-static final Bytes.Comparer BEST_COMPARER
+static final Bytes.Comparer BEST_COMPARER
 
 
 
@@ -262,7 +262,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 LexicographicalComparerHolder
-LexicographicalComparerHolder()
+LexicographicalComparerHolder()
 
 
 
@@ -279,7 +279,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 getBestComparer
-static Bytes.Comparer getBestComparer()
+static Bytes.Comparer getBestComparer()
 Returns the Unsafe-using Comparer, or falls back to the 
pure-Java
  implementation if unable to do so.
 
@@ -312,7 +312,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 
-Prev Class
+Prev Class
 Next Class
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/util/Bytes.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/util/Bytes.html 
b/devapidocs/org/apache/hadoop/hbase/util/Bytes.html
index 9c965b8..6a226f0 100644
--- a/devapidocs/org/apache/hadoop/hbase/util/Bytes.html
+++ b/devapidocs/org/apache/hadoop/hbase/util/Bytes.html
@@ -150,6 +150,14 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab
 
 
 (package private) static class 
+Bytes.Converter 
+
+
+(package private) static class 
+Bytes.ConverterHolder 
+
+
+(package private) static class 
 Bytes.LexicographicalComparerHolder
 Provides a lexicographical comparer implementation; either 
a Java
  implementation or a faster implementation based on Unsafe.
@@ -1527,7 +1535,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab
 
 
 RNG
-private static final https://docs.oracle.com/javase/8/docs/api/java/security/SecureRandom.html?is-external=true";
 title="class or interface in java.security">SecureRandom RNG
+private static final https://docs.oracle.com/javase/8/docs/api/java/security/SecureRandom.html?is-external=true";
 title="class or interface in java.security">SecureRandom RNG
 
 
 
@@ -1536,7 +1544,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab
 
 
 HEX_CHARS
-private static final char[] HEX_CHARS
+private static final char[] HEX_CHARS
 
 
 
@@ -2341,7 +2349,7 @@ public com.google.protobuf.ByteString 
 
 explainWrongLengthOrOffset
-private static https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true";
 title="class or interface in java.lang">IllegalArgumentException explainWrongLengthOrOffset(byte[] bytes,
+private static https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true";
 title="class or interface in java.lang">IllegalArgumentException explainWrongLengthOrOffset(byte[] bytes,

int offset,

int length,

int expectedLength)
@@ -2353,7 +2361,7 @@ public com.google.protobuf.ByteString 
 
 putLong
-public static int putLong(byte[] bytes,
+public static int putLong(byte[] bytes,
   int offset,
   lon

[12/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureInMemoryChore.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureInMemoryChore.html 
b/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureInMemoryChore.html
index 376bcd4..4d8f856 100644
--- a/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureInMemoryChore.html
+++ b/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureInMemoryChore.html
@@ -243,7 +243,7 @@ extends Procedure
-acquireLock,
 addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doAcquireLock, doExecute,
 doReleaseLock,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId, getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner, hasParent,
 hasTimeout,
 haveSameParent,
 holdLock,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 isYieldAfterExecutionStep,
 lockedWhenLoading,
 needPersistence,
 releaseLock,
 removeStackIndex, resetPersistence,
 restoreLock,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey, setOwner,
 setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState, 
setSubmittedTime,
 setTimeout,
 setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringClassDetails, toStringDetails,
 toStringSimpleSB,
 toStringState,
 tryRunnable,
 updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 waitInitialized, wasExecuted
+acquireLock,
 addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doAcquireLock, doExecute,
 doReleaseLock,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId, getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner, hasParent,
 hasTimeout,
 haveSameParent,
 holdLock,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 isYieldAfterExecutionStep,
 lockedWhenLoading,
 needPersistence,
 releaseLock,
 remove
 StackIndex, resetPersistence,
 restoreLock,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey, 
setOwner,
 setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout,
 setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringClassDetails, toStringDetails,
 toStringSimpleSB,
 toStringState,
 tryRunnable,
 updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 waitInitialized, wasExecuted
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/procedure2/RemoteProcedureException.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/procedure2/RemoteProcedureException.html 
b/devapidocs/org/apache/hadoop/hbase/procedure2/RemoteProcedureException.html
index 77a7ab4..9a4ea31 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/procedure2/RemoteProcedureException.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/procedure2/RemoteProcedureException.html
@@ -347,7 +347,7 @@ extends 
 
 unwrapRemoteIOException
-public https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException unwrapRemoteIOException()
+public https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException unwrapRemoteIOException()
 
 
 
@@ -356,7 +356,7 @@ extends 
 
 toString
-public https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String toString()
+public https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String toString()
 
 Overrides:
 https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#toString--";
 title="class or interface in java.lang">toString in 
class https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true";
 title="class or interface in java.lang">Throwable
@@ -369,7 +369,7 @@ extends 
 
 serialize
-public static byte[] serialize(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-

[09/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.Comparer.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.Comparer.html 
b/devapidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.Comparer.html
new file mode 100644
index 000..69b789f
--- /dev/null
+++ b/devapidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.Comparer.html
@@ -0,0 +1,313 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+
+ByteBufferUtils.Comparer (Apache HBase 3.0.0-SNAPSHOT API)
+
+
+
+
+
+var methods = {"i0":6,"i1":6};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance 
Methods"],4:["t3","Abstract Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Overview
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev Class
+Next Class
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+Summary: 
+Nested | 
+Field | 
+Constr | 
+Method
+
+
+Detail: 
+Field | 
+Constr | 
+Method
+
+
+
+
+
+
+
+
+org.apache.hadoop.hbase.util
+Class 
ByteBufferUtils.Comparer
+
+
+
+https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">java.lang.Object
+
+
+org.apache.hadoop.hbase.util.ByteBufferUtils.Comparer
+
+
+
+
+
+
+
+Direct Known Subclasses:
+ByteBufferUtils.ComparerHolder.PureJavaComparer,
 ByteBufferUtils.ComparerHolder.UnsafeComparer
+
+
+Enclosing class:
+ByteBufferUtils
+
+
+
+abstract static class ByteBufferUtils.Comparer
+extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors 
+
+Constructor and Description
+
+
+Comparer() 
+
+
+
+
+
+
+
+
+
+Method Summary
+
+All Methods Instance Methods Abstract Methods 
+
+Modifier and Type
+Method and Description
+
+
+(package private) abstract int
+compareTo(byte[] buf1,
+ int o1,
+ int l1,
+ https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer buf2,
+ int o2,
+ int l2) 
+
+
+(package private) abstract int
+compareTo(https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer buf1,
+ int o1,
+ int l1,
+ https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer buf2,
+ int o2,
+ int l2) 
+
+
+
+
+
+
+Methods inherited from class java.lang.https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
+https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--";
 title="class or interface in java.lang">clone, https://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, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--";
 title="class or interface in java.lang">finalize, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--";
 title="class or interface in java.lang">getClass, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--";
 title="class or interface in java.lang">hashCode, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--";
 title="class or interface in java.lang">notify, https://docs.oracle.com/javase/8/docs/api/ja
 va/lang/Object.html?is-external=true#notifyAll--" title="class or interface in 
java.lang">notifyAll, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--";
 title="class or interface in java.lang">toString, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--";
 title="class or interface in java.lang">wait, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-";
 title="class or interface in java.lang">wait, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-";
 title="class or inte

[31/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/assignment/UnassignProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/UnassignProcedure.html 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/UnassignProcedure.html
index 7c9bc39..f9d1cea 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/UnassignProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/UnassignProcedure.html
@@ -351,7 +351,7 @@ extends Procedure
-acquireLock,
 addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollba
 ck, elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcId,
 g
 etProcIdHashCode, getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 holdLock, incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 isYieldAfterExecutionStep, 
releaseLock,
 removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 
 setLastUpdate, setNonceKey,
 setOwner,
 setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setSt
 ackIndexes, setState,
 setSubmittedTime,
 setTimeout,
 setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass, toStringDetails,
 toStringSimpleSB,
 updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 waitInitialized,
 wasExecuted
+acquireLock,
 addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doExecute,
 
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProc
 Id, getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent, holdLock,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting, isYieldAfterExecutionStep,
 releaseLock,
 removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 set
 Failure, setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout,
 setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString, toStringClass,
 toStringDetails,
 toStringSimpleSB,
 updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 waitInitialized,
 wasExecuted
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/assignment/class-use/RegionStateNode.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/class-use/RegionStateNode.html
 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/class-use/RegionStateNode.html
index f8fa74a..a3e6f22 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/class-use/RegionStateNode.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/class-use/RegionStateNode.html
@@ -265,8 +265,9 @@
 
 
 private TransitRegionStateProcedure
-AssignmentManager.createAssignProcedure(RegionStateNode regionNode,
- ServerName targetServer) 
+AssignmentManager.createAssignProcedure(RegionStateNode regionNode,
+ ServerName targetServer,
+ boolean override) 
 
 
 private HRegionLocation
@@ -278,82 +279,87 @@
   https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true";
 title="class or interface in java.util">MapList> result) 
 
 
+private TransitRegionStateProcedure
+AssignmentManager.createUnassignProcedure(RegionStateNode regionNode,
+   boolean override) 
+
+
 protected void
 UnassignProcedure.finishTransition(MasterProcedureEnv env,
 RegionStateNode regionNode)
 Deprecated. 
  
 
-
+
 protected void
 AssignProcedure.finishTransition(MasterProcedureEnv env,
 RegionStateNode regionNode)
 Deprecated. 
  
 
-
+
 protected abstract void
 RegionTransitionProcedure.finishTransition(MasterProcedureEnv env,
 RegionStateNode regionNode)
 Deprecated. 
  
 
-
+
 (package private) boolean
 RegionStates.include(RegionStateNode node,
boolean offline)
 Utility.
 
 
-
+
 private boolean
 TransitRegionStateProcedure.incrementAndCheckMaxAttempts(MasterProced

[38/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html 
b/devapidocs/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html
index f97dd4e..40b57f5 100644
--- a/devapidocs/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html
+++ b/devapidocs/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html
@@ -120,7 +120,7 @@ var activeTableTab = "activeTableTab";
 
 
 @InterfaceAudience.Public
-public class FuzzyRowFilter
+public class FuzzyRowFilter
 extends FilterBase
 This is optimized version of a standard FuzzyRowFilter 
Filters data based on fuzzy row key.
  Performs fast-forwards during scanning. It takes pairs (row key, fuzzy info) 
to match row keys.
@@ -434,7 +434,7 @@ extends 
 
 UNSAFE_UNALIGNED
-private static final boolean UNSAFE_UNALIGNED
+private static final boolean UNSAFE_UNALIGNED
 
 
 
@@ -443,7 +443,7 @@ extends 
 
 fuzzyKeysData
-private https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List> fuzzyKeysData
+private https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List> fuzzyKeysData
 
 
 
@@ -452,7 +452,7 @@ extends 
 
 done
-private boolean done
+private boolean done
 
 
 
@@ -461,7 +461,7 @@ extends 
 
 lastFoundIndex
-private int lastFoundIndex
+private int lastFoundIndex
 The index of a last successfully found matching fuzzy 
string (in fuzzyKeysData). We will start
  matching next KV with this one. If they do not match then we will return back 
to the one-by-one
  iteration over fuzzyKeysData.
@@ -473,7 +473,7 @@ extends 
 
 tracker
-private FuzzyRowFilter.RowTracker 
tracker
+private FuzzyRowFilter.RowTracker 
tracker
 Row tracker (keeps all next rows after SEEK_NEXT_USING_HINT 
was returned)
 
 
@@ -491,7 +491,7 @@ extends 
 
 FuzzyRowFilter
-public FuzzyRowFilter(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List> fuzzyKeysData)
+public FuzzyRowFilter(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List> fuzzyKeysData)
 
 
 
@@ -508,7 +508,7 @@ extends 
 
 preprocessSearchKey
-private void preprocessSearchKey(Pair p)
+private void preprocessSearchKey(Pair p)
 
 
 
@@ -517,7 +517,7 @@ extends 
 
 preprocessMask
-private byte[] preprocessMask(byte[] mask)
+private byte[] preprocessMask(byte[] mask)
 We need to preprocess mask array, as since we treat 2's as 
unfixed positions and -1 (0xff) as
  fixed positions
 
@@ -534,7 +534,7 @@ extends 
 
 isPreprocessedMask
-private boolean isPreprocessedMask(byte[] mask)
+private boolean isPreprocessedMask(byte[] mask)
 
 
 
@@ -544,7 +544,7 @@ extends 
 filterKeyValue
 https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true";
 title="class or interface in java.lang">@Deprecated
-public Filter.ReturnCode filterKeyValue(Cell c)
+public Filter.ReturnCode filterKeyValue(Cell c)
 Deprecated. 
 Description copied from 
class: Filter
 A way to filter based on the column family, column 
qualifier and/or the column value. Return
@@ -579,7 +579,7 @@ public 
 
 filterCell
-public Filter.ReturnCode filterCell(Cell c)
+public Filter.ReturnCode filterCell(Cell c)
 Description copied from 
class: Filter
 A way to filter based on the column family, column 
qualifier and/or the column value. Return
  code is described below. This allows filters to filter only certain number of 
columns, then
@@ -613,7 +613,7 @@ public 
 
 getNextCellHint
-public Cell getNextCellHint(Cell currentCell)
+public Cell getNextCellHint(Cell currentCell)
 Description copied from 
class: FilterBase
 Filters that are not sure which key must be next seeked to, 
can inherit
  this implementation that, by default, returns a null Cell.
@@ -639,7 +639,7 @@ public 
 
 filterAllRemaining
-public boolean filterAllRemaining()
+public boolean filterAllRemaining()
 Description copied from 
class: FilterBase
 Filters that never filter all remaining can inherit this 
implementation that
  never stops the filter early.
@@ -662,7 +662,7 @@ public 
 
 toByteArray
-public byte[] toByteArray()
+public byte[] toByteArray()
 Description copied from 
class: FilterBase
 Return length 0 byte array for Filters that don't require 
special serialization
 
@@ -679,7 +679,7 @@ public 
 
 parseFrom
-public static FuzzyRowFilter parseFrom(byte[] pbBytes)
+public static FuzzyRowFilter parseFrom(byte[] pbBytes)
 throws DeserializationException
 
 Parameters:
@@ -699,7 +699,7 @@ public 
 
 toString
-public https://docs.oracle.com/javase/8/docs/api/java/lang/String.

[03/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/util/class-use/Bytes.ConverterHolder.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/util/class-use/Bytes.ConverterHolder.html 
b/devapidocs/org/apache/hadoop/hbase/util/class-use/Bytes.ConverterHolder.html
new file mode 100644
index 000..90b274f
--- /dev/null
+++ 
b/devapidocs/org/apache/hadoop/hbase/util/class-use/Bytes.ConverterHolder.html
@@ -0,0 +1,125 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+
+Uses of Class org.apache.hadoop.hbase.util.Bytes.ConverterHolder 
(Apache HBase 3.0.0-SNAPSHOT API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Overview
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev
+Next
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+
+
+
+Uses of 
Classorg.apache.hadoop.hbase.util.Bytes.ConverterHolder
+
+No usage of 
org.apache.hadoop.hbase.util.Bytes.ConverterHolder
+
+
+
+
+Skip navigation links
+
+
+
+
+Overview
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev
+Next
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+
+
+Copyright © 2007–2018 https://www.apache.org/";>The Apache Software Foundation. All rights 
reserved.
+
+

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/util/package-frame.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/util/package-frame.html 
b/devapidocs/org/apache/hadoop/hbase/util/package-frame.html
index b914b7c..c4fa8ff 100644
--- a/devapidocs/org/apache/hadoop/hbase/util/package-frame.html
+++ b/devapidocs/org/apache/hadoop/hbase/util/package-frame.html
@@ -65,9 +65,21 @@
 ByteBufferArray
 ByteBufferArray.BufferCreatorCallable
 ByteBufferUtils
+ByteBufferUtils.Comparer
+ByteBufferUtils.ComparerHolder
+ByteBufferUtils.ComparerHolder.PureJavaComparer
+ByteBufferUtils.ComparerHolder.UnsafeComparer
+ByteBufferUtils.Converter
+ByteBufferUtils.ConverterHolder
+ByteBufferUtils.ConverterHolder.PureJavaConverter
+ByteBufferUtils.ConverterHolder.UnsafeConverter
 ByteRangeUtils
 Bytes
 Bytes.ByteArrayComparator
+Bytes.Converter
+Bytes.ConverterHolder
+Bytes.ConverterHolder.PureJavaConverter
+Bytes.ConverterHolder.UnsafeConverter
 Bytes.LexicographicalComparerHolder
 Bytes.RowEndKeyComparator
 ByteStringer

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/util/package-summary.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/util/package-summary.html 
b/devapidocs/org/apache/hadoop/hbase/util/package-summary.html
index 82a1d0a..9c8a985 100644
--- a/devapidocs/org/apache/hadoop/hbase/util/package-summary.html
+++ b/devapidocs/org/apache/hadoop/hbase/util/package-summary.html
@@ -377,6 +377,38 @@
 
 
 
+ByteBufferUtils.Comparer
+ 
+
+
+ByteBufferUtils.ComparerHolder
+ 
+
+
+ByteBufferUtils.ComparerHolder.PureJavaComparer
+ 
+
+
+ByteBufferUtils.ComparerHolder.UnsafeComparer
+ 
+
+
+ByteBufferUtils.Converter
+ 
+
+
+ByteBufferUtils.ConverterHolder
+ 
+
+
+ByteBufferUtils.ConverterHolder.PureJavaConverter
+ 
+
+
+ByteBufferUtils.ConverterHolder.UnsafeConverter
+ 
+
+
 ByteRangeUtils
 
 Utility methods for working with ByteRange.
@@ -397,6 +429,22 @@
 
 
 
+Bytes.Converter
+ 
+
+
+Bytes.ConverterHolder
+ 
+
+
+Bytes.ConverterHolder.PureJavaConverter
+ 
+
+
+Bytes.ConverterHolder.UnsafeConverter
+ 
+
+
 Bytes.LexicographicalComparerHolder
 
 Provides a lexicographical comparer implementation; either 
a Java

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/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 4ee911d..89dc634 100644
--- a/devapidocs/org/apache/hadoop/hbase/util/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/util/package-tree.html
@@ -169,6 +169,20 @@
 
 
 org.apache.hadoop.hbase.util.ByteBufferUtils
+org.apache

[23/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/procedure/MasterProcedureUtil.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/procedure/MasterProcedureUtil.html 
b/devapidocs/org/apache/hadoop/hbase/master/procedure/MasterProcedureUtil.html
index 2be5d7b..90d9eed 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/procedure/MasterProcedureUtil.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/procedure/MasterProcedureUtil.html
@@ -18,7 +18,7 @@
 catch(err) {
 }
 //-->
-var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9};
+var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9};
 var tabs = {65535:["t0","All Methods"],1:["t1","Static 
Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -111,7 +111,7 @@ var activeTableTab = "activeTableTab";
 
 @InterfaceAudience.Private
  @InterfaceStability.Evolving
-public final class MasterProcedureUtil
+public final class MasterProcedureUtil
 extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 
 
@@ -221,6 +221,12 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 toUserInfo(org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.UserInformation userInfoProto) 
 
 
+static https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
+unwrapRemoteIOException(Procedure proc)
+This is a version of unwrapRemoteIOException that can do 
DoNotRetryIOE.
+
+
+
 static boolean
 validateProcedureWALFilename(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String filename)
 A Procedure WAL file name is of the format: 
pv-.log where wal-id is 20 digits.
@@ -254,7 +260,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 pattern
-private static final https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html?is-external=true";
 title="class or interface in java.util.regex">Pattern pattern
+private static final https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html?is-external=true";
 title="class or interface in java.util.regex">Pattern pattern
 Pattern used to validate a Procedure WAL file name see
  validateProcedureWALFilename(String)
 for description.
 
@@ -273,7 +279,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 MasterProcedureUtil
-private MasterProcedureUtil()
+private MasterProcedureUtil()
 
 
 
@@ -290,7 +296,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 toProtoUserInfo
-public 
static org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.UserInformation toProtoUserInfo(User user)
+public 
static org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.UserInformation toProtoUserInfo(User user)
 
 
 
@@ -299,7 +305,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 toUserInfo
-public static User toUserInfo(org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.UserInformation userInfoProto)
+public static User toUserInfo(org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.UserInformation userInfoProto)
 
 
 
@@ -308,7 +314,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 submitProcedure
-public static long submitProcedure(MasterProcedureUtil.NonceProcedureRunnable runnable)
+public static long submitProcedure(MasterProcedureUtil.NonceProcedureRunnable runnable)
 throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
 Helper used to deal with submitting procs with nonce.
  Internally the NonceProcedureRunnable.run() will be called only if no one else
@@ -337,7 +343,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 validateProcedureWALFilename
-public static boolean validateProcedureWALFilename(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String filename)
+public static boolean validateProcedureWALFilename(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String filename)
 A Procedure WAL file name is of the format: 
pv-.log where wal-id is 20 digits.
 
 Parameters:
@@ -353,7 +359,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 getTablePriority
-public static int getTablePriority(TableName tableName)
+public static int getTablePriority(TableName tableName)
 Return the priority for the given table. Now meta table is 
3, other system tables are

[25/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/procedure/CreateNamespaceProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/procedure/CreateNamespaceProcedure.html
 
b/devapidocs/org/apache/hadoop/hbase/master/procedure/CreateNamespaceProcedure.html
index 5dfe21a..54c3f92 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/procedure/CreateNamespaceProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/procedure/CreateNamespaceProcedure.html
@@ -398,7 +398,7 @@ extends Procedure
-addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode, getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 holdLock, 
incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex, setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner, setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime, setTimeout,
 setTimeoutFailure,
 skipPersistence,
 toString,
 toStringClass,
 toStringDetails,
 toStringSimpleSB,
 updateMetricsOnFinish, updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
+addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId, getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 <
 a 
href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#getTimeout--">getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent, holdLock,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting, removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey, setOwner,
 setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState, setSubmittedTime,
 setTimeout,
 setTimeoutFailure,
 skipPersistence,
 toString,
 toStringClass,
 toStringDetails,
 toStringSimpleSB,
 updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/procedure/CreateTableProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/procedure/CreateTableProcedure.html 
b/devapidocs/org/apache/hadoop/hbase/master/procedure/CreateTableProcedure.html
index 365810d..420ff1d 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/procedure/CreateTableProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/procedure/CreateTableProcedure.html
@@ -426,7 +426,7 @@ extends Procedure
-addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode, getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 holdLock, 
incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex, setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner, setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime, setTimeout,
 setTimeoutFailure,
 skipPersistence,
 toString,
 toStringClass,
 toStringDetails,
 toStringSimpleSB,
 updateMetricsOnFinish, updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
+addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId, getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 <
 a 
href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#getTimeout

[26/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/procedure/AbstractStateMachineNamespaceProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/procedure/AbstractStateMachineNamespaceProcedure.html
 
b/devapidocs/org/apache/hadoop/hbase/master/procedure/AbstractStateMachineNamespaceProcedure.html
index 45338a8..6ca7efe 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/procedure/AbstractStateMachineNamespaceProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/procedure/AbstractStateMachineNamespaceProcedure.html
@@ -299,7 +299,7 @@ implements Procedure
-addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode, getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 holdLock, 
incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex, setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner, setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime, setTimeout,
 setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringDetails,
 to
 StringSimpleSB, updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
+addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId, getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 <
 a 
href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#getTimeout--">getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent, holdLock,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting, removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey, setOwner,
 setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState, setSubmittedTime,
 setTimeout,
 setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringD
 etails, toStringSimpleSB,
 updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/procedure/AbstractStateMachineRegionProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/procedure/AbstractStateMachineRegionProcedure.html
 
b/devapidocs/org/apache/hadoop/hbase/master/procedure/AbstractStateMachineRegionProcedure.html
index d014986..9f072ec 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/procedure/AbstractStateMachineRegionProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/procedure/AbstractStateMachineRegionProcedure.html
@@ -331,7 +331,7 @@ extends Procedure
-addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode, getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner, setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout, setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringDetails,
 toStringSimpleSB,
 updateMetricsOnFinish, updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
+addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId, getProcIdHash

[14/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.CompletedProcedureCleaner.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.CompletedProcedureCleaner.html
 
b/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.CompletedProcedureCleaner.html
index 3f0afcb..b5a8205 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.CompletedProcedureCleaner.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.CompletedProcedureCleaner.html
@@ -288,7 +288,7 @@ extends Procedure
-acquireLock,
 addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doAcquireLock, doExecute,
 doReleaseLock,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId, getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner, hasParent,
 hasTimeout,
 haveSameParent,
 holdLock,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 isYieldAfterExecutionStep,
 lockedWhenLoading,
 needPersistence,
 releaseLock,
 removeStackIndex, resetPersistence,
 restoreLock,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey, setOwner,
 setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState, 
setSubmittedTime,
 setTimeout,
 setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringClassDetails, toStringDetails,
 toStringSimpleSB,
 toStringState,
 tryRunnable,
 updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 waitInitialized, wasExecuted
+acquireLock,
 addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doAcquireLock, doExecute,
 doReleaseLock,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId, getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner, hasParent,
 hasTimeout,
 haveSameParent,
 holdLock,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 isYieldAfterExecutionStep,
 lockedWhenLoading,
 needPersistence,
 releaseLock,
 remove
 StackIndex, resetPersistence,
 restoreLock,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey, 
setOwner,
 setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout,
 setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringClassDetails, toStringDetails,
 toStringSimpleSB,
 toStringState,
 tryRunnable,
 updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 waitInitialized, wasExecuted
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.FailedProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.FailedProcedure.html
 
b/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.FailedProcedure.html
index 209f474..175527f 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.FailedProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.FailedProcedure.html
@@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-public static class ProcedureExecutor.FailedProcedure
+public static class ProcedureExecutor.FailedProcedure
 extends Procedure
 
 
@@ -250,7 +250,7 @@ extends Procedure
-acquireLock,
 addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doAcquireLock, doExecute,
 doReleaseLock,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes, getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent, hasTimeout,
 haveSameParent,
 holdLock,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable, 
isSuccess,
 isWaiting,
 isYieldAfterExecutionStep,
 lockedWhenLoading,
 needPersistence,
 releaseLock,
 removeStackIndex,
 reset

[42/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/checkstyle-aggregate.html
--
diff --git a/checkstyle-aggregate.html b/checkstyle-aggregate.html
index 0d37a25..d59cbc5 100644
--- a/checkstyle-aggregate.html
+++ b/checkstyle-aggregate.html
@@ -7,7 +7,7 @@
   
 
 
-
+
 
 Apache HBase – Checkstyle Results
 
@@ -291,10 +291,10 @@
  Warnings
  Errors
 
-3790
+3793
 0
 0
-15114
+15111
 
 Files
 
@@ -4602,7 +4602,7 @@
 org/apache/hadoop/hbase/master/MasterRpcServices.java
 0
 0
-13
+11
 
 org/apache/hadoop/hbase/master/MasterServices.java
 0
@@ -8937,7 +8937,7 @@
 org/apache/hadoop/hbase/util/Bytes.java
 0
 0
-89
+88
 
 org/apache/hadoop/hbase/util/ChecksumType.java
 0
@@ -9818,7 +9818,7 @@
 http://checkstyle.sourceforge.net/config_imports.html#UnusedImports";>UnusedImports
 
 processJavadoc: "true"
-110
+108
  Error
 
 indentation
@@ -9829,19 +9829,19 @@
 caseIndent: "2"
 basicOffset: "2"
 lineWrappingIndentation: "2"
-4812
+4811
  Error
 
 javadoc
 http://checkstyle.sourceforge.net/config_javadoc.html#JavadocTagContinuationIndentation";>JavadocTagContinuationIndentation
 
 offset: "2"
-730
+731
  Error
 
 
 http://checkstyle.sourceforge.net/config_javadoc.html#NonEmptyAtclauseDescription";>NonEmptyAtclauseDescription
-3501
+3500
  Error
 
 misc
@@ -19135,7 +19135,7 @@
 
  Error
 javadoc
-NonEmptyAtclauseDescription
+JavadocTagContinuationIndentation
 Javadoc comment at column 0 has parse error. Details: no viable 
alternative at input '   *' while parsing JAVADOC_TAG
 117
 
@@ -38913,109 +38913,109 @@
 sizes
 LineLength
 Line is longer than 100 characters (found 120).
-85
+84
 
  Error
 javadoc
 NonEmptyAtclauseDescription
 At-clause should have a non-empty description.
-123
+122
 
  Error
 blocks
 NeedBraces
 'if' construct must use '{}'s.
-131
+130
 
  Error
 annotation
 MissingDeprecated
 Must include both @java.lang.Deprecated annotation and @deprecated Javadoc 
tag with description.
-151
+150
 
  Error
 indentation
 Indentation
 'method def modifier' has incorrect indentation level 16, expected level 
should be one of the following: 10, 12.
-209
+208
 
  Error
 indentation
 Indentation
 'method def' child has incorrect indentation level 18, expected level 
should be one of the following: 12, 14.
-212
+211
 
  Error
 indentation
 Indentation
 'method def rcurly' has incorrect indentation level 16, expected level 
should be one of the following: 10, 12.
-214
+213
 
  Error
 indentation
 Indentation
 'object def rcurly' has incorrect indentation level 14, expected level 
should be one of the following: 8, 10.
-215
+214
 
  Error
 sizes
 LineLength
 Line is longer than 100 characters (found 107).
-221
+220
 
  Error
 sizes
 LineLength
 Line is longer than 100 characters (found 114).
-244
+243
 
  Error
 javadoc
 NonEmptyAtclauseDescription
 At-clause should have a non-empty description.
-282
+281
 
  Error
 javadoc
 NonEmptyAtclauseDescription
 At-clause should have a non-empty description.
-611
+610
 
  Error
 javadoc
 NonEmptyAtclauseDescription
 At-clause should have a non-empty description.
-612
+611
 
  Error
 blocks
 NeedBraces
 'if' construct must use '{}'s.
-621
+620
 
  Error
 blocks
 NeedBraces
 'if' construct must use '{}'s.
-623
+622
 
  Error
 blocks
 NeedBraces
 'if' construct must use '{}'s.
-635
+634
 
  Error
 blocks
 NeedBraces
 'if' construct must use '{}'s.
-636
+635
 
  Error
 blocks
 NeedBraces
 'if' construct must use '{}'s.
-639
+638
 
 org/apache/hadoop/hbase/filter/InclusiveStopFilter.java
 
@@ -61515,82 +61515,70 @@
 Line
 
  Error
-imports
-UnusedImports
-Unused import - java.util.function.Function.
-32
-
- Error
-imports
-UnusedImports
-Unused import - org.apache.hadoop.hbase.client.Connection.
-47
-
- Error
 javadoc
 JavadocTagContinuationIndentation
 Line continuation have incorrect indentation level, expected level should 
be 2.
-319
+317
 
  Error
 blocks
 NeedBraces
 'if' construct must use '{}'s.
-579
+577
 
  Error
 indentation
 Indentation
 'throws' has incorrect indentation level 2, expected level should be 
4.
-624
+622
 
  Error
 javadoc
 NonEmptyAtclauseDescription
 At-clause should have a non-empty description.
-979
+977
 
  Error
 javadoc
 JavadocTagContinuationIndentation
 Line continuation have incorrect indentation level, expected level should 
be 2.
-1006
+1004
 
  Error
 javadoc
 NonEmptyAtclauseDescription
 At-clause should have a non-empty description.
-1008
+1006
 
  Error
 javadoc
 NonEmptyAtclauseDescription
 At-clause should have a non-empty description.
-1047
+1045
 
  Error
 javadoc
 JavadocTagContinuationIndentation
 Line continuation have incorrect indentation level, expected level should 
be 2.
-1152
+1150
 
  Error
 blocks
 NeedBraces
 'if' construct must use '{}'s.
-1393
+1392
 
  Error
 javadoc
 NonEmptyAtclauseDescription
 At-clause should have a non-empty description.
-1635
+1634
 
  Error
 javadoc
 NonEmptyAtclauseDescription
 At-clause 

[43/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/book.html
--
diff --git a/book.html b/book.html
index 00f72be..7a3f350 100644
--- a/book.html
+++ b/book.html
@@ -41302,7 +41302,7 @@ 
org/apache/hadoop/hbase/security/access/AccessControlClient.revoke:(Lorg/apache/
 
 
 Version 3.0.0-SNAPSHOT
-Last updated 2018-10-17 14:33:27 UTC
+Last updated 2018-10-18 14:33:07 UTC
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/bulk-loads.html
--
diff --git a/bulk-loads.html b/bulk-loads.html
index c80fccc..15bb3bf 100644
--- a/bulk-loads.html
+++ b/bulk-loads.html
@@ -7,7 +7,7 @@
   
 
 
-
+
 
 Apache HBase –  
   Bulk Loads in Apache HBase (TM)
@@ -316,7 +316,7 @@ under the License. -->
 https://www.apache.org/";>The Apache Software 
Foundation.
 All rights reserved.  
 
-  Last Published: 
2018-10-17
+  Last Published: 
2018-10-18
 
 
 



[18/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/replication/ModifyPeerProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/replication/ModifyPeerProcedure.html
 
b/devapidocs/org/apache/hadoop/hbase/master/replication/ModifyPeerProcedure.html
index dd2a3cf..9763618 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/replication/ModifyPeerProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/replication/ModifyPeerProcedure.html
@@ -377,7 +377,7 @@ extends Procedure
-addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode, getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner, setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout, shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringClassDetails,
 toStringDetails,
 toStringSimpleSB,
 updateMetricsOnFinish, updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
+addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId, getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 <
 a 
href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#getTimeout--">getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent, incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex, setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner, setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime, setTimeout,
 shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringClassDetails,
 toStringDetails,
 toStringSimpleSB, updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/replication/RecoverStandbyProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/replication/RecoverStandbyProcedure.html
 
b/devapidocs/org/apache/hadoop/hbase/master/replication/RecoverStandbyProcedure.html
index dd93830..e7e7564 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/replication/RecoverStandbyProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/replication/RecoverStandbyProcedure.html
@@ -310,7 +310,7 @@ extends Procedure
-addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode, getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting,
 removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner, setParentProcId,
 setProcId,
 setResult,
 setRootProcId,
 setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout, shouldWaitClientAck,
 skipPersistence,
 toString,
 toStringClass,
 toStringClassDetails,
 toStringDetails,
 toStringSimpleSB,
 updateMetricsOnFinish, updateMetricsOnSubmit,
 updateTimestamp,
 wasExecuted
+addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId, getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 <
 a 
href="../../../../../../org/ap

[51/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.


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

Branch: refs/heads/asf-site
Commit: c9ebe68605985c89b8b583d528e1b4cc1d6390e7
Parents: ba3ba8b
Author: jenkins 
Authored: Thu Oct 18 14:53:45 2018 +
Committer: jenkins 
Committed: Thu Oct 18 14:53:45 2018 +

--
 acid-semantics.html |4 +-
 apache_hbase_reference_guide.pdf|4 +-
 .../hadoop/hbase/filter/FuzzyRowFilter.html |   22 +-
 .../hadoop/hbase/util/ByteBufferUtils.html  |  110 +-
 apidocs/org/apache/hadoop/hbase/util/Bytes.html |  184 +-
 .../hadoop/hbase/filter/FuzzyRowFilter.html | 1243 +++--
 .../hadoop/hbase/util/ByteBufferUtils.html  | 2117 
 .../hbase/util/Bytes.ByteArrayComparator.html   | 3631 ++---
 .../hbase/util/Bytes.RowEndKeyComparator.html   | 3631 ++---
 .../org/apache/hadoop/hbase/util/Bytes.html | 3631 ++---
 book.html   |2 +-
 bulk-loads.html |4 +-
 checkstyle-aggregate.html   | 3626 +++--
 checkstyle.rss  |   50 +-
 coc.html|4 +-
 dependencies.html   |4 +-
 dependency-convergence.html |4 +-
 dependency-info.html|4 +-
 dependency-management.html  |4 +-
 devapidocs/allclasses-frame.html|   12 +
 devapidocs/allclasses-noframe.html  |   12 +
 devapidocs/constant-values.html |4 +-
 devapidocs/index-all.html   |  257 +-
 .../hadoop/hbase/class-use/HRegionLocation.html |   14 +
 .../hadoop/hbase/class-use/ServerName.html  |5 +-
 .../apache/hadoop/hbase/client/HBaseHbck.html   |   62 +-
 .../org/apache/hadoop/hbase/client/Hbck.html|  100 +-
 .../hbase/client/class-use/RegionInfo.html  |   14 +
 .../hadoop/hbase/client/package-tree.html   |   28 +-
 .../hadoop/hbase/executor/package-tree.html |2 +-
 .../hbase/filter/FuzzyRowFilter.Order.html  |   22 +-
 .../hbase/filter/FuzzyRowFilter.RowTracker.html |   16 +-
 .../filter/FuzzyRowFilter.SatisfiesCode.html|   12 +-
 .../hadoop/hbase/filter/FuzzyRowFilter.html |   56 +-
 .../hadoop/hbase/filter/package-tree.html   |   10 +-
 .../hadoop/hbase/io/hfile/package-tree.html |4 +-
 .../apache/hadoop/hbase/ipc/package-tree.html   |2 +-
 .../hadoop/hbase/mapreduce/package-tree.html|2 +-
 .../org/apache/hadoop/hbase/master/HMaster.html |   30 +-
 .../master/HMasterCommandLine.LocalHMaster.html |2 +-
 .../MasterRpcServices.BalanceSwitchMode.html|6 +-
 .../hadoop/hbase/master/MasterRpcServices.html  |  222 +-
 .../master/assignment/AssignProcedure.html  |2 +-
 ...signmentManager.RegionInTransitionChore.html |8 +-
 ...ssignmentManager.RegionInTransitionStat.html |   40 +-
 .../master/assignment/AssignmentManager.html|  359 +-
 .../master/assignment/CloseRegionProcedure.html |2 +-
 .../assignment/GCMergedRegionsProcedure.html|2 +-
 .../master/assignment/GCRegionProcedure.html|2 +-
 .../assignment/MergeTableRegionsProcedure.html  |2 +-
 .../master/assignment/MoveRegionProcedure.html  |2 +-
 .../master/assignment/OpenRegionProcedure.html  |2 +-
 .../assignment/RegionRemoteProcedureBase.html   |2 +-
 .../assignment/RegionTransitionProcedure.html   |2 +-
 .../assignment/SplitTableRegionProcedure.html   |2 +-
 .../assignment/TransitRegionStateProcedure.html |   90 +-
 .../master/assignment/UnassignProcedure.html|2 +-
 .../assignment/class-use/RegionStateNode.html   |   84 +-
 .../class-use/TransitRegionStateProcedure.html  |   40 +-
 .../BaseLoadBalancer.Cluster.Action.Type.html   |   14 +-
 .../BaseLoadBalancer.Cluster.Action.html|   10 +-
 ...LoadBalancer.Cluster.AssignRegionAction.html |   12 +-
 .../BaseLoadBalancer.Cluster.LocalityType.html  |   10 +-
 ...seLoadBalancer.Cluster.MoveRegionAction.html |   14 +-
 ...eLoadBalancer.Cluster.SwapRegionsAction.html |   16 +-
 .../balancer/BaseLoadBalancer.Cluster.html  |  148 +-
 .../BaseLoadBalancer.DefaultRackManager.html|6 +-
 .../hbase/master/balancer/BaseLoadBalancer.html |  100 +-
 .../master/balancer/SimpleLoadBalancer.html |4 +-
 ...asticLoadBalancer.CPRequestCostFunction.html |   10 +-
 ...ochasticLoadBalancer.CandidateGenerator.html |   22 +-
 ...lancer.CostFromRegionLoadAsRateFunction.html |6 +-
 ...LoadBalancer.CostFromRegionLoadFunction.html |   20 +-
 .../StochasticL

[44/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/apidocs/src-html/org/apache/hadoop/hbase/util/Bytes.html
--
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/util/Bytes.html 
b/apidocs/src-html/org/apache/hadoop/hbase/util/Bytes.html
index e999ddb..03e4728 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/util/Bytes.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/util/Bytes.html
@@ -820,1810 +820,1909 @@
 812if (length != SIZEOF_LONG || offset + 
length > bytes.length) {
 813  throw 
explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_LONG);
 814}
-815if (UNSAFE_UNALIGNED) {
-816  return UnsafeAccess.toLong(bytes, 
offset);
-817} else {
-818  long l = 0;
-819  for(int i = offset; i < offset + 
length; i++) {
-820l <<= 8;
-821l ^= bytes[i] & 0xFF;
-822  }
-823  return l;
-824}
-825  }
-826
-827  private static 
IllegalArgumentException
-828explainWrongLengthOrOffset(final 
byte[] bytes,
-829   final int 
offset,
-830   final int 
length,
-831   final int 
expectedLength) {
-832String reason;
-833if (length != expectedLength) {
-834  reason = "Wrong length: " + length 
+ ", expected " + expectedLength;
-835} else {
-836 reason = "offset (" + offset + ") + 
length (" + length + ") exceed the"
-837+ " capacity of the array: " + 
bytes.length;
-838}
-839return new 
IllegalArgumentException(reason);
-840  }
-841
-842  /**
-843   * Put a long value out to the 
specified byte array position.
-844   * @param bytes the byte array
-845   * @param offset position in the 
array
-846   * @param val long to write out
-847   * @return incremented offset
-848   * @throws IllegalArgumentException if 
the byte array given doesn't have
-849   * enough room at the offset 
specified.
-850   */
-851  public static int putLong(byte[] bytes, 
int offset, long val) {
-852if (bytes.length - offset < 
SIZEOF_LONG) {
-853  throw new 
IllegalArgumentException("Not enough room to put a long at"
-854  + " offset " + offset + " in a 
" + bytes.length + " byte array");
-855}
-856if (UNSAFE_UNALIGNED) {
-857  return UnsafeAccess.putLong(bytes, 
offset, val);
-858} else {
-859  for(int i = offset + 7; i > 
offset; i--) {
-860bytes[i] = (byte) val;
-861val >>>= 8;
-862  }
-863  bytes[offset] = (byte) val;
-864  return offset + SIZEOF_LONG;
-865}
-866  }
-867
-868  /**
-869   * Put a long value out to the 
specified byte array position (Unsafe).
-870   * @param bytes the byte array
-871   * @param offset position in the 
array
-872   * @param val long to write out
-873   * @return incremented offset
-874   * @deprecated As of release 2.0.0, 
this will be removed in HBase 3.0.0.
-875   */
-876  @Deprecated
-877  public static int putLongUnsafe(byte[] 
bytes, int offset, long val) {
-878return UnsafeAccess.putLong(bytes, 
offset, val);
-879  }
-880
-881  /**
-882   * Presumes float encoded as IEEE 754 
floating-point "single format"
+815return 
ConverterHolder.BEST_CONVERTER.toLong(bytes, offset, length);
+816  }
+817
+818  private static 
IllegalArgumentException
+819explainWrongLengthOrOffset(final 
byte[] bytes,
+820   final int 
offset,
+821   final int 
length,
+822   final int 
expectedLength) {
+823String reason;
+824if (length != expectedLength) {
+825  reason = "Wrong length: " + length 
+ ", expected " + expectedLength;
+826} else {
+827 reason = "offset (" + offset + ") + 
length (" + length + ") exceed the"
+828+ " capacity of the array: " + 
bytes.length;
+829}
+830return new 
IllegalArgumentException(reason);
+831  }
+832
+833  /**
+834   * Put a long value out to the 
specified byte array position.
+835   * @param bytes the byte array
+836   * @param offset position in the 
array
+837   * @param val long to write out
+838   * @return incremented offset
+839   * @throws IllegalArgumentException if 
the byte array given doesn't have
+840   * enough room at the offset 
specified.
+841   */
+842  public static int putLong(byte[] bytes, 
int offset, long val) {
+843if (bytes.length - offset < 
SIZEOF_LONG) {
+844  throw new 
IllegalArgumentException("Not enough room to put a long at"
+845  + " offset " + offset + " in a 
" + bytes.length + " byte array");
+846}
+847return 
ConverterHolder.BEST_CONVERTER.putLong(bytes, offset, val);
+848  }
+849
+850  /**
+851   * Put a long value out to the 
specified byte array position (Unsafe).
+852   * @param bytes the byte array
+853   * @param offset position in the 
array
+854   * @param val long to write out
+855   * @return incremented offset
+856   * @deprecated As of release 2.0.0, 
this will

[50/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/apidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.html
--
diff --git a/apidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.html 
b/apidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.html
index a3bc3c9..c8f34c0 100644
--- a/apidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.html
+++ b/apidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.html
@@ -661,7 +661,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 writeVLong
-public static void writeVLong(https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer out,
+public static void writeVLong(https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer out,
   long i)
 Similar to 
WritableUtils.writeVLong(java.io.DataOutput, long),
  but writes to a https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer.
@@ -673,7 +673,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 readVLong
-public static long readVLong(https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer in)
+public static long readVLong(https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer in)
 Similar to WritableUtils.readVLong(DataInput) 
but reads from a
  https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer.
 
@@ -684,7 +684,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 putCompressedInt
-public static int putCompressedInt(https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true";
 title="class or interface in java.io">OutputStream out,
+public static int putCompressedInt(https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true";
 title="class or interface in java.io">OutputStream out,
int value)
 throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
 Put in buffer integer using 7 bit encoding. For each 
written byte:
@@ -707,7 +707,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 putInt
-public static void putInt(https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true";
 title="class or interface in java.io">OutputStream out,
+public static void putInt(https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true";
 title="class or interface in java.io">OutputStream out,
   int value)
throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
 Put in output stream 32 bit integer (Big Endian byte 
order).
@@ -726,7 +726,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 toByte
-public static byte toByte(https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer buffer,
+public static byte toByte(https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer buffer,
   int offset)
 
 
@@ -736,7 +736,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 moveBufferToStream
-public static void moveBufferToStream(https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true";
 title="class or interface in java.io">OutputStream out,
+public static void moveBufferToStream(https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true";
 title="class or interface in java.io">OutputStream out,
   https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer in,
   int length)
throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
@@ -757,7 +757,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 
 
 copyBufferToStream
-public static void copyBufferToStream(https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true";
 title="class or interface in java.io">OutputStrea

[34/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/assignment/CloseRegionProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/CloseRegionProcedure.html
 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/CloseRegionProcedure.html
index df52897..30f191d 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/CloseRegionProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/CloseRegionProcedure.html
@@ -268,7 +268,7 @@ extends Procedure
-acquireLock,
 addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollba
 ck, elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId, getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedT
 ime, getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 holdLock,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess,
 isWaiting, isYieldAfterExecutionStep,
 releaseLock,
 removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailure,
 setFailure, setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner,
 setParentProcId,
 setProcId,
 setResult,
 setRootProcId, setStackIndexes,
 setState,
 setSubmittedTime,
 setTimeout,
 setTimeoutFailure,
 shouldWaitClientAck,
 skipPersistence,
 toString, toStringClass,
 toStringClassDetails,
 toStringDetails,
 toStringSimpleSB,
 toStringState,
 updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 waitInitialized,
 wasExecuted
+acquireLock,
 addStackIndex,
 afterReplay,
 beforeReplay,
 bypass,
 compareTo,
 completionCleanup,
 doExecute,
 
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics, getProcId,
 getProcIdHashCode,
 getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
  getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 holdLock,
 incChildrenLatch,
 isBypass,
 isFailed,
 isFinished,
 isInitializing,
 isRunnable,
 isSuccess, isWaiting,
 isYieldAfterExecutionStep,
 releaseLock,
 removeStackIndex,
 setAbortFailure,
 setChildrenLatch,
 setFailur
 e, setFailure,
 setLastUpdate,
 setNonceKey,
 setOwner,
 setOwner,
 setParentProcId,
 setProcId,
 setResult, href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#setRootProcId-long-">setRootProcId,
 > href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#setStackIndexes-java.util.List-">setStackIndexes,
 > href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#setState-org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureState-">setState,
 > href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#setSubmittedTime-long-">setSubmittedTime,
 > href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#setTimeout-int-">setTimeout,
 > href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#setTimeoutFailure-TEnvironment-">setTimeoutFailure,
 > href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#shouldWaitClientAck-TEnvironment-">shouldWaitClientAck,
 > skipPersistence, toString,
 toStringClass,
 toStringClassDetails,
 toStringDetails,
 toStringSimpleSB,
 toStringState,
 updateMetricsOnFinish,
 updateMetricsOnSubmit,
 updateTimestamp,
 waitInitialized,
 wasExecuted
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/devapidocs/org/apache/hadoop/hbase/master/assignment/GCMergedRegionsProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/GCMergedRegionsProcedure.html
 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/GCMergedRegionsProcedure.html
index 3a3667a..b32407e 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/GCMergedRegionsProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/GCMergedRegionsProcedure.html
@@ -338,7 +338,7 @@ extends Procedure
-addStackIndex,
 afterReplay,
 beforeReplay,
 compareTo,
 completionCleanup,
 doExecute,
 doRollback,
 elapsedTime,
 getChildrenLatch,
 getException,
 getLastUpdate,
 getNonceKey,
 getOwner,
 getParentProcId,
 getProcedureMetrics,
 getProcId,
 getProcIdHashCode, getProcName,
 getResult,
 getRootProcedureId,
 getRootProcId,
 getStackIndexes,
 getState,
 getSubmittedTime,
 getTimeout,
 getTimeoutTimestamp,
 hasChildren,
 hasException,
 hasLock,
 hasOwner,
 hasParent,
 hasTimeout,
 haveSameParent,
 holdLock, 
incChildrenLatch,
 isBypass,

[46/51] [partial] hbase-site git commit: Published site at 5fbb227deb365fe812d433fe39b85ac4b0ddee20.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/c9ebe686/apidocs/src-html/org/apache/hadoop/hbase/util/Bytes.ByteArrayComparator.html
--
diff --git 
a/apidocs/src-html/org/apache/hadoop/hbase/util/Bytes.ByteArrayComparator.html 
b/apidocs/src-html/org/apache/hadoop/hbase/util/Bytes.ByteArrayComparator.html
index e999ddb..03e4728 100644
--- 
a/apidocs/src-html/org/apache/hadoop/hbase/util/Bytes.ByteArrayComparator.html
+++ 
b/apidocs/src-html/org/apache/hadoop/hbase/util/Bytes.ByteArrayComparator.html
@@ -820,1810 +820,1909 @@
 812if (length != SIZEOF_LONG || offset + 
length > bytes.length) {
 813  throw 
explainWrongLengthOrOffset(bytes, offset, length, SIZEOF_LONG);
 814}
-815if (UNSAFE_UNALIGNED) {
-816  return UnsafeAccess.toLong(bytes, 
offset);
-817} else {
-818  long l = 0;
-819  for(int i = offset; i < offset + 
length; i++) {
-820l <<= 8;
-821l ^= bytes[i] & 0xFF;
-822  }
-823  return l;
-824}
-825  }
-826
-827  private static 
IllegalArgumentException
-828explainWrongLengthOrOffset(final 
byte[] bytes,
-829   final int 
offset,
-830   final int 
length,
-831   final int 
expectedLength) {
-832String reason;
-833if (length != expectedLength) {
-834  reason = "Wrong length: " + length 
+ ", expected " + expectedLength;
-835} else {
-836 reason = "offset (" + offset + ") + 
length (" + length + ") exceed the"
-837+ " capacity of the array: " + 
bytes.length;
-838}
-839return new 
IllegalArgumentException(reason);
-840  }
-841
-842  /**
-843   * Put a long value out to the 
specified byte array position.
-844   * @param bytes the byte array
-845   * @param offset position in the 
array
-846   * @param val long to write out
-847   * @return incremented offset
-848   * @throws IllegalArgumentException if 
the byte array given doesn't have
-849   * enough room at the offset 
specified.
-850   */
-851  public static int putLong(byte[] bytes, 
int offset, long val) {
-852if (bytes.length - offset < 
SIZEOF_LONG) {
-853  throw new 
IllegalArgumentException("Not enough room to put a long at"
-854  + " offset " + offset + " in a 
" + bytes.length + " byte array");
-855}
-856if (UNSAFE_UNALIGNED) {
-857  return UnsafeAccess.putLong(bytes, 
offset, val);
-858} else {
-859  for(int i = offset + 7; i > 
offset; i--) {
-860bytes[i] = (byte) val;
-861val >>>= 8;
-862  }
-863  bytes[offset] = (byte) val;
-864  return offset + SIZEOF_LONG;
-865}
-866  }
-867
-868  /**
-869   * Put a long value out to the 
specified byte array position (Unsafe).
-870   * @param bytes the byte array
-871   * @param offset position in the 
array
-872   * @param val long to write out
-873   * @return incremented offset
-874   * @deprecated As of release 2.0.0, 
this will be removed in HBase 3.0.0.
-875   */
-876  @Deprecated
-877  public static int putLongUnsafe(byte[] 
bytes, int offset, long val) {
-878return UnsafeAccess.putLong(bytes, 
offset, val);
-879  }
-880
-881  /**
-882   * Presumes float encoded as IEEE 754 
floating-point "single format"
+815return 
ConverterHolder.BEST_CONVERTER.toLong(bytes, offset, length);
+816  }
+817
+818  private static 
IllegalArgumentException
+819explainWrongLengthOrOffset(final 
byte[] bytes,
+820   final int 
offset,
+821   final int 
length,
+822   final int 
expectedLength) {
+823String reason;
+824if (length != expectedLength) {
+825  reason = "Wrong length: " + length 
+ ", expected " + expectedLength;
+826} else {
+827 reason = "offset (" + offset + ") + 
length (" + length + ") exceed the"
+828+ " capacity of the array: " + 
bytes.length;
+829}
+830return new 
IllegalArgumentException(reason);
+831  }
+832
+833  /**
+834   * Put a long value out to the 
specified byte array position.
+835   * @param bytes the byte array
+836   * @param offset position in the 
array
+837   * @param val long to write out
+838   * @return incremented offset
+839   * @throws IllegalArgumentException if 
the byte array given doesn't have
+840   * enough room at the offset 
specified.
+841   */
+842  public static int putLong(byte[] bytes, 
int offset, long val) {
+843if (bytes.length - offset < 
SIZEOF_LONG) {
+844  throw new 
IllegalArgumentException("Not enough room to put a long at"
+845  + " offset " + offset + " in a 
" + bytes.length + " byte array");
+846}
+847return 
ConverterHolder.BEST_CONVERTER.putLong(bytes, offset, val);
+848  }
+849
+850  /**
+851   * Put a long value out to the 
specified byte array position (Unsafe).
+852   * @param bytes the byte array
+853   * @param offset position in the 
array
+854   * @param val lon

hbase git commit: HBASE-21269 Forward-port HBASE-21213 [hbck2] bypass leaves behind state in RegionStates when assign/unassign

Repository: hbase
Updated Branches:
  refs/heads/master 132bea9a1 -> 5fbb227de


HBASE-21269 Forward-port HBASE-21213 [hbck2] bypass leaves behind state in 
RegionStates when assign/unassign


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

Branch: refs/heads/master
Commit: 5fbb227deb365fe812d433fe39b85ac4b0ddee20
Parents: 132bea9
Author: jingyuntian 
Authored: Thu Oct 18 17:14:32 2018 +0800
Committer: Michael Stack 
Committed: Thu Oct 18 06:22:52 2018 -0700

--
 .../apache/hadoop/hbase/client/HBaseHbck.java   |  15 +-
 .../org/apache/hadoop/hbase/client/Hbck.java|  35 +++-
 .../hbase/shaded/protobuf/RequestConverter.java |  10 +-
 .../hadoop/hbase/procedure2/Procedure.java  |  29 +--
 .../hbase/procedure2/ProcedureExecutor.java |  54 --
 .../hadoop/hbase/procedure2/ProcedureUtil.java  |   2 +-
 .../procedure2/RemoteProcedureException.java|   4 +
 .../hbase/procedure2/TestProcedureBypass.java   |  24 ++-
 .../src/main/protobuf/Master.proto  |   6 +-
 .../src/main/protobuf/MasterProcedure.proto |   1 +
 .../hbase/rsgroup/RSGroupInfoManagerImpl.java   |   3 +-
 .../org/apache/hadoop/hbase/master/HMaster.java |   8 +-
 .../hadoop/hbase/master/MasterRpcServices.java  |  19 +-
 .../master/assignment/AssignmentManager.java|  47 -
 .../assignment/TransitRegionStateProcedure.java |   9 +-
 .../hbase/master/balancer/BaseLoadBalancer.java |  13 +-
 .../master/procedure/MasterProcedureUtil.java   |  16 ++
 .../master/procedure/ProcedureDescriber.java|   3 +-
 .../master/procedure/ProcedurePrepareLatch.java |   2 +-
 .../master/procedure/ProcedureSyncWait.java |   5 +-
 .../hadoop/hbase/TestMetaTableAccessor.java |   4 +-
 .../apache/hadoop/hbase/client/TestHbck.java|   3 +-
 .../master/assignment/TestRegionBypass.java | 194 +++
 .../main/ruby/shell/commands/list_procedures.rb |   3 +-
 .../apache/hadoop/hbase/client/TestShell.java   |   1 -
 hbase-shell/src/test/ruby/shell/shell_test.rb   |   6 +-
 26 files changed, 426 insertions(+), 90 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/5fbb227d/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseHbck.java
--
diff --git 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseHbck.java 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseHbck.java
index a8daa7b..2d08825 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseHbck.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseHbck.java
@@ -102,11 +102,12 @@ public class HBaseHbck implements Hbck {
   }
 
   @Override
-  public List assigns(List encodedRegionNames) throws 
IOException {
+  public List assigns(List encodedRegionNames, boolean override)
+  throws IOException {
 try {
   MasterProtos.AssignsResponse response =
   this.hbck.assigns(rpcControllerFactory.newController(),
-  RequestConverter.toAssignRegionsRequest(encodedRegionNames));
+  RequestConverter.toAssignRegionsRequest(encodedRegionNames, 
override));
   return response.getPidList();
 } catch (ServiceException se) {
   LOG.debug(toCommaDelimitedString(encodedRegionNames), se);
@@ -115,11 +116,12 @@ public class HBaseHbck implements Hbck {
   }
 
   @Override
-  public List unassigns(List encodedRegionNames) throws 
IOException {
+  public List unassigns(List encodedRegionNames, boolean 
override)
+  throws IOException {
 try {
   MasterProtos.UnassignsResponse response =
   this.hbck.unassigns(rpcControllerFactory.newController(),
-  RequestConverter.toUnassignRegionsRequest(encodedRegionNames));
+  RequestConverter.toUnassignRegionsRequest(encodedRegionNames, 
override));
   return response.getPidList();
 } catch (ServiceException se) {
   LOG.debug(toCommaDelimitedString(encodedRegionNames), se);
@@ -132,7 +134,8 @@ public class HBaseHbck implements Hbck {
   }
 
   @Override
-  public List bypassProcedure(List pids, long waitTime, boolean 
force)
+  public List bypassProcedure(List pids, long waitTime, boolean 
override,
+  boolean recursive)
   throws IOException {
 MasterProtos.BypassProcedureResponse response = ProtobufUtil.call(
 new Callable() {
@@ -141,7 +144,7 @@ public class HBaseHbck implements Hbck {
 try {
   return hbck.bypassProcedure(rpcControllerFactory.newController(),
   
MasterProtos.BypassProcedureRequest.newBuilder().addAllProcId(pids).
-  setWaitTime(wai

hbase git commit: HBASE-21269 Forward-port HBASE-21213 [hbck2] bypass leaves behind state in RegionStates when assign/unassign

Repository: hbase
Updated Branches:
  refs/heads/branch-2 92b9b0f26 -> 4a609db30


HBASE-21269 Forward-port HBASE-21213 [hbck2] bypass leaves behind state in 
RegionStates when assign/unassign


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

Branch: refs/heads/branch-2
Commit: 4a609db30c348e4f6f2d54bafc245a4042e67645
Parents: 92b9b0f
Author: jingyuntian 
Authored: Thu Oct 18 17:14:32 2018 +0800
Committer: Michael Stack 
Committed: Thu Oct 18 06:22:22 2018 -0700

--
 .../apache/hadoop/hbase/client/HBaseHbck.java   |  15 +-
 .../org/apache/hadoop/hbase/client/Hbck.java|  35 +++-
 .../hbase/shaded/protobuf/RequestConverter.java |  10 +-
 .../hadoop/hbase/procedure2/Procedure.java  |  29 +--
 .../hbase/procedure2/ProcedureExecutor.java |  54 --
 .../hadoop/hbase/procedure2/ProcedureUtil.java  |   2 +-
 .../procedure2/RemoteProcedureException.java|   4 +
 .../hbase/procedure2/TestProcedureBypass.java   |  24 ++-
 .../src/main/protobuf/Master.proto  |   6 +-
 .../src/main/protobuf/MasterProcedure.proto |   1 +
 .../hbase/rsgroup/RSGroupInfoManagerImpl.java   |   3 +-
 .../org/apache/hadoop/hbase/master/HMaster.java |   8 +-
 .../hadoop/hbase/master/MasterRpcServices.java  |  19 +-
 .../master/assignment/AssignmentManager.java|  47 -
 .../assignment/TransitRegionStateProcedure.java |   9 +-
 .../hbase/master/balancer/BaseLoadBalancer.java |  13 +-
 .../master/procedure/MasterProcedureUtil.java   |  16 ++
 .../master/procedure/ProcedureDescriber.java|   3 +-
 .../master/procedure/ProcedurePrepareLatch.java |   2 +-
 .../master/procedure/ProcedureSyncWait.java |   5 +-
 .../hadoop/hbase/TestMetaTableAccessor.java |   4 +-
 .../apache/hadoop/hbase/client/TestHbck.java|   3 +-
 .../master/assignment/TestRegionBypass.java | 194 +++
 .../main/ruby/shell/commands/list_procedures.rb |   3 +-
 .../apache/hadoop/hbase/client/TestShell.java   |   1 -
 hbase-shell/src/test/ruby/shell/shell_test.rb   |   6 +-
 26 files changed, 426 insertions(+), 90 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/4a609db3/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseHbck.java
--
diff --git 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseHbck.java 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseHbck.java
index a8daa7b..2d08825 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseHbck.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseHbck.java
@@ -102,11 +102,12 @@ public class HBaseHbck implements Hbck {
   }
 
   @Override
-  public List assigns(List encodedRegionNames) throws 
IOException {
+  public List assigns(List encodedRegionNames, boolean override)
+  throws IOException {
 try {
   MasterProtos.AssignsResponse response =
   this.hbck.assigns(rpcControllerFactory.newController(),
-  RequestConverter.toAssignRegionsRequest(encodedRegionNames));
+  RequestConverter.toAssignRegionsRequest(encodedRegionNames, 
override));
   return response.getPidList();
 } catch (ServiceException se) {
   LOG.debug(toCommaDelimitedString(encodedRegionNames), se);
@@ -115,11 +116,12 @@ public class HBaseHbck implements Hbck {
   }
 
   @Override
-  public List unassigns(List encodedRegionNames) throws 
IOException {
+  public List unassigns(List encodedRegionNames, boolean 
override)
+  throws IOException {
 try {
   MasterProtos.UnassignsResponse response =
   this.hbck.unassigns(rpcControllerFactory.newController(),
-  RequestConverter.toUnassignRegionsRequest(encodedRegionNames));
+  RequestConverter.toUnassignRegionsRequest(encodedRegionNames, 
override));
   return response.getPidList();
 } catch (ServiceException se) {
   LOG.debug(toCommaDelimitedString(encodedRegionNames), se);
@@ -132,7 +134,8 @@ public class HBaseHbck implements Hbck {
   }
 
   @Override
-  public List bypassProcedure(List pids, long waitTime, boolean 
force)
+  public List bypassProcedure(List pids, long waitTime, boolean 
override,
+  boolean recursive)
   throws IOException {
 MasterProtos.BypassProcedureResponse response = ProtobufUtil.call(
 new Callable() {
@@ -141,7 +144,7 @@ public class HBaseHbck implements Hbck {
 try {
   return hbck.bypassProcedure(rpcControllerFactory.newController(),
   
MasterProtos.BypassProcedureRequest.newBuilder().addAllProcId(pids).
-  setWaitTime

hbase git commit: HBASE-21288 HostingServer in UnassignProcedure is not accurate

Repository: hbase
Updated Branches:
  refs/heads/branch-2.1 fffd9b9b6 -> b3c3393c1


HBASE-21288 HostingServer in UnassignProcedure is not accurate

Signed-off-by: Allan Yang 


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

Branch: refs/heads/branch-2.1
Commit: b3c3393c19d09240588697b69dd7a9643983d357
Parents: fffd9b9
Author: Allan Yang 
Authored: Thu Oct 18 21:10:53 2018 +0800
Committer: Allan Yang 
Committed: Thu Oct 18 21:10:53 2018 +0800

--
 .../org/apache/hadoop/hbase/master/HMaster.java | 15 +++
 .../hbase/master/assignment/UnassignProcedure.java  | 16 +++-
 2 files changed, 30 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/b3c3393c/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
index 74ce20e..af21012 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
@@ -74,6 +74,7 @@ import org.apache.hadoop.hbase.MetaTableAccessor;
 import org.apache.hadoop.hbase.NamespaceDescriptor;
 import org.apache.hadoop.hbase.PleaseHoldException;
 import org.apache.hadoop.hbase.ReplicationPeerNotFoundException;
+import org.apache.hadoop.hbase.ServerMetrics;
 import org.apache.hadoop.hbase.ServerName;
 import org.apache.hadoop.hbase.TableDescriptors;
 import org.apache.hadoop.hbase.TableName;
@@ -1587,6 +1588,20 @@ public class HMaster extends HRegionServer implements 
MasterServices {
   this.serverManager.getDeadServers());
 return false;
   }
+  Map onlineServers = 
serverManager.getOnlineServers();
+  int regionNotOnOnlineServer = 0;
+  for (RegionState regionState : 
assignmentManager.getRegionStates().getRegionStates()) {
+if (regionState.isOpened() && !onlineServers
+.containsKey(regionState.getServerName())) {
+  LOG.warn("{} 's server is not in the online server list.", 
regionState);
+  regionNotOnOnlineServer++;
+}
+  }
+  if (regionNotOnOnlineServer > 0) {
+LOG.info("Not running balancer because {} regions found not on an 
online server",
+regionNotOnOnlineServer);
+return false;
+  }
 
   if (this.cpHost != null) {
 try {

http://git-wip-us.apache.org/repos/asf/hbase/blob/b3c3393c/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/UnassignProcedure.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/UnassignProcedure.java
 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/UnassignProcedure.java
index 589b732..23b2de7 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/UnassignProcedure.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/UnassignProcedure.java
@@ -77,6 +77,8 @@ public class UnassignProcedure extends 
RegionTransitionProcedure {
 
   /**
* Where to send the unassign RPC.
+   * this one may not accurate since another RTP may change this location for
+   * the region. The hostingServer will be updated in updateTransition
*/
   protected volatile ServerName hostingServer;
   /**
@@ -198,6 +200,13 @@ public class UnassignProcedure extends 
RegionTransitionProcedure {
   return false;
 }
 
+if (regionNode.getRegionLocation() != null && !regionNode
+.getRegionLocation().equals(hostingServer)) {
+  LOG.info("HostingServer changed from {} to {} for {}", hostingServer,
+  regionNode.getRegionLocation(), this);
+  this.hostingServer = regionNode.getRegionLocation();
+}
+
 
 // Mark the region as CLOSING.
 env.getAssignmentManager().markRegionAsClosing(regionNode);
@@ -357,7 +366,12 @@ public class UnassignProcedure extends 
RegionTransitionProcedure {
 
   @Override
   public ServerName getServer(final MasterProcedureEnv env) {
-return this.hostingServer;
+RegionStateNode node =
+
env.getAssignmentManager().getRegionStates().getRegionStateNode(this.getRegionInfo());
+if (node == null) {
+  return null;
+}
+return node.getRegionLocation();
   }
 
   @Override



hbase git commit: HBASE-21288 HostingServer in UnassignProcedure is not accurate

Repository: hbase
Updated Branches:
  refs/heads/branch-2.0 fef4fb36b -> 9cc5f86e8


HBASE-21288 HostingServer in UnassignProcedure is not accurate


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

Branch: refs/heads/branch-2.0
Commit: 9cc5f86e8fa4fe9fbf25844ddd5e52acb7d7df54
Parents: fef4fb3
Author: Allan Yang 
Authored: Thu Oct 18 20:47:27 2018 +0800
Committer: Allan Yang 
Committed: Thu Oct 18 20:47:27 2018 +0800

--
 .../org/apache/hadoop/hbase/master/HMaster.java | 15 +++
 .../hbase/master/assignment/UnassignProcedure.java  | 16 +++-
 2 files changed, 30 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/9cc5f86e/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
index a8ba3af..67152e2 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
@@ -71,6 +71,7 @@ import org.apache.hadoop.hbase.MasterNotRunningException;
 import org.apache.hadoop.hbase.MetaTableAccessor;
 import org.apache.hadoop.hbase.NamespaceDescriptor;
 import org.apache.hadoop.hbase.PleaseHoldException;
+import org.apache.hadoop.hbase.ServerMetrics;
 import org.apache.hadoop.hbase.ServerName;
 import org.apache.hadoop.hbase.TableDescriptors;
 import org.apache.hadoop.hbase.TableName;
@@ -1552,6 +1553,20 @@ public class HMaster extends HRegionServer implements 
MasterServices {
   this.serverManager.getDeadServers());
 return false;
   }
+  Map onlineServers = 
serverManager.getOnlineServers();
+  int regionNotOnOnlineServer = 0;
+  for (RegionState regionState : 
assignmentManager.getRegionStates().getRegionStates()) {
+if (regionState.isOpened() && !onlineServers
+.containsKey(regionState.getServerName())) {
+  LOG.warn("{} 's server is not in the online server list.", 
regionState);
+  regionNotOnOnlineServer++;
+}
+  }
+  if (regionNotOnOnlineServer > 0) {
+LOG.info("Not running balancer because {} regions found not on an 
online server",
+regionNotOnOnlineServer);
+return false;
+  }
 
   if (this.cpHost != null) {
 try {

http://git-wip-us.apache.org/repos/asf/hbase/blob/9cc5f86e/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/UnassignProcedure.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/UnassignProcedure.java
 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/UnassignProcedure.java
index 589b732..23b2de7 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/UnassignProcedure.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/UnassignProcedure.java
@@ -77,6 +77,8 @@ public class UnassignProcedure extends 
RegionTransitionProcedure {
 
   /**
* Where to send the unassign RPC.
+   * this one may not accurate since another RTP may change this location for
+   * the region. The hostingServer will be updated in updateTransition
*/
   protected volatile ServerName hostingServer;
   /**
@@ -198,6 +200,13 @@ public class UnassignProcedure extends 
RegionTransitionProcedure {
   return false;
 }
 
+if (regionNode.getRegionLocation() != null && !regionNode
+.getRegionLocation().equals(hostingServer)) {
+  LOG.info("HostingServer changed from {} to {} for {}", hostingServer,
+  regionNode.getRegionLocation(), this);
+  this.hostingServer = regionNode.getRegionLocation();
+}
+
 
 // Mark the region as CLOSING.
 env.getAssignmentManager().markRegionAsClosing(regionNode);
@@ -357,7 +366,12 @@ public class UnassignProcedure extends 
RegionTransitionProcedure {
 
   @Override
   public ServerName getServer(final MasterProcedureEnv env) {
-return this.hostingServer;
+RegionStateNode node =
+
env.getAssignmentManager().getRegionStates().getRegionStateNode(this.getRegionInfo());
+if (node == null) {
+  return null;
+}
+return node.getRegionLocation();
   }
 
   @Override