Uploaded image for project: '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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • None
    • 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.

      Attachments

        1. datanodeserialize1.patch
          6 kB
          Dhruba Borthakur

        Activity

          People

            dhruba Dhruba Borthakur
            dhruba Dhruba Borthakur
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: