hadoop 之hdfs數據塊修復方法: 1、手動修復 hdfs fsck / #檢查集群的健康狀態 hdfs debug recoverLease -path 文件位置 -retries 重試次數 #修復指定的hdfs數據塊。也就是關閉打開的文件。 檢查壞塊: hadoop fsck /user -files -blocks -locations 檢查是否有數據塊正在寫入: hadoop fsck /user openforwrite
hadoop 之hdfs數據塊修復方法: 1、手動修復 hdfs fsck / #檢查集群的健康狀態 hdfs debug recoverLease -path 文件位置 -retries 重試次數 #修復指定的hdfs數據塊。也就是關閉打開的文件。 檢查壞塊: hadoop fsck /user -files -blocks -locations 檢查是否有數據塊正在寫入: hadoop fsck /user openforwrite
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。