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

delete fails with exception when lease is held on blob

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • fs/azure
    • None
    • Reviewed

    Description

      The delete function as implemented by AzureNativeFileSystem store attempts delete without a lease. In most cases this works but in the case of a dangling lease resulting out of say a process killed and leaving a lease dangling for a small period a delete attempted during this period simply crashes. This fix addresses the situation by re-attempting the delete after a lease acqusition in this case

      Attachments

        1. HADOOP-12508.01.patch
          2 kB
          Gaurav Kanade
        2. HADOOP-12508.02.patch
          2 kB
          Gaurav Kanade
        3. HADOOP-12508.03.patch
          4 kB
          Gaurav Kanade
        4. HADOOP-12508.04.patch
          5 kB
          Gaurav Kanade
        5. HADOOP-12508.05.patch
          5 kB
          Gaurav Kanade
        6. HADOOP-12508.06.patch
          7 kB
          Chris Nauroth

        Issue Links

          Activity

            People

              gouravk Gaurav Kanade
              gouravk Gaurav Kanade
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: