HDFS-11262. Remove unused variables in FSImage.java. Contributed by Jagadesh Kiran N.
(cherry picked from commit d2026ae9e6c86f4fd9e48b80e71233181c1853d9)
This commit is contained in:
parent
238863c11b
commit
a95acbcb6e
@ -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 @@ LayoutVersion.Feature.TXID_BASED_LAYOUT, getLayoutVersion())) {
|
||||
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 @@ LayoutVersion.Feature.TXID_BASED_LAYOUT, getLayoutVersion())) {
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user