wiki:YZU130807/Lab17

◢ <實作十六> | <回課程大綱> ▲ | <實作十八> ◣

實作十七 Lab 17

偽分散式模式(Pseudo-Distributed Mode)操作觀察
Hadoop Pseudo-Distributed Mode
user@node36:~$ cd hadoop_labs/
user@node36:~/hadoop_labs$ lab001/hadoop-pseudo-mode
user@node36:~/hadoop_labs$ jps
user@node36:~/hadoop_labs$ hadoop fs -ls
user@node36:~/hadoop_labs$ hadoop fs -mkdir tmp
user@node36:~/hadoop_labs$ hadoop fs -ls
user@node36:~/hadoop_labs$ cd ~/tmp
user@node36:~/tmp$ hadoop fs -put ${HOME}/hadoop/conf input
user@node36:~/tmp$ hadoop fs -ls
user@node36:~/tmp$ hadoop jar hadoop-examples-*.jar wordcount input output
Last modified 11 years ago Last modified on Aug 27, 2013, 2:34:01 PM