hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Marqardt (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-17215) ABFS: Excessive Create Overwrites leads to race conditions
Date Wed, 16 Sep 2020 19:41:00 GMT

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

Thomas Marqardt commented on HADOOP-17215:
------------------------------------------

Seems we should be doing something like https://issues.apache.org/jira/browse/HADOOP-16948
instead.  Thoughts?  I'd prefer to use leases so ABFS can uphold the single writer semantics
of HDFS.  This was something we planned to do early on, but was postponed.

> ABFS: Excessive Create Overwrites leads to race conditions
> ----------------------------------------------------------
>
>                 Key: HADOOP-17215
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17215
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>    Affects Versions: 3.3.0
>            Reporter: Sneha Vijayarajan
>            Assignee: Sneha Vijayarajan
>            Priority: Major
>              Labels: abfsactive
>
> Filesystem Create APIs that do not accept an argument for overwrite flag end up defaulting
it to true. 
> We are observing that request count of creates with overwrite=true is more and primarily
because of the default setting of the flag is true of the called Create API. When a create
with overwrite ends up timing out, we have observed that it could lead to race conditions
between the first create and retried one running almost parallel.
> To avoid this scenario for create with overwrite=true request, ABFS driver will always
attempt to create without overwrite. If the create fails due to fileAlreadyPresent, it will
resend the request with overwrite=true. 
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
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