diff --git a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/regionserver/LogRollRegionServerProcedureManager.java b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/regionserver/LogRollRegionServerProcedureManager.java index 5d087a65f91..f09e7100559 100644 --- a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/regionserver/LogRollRegionServerProcedureManager.java +++ b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/regionserver/LogRollRegionServerProcedureManager.java @@ -116,7 +116,7 @@ public class LogRollRegionServerProcedureManager extends RegionServerProcedureMa /** * If in a running state, creates the specified subprocedure for handling a backup procedure. - * @return Subprocedure to submit to the ProcedureMemeber. + * @return Subprocedure to submit to the ProcedureMember. */ public Subprocedure buildSubprocedure(byte[] data) { // don't run a backup if the parent is stop(ping) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/Subprocedure.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/Subprocedure.java index 4b692443837..9e45ad51436 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/Subprocedure.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/Subprocedure.java @@ -39,7 +39,7 @@ import org.slf4j.LoggerFactory; * member), {@link #insideBarrier()} (execute while globally barriered and release barrier) and * {@link #cleanup(Exception)} (release state associated with subprocedure.) * - * When submitted to a ProcedureMemeber, the call method is executed in a separate thread. + * When submitted to a ProcedureMember, the call method is executed in a separate thread. * Latches are use too block its progress and trigger continuations when barrier conditions are * met. * @@ -147,7 +147,7 @@ abstract public class Subprocedure implements Callable { * Execute the Subprocedure {@link #acquireBarrier()} and {@link #insideBarrier()} methods * while keeping some state for other threads to access. * - * This would normally be executed by the ProcedureMemeber when a acquire message comes from the + * This would normally be executed by the ProcedureMember when a acquire message comes from the * coordinator. Rpcs are used to spend message back to the coordinator after different phases * are executed. Any exceptions caught during the execution (except for InterruptedException) get * converted and propagated to coordinator via {@link ProcedureMemberRpcs#sendMemberAborted( diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.java index 0a72d9a738a..1e95d15881f 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.java @@ -132,7 +132,7 @@ public class RegionServerFlushTableProcedureManager extends RegionServerProcedur * * @param table * @param family - * @return Subprocedure to submit to the ProcedureMemeber. + * @return Subprocedure to submit to the ProcedureMember. */ public Subprocedure buildSubprocedure(String table, String family) { diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/snapshot/RegionServerSnapshotManager.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/snapshot/RegionServerSnapshotManager.java index cc92003315f..a01d118718d 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/snapshot/RegionServerSnapshotManager.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/snapshot/RegionServerSnapshotManager.java @@ -150,7 +150,7 @@ public class RegionServerSnapshotManager extends RegionServerProcedureManager { * the snapshot verification step. * * @param snapshot - * @return Subprocedure to submit to the ProcedureMemeber. + * @return Subprocedure to submit to the ProcedureMember. */ public Subprocedure buildSubprocedure(SnapshotDescription snapshot) { diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/SimpleRSProcedureManager.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/SimpleRSProcedureManager.java index cee0656443b..9ccee661586 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/SimpleRSProcedureManager.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/SimpleRSProcedureManager.java @@ -85,7 +85,7 @@ public class SimpleRSProcedureManager extends RegionServerProcedureManager { /** * If in a running state, creates the specified subprocedure for handling a procedure. - * @return Subprocedure to submit to the ProcedureMemeber. + * @return Subprocedure to submit to the ProcedureMember. */ public Subprocedure buildSubprocedure(String name) { diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedureMember.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedureMember.java index b95ddf20aad..61146a6c707 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedureMember.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestProcedureMember.java @@ -204,7 +204,7 @@ public class TestProcedureMember { new Answer() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { - throw new IOException("Forced IOException in memeber prepare"); + throw new IOException("Forced IOException in member prepare"); } }).when(mockMemberComms).sendMemberAcquired(any()); @@ -288,7 +288,7 @@ public class TestProcedureMember { new Answer() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { - throw new IOException("Forced IOException in memeber prepare"); + throw new IOException("Forced IOException in member prepare"); } }).when(spySub).insideBarrier();