Affects Version/s: None
Fix Version/s: 0.18.0
Hadoop Flags:Incompatible change, Reviewed
Release Note:Changed format of file system image to not store locations of last block.
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.
|Component/s||dfs [ 12310710 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Release Note||The file system image file does not store block locations of the last block of a file.||Changed format of file system image to not store locations of last block.|
|Hadoop Flags||[Reviewed, Incompatible change]||[Incompatible change, Reviewed]|
|Status||Patch Available [ 10002 ]||Resolved [ 5 ]|
|Release Note||The file system image file does not store block locations of the last block of a file.|
|Hadoop Flags||[Incompatible change, Reviewed]|
|Resolution||Fixed [ 1 ]|
|Status||Open [ 1 ]||Patch Available [ 10002 ]|
|Fix Version/s||0.18.0 [ 12312972 ]|
|Assignee||dhruba borthakur [ dhruba ]|