Quoting my comments in
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...