Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-265 Revisit append
  3. HDFS-589

Change block write protocol to support pipeline recovery

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Append Branch
    • Append Branch
    • datanode, hdfs-client
    • None
    • Reviewed

    Description

      Current block write operation's header has the following fields:
      blockId blockGS pipelineSize isRecovery clientName hasSource source #datanodesInDownStreamPipeline downstreamDatanodes
      I'd like to change the header to be
      blockId blockGS pipelineSize clientName flags blockMinLen blockMaxLen newGS hasSource source #datanodesInDownStreamPipeline downstreamDatanodes

      With this protocol change, pipeline recovery will be performed when a mew pipeline is set up.

      Attachments

        1. opWriteProtocol1.patch
          36 kB
          Hairong Kuang
        2. opWriteProtocol.patch
          36 kB
          Hairong Kuang

        Activity

          People

            hairong Hairong Kuang
            hairong Hairong Kuang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: