Revert "HDFS-9569. Log the name of the fsimage being loaded for better supportability. Contributed by Yongjun Zhang."
This reverts commit 4d2ee51c52d371a10501a76f5bfc2d78a40e2083.
This commit is contained in:
parent
4d2ee51c52
commit
56882e7b1c
@ -11,9 +11,6 @@ Release 2.7.3 - UNRELEASED
|
||||
HDFS-8647. Abstract BlockManager's rack policy into BlockPlacementPolicy.
|
||||
(Brahma Reddy Battula via mingma)
|
||||
|
||||
HDFS-9569. Log the name of the fsimage being loaded for better
|
||||
supportability (Yongjun Zhang via kihwal)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
BUG FIXES
|
||||
|
@ -675,8 +675,8 @@ LayoutVersion.Feature.TXID_BASED_LAYOUT, getLayoutVersion())) {
|
||||
imageFile = imageFiles.get(i);
|
||||
loadFSImageFile(target, recovery, imageFile, startOpt);
|
||||
break;
|
||||
} catch (Exception e) {
|
||||
LOG.error("Failed to load image from " + imageFile, e);
|
||||
} catch (IOException ioe) {
|
||||
LOG.error("Failed to load image from " + imageFile, ioe);
|
||||
target.clear();
|
||||
imageFile = null;
|
||||
}
|
||||
@ -727,7 +727,7 @@ private void rollingRollback(long discardSegmentTxId, long ckptId)
|
||||
|
||||
void loadFSImageFile(FSNamesystem target, MetaRecoveryContext recovery,
|
||||
FSImageFile imageFile, StartupOption startupOption) throws IOException {
|
||||
LOG.info("Planning to load image: " + imageFile);
|
||||
LOG.debug("Planning to load image :\n" + imageFile);
|
||||
StorageDirectory sdForProperties = imageFile.sd;
|
||||
storage.readProperties(sdForProperties, startupOption);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user