Created
February 20, 2013 17:28
-
-
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
This file contains 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
sudo -u hdfs hadoop fsck / -files -blocks | grep BAD_BLOCK_ID -B 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Saved us for the 3rd time