Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
QuorumJournalManager (HDFS-3077)
-
None
-
None
-
Reviewed
Description
In order for QJM to work with HA, the standby needs to be able to read from a JournalNode even when no active has written to it. In the current code, it reads the StorageInfo only when newEpoch() is called. But, that's only called when a writer becomes active. This causes the SBN to fail at startup since the JN thinks its storage info is uninitialized.