Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4516

Client crash after block allocation and NN switch before lease recovery for the same file can cause readers to fail forever

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.3-alpha, 3.0.0-alpha1
    • Fix Version/s: 2.3.0
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      If client crashes just after allocating block( blocks not yet created in DNs) and NN also switched after this, then new Namenode will not know about locs.

      Further details will be in comment.

        Attachments

        1. HDFS-4516-Test.patch
          6 kB
          Uma Maheswara Rao G
        2. HDFS-4516.txt
          13 kB
          Han Xiao
        3. HDFS-4516.patch
          7 kB
          Vinayakumar B
        4. HDFS-4516.patch
          10 kB
          Vinayakumar B
        5. HDFS-4516.patch
          10 kB
          Vinayakumar B

          Issue Links

            Activity

              People

              • Assignee:
                vinayakumarb Vinayakumar B
                Reporter:
                umamaheswararao Uma Maheswara Rao G
              • Votes:
                0 Vote for this issue
                Watchers:
                22 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: