Changes between Version 16 and Version 17 of waue/2009/0402


Ignore:
Timestamp:
Apr 2, 2009, 3:18:27 PM (15 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2009/0402

    v16 v17  
    153153}}}
    154154
    155  === -move ===
    156  * 移動受損文件到/lost+found
    157  === -delete ===
    158  * 刪除受損文件。
    159  === -openforwrite ===
    160  * 印出寫打開的文件。
     155 || -move || -delete || -openforwrite ||
     156 || 移動受損文件到/lost+found || 刪除受損文件 || 印出寫打開的文件 ||
    161157
    162  === -files ===
    163  * 印出正被檢查的文件
    164  === -blocks ===
    165  * 印出區塊的資訊
    166  === -locations ===
    167  * 印出每個區塊的位置
    168  === -racks ===
    169  * 印出data-node的網絡拓撲結構
     158 || -files || -blocks || -locations || -racks ||
     159 || 印出正被檢查的文件 || 印出區塊的資訊 || 印出每個區塊的位置 || 印出data-node的網絡拓撲結構 ||
    170160
    171161 如:
    172 
     162{{{
    173163$ bin/hadoop fsck /user/waue/input/1.txt -files -blocks -locations
    174164
    175165/user/waue/input/1.txt 115045564 bytes, 2 block(s):  Under replicated blk_-90085106852013388_1001. Target Replicas is 3 but found 2 replica(s).
    176 
    177166 Under replicated blk_-4027196261436469955_1001. Target Replicas is 3 but found 2 replica(s).
    178 
    1791670. blk_-90085106852013388_1001 len=67108864 repl=2 [140.110.138.191:50010, 140.110.141.129:50010]
    180 
    1811681. blk_-4027196261436469955_1001 len=47936700 repl=2 [140.110.138.191:50010, 140.110.141.129:50010]
    182 
    183 
    184 
    185169Status: HEALTHY
    186 
    187170 Total size:    115045564 B
    188 
    189171 Total dirs:    0
    190 
    191172 Total files:   1
    192 
     173....(略)
     174}}}