hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject hbase git commit: HBASE-13551 Procedure V2 - Procedure classes should not be InterfaceAudience.Public
Date Tue, 28 Apr 2015 04:20:29 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 cf3e5ebf5 -> 57e5b969c


HBASE-13551 Procedure V2 - Procedure classes should not be InterfaceAudience.Public


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

Branch: refs/heads/branch-1
Commit: 57e5b969ce7edca698538823945f4cc647176d52
Parents: cf3e5eb
Author: Enis Soztutar <enis@apache.org>
Authored: Mon Apr 27 21:16:59 2015 -0700
Committer: Enis Soztutar <enis@apache.org>
Committed: Mon Apr 27 21:18:19 2015 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/procedure2/OnePhaseProcedure.java | 2 +-
 .../apache/hadoop/hbase/procedure2/ProcedureAbortedException.java  | 2 +-
 .../org/apache/hadoop/hbase/procedure2/ProcedureException.java     | 2 +-
 .../java/org/apache/hadoop/hbase/procedure2/ProcedureResult.java   | 2 +-
 .../apache/hadoop/hbase/procedure2/ProcedureYieldException.java    | 2 +-
 .../apache/hadoop/hbase/procedure2/RemoteProcedureException.java   | 2 +-
 .../org/apache/hadoop/hbase/procedure2/SequentialProcedure.java    | 2 +-
 .../org/apache/hadoop/hbase/procedure2/StateMachineProcedure.java  | 2 +-
 .../java/org/apache/hadoop/hbase/procedure2/TwoPhaseProcedure.java | 2 +-
 .../org/apache/hadoop/hbase/procedure2/store/ProcedureStore.java   | 2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/57e5b969/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/OnePhaseProcedure.java
----------------------------------------------------------------------
diff --git a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/OnePhaseProcedure.java
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/OnePhaseProcedure.java
index 1c3be2d..359c059 100644
--- a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/OnePhaseProcedure.java
+++ b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/OnePhaseProcedure.java
@@ -21,7 +21,7 @@ package org.apache.hadoop.hbase.procedure2;
 import org.apache.hadoop.hbase.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.classification.InterfaceStability;
 
-@InterfaceAudience.Public
+@InterfaceAudience.Private
 @InterfaceStability.Evolving
 public abstract class OnePhaseProcedure<TEnvironment> extends Procedure<TEnvironment>
{
   // TODO (e.g. used by online snapshots)

http://git-wip-us.apache.org/repos/asf/hbase/blob/57e5b969/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureAbortedException.java
----------------------------------------------------------------------
diff --git a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureAbortedException.java
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureAbortedException.java
index 2e409cf..aa2d057 100644
--- a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureAbortedException.java
+++ b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureAbortedException.java
@@ -24,7 +24,7 @@ import org.apache.hadoop.hbase.classification.InterfaceStability;
 /**
  * Thrown when a procedure is aborted
  */
-@InterfaceAudience.Public
+@InterfaceAudience.Private
 @InterfaceStability.Stable
 public class ProcedureAbortedException extends ProcedureException {
   /** default constructor */

http://git-wip-us.apache.org/repos/asf/hbase/blob/57e5b969/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureException.java
----------------------------------------------------------------------
diff --git a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureException.java
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureException.java
index 9f922b1..551a708 100644
--- a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureException.java
+++ b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureException.java
@@ -23,7 +23,7 @@ import java.io.IOException;
 import org.apache.hadoop.hbase.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.classification.InterfaceStability;
 
-@InterfaceAudience.Public
+@InterfaceAudience.Private
 @InterfaceStability.Stable
 public class ProcedureException extends IOException {
   /** default constructor */

http://git-wip-us.apache.org/repos/asf/hbase/blob/57e5b969/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureResult.java
----------------------------------------------------------------------
diff --git a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureResult.java
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureResult.java
index 0aebd5a..98c293b 100644
--- a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureResult.java
+++ b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureResult.java
@@ -27,7 +27,7 @@ import org.apache.hadoop.hbase.classification.InterfaceStability;
  * The user of the Procedure framework will get the procedure result with
  * procedureExecutor.getResult(procId)
  */
-@InterfaceAudience.Public
+@InterfaceAudience.Private
 @InterfaceStability.Evolving
 public class ProcedureResult {
   private final RemoteProcedureException exception;

http://git-wip-us.apache.org/repos/asf/hbase/blob/57e5b969/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureYieldException.java
----------------------------------------------------------------------
diff --git a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureYieldException.java
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureYieldException.java
index 177ff5b..b29c8b4 100644
--- a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureYieldException.java
+++ b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureYieldException.java
@@ -22,7 +22,7 @@ import org.apache.hadoop.hbase.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.classification.InterfaceStability;
 
