Hadoop Common
  1. Hadoop Common
  2. HADOOP-4961

ConcurrentModificationException in lease recovery of empty files.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.18.0
    • Fix Version/s: 0.18.3
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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.

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

        Issue Links

          Activity

            People

            • Assignee:
              Konstantin Shvachko
              Reporter:
              Konstantin Shvachko
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development