Created
July 2, 2015 08:04
-
-
Save xman1980/5b4c4638a203b5452211 to your computer and use it in GitHub Desktop.
hdfs_fsck_grep_files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hadoop fsck / | egrep -v '^\.+$' | grep -v replica | grep -v Replica | head -n3000 | awk -F: '{print $1}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment