close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_fs.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Jun 29, 2013, 12:28:54 PM (11 years ago)
- Author:
-
jazz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v8
|
v9
|
|
32 | 32 | }}} |
33 | 33 | |
34 | | * https://raw.github.com/jazzwang/hadoop_labs/master/outline |
35 | | |
36 | 34 | * 觀察有幾個 java process |
37 | 35 | {{{ |
… |
… |
|
43 | 41 | user@node2:~/hadoop_labs$ netstat -nap | grep java |
44 | 42 | }}} |
| 43 | |
| 44 | * 讓我們來複習一下 HDFS 的基本操作 |
| 45 | {{{ |
| 46 | user@node2:~/hadoop_labs$ cd ~ |
| 47 | user@node2:~$ hadoop fs -ls |
| 48 | user@node2:~$ hadoop fs -mkdir tmp |
| 49 | user@node2:~$ hadoop fs -ls |
| 50 | user@node2:~$ ls |
| 51 | user@node2:~$ hadoop fs -put ${HOME}/hadoop/conf.local input |
| 52 | user@node2:~$ hadoop fs -ls |
| 53 | }}} |