wiki:Hinet130923/Lab15

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

實作十五 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
Last modified 11 years ago Last modified on Sep 24, 2013, 3:35:53 PM