wiki:Hinet130923/Lab15

Version 2 (modified by jazz, 11 years ago) (diff)

--

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

實作十五 Lab15

cd ~/hadoop_labs/lab007
ant
hadoop fs -rmr input output
hadoop fs -put ~/hadoop/conf input
hadoop jar WordCount.jar input output
export HADOOP_CONF_DIR=~/hadoop/conf.local/
hadoop fs -put ~/hadoop/conf local-input
hadoop jar WordCount local-input local-output
unset HADOOP_CONF_DIR