Description
In some cases, we need to use the block id to get the hdfs file path. However, the retention time of hdfs namenode log is limited. Maybe we can't get the block information. If you run fsck / -flies -blocks | grep '$blockId', you will find that it is very heavy and the hdfs service performance is affected. So it is need to add the tool that getting the hdfs file path through block id.