close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_core.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Apr 3, 2009, 5:02:13 PM (17 years ago)
- Author:
-
waue
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v5
|
v6
|
|
| 140 | 140 | {{{ |
| 141 | 141 | $ bin/hadoop fs -setrep -w 2 -R input |
| 142 | | |
| 143 | 142 | Replication 2 set: hdfs://gm1.nchc.org.tw:9000/user/waue/input/1.txt |
| 144 | | |
| 145 | 143 | Replication 2 set: hdfs://gm1.nchc.org.tw:9000/user/waue/input/2.txt |
| 146 | | |
| 147 | 144 | Replication 2 set: hdfs://gm1.nchc.org.tw:9000/user/waue/input/3.txt |
| 148 | | |
| 149 | 145 | Replication 2 set: hdfs://gm1.nchc.org.tw:9000/user/waue/input/4.txt |
| 150 | | |
| 151 | 146 | Waiting for hdfs://gm1.nchc.org.tw:9000/user/waue/input/1.txt ... done |
| 152 | | |
| 153 | 147 | Waiting for hdfs://gm1.nchc.org.tw:9000/user/waue/input/2.txt ... done |
| 154 | | |
| 155 | 148 | Waiting for hdfs://gm1.nchc.org.tw:9000/user/waue/input/3.txt ... done |
| 156 | | |
| 157 | 149 | Waiting for hdfs://gm1.nchc.org.tw:9000/user/waue/input/4.txt ... done |
| 158 | 150 | }}} |
| … |
… |
|
| 161 | 153 | {{{ |
| 162 | 154 | $ bin/hadoop fs -stat input |
| 163 | | |
| 164 | 155 | 2009-04-02 03:51:29 |
| 165 | 156 | }}} |
| … |
… |
|
| 189 | 180 | {{{ |
| 190 | 181 | $ bin/hadoop dfs -text b/a.txt.zip |
| 191 | | |
| 192 | 182 | PK |
| 193 | | |
| 194 | 183 | ���:��H{ |
| 195 | | |
| 196 | | |
| 197 | | |
| 198 | 184 | a.txtUT b��Ib��IUx��sssss |
| 199 | | |
| 200 | 185 | test |
| 201 | | |
| 202 | 186 | PK |
| 203 | | |
| 204 | 187 | ���:��H{ |
| 205 | | |
| 206 | | |
| 207 | | |
| 208 | 188 | ��a.txtUTb��IUxPK@C |
| 209 | 189 | }}} |
| 210 | 190 | == -touchz == |
| 211 | | * |
| | 191 | * 建立一個空文件 |
| 212 | 192 | {{{ |
| 213 | 193 | $ bin/hadoop dfs -touchz b/kk |
| 214 | 194 | $ bin/hadoop dfs -test -z b/kk |
| 215 | | |
| 216 | 195 | $ echo $? |
| 217 | | |
| 218 | 196 | 1 |
| 219 | | |
| 220 | 197 | $ bin/hadoop dfs -test -z b/a.txt.zip |
| 221 | | |
| 222 | 198 | $ echo $? |
| 223 | | |
| 224 | 199 | 0 |
| 225 | | |
| 226 | | |
| 227 | | }}} |
| | 200 | }}} |