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-11262. Remove unused variables in FSImage.java. Contributed by Jagadesh Kiran N.
Date Tue, 20 Dec 2016 05:37:40 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 238863c11 -> a95acbcb6


HDFS-11262. Remove unused variables in FSImage.java. Contributed by Jagadesh Kiran N.

(cherry picked from commit d2026ae9e6c86f4fd9e48b80e71233181c1853d9)


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

Branch: refs/heads/branch-2
Commit: a95acbcb6e955cf1673f053cb9dab9e5e5dc6803
Parents: 238863c
Author: Akira Ajisaka <aajisaka@apache.org>
Authored: Tue Dec 20 14:34:35 2016 +0900
Committer: Akira Ajisaka <aajisaka@apache.org>
Committed: Tue Dec 20 14:36:03 2016 +0900

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hdfs/server/namenode/FSImage.java | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/a95acbcb/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImage.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImage.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImage.java
index 8cd611e..916f6ce 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImage.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImage.java
@@ -96,7 +96,6 @@ public class FSImage implements Closeable {
   final private Configuration conf;
 
   protected NNStorageRetentionManager archivalManager;
-  private int quotaInitThreads;
 
   /* Used to make sure there are no concurrent checkpoints for a given txid
    * The checkpoint here could be one of the following operations.
@@ -665,7 +664,6 @@ public class FSImage implements Closeable {
       LOG.info("No edit log streams selected.");
     }
     
-    Exception le = null;
     FSImageFile imageFile = null;
     for (int i = 0; i < imageFiles.size(); i++) {
       try {
@@ -676,7 +674,6 @@ public class FSImage implements Closeable {
         throw new IOException("Failed to load image from " + imageFile,
             ie);
       } catch (Exception e) {
-        le = e;
         LOG.error("Failed to load image from " + imageFile, e);
         target.clear();
         imageFile = null;


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message