赞
踩
There are 4 missing blocks. The following files may be corrupted
Please check the logs or run fsck in order to identify the missing blocks. See the Hadoop FAQ for common causes and potential solutions.
hadoop fsck /tmp/logs/root/logs-tfile/ | grep parquet
可以看到
- blk_1073755509 /spark-history/application_1703488625044_0273_1
- blk_1073758750 /tmp/logs/root/logs-tfile/application_1703488625044_0273/hadoop03_37847
- blk_1073758751 /tmp/logs/root/logs-tfile/application_1703488625044_0273/hadoop02_41829
- blk_1073758752 /tmp/logs/root/logs-tfile/application_1703488625044_0353/hadoop03_37847
确实各自都丢失了1个Block, 文件已经损坏,不可恢复。
因为我的环境为测试环境,可删除缺失文件,生产环境还需要斟酌判断。
- hdfs fsck -delete /spark-history/application_1703488625044_0273_1
-
- hdfs fsck -delete /tmp/logs/root/logs-tfile/application_1703488625044_0273/hadoop03_37847
-
- hdfs fsck -delete /tmp/logs/root/logs-tfile/application_1703488625044_0273/hadoop02_41829
-
- hdfs fsck -delete /tmp/logs/root/logs-tfile/application_1703488625044_0353/hadoop03_37847
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。