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

Introduce FileNotFoundException in WASB for read and seek API

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0, 3.0.0-alpha1
    • tools
    • None
    • Reviewed

    Description

      Currently WASB throws a IOException in read and seek API for both Block and Page blobs for scenarios where the backing blobs do not exists. This creates problems for applications like HBase which expect a FileNotFoundException in these scenarios.

      The fix for the problem is to check if the exceptions from Azure storage is because for Blob not found and throw FileNotFound exception if that is the case.

      Attachments

        1. HADOOP-12533.001.patch
          17 kB
          Dushyanth
        2. HADOOP-12533.002.patch
          18 kB
          Dushyanth
        3. HADOOP-12533.003.patch
          18 kB
          Dushyanth
        4. HADOOP-12533.004.patch
          19 kB
          Dushyanth
        5. HADOOP-12533.005.patch
          19 kB
          Dushyanth

        Activity

          People

            dchickabasapa Dushyanth
            dchickabasapa Dushyanth
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: