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

This commit is contained in:
Akira Ajisaka 2016-12-20 14:34:35 +09:00
parent 358341398a
commit d2026ae9e6
1 changed files with 0 additions and 3 deletions

View File

@ -97,7 +97,6 @@ public class FSImage implements Closeable {
final private Configuration conf; final private Configuration conf;
protected NNStorageRetentionManager archivalManager; protected NNStorageRetentionManager archivalManager;
private int quotaInitThreads;
/* Used to make sure there are no concurrent checkpoints for a given txid /* Used to make sure there are no concurrent checkpoints for a given txid
* The checkpoint here could be one of the following operations. * 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."); LOG.info("No edit log streams selected.");
} }
Exception le = null;
FSImageFile imageFile = null; FSImageFile imageFile = null;
for (int i = 0; i < imageFiles.size(); i++) { for (int i = 0; i < imageFiles.size(); i++) {
try { try {
@ -677,7 +675,6 @@ public class FSImage implements Closeable {
throw new IOException("Failed to load image from " + imageFile, throw new IOException("Failed to load image from " + imageFile,
ie); ie);
} catch (Exception e) { } catch (Exception e) {
le = e;
LOG.error("Failed to load image from " + imageFile, e); LOG.error("Failed to load image from " + imageFile, e);
target.clear(); target.clear();
imageFile = null; imageFile = null;