Changes between Version 5 and Version 6 of waue/2009/0403


Ignore:
Timestamp:
Apr 3, 2009, 5:02:13 PM (15 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2009/0403

    v5 v6  
    140140{{{
    141141$ bin/hadoop fs -setrep -w 2 -R input
    142 
    143142Replication 2 set: hdfs://gm1.nchc.org.tw:9000/user/waue/input/1.txt
    144 
    145143Replication 2 set: hdfs://gm1.nchc.org.tw:9000/user/waue/input/2.txt
    146 
    147144Replication 2 set: hdfs://gm1.nchc.org.tw:9000/user/waue/input/3.txt
    148 
    149145Replication 2 set: hdfs://gm1.nchc.org.tw:9000/user/waue/input/4.txt
    150 
    151146Waiting for hdfs://gm1.nchc.org.tw:9000/user/waue/input/1.txt ... done
    152 
    153147Waiting for hdfs://gm1.nchc.org.tw:9000/user/waue/input/2.txt ... done
    154 
    155148Waiting for hdfs://gm1.nchc.org.tw:9000/user/waue/input/3.txt ... done
    156 
    157149Waiting for hdfs://gm1.nchc.org.tw:9000/user/waue/input/4.txt ... done
    158150}}}
     
    161153{{{
    162154$ bin/hadoop fs -stat input
    163 
    1641552009-04-02 03:51:29
    165156}}}
     
    189180{{{
    190181$ bin/hadoop dfs -text b/a.txt.zip
    191 
    192182PK
    193 
    194183���:��H{
    195 
    196 
    197 
    198184        a.txtUT        b��Ib��IUx��sssss
    199 
    200185test
    201 
    202186PK
    203 
    204187���:��H{
    205 
    206 
    207 
    208188��a.txtUTb��IUxPK@C
    209189}}}
    210190== -touchz ==
    211  *
     191 * 建立一個空文件
    212192{{{
    213193$ bin/hadoop dfs -touchz b/kk
    214194$ bin/hadoop dfs -test -z b/kk
    215 
    216195$ echo $?
    217 
    2181961
    219 
    220197$ bin/hadoop dfs -test -z b/a.txt.zip
    221 
    222198$ echo $?
    223 
    2241990
    225 
    226 
    227 }}}
     200}}}