Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1555

HDFS 20 append: Disallow pipeline recovery if a file is already being lease recovered

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20-append
    • Fix Version/s: 0.20-append, 0.20.205.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When a file is under lease recovery and the writer is still alive, the write pipeline will be killed and then the writer will start a pipeline recovery. Sometimes the pipeline recovery may race before the lease recovery and as a result fail the lease recovery. This is very bad if we want to support the strong recoverLease semantics in HDFS-1554. So it would be nice if we could disallow a file's pipeline recovery while its lease recovery is in progress.

      1. recoveryRace.patch
        4 kB
        Hairong Kuang
      2. HDFS-1555.20-security.1.patch
        6 kB
        Jitendra Nath Pandey
      3. appendRecoveryRace.patch
        6 kB
        Hairong Kuang

        Issue Links

          Activity

          Hairong Kuang created issue -
          Hairong Kuang made changes -
          Field Original Value New Value
          Attachment recoveryRace.patch [ 12466913 ]
          Hairong Kuang made changes -
          Attachment appendRecoveryRace.patch [ 12467598 ]
          Hairong Kuang made changes -
          Link This issue blocks HDFS-1554 [ HDFS-1554 ]
          Hairong Kuang made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          Suresh Srinivas made changes -
          Link This issue relates to HDFS-1948 [ HDFS-1948 ]
          Jitendra Nath Pandey made changes -
          Attachment HDFS-1555.20-security.1.patch [ 12492818 ]
          Suresh Srinivas made changes -
          Fix Version/s 0.20.205.0 [ 12316392 ]
          Matt Foley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development