hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dushyanth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12551) Introduce FileNotFoundException for WASB FileSystem API
Date Tue, 29 Dec 2015 02:02:49 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-12551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dushyanth updated HADOOP-12551:
-------------------------------
    Attachment: HADOOP-12551.001.patch

Attaching first iteration for the JIRA.

The patch contains modification to the handling of calls made to the Azure Storage layer wrapped
in a try catch block to handle BlobNotFound exception. The patch handles open(), rename(),
delete(), listStatus(), setOwner(), setPermission() APIs.

Testing: The patch contains new tests to verify the changes made. Also changes have been tested
against FileSystemContractLive tests for the both Block Blobs and Page Blobs.

> Introduce FileNotFoundException for WASB FileSystem API
> -------------------------------------------------------
>
>                 Key: HADOOP-12551
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12551
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 2.7.1
>            Reporter: Dushyanth
>            Assignee: Dushyanth
>         Attachments: HADOOP-12551.001.patch
>
>
> HADOOP-12533 introduced FileNotFoundException to the read and seek API for WASB. The
open and getFileStatus api currently throws FileNotFoundException correctly when the file
does not exists when the API is called but does not throw the same exception if there is another
thread/process deletes the file during its execution. This Jira fixes that behavior.
> This jira also re-examines other Azure storage store calls to check for BlobNotFoundException
in setPermission(), setOwner, rename(), delete(), open(), listStatus() APIs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message