[ 
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 
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.  (was: The call to mkdirs with overwrite set to true results in 
an overhead set property call (LMT update, etc), which is unnecessary. This 
change sets the overwrite parameter to false and adds the required checks to 
return success as for the overwrite=true case.)

> ABFS: Change mkdirs default overwrite to false
> ----------------------------------------------
>
>                 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 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.



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