Member since
09-02-2014
1
Post
4
Kudos Received
0
Solutions
07-04-2017
12:54 PM
1 Kudo
You mentioned that you still need to fix the 'Under-Replicated Blocks'. This is what I found with google to fix: $ su - <$hdfs_user> $ hdfs fsck / | grep 'Under replicated' | awk -F':' '{print $1}' >> /tmp/under_replicated_files $ for hdfsfile in `cat /tmp/under_replicated_files`; do echo "Fixing $hdfsfile :" ; hadoop fs -setrep 3 $hdfsfile; done
... View more