Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
This task is to address the following daryn's comments. Please refer HDFS-10285 to see more detailed discussion.
Comment-10)
NamenodeProtocolTranslatorPB
Most of the api changes appear unnecessary.
IntraSPSNameNodeContext#getFileInfo swallows all IOEs, based on assumption that any and all IOEs means FNF which probably isn’t the intention during rpc exceptions.
Comment-13)
StoragePolicySatisfier
It appears to make back-to-back calls to hasLowRedundancyBlocks and getFileInfo for every file. Haven’t fully groked the code, but if low redundancy is not the common case, then it shouldn’t be called unless/until needed. It looks like files that are under replicated are re-queued again?