Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.0
-
None
-
Reviewed
-
FileSystem#createNonRecursive() is undeprecated.
Description
FileSystem#createNonRecursive() is deprecated.
However, there is no DistributedFileSystem#create() implementation which throws exception if parent directory doesn't exist.
This limits clients' migration away from the deprecated method.
For HBase, IO fencing relies on the behavior of FileSystem#createNonRecursive().
Variant of create() method should be added which throws exception if parent directory doesn't exist.
Attachments
Attachments
Issue Links
- is related to
-
HBASE-11045 Replace deprecated method FileSystem#createNonRecursive
- Closed
- relates to
-
HADOOP-12445 TestNativeAzureFileSystemOperationsMocked fails in trunk
- Resolved