Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha1, 3.1.0
-
None
-
Reviewed
Description
Scenario:-
---------------
Operation on snapshot dir.
EC policy
bin> ./hdfs ec -getPolicy -path /dir/
RS-3-2-1024k
bin> ./hdfs ec -getPolicy -path /dir/.snapshot/
FileNotFoundException: Path not found: /dir/.snapshot
bin> ./hdfs dfs -ls /dir/.snapshot/
Found 2 items
drwxr-xr-x - user group 0 2017-12-05 12:27 /dir/.snapshot/s1
drwxr-xr-x - user group 0 2017-12-05 12:28 /dir/.snapshot/s2
Storagepolicies
bin> ./hdfs storagepolicies -getStoragePolicy -path /dir/.snapshot/
The storage policy of /dir/.snapshot/ is unspecified
bin> ./hdfs storagepolicies -getStoragePolicy -path /dir/
The storage policy of /dir/:
BlockStoragePolicy
Which is the correct behavior ?
Attachments
Attachments
Issue Links
- is related to
-
HDFS-13087 Snapshotted encryption zone information should be immutable
- Resolved