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:53 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 61fdd862b -> 964a3b0c3


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

(cherry picked from commit cfb829ecd5b91fc9adcf5406e788184cfd75300f)


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

Branch: refs/heads/branch-2
Commit: 964a3b0c3ef356135cd7ad66f5c1610dba99f33b
Parents: 61fdd86
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 19:00:58 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/964a3b0c/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 4974db9..0924448 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -301,6 +301,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/964a3b0c/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 4f1973d..83e3de9 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
@@ -141,14 +141,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