 // TODO: Not used yet
-@InterfaceAudience.Public
+@InterfaceAudience.Private
 @InterfaceStability.Stable
 public class ProcedureYieldException extends ProcedureException {
   /** default constructor */

http://git-wip-us.apache.org/repos/asf/hbase/blob/57e5b969/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/RemoteProcedureException.java
----------------------------------------------------------------------
diff --git a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/RemoteProcedureException.java
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/RemoteProcedureException.java
index 6be512d..71aae84 100644
--- a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/RemoteProcedureException.java
+++ b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/RemoteProcedureException.java
@@ -38,7 +38,7 @@ import com.google.protobuf.InvalidProtocolBufferException;
  * of the original exception created on original 'remote' source.  These ProxyThrowables
have their
  * their stacks traces and messages overridden to reflect the original 'remote' exception.
  */
-@InterfaceAudience.Public
+@InterfaceAudience.Private
 @InterfaceStability.Evolving
 @SuppressWarnings("serial")
 public class RemoteProcedureException extends ProcedureException {

http://git-wip-us.apache.org/repos/asf/hbase/blob/57e5b969/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/SequentialProcedure.java
----------------------------------------------------------------------
diff --git a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/SequentialProcedure.java
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/SequentialProcedure.java
index b4b35f2..8ddb36e 100644
--- a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/SequentialProcedure.java
+++ b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/SequentialProcedure.java
@@ -35,7 +35,7 @@ import org.apache.hadoop.hbase.protobuf.generated.ProcedureProtos.SequentialProc
  * execute() call once the child are finished. which means once the child
  * of a SequentialProcedure are completed the SequentialProcedure is completed too.
  */
-@InterfaceAudience.Public
+@InterfaceAudience.Private
 @InterfaceStability.Evolving
 public abstract class SequentialProcedure<TEnvironment> extends Procedure<TEnvironment>
{
   private boolean executed = false;

http://git-wip-us.apache.org/repos/asf/hbase/blob/57e5b969/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/StateMachineProcedure.java
----------------------------------------------------------------------
diff --git a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/StateMachineProcedure.java
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/StateMachineProcedure.java
index eab96e4..d513eae 100644
--- a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/StateMachineProcedure.java
+++ b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/StateMachineProcedure.java
@@ -38,7 +38,7 @@ import org.apache.hadoop.hbase.protobuf.generated.ProcedureProtos.StateMachinePr
  * states using setNextState(MyStateEnum.ordinal()).
  * The rollback will call rollbackState() for each state that was executed, in reverse order.
  */
-@InterfaceAudience.Public
+@InterfaceAudience.Private
 @InterfaceStability.Evolving
 public abstract class StateMachineProcedure<TEnvironment, TState>
     extends Procedure<TEnvironment> {

http://git-wip-us.apache.org/repos/asf/hbase/blob/57e5b969/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/TwoPhaseProcedure.java
----------------------------------------------------------------------
diff --git a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/TwoPhaseProcedure.java
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/TwoPhaseProcedure.java
index cd6b0a7..4d3e099 100644
--- a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/TwoPhaseProcedure.java
+++ b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/TwoPhaseProcedure.java
@@ -21,7 +21,7 @@ package org.apache.hadoop.hbase.procedure2;
 import org.apache.hadoop.hbase.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.classification.InterfaceStability;
 
-@InterfaceAudience.Public
+@InterfaceAudience.Private
 @InterfaceStability.Evolving
 public abstract class TwoPhaseProcedure<TEnvironment> extends Procedure<TEnvironment>
{
   // TODO (e.g. used by ACLs/VisibilityTags updates)

http://git-wip-us.apache.org/repos/asf/hbase/blob/57e5b969/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/ProcedureStore.java
----------------------------------------------------------------------
diff --git a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/ProcedureStore.java
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/ProcedureStore.java
index 0d1c050..06bfa44 100644
--- a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/ProcedureStore.java
+++ b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/ProcedureStore.java
@@ -30,7 +30,7 @@ import org.apache.hadoop.hbase.procedure2.Procedure;
  * This allows to resume the execution of pending/in-progress procedures in case
  * of machine failure or service shutdown.
  */
-@InterfaceAudience.Public
+@InterfaceAudience.Private
 @InterfaceStability.Evolving
 public interface ProcedureStore {
   /**


Mime
View raw message