Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save terrancesnyder/95a6c98c1472ccd598cfd4e32f941f73 to your computer and use it in GitHub Desktop.
Save terrancesnyder/95a6c98c1472ccd598cfd4e32f941f73 to your computer and use it in GitHub Desktop.
Corrupted Files
hadoop fsck / | egrep -v '^\.+$' | grep -v corrup | grep / | grep -oh '^\S*:' | rev | cut -c 2- | rev | sort | uniq > corrupted.flst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment