From 077adb25b7fb3d8d0dbd93096a3f72418ea6521c Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Thu, 20 Feb 2014 03:25:08 +0000 Subject: [PATCH] HDFS-5979. Typo and logger fix for fsimage PB code. (wang) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1570070 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 2 ++ .../hadoop/hdfs/server/namenode/FSImageFormatPBINode.java | 2 +- .../hadoop/hdfs/server/namenode/FSImageFormatProtobuf.java | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 695d976b64..7e3c1f73af 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -535,6 +535,8 @@ Release 2.4.0 - UNRELEASED HDFS-5742. DatanodeCluster (mini cluster of DNs) fails to start. (Arpit Agarwal) + HDFS-5979. Typo and logger fix for fsimage PB code. (wang) + BREAKDOWN OF HDFS-5698 SUBTASKS AND RELATED JIRAS HDFS-5717. Save FSImage header in protobuf. (Haohui Mai via jing9) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormatPBINode.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormatPBINode.java index 40a03ce971..5018aa03f8 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormatPBINode.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormatPBINode.java @@ -75,7 +75,7 @@ public final class FSImageFormatPBINode { private static final AclEntryType[] ACL_ENTRY_TYPE_VALUES = AclEntryType .values(); - private static final Log LOG = LogFactory.getLog(FSImageFormatProtobuf.class); + private static final Log LOG = LogFactory.getLog(FSImageFormatPBINode.class); public final static class Loader { public static PermissionStatus loadPermission(long id, diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormatProtobuf.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormatProtobuf.java index e888edfe2c..3fb30cca5d 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormatProtobuf.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormatProtobuf.java @@ -268,7 +268,7 @@ public int compare(FileSummary.Section s1, FileSummary.Section s2) { } break; default: - LOG.warn("Unregconized section " + n); + LOG.warn("Unrecognized section " + n); break; } }