-
Type:
Improvement
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.0-alpha1
-
Fix Version/s: 3.0.0-alpha4
-
Component/s: shell
-
Labels:
-
Target Version/s:
-
Hadoop Flags:Reviewed
Quoting my comments in HDFS-10974:
Looking at code again, I think we can improve the handling of EC files better:
- In SetReplication#processPath, can we check if the file is EC before invoking setReplication() on it?
- -setrep also has a command switch -w to wait for the file to be replicated. Can we ignore this if the file is erasure coded?
Also, in fact, -setrep only make sense for HDFS file system...