Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.23.0, 0.23.2, 0.24.0
-
None
Description
ViewFileSystem incorrectly returns the FileSystem default values for getDefaultBlockSize() and getDefaultReplication(). This causes files to be created with incorrect values. The problem is that the current apis are insufficient for viewfs because the defaults depend on the underlying mount point. These methods need counterparts that accept a Path so viewfs can resolve the mount point for a path.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-10425 Incompatible behavior of LocalFileSystem:getContentSummary
- Closed
-
HADOOP-8422 Deprecate FileSystem#getDefault* and getServerDefault methods that don't take a Path argument
- Closed
-
HADOOP-8430 Backport new FileSystem methods introduced by HADOOP-8014 to branch-1
- Closed
- relates to
-
HADOOP-9631 ViewFs should use underlying FileSystem's server side defaults
- Resolved
-
HDFS-3121 hdfs tests for HADOOP-8014
- Resolved
- requires
-
HADOOP-8015 ChRootFileSystem should extend FilterFileSystem
- Closed