Hadoop Common
  1. Hadoop Common
  2. HADOOP-829

Separate the datanode contents that is written to the fsimage vs the contents used in over-the-wire communication

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
      None

      Description

      In the existing implementation, the Namenode has a data structure called DatanodeDescriptor. It is used to serialize contents of the Datanode while writing it to the fsimage. The same serialization method is used to send a Datanode object to the Datanode and/or the Client. This introduces the shortcoming that one cannot introduce non-persistent fields in the DatanodeDescriptor.

      One solution is to separate out the following two functionality into two separate classes:
      1. The fields from a Datanode that are part of the ClientProtocol and/or DatanodeProcotol.
      2. The fields from a Datanode that are stored in the fsImage.

        Activity

          People

          • Assignee:
            dhruba borthakur
            Reporter:
            dhruba borthakur
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development