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 aa...@apache.org on 2016/12/20 05:35:42 UTC

hadoop git commit: HDFS-11262. Remove unused variables in FSImage.java. Contributed by Jagadesh Kiran N.

Repository: hadoop
Updated Branches:
  refs/heads/trunk 358341398 -> d2026ae9e


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


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

Branch: refs/heads/trunk
Commit: d2026ae9e6c86f4fd9e48b80e71233181c1853d9
Parents: 3583413
Author: Akira Ajisaka <aa...@apache.org>
Authored: Tue Dec 20 14:34:35 2016 +0900
Committer: Akira Ajisaka <aa...@apache.org>
Committed: Tue Dec 20 14:34:35 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/d2026ae9/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 c40c626..f315d1e 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
@@ -97,7 +97,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.
@@ -666,7 +665,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 {
@@ -677,7 +675,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