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