hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [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.
Date Wed, 22 May 2013 14:15:21 GMT

     [ 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

Mime
View raw message