Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-4232

NN fails to write a fsimage with stale leases

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 2.0.3-alpha, 0.23.6
    • Component/s: namenode
    • Labels:
      None

      Description

      The reading of a fsimage will ignore leases for non-existent files, but the writing of an image will fail if there are leases for non-existent files. If the image contains leases that reference a non-existent file, then the NN will fail to start, and the 2NN will start but fail to ever write an image.

        Issue Links

          Activity

          Daryn Sharp created issue -
          Daryn Sharp made changes -
          Field Original Value New Value
          Description The reading of a fsimage will ignore leases for non-existent files, but the
          writing of an image will fail if there are leases for non-existent files. If
          an image is written when the namesystem and lease manager are temporarily out
          of sync after a delete, then the NN will fail to start, and
          the 2NN will start but fail to ever write an image.
          The reading of a fsimage will ignore leases for non-existent files, but the writing of an image will fail if there are leases for non-existent files. If the image contains leases that reference a non-existent file, then the NN will fail to start, and the 2NN will start but fail to ever write an image.
          Daryn Sharp made changes -
          Attachment HDFS-4232.patch [ 12555267 ]
          Daryn Sharp made changes -
          Link This issue is related to HDFS-2875 [ HDFS-2875 ]
          Tsz Wo Nicholas Sze made changes -
          Link This issue is related to HDFS-4242 [ HDFS-4242 ]
          Daryn Sharp made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 3.0.0 [ 12320356 ]
          Fix Version/s 2.0.3-alpha [ 12323274 ]
          Fix Version/s 0.23.6 [ 12323503 ]
          Resolution Fixed [ 1 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Allen Wittenauer made changes -
          Fix Version/s 3.0.0 [ 12320356 ]

            People

            • Assignee:
              Daryn Sharp
              Reporter:
              Daryn Sharp
            • Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development