Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4961

ConcurrentModificationException in lease recovery of empty files.

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.18.0
    • 0.18.3
    • None
    • None
    • Reviewed

    Description

      The problem is that internalReleaseLease() finalizes empty files, which removes these file path names from the lease. So this modifies the Collection of file names which LeaseManager.checkLeases() is iterating on.

      Attachments

        1. CMEinLeaseRecovery.patch
          4 kB
          Konstantin Shvachko
        2. CMEinLeaseRecovery-0-18.patch
          4 kB
          Konstantin Shvachko
        3. CMEinLeaseRecovery-0-19.patch
          5 kB
          Konstantin Shvachko
        4. TestLeaseExpire.java
          3 kB
          Tsz-wo Sze

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            shv Konstantin Shvachko Assign to me
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment