HDFS-11574. Spelling mistakes in the Java source. Contributed by Hu Xiaodong.

This commit is contained in:
Ravi Prakash 2017-03-24 09:38:17 -07:00
parent ab759e91b7
commit d4f73e7e27
6 changed files with 7 additions and 7 deletions

View File

@ -44,7 +44,7 @@ import org.slf4j.LoggerFactory;
* per-se. It constructs a wrapper proxy that sends the request to ALL * per-se. It constructs a wrapper proxy that sends the request to ALL
* underlying proxies simultaneously. It assumes the in an HA setup, there will * underlying proxies simultaneously. It assumes the in an HA setup, there will
* be only one Active, and the active should respond faster than any configured * be only one Active, and the active should respond faster than any configured
* standbys. Once it recieve a response from any one of the configred proxies, * standbys. Once it receive a response from any one of the configred proxies,
* outstanding requests to other proxies are immediately cancelled. * outstanding requests to other proxies are immediately cancelled.
*/ */
public class RequestHedgingProxyProvider<T> extends public class RequestHedgingProxyProvider<T> extends

View File

@ -133,7 +133,7 @@ public class TestDataTransferProtocol {
LOG.info("Expected: " + expected); LOG.info("Expected: " + expected);
if (eofExpected) { if (eofExpected) {
throw new IOException("Did not recieve IOException when an exception " + throw new IOException("Did not receive IOException when an exception " +
"is expected while reading from " + datanode); "is expected while reading from " + datanode);
} }
assertEquals(expected, received); assertEquals(expected, received);

View File

@ -1282,7 +1282,7 @@ public class TestRetryCacheWithHA {
/** /**
* When NN failover happens, if the client did not receive the response and * When NN failover happens, if the client did not receive the response and
* send a retry request to the other NN, the same response should be recieved * send a retry request to the other NN, the same response should be received
* based on the retry cache. * based on the retry cache.
*/ */
public void testClientRetryWithFailover(final AtMostOnceOp op) public void testClientRetryWithFailover(final AtMostOnceOp op)

View File

@ -371,7 +371,7 @@ public class NodeStatusUpdaterImpl extends AbstractService implements
"Message from ResourceManager: " "Message from ResourceManager: "
+ regNMResponse.getDiagnosticsMessage(); + regNMResponse.getDiagnosticsMessage();
throw new YarnRuntimeException( throw new YarnRuntimeException(
"Recieved SHUTDOWN signal from Resourcemanager, Registration of NodeManager failed, " "Received SHUTDOWN signal from Resourcemanager, Registration of NodeManager failed, "
+ message); + message);
} }
@ -965,7 +965,7 @@ public class NodeStatusUpdaterImpl extends AbstractService implements
private boolean handleShutdownOrResyncCommand( private boolean handleShutdownOrResyncCommand(
NodeHeartbeatResponse response) { NodeHeartbeatResponse response) {
if (response.getNodeAction() == NodeAction.SHUTDOWN) { if (response.getNodeAction() == NodeAction.SHUTDOWN) {
LOG.warn("Recieved SHUTDOWN signal from Resourcemanager as part of" LOG.warn("Received SHUTDOWN signal from Resourcemanager as part of"
+ " heartbeat, hence shutting down."); + " heartbeat, hence shutting down.");
LOG.warn("Message from ResourceManager: " LOG.warn("Message from ResourceManager: "
+ response.getDiagnosticsMessage()); + response.getDiagnosticsMessage());

View File

@ -1357,7 +1357,7 @@ public class TestNodeStatusUpdater {
} }
}; };
verifyNodeStartFailure( verifyNodeStartFailure(
"Recieved SHUTDOWN signal from Resourcemanager, " "Received SHUTDOWN signal from Resourcemanager, "
+ "Registration of NodeManager failed, " + "Registration of NodeManager failed, "
+ "Message from ResourceManager: RM Shutting Down Node"); + "Message from ResourceManager: RM Shutting Down Node");
} }

View File

@ -348,7 +348,7 @@ public class Application {
if(LOG.isDebugEnabled()) { if(LOG.isDebugEnabled()) {
LOG.debug("getResources() for " + applicationId + ":" LOG.debug("getResources() for " + applicationId + ":"
+ " ask=" + ask.size() + " recieved=" + containers.size()); + " ask=" + ask.size() + " received=" + containers.size());
} }
return containers; return containers;