hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aajis...@apache.org
Subject hadoop git commit: HDFS-7710. Remove dead code in BackupImage.java. Contributed by Xiaoyu Yao.
Date Sat, 07 Feb 2015 03:01:08 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 8de80ff71 -> cfb829ecd


HDFS-7710. Remove dead code in BackupImage.java. Contributed by Xiaoyu Yao.


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

Branch: refs/heads/trunk
Commit: cfb829ecd5b91fc9adcf5406e788184cfd75300f
Parents: 8de80ff
Author: Akira Ajisaka <aajisaka@apache.org>
Authored: Fri Feb 6 18:59:31 2015 -0800
Committer: Akira Ajisaka <aajisaka@apache.org>
Committed: Fri Feb 6 18:59:31 2015 -0800

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                  | 2 ++
 .../org/apache/hadoop/hdfs/server/namenode/BackupImage.java  | 8 --------
 2 files changed, 2 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/cfb829ec/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 29f23ad..f1b3509a 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -582,6 +582,8 @@ Release 2.7.0 - UNRELEASED
     HDFS-7732. Fix the order of the parameters in DFSConfigKeys.
     (Brahma Reddy Battula via aajisaka)
 
+    HDFS-7710. Remove dead code in BackupImage.java. (Xiaoyu Yao via aajisaka)
+
   OPTIMIZATIONS
 
     HDFS-7454. Reduce memory footprint for AclEntries in NameNode.

http://git-wip-us.apache.org/repos/asf/hadoop/blob/cfb829ec/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/BackupImage.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/BackupImage.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/BackupImage.java
index d253543..1900b40 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/BackupImage.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/BackupImage.java
@@ -140,14 +140,6 @@ public class BackupImage extends FSImage {
   }
 
   /**
-   * Save meta-data into fsimage files.
-   * and create empty edits.
-   */
-  void saveCheckpoint() throws IOException {
-    saveNamespace(namesystem);
-  }
-
-  /**
    * Receive a batch of edits from the NameNode.
    * 
    * Depending on bnState, different actions are taken. See


Mime
View raw message