Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
When i set replicate EC policy for ecDir,then query it by getPolicy,it return ‘The erasure coding policy of /ecDir is unspecified', as follow.
[root@master bin]# hdfs dfs -mkdir /ecDir
[root@master bin]# hdfs ec -setPolicy -path /ecDir -replicate
Set erasure coding policy replication on /ecDir
[root@master bin]# hdfs ec -getPolicy -path /ecDir
The erasure coding policy of /ecDir is unspecified
Attachments
Issue Links
- is related to
-
HDFS-12308 Erasure Coding: Provide DistributedFileSystem & DFSClient API to return the effective EC policy on a directory or file, including the replication policy
- Patch Available