hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jameel Naina Mohamed (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13675) Bug in return value for delete() calls in WASB
Date Tue, 18 Oct 2016 21:04:58 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-13675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15586655#comment-15586655
] 

Jameel Naina Mohamed commented on HADOOP-13675:
-----------------------------------------------

Hi [~cnauroth], Thanks for reviewing this patch. 
I have incorporated your comments. 
Reason for TestNativeAzureFileSystemMocked test failed was due to list api returned duplicated
entries of files in a directory. I made the change to fix this issue. Now all tests are passing.

I'm adding new patch HADOOP-13675.002.patch for your review. 

> Bug in return value for delete() calls in WASB
> ----------------------------------------------
>
>                 Key: HADOOP-13675
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13675
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: azure, fs/azure
>    Affects Versions: 2.8.0
>            Reporter: Dushyanth
>            Assignee: Dushyanth
>             Fix For: 2.9.0
>
>         Attachments: HADOOP-13675.001.patch
>
>
> Current implementation of WASB does not correctly handle multiple threads/clients calling
delete on the same file. The expected behavior in such scenarios is only one of the thread
should delete the file and return true, while all other threads should receive false. However
in the current implementation even though only one thread deletes the file, multiple clients
incorrectly get "true" as the return from delete() call..



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message