hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-10375) Local FS doesn't raise an error on mkdir() over a file
Date Sat, 13 Aug 2016 17:12:22 GMT

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

Steve Loughran resolved HADOOP-10375.
-------------------------------------
       Resolution: Duplicate
         Assignee: Steve Loughran  (was: Andras Bokor)
    Fix Version/s: 0.21.0

> Local FS doesn't raise an error on mkdir() over a file
> ------------------------------------------------------
>
>                 Key: HADOOP-10375
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10375
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.3.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>             Fix For: 0.21.0
>
>
> if you mkdir() on a path where there is already a file, the operation does
> not fail. Instead the operation returns 0.
> This is at odds with the behaviour of HDFS. 
> HADOOP-6229 add the check for the parent dir not being a file, but something similar
is needed for the destination dir itself



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

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


Mime
View raw message