Affects Version/s: 0.4.0
Fix Version/s: 0.5.0
This patch implements Owen's comments to
- 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.