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

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Append Branch
    • Fix Version/s: Append Branch
    • Component/s: datanode, hdfs-client
    • Labels:
      None
    • Hadoop Flags:
      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. opWriteProtocol.patch
          36 kB
          Hairong Kuang
        2. opWriteProtocol1.patch
          36 kB
          Hairong Kuang

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: