Fix typos in log messages. Contributed by Ray Chiang

This commit is contained in:
Chris Douglas 2014-08-28 16:29:35 -07:00
parent d9a7404c38
commit 48aa3b7274
6 changed files with 14 additions and 12 deletions

View File

@ -262,6 +262,8 @@ Release 2.6.0 - UNRELEASED
MAPREDUCE-6041. Fix TestOptionsParser. (clamb)
--
MAPREDUCE-6051. Fix typos in log messages. (Ray Chiang via cdouglas)
Release 2.5.1 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -202,7 +202,7 @@ public class CommitterEventHandler extends AbstractService
private synchronized void cancelJobCommit() {
Thread threadCommitting = jobCommitThread;
if (threadCommitting != null && threadCommitting.isAlive()) {
LOG.info("Canceling commit");
LOG.info("Cancelling commit");
threadCommitting.interrupt();
// wait up to configured timeout for commit thread to finish

View File

@ -335,7 +335,7 @@ public abstract class RMCommunicator extends AbstractService
public void setSignalled(boolean isSignalled) {
this.isSignalled = isSignalled;
LOG.info("RMCommunicator notified that iSignalled is: "
LOG.info("RMCommunicator notified that isSignalled is: "
+ isSignalled);
}

View File

@ -134,16 +134,16 @@ public class DefaultSpeculator extends AbstractService implements
estimator.contextualize(conf, context);
} catch (InstantiationException ex) {
LOG.error("Can't make a speculation runtime extimator", ex);
LOG.error("Can't make a speculation runtime estimator", ex);
throw new YarnRuntimeException(ex);
} catch (IllegalAccessException ex) {
LOG.error("Can't make a speculation runtime extimator", ex);
LOG.error("Can't make a speculation runtime estimator", ex);
throw new YarnRuntimeException(ex);
} catch (InvocationTargetException ex) {
LOG.error("Can't make a speculation runtime extimator", ex);
LOG.error("Can't make a speculation runtime estimator", ex);
throw new YarnRuntimeException(ex);
} catch (NoSuchMethodException ex) {
LOG.error("Can't make a speculation runtime extimator", ex);
LOG.error("Can't make a speculation runtime estimator", ex);
throw new YarnRuntimeException(ex);
}

View File

@ -607,7 +607,7 @@ public class BackupStore<K,V> {
int reserve(int requestedSize, int minSize) {
if (availableSize < minSize) {
LOG.debug("No Space available. Available: " + availableSize +
LOG.debug("No space available. Available: " + availableSize +
" MinSize: " + minSize);
return 0;
} else {

View File

@ -1076,7 +1076,7 @@ public class JHLogAnalyzer {
long execTime,
Path resFileName
) throws IOException {
LOG.info("Analizing results ...");
LOG.info("Analyzing results ...");
DataOutputStream out = null;
BufferedWriter writer = null;
try {
@ -1118,7 +1118,7 @@ public class JHLogAnalyzer {
if(writer != null) writer.close();
if(out != null) out.close();
}
LOG.info("Analizing results ... done.");
LOG.info("Analyzing results ... done.");
}
private static void cleanup(Configuration conf) throws IOException {