Details
-
Sub-task
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
HA branch (HDFS-1623)
-
None
-
Reviewed
Description
To reproduce:
- Start an HA cluster with a DN.
- Write several blocks to the FS with replication 1.
- Shutdown the DN
- Wait for the NNs to declare the DN dead. All blocks will be under-replicated.
- Restart the DN.
Note that upon restarting the DN, the active NN will immediately get all block locations from the initial BR. The standby NN will not, and instead will slowly add block locations for a subset of the previously-missing blocks on every DN heartbeat.