-
Type:
Sub-task
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: HA branch (HDFS-1623)
-
Fix Version/s: HA branch (HDFS-1623)
-
Labels:None
-
Target Version/s:
-
Hadoop Flags:Reviewed
Currently, the edit log tailing process can only read finalized log segments. So, if the active NN is not rolling its logs periodically, the SBN will lag a lot. This also causes many datanode messages to be queued up in the PendingDatanodeMessage structure.
To combat this, the active NN needs to roll its logs periodically – perhaps based on a time threshold, or perhaps based on a number of transactions. I'm not sure yet whether it's better to have the NN roll on its own or to have the SBN ask the active NN to roll its logs.
- is depended upon by
-
HDFS-2823 HA: Transition to active can cause NN deadlock
-
- Resolved
-