[
https://issues.apache.org/jira/browse/HDFS-10974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15556297#comment-15556297
]
Wei-Chiu Chuang commented on HDFS-10974:
----------------------------------------
I think the easiest approach is to add this note somewhere in the HDFS Erasure
Coding doc so that admins do not panic :) Most tools like -ls, -stat use
FileStatus which is an abstraction for all file systems. Some of the file
systems do not support replication factor (e.g. S3) so this is not unexpected.
> Document replication factor for EC files.
> -----------------------------------------
>
> Key: HDFS-10974
> URL: https://issues.apache.org/jira/browse/HDFS-10974
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: documentation, erasure-coding
> Affects Versions: 3.0.0-alpha1
> Reporter: Wei-Chiu Chuang
> Assignee: Yiqun Lin
>
> The replication factor of an EC file is 0 from a user perspective. This
> affects all user visible commands and APIs, such as {{hdfs dfs -ls}}, {{hdfs
> dfs -stat}}, webhdfs, httpfs...etc.
> In addition, FileSystem#setReplication API for an EC file is ignored. So is
> the command {{hdfs dfs -setrep}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]