HDFS-6942. Fix typos in log messages. Contributed by Ray Chiang.
This commit is contained in:
parent
727331becc
commit
08a9ac7098
@ -421,7 +421,7 @@ public void receivedNewWrite(DFSClient dfsClient, WRITE3Request request,
|
||||
if (existantWriteCtx != null) {
|
||||
if (!existantWriteCtx.getReplied()) {
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Repeated write request which hasn't be served: xid="
|
||||
LOG.debug("Repeated write request which hasn't been served: xid="
|
||||
+ xid + ", drop it.");
|
||||
}
|
||||
} else {
|
||||
@ -579,7 +579,7 @@ private void processOverWrite(DFSClient dfsClient, WRITE3Request request,
|
||||
* writing, and there is no other threads writing (i.e., asyncStatus is
|
||||
* false), start the writing and set asyncStatus to true.
|
||||
*
|
||||
* @return True if the new write is sequencial and we can start writing
|
||||
* @return True if the new write is sequential and we can start writing
|
||||
* (including the case that there is already a thread writing).
|
||||
*/
|
||||
private synchronized boolean checkAndStartWrite(
|
||||
@ -898,7 +898,7 @@ private synchronized WriteCtx offerNextToWrite() {
|
||||
long offset = nextOffset.get();
|
||||
if (range.getMin() > offset) {
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("The next sequencial write has not arrived yet");
|
||||
LOG.debug("The next sequential write has not arrived yet");
|
||||
}
|
||||
processCommits(nextOffset.get()); // handle race
|
||||
this.asyncStatus = false;
|
||||
|
@ -1423,7 +1423,7 @@ private DirectoryListing listPaths(DFSClient dfsClient, String dirFileIdPath,
|
||||
throw io;
|
||||
}
|
||||
// This happens when startAfter was just deleted
|
||||
LOG.info("Cookie cound't be found: " + new String(startAfter)
|
||||
LOG.info("Cookie couldn't be found: " + new String(startAfter)
|
||||
+ ", do listing from beginning");
|
||||
dlisting = dfsClient
|
||||
.listPaths(dirFileIdPath, HdfsFileStatus.EMPTY_NAME);
|
||||
|
@ -585,6 +585,8 @@ Release 2.6.0 - UNRELEASED
|
||||
HDFS-6972. TestRefreshUserMappings.testRefreshSuperUserGroupsConfiguration
|
||||
doesn't decode url correctly. (Yongjun Zhang via wang)
|
||||
|
||||
HDFS-6942. Fix typos in log messages. (Ray Chiang via wheat9)
|
||||
|
||||
BREAKDOWN OF HDFS-6134 AND HADOOP-10150 SUBTASKS AND RELATED JIRAS
|
||||
|
||||
HDFS-6387. HDFS CLI admin tool for creating & deleting an
|
||||
|
@ -1744,7 +1744,7 @@ private class DataTransfer implements Runnable {
|
||||
+ b + " (numBytes=" + b.getNumBytes() + ")"
|
||||
+ ", stage=" + stage
|
||||
+ ", clientname=" + clientname
|
||||
+ ", targests=" + Arrays.asList(targets));
|
||||
+ ", targets=" + Arrays.asList(targets));
|
||||
}
|
||||
this.targets = targets;
|
||||
this.targetStorageTypes = targetStorageTypes;
|
||||
|
@ -125,7 +125,7 @@ private void recoverFile(final FileSystem fs) throws Exception {
|
||||
while (!recovered && tries-- > 0) {
|
||||
try {
|
||||
out = fs.append(file1);
|
||||
LOG.info("Successfully opened for appends");
|
||||
LOG.info("Successfully opened for append");
|
||||
recovered = true;
|
||||
} catch (IOException e) {
|
||||
LOG.info("Failed open for append, waiting on lease recovery");
|
||||
|
@ -441,7 +441,7 @@ public void testCompression() throws IOException {
|
||||
checkNameSpace(conf);
|
||||
|
||||
// read an image compressed in Gzip and store it uncompressed
|
||||
LOG.info("Read an compressed iamge and store it as uncompressed.");
|
||||
LOG.info("Read a compressed image and store it as uncompressed.");
|
||||
conf.setBoolean(DFSConfigKeys.DFS_IMAGE_COMPRESS_KEY, false);
|
||||
checkNameSpace(conf);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user