Changes between Version 7 and Version 8 of waue/2009/0402


Ignore:
Timestamp:
Apr 2, 2009, 11:57:28 AM (15 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2009/0402

    v7 v8  
    4545
    4646= 檢查hdfs磁碟狀況 =
    47 
     47 * fsck 可以
    4848{{{
    4949$ bin/hadoop fsck /
     
    7575The filesystem under path '/' is HEALTHY
    7676}}}
     77
     78 * 加不同的參數有不同的用處,如
     79{{{
     80$ bin/hadoop fsck / -files
     81
     82
     83/tmp <dir>
     84
     85/tmp/hadoop <dir>
     86
     87/tmp/hadoop/hadoop-waue <dir>
     88
     89/tmp/hadoop/hadoop-waue/mapred <dir>
     90
     91/tmp/hadoop/hadoop-waue/mapred/system <dir>
     92
     93/user <dir>
     94
     95/user/waue <dir>
     96
     97/user/waue/input <dir>
     98
     99/user/waue/input/1.txt 115045564 bytes, 2 block(s):  Under replicated blk_-90085106852013388_1001. Target Replicas is 3 but found 2 replica(s).
     100
     101 Under replicated blk_-4027196261436469955_1001. Target Replicas is 3 but found 2 replica(s).
     102
     103/user/waue/input/2.txt 987864 bytes, 1 block(s):  Under replicated blk_-2300843106107816641_1002. Target Replicas is 3 but found 2 replica(s).
     104
     105/user/waue/input/3.txt 1573048 bytes, 1 block(s):  Under replicated blk_-1561577350198661966_1003. Target Replicas is 3 but found 2 replica(s).
     106
     107/user/waue/input/4.txt 25844527 bytes, 1 block(s):  Under replicated blk_1316726598778579026_1004. Target Replicas is 3 but found 2 replica(s).
     108
     109Status: HEALTHY
     110
     111....(同上)
     112}}}