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 "Lei (Eddy) Xu (JIRA)" <ji...@apache.org> on 2017/12/13 01:28:00 UTC

[jira] [Created] (HDFS-12921) DFS.setReplication should throw IOE on EC files

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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org