Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0.0
-
None
-
3 Node Linux Cluster
-
Reviewed
Description
Erasure coding: "hdfs ec -getPolicy"" is not retrieving policy details when the special REPLICATION policy set on the directory
Steps :-
- Create a directory "testEC"
- Get the EC policy for the directory [Received message as : "The erasure coding policy of /testEC is unspecified" ]
- Enable any Erasure coding policy like "XOR-2-1-1024k"
- Set the EC Policy on the Directory
- Get the EC policy for the directory [Received message as : "XOR-2-1-1024k" ]
- Now again set the EC Policy on the directory as "replicate" special REPLICATION policy
- Get the EC policy for the directory [Received message as : "The erasure coding policy of /testEC is unspecified" ]
The policy is being set for the Directory ,but while retrieving policy details its throwing error as
policy for the directory is unspecified which is wrong behavior