From 03e8f6b56ec184d0bbcff765b1b8f353b853fb0f Mon Sep 17 00:00:00 2001 From: QilinCao Date: Thu, 27 Apr 2017 09:42:12 +0800 Subject: [PATCH] HBASE-17835 Spelling mistakes in the Java source Signed-off-by: Sean Busbey --- .../src/main/java/org/apache/hadoop/hbase/client/Admin.java | 2 +- .../main/java/org/apache/hadoop/hbase/client/AsyncAdmin.java | 2 +- .../apache/hadoop/hbase/procedure/ZKProcedureMemberRpcs.java | 2 +- .../apache/hadoop/hbase/master/TestClockSkewDetection.java | 4 ++-- .../org/apache/hadoop/hbase/wal/WALPerformanceEvaluation.java | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java index decf81f45e2..8a9dc61f02b 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java @@ -1426,7 +1426,7 @@ public interface Admin extends Abortable, Closeable { *
  • running - returns false
  • finished - returns true
  • *
  • finished with error - throws the exception that caused the snapshot to fail
  • The * cluster only knows about the most recent snapshot. Therefore, if another snapshot has been - * run/started since the snapshot your are checking, you will recieve an {@link + * run/started since the snapshot you are checking, you will receive an {@link * org.apache.hadoop.hbase.snapshot.UnknownSnapshotException}. * * @param snapshot description of the snapshot to check diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncAdmin.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncAdmin.java index 0e1054d9cf0..0782f5ae725 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncAdmin.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncAdmin.java @@ -627,7 +627,7 @@ public interface AsyncAdmin { *
  • finished with error - throws the exception that caused the snapshot to fail
  • * * The cluster only knows about the most recent snapshot. Therefore, if another snapshot has been - * run/started since the snapshot your are checking, you will recieve an + * run/started since the snapshot you are checking, you will receive an * {@link org.apache.hadoop.hbase.snapshot.UnknownSnapshotException}. * @param snapshot description of the snapshot to check * @return true if the snapshot is completed, false if the snapshot is still diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/ZKProcedureMemberRpcs.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/ZKProcedureMemberRpcs.java index 2c2b4afba5c..8c56255a398 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/ZKProcedureMemberRpcs.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/ZKProcedureMemberRpcs.java @@ -125,7 +125,7 @@ public class ZKProcedureMemberRpcs implements ProcedureMemberRpcs { * @param path full znode path that cause the notification */ private void receivedReachedGlobalBarrier(String path) { - LOG.debug("Recieved reached global barrier:" + path); + LOG.debug("Received reached global barrier:" + path); String procName = ZKUtil.getNodeName(path); this.member.receivedReachedGlobalBarrier(procName); } diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestClockSkewDetection.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestClockSkewDetection.java index 2b3f2fdc705..852b139398d 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestClockSkewDetection.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestClockSkewDetection.java @@ -85,7 +85,7 @@ public class TestClockSkewDetection { fail("HMaster should have thrown a ClockOutOfSyncException but didn't."); } catch(ClockOutOfSyncException e) { //we want an exception - LOG.info("Recieved expected exception: "+e); + LOG.info("Received expected exception: "+e); } try { @@ -101,7 +101,7 @@ public class TestClockSkewDetection { fail("HMaster should have thrown a ClockOutOfSyncException but didn't."); } catch (ClockOutOfSyncException e) { // we want an exception - LOG.info("Recieved expected exception: " + e); + LOG.info("Received expected exception: " + e); } // make sure values above warning threshold but below max threshold don't kill diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/WALPerformanceEvaluation.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/WALPerformanceEvaluation.java index 53cc49b84c4..50649f7ed57 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/WALPerformanceEvaluation.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/WALPerformanceEvaluation.java @@ -156,7 +156,7 @@ public final class WALPerformanceEvaluation extends Configured implements Tool { loopSampler = Sampler.ALWAYS; if (numIterations > 1000) { LOG.warn("Full tracing of all iterations will produce a lot of data. Be sure your" - + " SpanReciever can keep up."); + + " SpanReceiver can keep up."); } } else { getConf().setDouble("hbase.sampler.fraction", traceFreq);