Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Heterogeneous Storage (HDFS-2832)
-
None
-
Reviewed
Description
Currently the NN updates DatanodeDescriptor#storageMap while processing block reports but not from heartbeats. This results in the DatanodeStorageInfo#blockContentsStale being stale even after the first heartbeat is received.
void receivedBlockReport() { if (heartbeatedSinceFailover) { blockContentsStale = false;
We need to update storageMap if we see a new storage ID in a heartbeart.
Attachments
Attachments
Issue Links
- is broken by
-
HDFS-5398 NameNode changes to process storage reports per storage directory
- Resolved