Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
3.0.0-alpha4
Description
If NameNode fails to load the fsimage in the first NameNode metadata directory, it accidentally clears all enabled erasure coding policies in ErasureCodingPolicyManager.
Even if the NameNode configures multiple fsimage metadata directory and it successfully loads the second one, enabled erasure coding policies are not restored.
In the current implementation, we do not have a ErasureCodingPolicyManager section in fsimage, so a fsimage reload does not reload ECPM.
The easiest fix before ECPM section is implemented, is don't clear ECPM when FSNamesystem is cleared.