项目场景:
集群断电重启块丢失,50070页面报错:There are 2 missing blocks. The following files may be corrupted
问题描述:
There are 2 missing blocks. The following files may be corrupted
解决方案:
1.哪一个文件的数据块丢失了:hdfs fsck / -list-corruptfileblocks
2.删除数据块信息: hdfs fsck 路径 -delete