HBASE-17835 Spelling mistakes in the Java source

Signed-off-by: Sean Busbey <busbey@apache.org>
This commit is contained in:
QilinCao 2017-04-27 09:42:12 +08:00 committed by Sean Busbey
parent 43f3fccb7b
commit 03e8f6b56e
5 changed files with 6 additions and 6 deletions

View File

@ -1426,7 +1426,7 @@ public interface Admin extends Abortable, Closeable {
* <li>running - returns <tt>false</tt></li> <li>finished - returns <tt>true</tt></li> * <li>running - returns <tt>false</tt></li> <li>finished - returns <tt>true</tt></li>
* <li>finished with error - throws the exception that caused the snapshot to fail</li> </ol> The * <li>finished with error - throws the exception that caused the snapshot to fail</li> </ol> The
* cluster only knows about the most recent snapshot. Therefore, if another snapshot has been * 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}. * org.apache.hadoop.hbase.snapshot.UnknownSnapshotException}.
* *
* @param snapshot description of the snapshot to check * @param snapshot description of the snapshot to check

View File

@ -627,7 +627,7 @@ public interface AsyncAdmin {
* <li>finished with error - throws the exception that caused the snapshot to fail</li> * <li>finished with error - throws the exception that caused the snapshot to fail</li>
* </ol> * </ol>
* The cluster only knows about the most recent snapshot. Therefore, if another snapshot has been * 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}. * {@link org.apache.hadoop.hbase.snapshot.UnknownSnapshotException}.
* @param snapshot description of the snapshot to check * @param snapshot description of the snapshot to check
* @return <tt>true</tt> if the snapshot is completed, <tt>false</tt> if the snapshot is still * @return <tt>true</tt> if the snapshot is completed, <tt>false</tt> if the snapshot is still

View File

@ -125,7 +125,7 @@ public class ZKProcedureMemberRpcs implements ProcedureMemberRpcs {
* @param path full znode path that cause the notification * @param path full znode path that cause the notification
*/ */
private void receivedReachedGlobalBarrier(String path) { private void receivedReachedGlobalBarrier(String path) {
LOG.debug("Recieved reached global barrier:" + path); LOG.debug("Received reached global barrier:" + path);
String procName = ZKUtil.getNodeName(path); String procName = ZKUtil.getNodeName(path);
this.member.receivedReachedGlobalBarrier(procName); this.member.receivedReachedGlobalBarrier(procName);
} }

View File

@ -85,7 +85,7 @@ public class TestClockSkewDetection {
fail("HMaster should have thrown a ClockOutOfSyncException but didn't."); fail("HMaster should have thrown a ClockOutOfSyncException but didn't.");
} catch(ClockOutOfSyncException e) { } catch(ClockOutOfSyncException e) {
//we want an exception //we want an exception
LOG.info("Recieved expected exception: "+e); LOG.info("Received expected exception: "+e);
} }
try { try {
@ -101,7 +101,7 @@ public class TestClockSkewDetection {
fail("HMaster should have thrown a ClockOutOfSyncException but didn't."); fail("HMaster should have thrown a ClockOutOfSyncException but didn't.");
} catch (ClockOutOfSyncException e) { } catch (ClockOutOfSyncException e) {
// we want an exception // 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 // make sure values above warning threshold but below max threshold don't kill

View File

@ -156,7 +156,7 @@ public final class WALPerformanceEvaluation extends Configured implements Tool {
loopSampler = Sampler.ALWAYS; loopSampler = Sampler.ALWAYS;
if (numIterations > 1000) { if (numIterations > 1000) {
LOG.warn("Full tracing of all iterations will produce a lot of data. Be sure your" 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 { } else {
getConf().setDouble("hbase.sampler.fraction", traceFreq); getConf().setDouble("hbase.sampler.fraction", traceFreq);