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

Lease renewal can hit a deadlock

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.1
    • 3.0.0, 3.1.0, 2.10.0, 2.9.1, 2.8.4
    • None
    • None
    • Reviewed

    Description

      The Client and the renewer can hit a deadlock during close operation since closeFile() reaches back to the DFSClient#removeFileBeingWritten. This is possible if the client class close when the renewer is renewing a lease.

      Attachments

        1. HDFS-12754.001.patch
          9 kB
          Kuhu Shukla
        2. HDFS-12754.002.patch
          12 kB
          Kuhu Shukla
        3. HDFS-12754.003.patch
          13 kB
          Kuhu Shukla
        4. HDFS-12754.004.patch
          14 kB
          Kuhu Shukla
        5. HDFS-12754.005.patch
          14 kB
          Kuhu Shukla
        6. HDFS-12754.006.patch
          67 kB
          Kuhu Shukla
        7. HDFS-12754.007.patch
          14 kB
          Kuhu Shukla
        8. HDFS-12754.008.patch
          15 kB
          Kuhu Shukla
        9. HDFS-12754.009.patch
          15 kB
          Kuhu Shukla
        10. HDFS-12754-branch-2.patch
          15 kB
          Kuhu Shukla

        Issue Links

          Activity

            People

              kshukla Kuhu Shukla
              kshukla Kuhu Shukla
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: