Changes between Version 11 and Version 12 of III140322/Lab4


Ignore:
Timestamp:
Mar 23, 2014, 10:45:59 AM (10 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • III140322/Lab4

    v11 v12  
    8585The filesystem under path '/user/user0/test.img' is HEALTHY                   
    8686}}}
     87
     88== 修改副本個數 ==
     89
     90{{{
     91user0@hdp:~$ hadoop fs -setrep 2 /user/user0/test.img                         
     92Replication 2 set: hdfs://hdp:9000/user/user0/test.img
     93user0@hdp:~$ hadoop fsck /user/user0/test.img -files -blocks -locations       
     94FSCK started by user0 from /10.240.1.123 for path /user/user0/test.img at Sun
     95Mar 23 02:45:11 UTC 2014                                                     
     96/user/user0/test.img 104857600 bytes, 2 block(s):  OK                         
     970. blk_-4422576463029178583_1044 len=67108864 repl=2 [10.240.1.123:50010, 10.2
     9840.174.73:50010]                                                             
     991. blk_7793285600029540175_1044 len=37748736 repl=2 [10.240.1.123:50010, 10.24
     1000.116.151:50010]                                                             
     101                                                                             
     102Status: HEALTHY                                                               
     103 Total size:    104857600 B                                                   
     104 Total dirs:    0                                                             
     105 Total files:   1                                                             
     106 Total blocks (validated):      2 (avg. block size 52428800 B)               
     107 Minimally replicated blocks:   2 (100.0 %)                                   
     108 Over-replicated blocks:        0 (0.0 %)                                     
     109 Under-replicated blocks:       0 (0.0 %)                                     
     110 Mis-replicated blocks:         0 (0.0 %)                                     
     111 Default replication factor:    1                                             
     112 Average block replication:     2.0                                           
     113 Corrupt blocks:                0                                             
     114 Missing replicas:              0 (0.0 %)                                     
     115 Number of data-nodes:          9                                             
     116 Number of racks:               1                                             
     117FSCK ended at Sun Mar 23 02:45:11 UTC 2014 in 0 milliseconds                 
     118                                                                             
     119                                                                             
     120The filesystem under path '/user/user0/test.img' is HEALTHY                   
     121}}}