Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.4.0
-
None
-
None
Description
This patch implements Owen's comments to HADOOP-321. Namely,
- Namenode.sendHeartbeat does not create a throwaway DatanodeDescriptor. DatanodeID is sufficient in this case.
- DatanodeID is made Writable, and it also implements equals() and hashCode().
- DatanodeInfo is updated to call base class methods in its implementation of Writable interface.
- I changed the way strings are written/read using UTF8.writeString and UTF8.readString.
- Some comments are updated.
Attachments
Attachments
Issue Links
- incorporates
-
HADOOP-395 infoPort field should be a DatanodeID member
-
- Closed
-