What\'s the easiest way to find file associated with a block in HDFS given a block Name/ID
Not sure when this was introduced but you can do this
hdfs fsck -blockId hdfs fsck -blockId blk_1100790203 Connecting to namenode FSCK started by hdfs Block Id: blk_1100790203 Block belongs to: /common/FFL1447685899336.txt