hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SammiChen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12896) when set replicate EC policy for a directory or file,it's EC policy cannot be querying by getPolicy command.
Date Wed, 06 Dec 2017 03:51:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-12896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16279618#comment-16279618
] 

SammiChen commented on HDFS-12896:
----------------------------------

Hi [~candychencan], thanks for reporting this!  Currently it's the designed behavior to not
return the special replicate EC policy when query.  HDFS-12308 is tracked to implement the
function to return effective EC policy. 

> when set replicate EC policy for a directory or file,it's EC policy cannot be querying
by getPolicy command.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-12896
>                 URL: https://issues.apache.org/jira/browse/HDFS-12896
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: chencan
>
> 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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message