Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
This jira plans to add storage policy support on directory, i.e., users can set/get storage policy for not only files but also directories.
We allow users to set storage policies for nested directories/files. For a specific file/directory, its storage policy then should be its own storage policy, if it is specified, or the storage policy specified on its nearest ancestral directory. E.g., for a path /foo/bar/baz, if two different policies are set on foo and bar (p1 for foo and p2 for bar), the storage policies for baz, bar, and foo should be p2, p2, and p1, respectively.
Attachments
Attachments
Issue Links
- relates to
-
HDFS-7093 Add config key to restrict setStoragePolicy
- Closed