hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "omkar vinit joshi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-4619) No Exception is thrown if we try to create directory using FileContext (create) on RawLocalFileSystem. Even if the directory already exists.
Date Thu, 21 Mar 2013 00:21:15 GMT
omkar vinit joshi created HDFS-4619:
---------------------------------------

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