You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by wa...@apache.org on 2015/10/21 23:58:29 UTC

hadoop git commit: HDFS-9278. Fix preferredBlockSize typo in OIV XML output. Contributed by Nicole Pazmany.

Repository: hadoop
Updated Branches:
  refs/heads/trunk 3e50f478b -> a24c6e842


HDFS-9278. Fix preferredBlockSize typo in OIV XML output. Contributed by Nicole Pazmany.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/a24c6e84
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/a24c6e84
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/a24c6e84

Branch: refs/heads/trunk
Commit: a24c6e84205c684ef864b0fc5301dc07b3578351
Parents: 3e50f47
Author: Andrew Wang <wa...@apache.org>
Authored: Wed Oct 21 14:58:21 2015 -0700
Committer: Andrew Wang <wa...@apache.org>
Committed: Wed Oct 21 14:58:21 2015 -0700

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                        | 2 ++
 .../hadoop/hdfs/tools/offlineImageViewer/PBImageXmlWriter.java     | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/a24c6e84/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
index 83418f8..4565f8a 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -42,6 +42,8 @@ Trunk (Unreleased)
     HDFS-9085. Show renewer information in DelegationTokenIdentifier#toString.
     (Zhihai Xu via cnauroth)
 
+    HDFS-9278. Fix preferredBlockSize typo in OIV XML output. (Nicole Pazmany via wang)
+
   NEW FEATURES
 
     HDFS-3125. Add JournalService to enable Journal Daemon. (suresh)

http://git-wip-us.apache.org/repos/asf/hadoop/blob/a24c6e84/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineImageViewer/PBImageXmlWriter.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineImageViewer/PBImageXmlWriter.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineImageViewer/PBImageXmlWriter.java
index 4415c5d..d23ff61 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineImageViewer/PBImageXmlWriter.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineImageViewer/PBImageXmlWriter.java
@@ -242,7 +242,7 @@ public final class PBImageXmlWriter {
   private void dumpINodeFile(INodeSection.INodeFile f) {
     o("replication", f.getReplication()).o("mtime", f.getModificationTime())
         .o("atime", f.getAccessTime())
-        .o("perferredBlockSize", f.getPreferredBlockSize())
+        .o("preferredBlockSize", f.getPreferredBlockSize())
         .o("permission", dumpPermission(f.getPermission()));
     dumpAcls(f.getAcl());
     if (f.getBlocksCount() > 0) {