You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2013/05/22 16:15:21 UTC

[jira] [Resolved] (HDFS-4619) No Exception is thrown if we try to create directory using FileContext (create) on RawLocalFileSystem. Even if the directory already exists.

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

Steve Loughran resolved HDFS-4619.
----------------------------------

    Resolution: Duplicate
    
> No Exception is thrown if we try to create directory using FileContext (create) on RawLocalFileSystem.  Even if the directory already exists.
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-4619
>                 URL: https://issues.apache.org/jira/browse/HDFS-4619
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Omkar Vinit Joshi
>            Priority: Critical
>
> as per FileContext create should fail if the file/directory is already present. However if the underlying filesystem is RawLocalFileSystem then it doesn't throw any exception.
> FileContext.create()
> RawLocalFileSystem.mkdirs()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira