You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Vinayakumar B (JIRA)" <ji...@apache.org> on 2018/09/03 09:12:00 UTC

[jira] [Updated] (HDFS-13774) EC: "hdfs ec -getPolicy" is not retrieving policy details when the special REPLICATION policy set on the directory

     [ https://issues.apache.org/jira/browse/HDFS-13774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinayakumar B updated HDFS-13774:
---------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 3.1.2
                   3.2.0
           Status: Resolved  (was: Patch Available)

Committed to trunk and branch-3.1

Thanks [~xiaochen],  [~ayushtkn] and [~SouryakantaDwivedy].

Removed one extra period (.) before commit.

> EC: "hdfs ec -getPolicy" is not retrieving policy details when the special REPLICATION policy set on the directory
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-13774
>                 URL: https://issues.apache.org/jira/browse/HDFS-13774
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: erasure-coding
>    Affects Versions: 3.0.0
>         Environment: 3 Node Linux Cluster
>            Reporter: Souryakanta Dwivedy
>            Assignee: Ayush Saxena
>            Priority: Minor
>             Fix For: 3.2.0, 3.1.2
>
>         Attachments: GetPolicy_EC.png, HDFS-13774-01.patch, HDFS-13774-02.patch
>
>
>  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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org