HADOOP-10946. Fix a bunch of typos in log messages (Ray Chiang via aw)

This commit is contained in:
Allen Wittenauer 2014-09-19 11:32:55 -07:00
parent 444acf8ea7
commit 9f03a7c018
7 changed files with 8 additions and 6 deletions

View File

@ -838,6 +838,8 @@ Release 2.6.0 - UNRELEASED
HADOOP-11109. Site build is broken. (Jian He via atm)
HADOOP-10946. Fix a bunch of typos in log messages (Ray Chiang via aw)
Release 2.5.1 - 2014-09-05
INCOMPATIBLE CHANGES

View File

@ -41,7 +41,7 @@ public class VersionMismatchException extends IOException {
/** Returns a string representation of this object. */
@Override
public String toString(){
return "A record version mismatch occured. Expecting v"
return "A record version mismatch occurred. Expecting v"
+ expectedVersion + ", found v" + foundVersion;
}
}

View File

@ -160,7 +160,7 @@ public abstract class MetricsDynamicMBeanBase implements DynamicMBean {
else if (attributeName.endsWith(MAX_TIME))
return or.getMaxTime();
else {
MetricsUtil.LOG.error("Unexpected attrubute suffix");
MetricsUtil.LOG.error("Unexpected attribute suffix");
throw new AttributeNotFoundException();
}
} else {

View File

@ -1095,7 +1095,7 @@ public class NativeAzureFileSystem extends FileSystem {
if (dstKey.startsWith(srcKey + PATH_DELIMITER)) {
if (LOG.isDebugEnabled()) {
LOG.debug("Renaming directory to a itself is disallowed. src=" + src
LOG.debug("Renaming directory to itself is disallowed. src=" + src
+ " dest=" + dst);
}
return false;

View File

@ -681,7 +681,7 @@ public class Gridmix extends Configured implements Tool {
} catch (IOException e) {
LOG.warn("Failure killing " + job.getJobName(), e);
} catch (Exception e) {
LOG.error("Unexcpected exception", e);
LOG.error("Unexpected exception", e);
}
}
LOG.info("Done.");

View File

@ -1016,7 +1016,7 @@ public class StreamJob implements Tool {
if (background_) {
LOG.info("Job is running in background.");
} else if (!jc_.monitorAndPrintJob(jobConf_, running_)) {
LOG.error("Job not Successful!");
LOG.error("Job not successful!");
return 1;
}
LOG.info("Output directory: " + output_);