Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
D-store报告中Missing blocks数目不为0的处理操作
04-19-2018, 06:40 PM (This post was last modified: 04-19-2018 06:40 PM by xwcwt.)
Post: #1
D-store报告中Missing blocks数目不为0的处理操作
当D-store报告中Missing blocks的数目不为0时,表明有数据处于corrupt状态,可能是某个/些节点的datanode进程异常或者物理硬盘异常导致数据的block丢失。此时可通过
Code:
hdfs fsck /
获得具体是哪些文件出现了corrupt状态。如果是datanode进程异常导致可根据 http://tab.d-thinker.org/showthread.php?tid=11188 在相关节点重启D-store服务后corrupt的数据便会恢复正常,如果是物理硬盘故障需要根据实际情况做相应判断。

FAQ-ID:11240
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: