Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.5.0
    • Component/s: None
    • Labels:
      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

        1. DatanodeID3.patch
          21 kB
          Konstantin Shvachko
        2. DatanodeID2.patch
          20 kB
          Konstantin Shvachko
        3. DatanodeID.patch
          5 kB
          Konstantin Shvachko

          Issue Links

            Activity

              People

              • Assignee:
                shv Konstantin Shvachko
                Reporter:
                shv Konstantin Shvachko
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: