HDFS-10862. Typos in 4 log messages. Contributed by Mehran Hassani.

This commit is contained in:
Akira Ajisaka 2016-09-16 16:08:47 +09:00
parent ec3ea18875
commit b09a03cd7d
4 changed files with 4 additions and 4 deletions

View File

@ -814,7 +814,7 @@ READ3Response read(XDR xdr, SecurityHandler securityHandler,
attrs = Nfs3Utils.getFileAttr(dfsClient, Nfs3Utils.getFileIdPath(handle), attrs = Nfs3Utils.getFileAttr(dfsClient, Nfs3Utils.getFileIdPath(handle),
iug); iug);
if (readCount < count) { if (readCount < count) {
LOG.info("Partical read. Asked offset: " + offset + " count: " + count LOG.info("Partial read. Asked offset: " + offset + " count: " + count
+ " and read back: " + readCount + " file size: " + " and read back: " + readCount + " file size: "
+ attrs.getSize()); + attrs.getSize());
} }

View File

@ -201,7 +201,7 @@ public void run() {
+ " " + bpid + " on volume " + v + ": " + timeTaken + "ms"); + " " + bpid + " on volume " + v + ": " + timeTaken + "ms");
} catch (ClosedChannelException e) { } catch (ClosedChannelException e) {
FsDatasetImpl.LOG.info("The volume " + v + " is closed while " + FsDatasetImpl.LOG.info("The volume " + v + " is closed while " +
"addng replicas, ignored."); "adding replicas, ignored.");
} catch (IOException ioe) { } catch (IOException ioe) {
FsDatasetImpl.LOG.info("Caught exception while adding replicas " + FsDatasetImpl.LOG.info("Caught exception while adding replicas " +
"from " + v + ". Will throw later.", ioe); "from " + v + ". Will throw later.", ioe);

View File

@ -326,7 +326,7 @@ public int getWriteHoldCount() {
int threshold = conf.getInt( int threshold = conf.getInt(
DFSConfigKeys.DFS_NAMENODE_NAME_CACHE_THRESHOLD_KEY, DFSConfigKeys.DFS_NAMENODE_NAME_CACHE_THRESHOLD_KEY,
DFSConfigKeys.DFS_NAMENODE_NAME_CACHE_THRESHOLD_DEFAULT); DFSConfigKeys.DFS_NAMENODE_NAME_CACHE_THRESHOLD_DEFAULT);
NameNode.LOG.info("Caching file names occuring more than " + threshold NameNode.LOG.info("Caching file names occurring more than " + threshold
+ " times"); + " times");
nameCache = new NameCache<ByteArray>(threshold); nameCache = new NameCache<ByteArray>(threshold);
namesystem = ns; namesystem = ns;

View File

@ -245,7 +245,7 @@ void attemptRestoreRemovedStorage() {
/* We don't want more than one thread trying to restore at a time */ /* We don't want more than one thread trying to restore at a time */
synchronized (this.restorationLock) { synchronized (this.restorationLock) {
LOG.info("NNStorage.attemptRestoreRemovedStorage: check removed(failed) "+ LOG.info("NNStorage.attemptRestoreRemovedStorage: check removed(failed) "+
"storarge. removedStorages size = " + removedStorageDirs.size()); "storage. removedStorages size = " + removedStorageDirs.size());
for (StorageDirectory sd : this.removedStorageDirs) { for (StorageDirectory sd : this.removedStorageDirs) {
File root = sd.getRoot(); File root = sd.getRoot();
LOG.info("currently disabled dir " + root.getAbsolutePath() + LOG.info("currently disabled dir " + root.getAbsolutePath() +