HADOOP-10946. Fix a bunch of typos in log messages (Ray Chiang via aw)
This commit is contained in:
parent
444acf8ea7
commit
9f03a7c018
@ -838,6 +838,8 @@ Release 2.6.0 - UNRELEASED
|
|||||||
|
|
||||||
HADOOP-11109. Site build is broken. (Jian He via atm)
|
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
|
Release 2.5.1 - 2014-09-05
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -41,7 +41,7 @@ public VersionMismatchException(byte expectedVersionIn, byte foundVersionIn){
|
|||||||
/** Returns a string representation of this object. */
|
/** Returns a string representation of this object. */
|
||||||
@Override
|
@Override
|
||||||
public String toString(){
|
public String toString(){
|
||||||
return "A record version mismatch occured. Expecting v"
|
return "A record version mismatch occurred. Expecting v"
|
||||||
+ expectedVersion + ", found v" + foundVersion;
|
+ expectedVersion + ", found v" + foundVersion;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -160,7 +160,7 @@ else if (attributeName.endsWith(MIN_TIME))
|
|||||||
else if (attributeName.endsWith(MAX_TIME))
|
else if (attributeName.endsWith(MAX_TIME))
|
||||||
return or.getMaxTime();
|
return or.getMaxTime();
|
||||||
else {
|
else {
|
||||||
MetricsUtil.LOG.error("Unexpected attrubute suffix");
|
MetricsUtil.LOG.error("Unexpected attribute suffix");
|
||||||
throw new AttributeNotFoundException();
|
throw new AttributeNotFoundException();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -102,7 +102,7 @@ public static void checkDirs(File dir) throws DiskErrorException {
|
|||||||
*/
|
*/
|
||||||
public static void checkDir(File dir) throws DiskErrorException {
|
public static void checkDir(File dir) throws DiskErrorException {
|
||||||
if (!mkdirsWithExistsCheck(dir)) {
|
if (!mkdirsWithExistsCheck(dir)) {
|
||||||
throw new DiskErrorException("Can not create directory: "
|
throw new DiskErrorException("Cannot create directory: "
|
||||||
+ dir.toString());
|
+ dir.toString());
|
||||||
}
|
}
|
||||||
checkDirAccess(dir);
|
checkDirAccess(dir);
|
||||||
|
@ -1095,7 +1095,7 @@ public boolean rename(Path src, Path dst) throws IOException {
|
|||||||
if (dstKey.startsWith(srcKey + PATH_DELIMITER)) {
|
if (dstKey.startsWith(srcKey + PATH_DELIMITER)) {
|
||||||
|
|
||||||
if (LOG.isDebugEnabled()) {
|
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);
|
+ " dest=" + dst);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
@ -681,7 +681,7 @@ public void run() {
|
|||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
LOG.warn("Failure killing " + job.getJobName(), e);
|
LOG.warn("Failure killing " + job.getJobName(), e);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LOG.error("Unexcpected exception", e);
|
LOG.error("Unexpected exception", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
LOG.info("Done.");
|
LOG.info("Done.");
|
||||||
|
@ -1016,7 +1016,7 @@ public int submitAndMonitorJob() throws IOException {
|
|||||||
if (background_) {
|
if (background_) {
|
||||||
LOG.info("Job is running in background.");
|
LOG.info("Job is running in background.");
|
||||||
} else if (!jc_.monitorAndPrintJob(jobConf_, running_)) {
|
} else if (!jc_.monitorAndPrintJob(jobConf_, running_)) {
|
||||||
LOG.error("Job not Successful!");
|
LOG.error("Job not successful!");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
LOG.info("Output directory: " + output_);
|
LOG.info("Output directory: " + output_);
|
||||||
|
Loading…
Reference in New Issue
Block a user