Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Append Branch
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      This jira intends to implement the third stage of block construction: close. The main ideas are:
      1. A client notifies the datanodes in the pipeline to finalize a replica and then shuts down the pipeline by sending a special end-of-block message.
      2. The end-of-block message does not get sent until the client finishes sending all packets belong to the block and have received all their acks.
      3. If close fails, the client recovers the failures by setting up a new pipeline with the remaining datanodes and a newer generation stamp.
      4. I plan to use an empty packet as the end-of-block message.

        Attachments

        1. closePipeline.patch
          37 kB
          Hairong Kuang
        2. closePipeline1.patch
          39 kB
          Hairong Kuang
        3. closePipeline2.patch
          38 kB
          Hairong Kuang
        4. closePipeline3.patch
          40 kB
          Hairong Kuang
        5. closePipeline4.patch
          40 kB
          Hairong Kuang

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: