Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Incompatible change, Reviewed
-
Changed format of file system image to not store locations of last block.
Description
INodeFileUnderConstruction.targets is a DatanodeDescriptor array which stores the locations for last block. These DatanodeDescriptors are serialized and stored in the FSImage. However, a DatanodeDescriptor contains information like IP address and ports. These information may be out dated after a datanode restart.
We should probably only stored the storageID of a DatanodeDescriptor in FSImage and then lookup the DatanodeDescriptor object from the datanodeMap.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-3337 Name-node fails to start because DatanodeInfo format changed.
- Closed
-
HADOOP-1700 Append to files in HDFS
- Closed