You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jameel Naina Mohamed (JIRA)" <ji...@apache.org> on 2016/10/18 21:07:58 UTC

[jira] [Comment Edited] (HADOOP-13675) Bug in return value for delete() calls in WASB

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

Jameel Naina Mohamed edited comment on HADOOP-13675 at 10/18/16 9:07 PM:
-------------------------------------------------------------------------

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 have a new patch witt the fix. Could you grant me access to upload patch to this jira?


was (Author: jameeln):
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