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

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.3-alpha, 3.0.0-alpha1
    • 2.3.0
    • namenode
    • None
    • 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.patch
          10 kB
          Vinayakumar B
        2. HDFS-4516.patch
          10 kB
          Vinayakumar B
        3. HDFS-4516.patch
          7 kB
          Vinayakumar B
        4. HDFS-4516.txt
          13 kB
          Han Xiao
        5. HDFS-4516-Test.patch
          6 kB
          Uma Maheswara Rao G

        Issue Links

          Activity

            People

              vinayakumarb Vinayakumar B
              umamaheswararao Uma Maheswara Rao G
              Votes:
              0 Vote for this issue
              Watchers:
              23 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: