There are 2 missing blocks. The following files may be corrupted: blk_1073755429 /tmp/logs/atguigu
步骤1,检查文件缺失情况
可以看到,
[atguigu@hadoop102 ~]$ hadoop fsck /user/hive/warehouse | grep parquet
WARNING: Use of this script to execute fsck is deprecated.
WARNING: Attempting to execute replacement "hdfs fsck" instead.
Connecting to namenode via http://hadoop102:9870/fsck?ugi=atguigu&path=%2Fuser%2Fhive%2Fwarehouse
确实发现 文件已经损坏,不可恢复。对于临时不太重要文件我们可以删除,在处理业务的时候。
切记是不太重要文件,这不是开玩笑!
为了让集群UI界面会到正常页面显示。
步骤2,删除缺失文件
hadoop fsck -delete /tmp/logs/atguigu/logs-tfile/application_1615942061191_0002/hadoop102_42257
hadoop fsck -delete /tmp/logs/atguigu/logs-tfile/application_1615942061191_0002/hadoop103_43744
与你丢失的文件路径要对应上