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

Sumangala Patki updated HADOOP-17548:
-------------------------------------
    Description: The call to mkdirs with overwrite set to true results in an 
additional call to set properties (LMT update, etc) at the backend, which is 
not required for the HDFS scenario. Moreover, mkdirs on an existing file path 
returns success. This PR provides an option to set the overwrite parameter to 
false, and ensures that mkdirs on a file throws an exception.  (was: The call 
to mkdirs with overwrite set to true results in an overhead set property call 
(LMT update, etc), which is unnecessary. Moreover, mkdirs on an existing file 
path returns success. This PR provides an option to set the overwrite parameter 
to false, and ensures that mkdirs on a file throws an exception.)

> ABFS: Config for Mkdir overwrite
> --------------------------------
>
>                 Key: HADOOP-17548
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17548
>             Project: Hadoop Common
>          Issue Type: Sub-task
>    Affects Versions: 3.3.1
>            Reporter: Sumangala Patki
>            Priority: Major
>
> The call to mkdirs with overwrite set to true results in an additional call 
> to set properties (LMT update, etc) at the backend, which is not required for 
> the HDFS scenario. Moreover, mkdirs on an existing file path returns success. 
> This PR provides an option to set the overwrite parameter to false, and 
> ensures that mkdirs on a file throws an exception.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to