Changes between Version 11 and Version 12 of YZU130807/Lab16


Ignore:
Timestamp:
Aug 27, 2013, 1:58:06 PM (11 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • YZU130807/Lab16

    v11 v12  
    4848
    4949 * 操作參考 - https://raw.github.com/jazzwang/hadoop_labs/master/outline
     50{{{
     51user@node36:~$ sudo apt-get install git
     52user@node36:~$ git clone https://github.com/jazzwang/hadoop_labs.git
     53user@node36:~$ hadoop_labs/lab000/hadoop-local-mode
     54user@node36:~$ jps
     55user@node36:~$ netstat -nap | grep java
     56user@node36:~$ export PATH=${HOME}/hadoop/bin:$PATH
     57user@node36:~$ hadoop fs -ls
     58user@node36:~$ hadoop fs -mkdir tmp
     59user@node36:~$ hadoop fs -ls
     60user@node36:~$ cd tmp
     61user@node36:~/tmp$ hadoop fs -put ${HOME}/hadoop/conf input
     62user@node36:~/tmp$ cp ~/hadoop/hadoop-examples-1.0.4.jar .   
     63user@node36:~/tmp$ hadoop jar hadoop-examples-1.0.4.jar wordcount input output
     64}}}