Lei (Eddy) Xu created HDFS-12921:
------------------------------------

             Summary: DFS.setReplication should throw IOE on EC files
                 Key: HDFS-12921
                 URL: https://issues.apache.org/jira/browse/HDFS-12921
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: erasure-coding
    Affects Versions: 3.0.0-beta1
            Reporter: Lei (Eddy) Xu


This was checked from {{o.a.h.fs.shell.SetReplication#processPath}}, however, 
{{DistributedFileSystem#setReplication()}} API is also a public API, we should 
move the check to {{DistributedFileSystem}} to prevent directly call this API 
on EC file.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to