hdfs dfs -setrep -R -w 1 / ## under 'hdfs' account on backup HDFS node.
The above two commands runs perfect. But the problem is, although I don't preserve 'replication factor' ( 'r' value to '-p' option) when doing distcp, and specifically set all files to factor 1, it still doesn't help -- the Cloudera HDFS health check still reports the same 'under_replicated' type error.
The health test result for HDFS_UNDER_REPLICATED_BLOCKS has become bad: 10,377 under replicated blocks in the cluster. 10,681 total blocks in the cluster. Percentage under replicated blocks: 97.15%. Critical threshold: 40.00%.
Any one familar with this issue, please feel free to shed a light. Thanks a lot.