Skip to content

Instantly share code, notes, and snippets.

@alexanderlz
Created February 20, 2013 17:28
Show Gist options
  • Save alexanderlz/4997312 to your computer and use it in GitHub Desktop.
Save alexanderlz/4997312 to your computer and use it in GitHub Desktop.
In case you need to find a filename by block_id in hdfs
sudo -u hdfs hadoop fsck / -files -blocks | grep BAD_BLOCK_ID -B 5
@guydou
Copy link

guydou commented Feb 28, 2013

Saved us for the 3rd time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment