wiki:jazz/08-11-04

Version 8 (modified by jazz, 16 years ago) (diff)

--

2008-11-04

  • Devaraj Das 來訪
    • 09:30 - 10:30 拜會中心主任
    • 11:00 - 12:30 Public Talk Session: "Introduction to Hadoop and Cloud Computing" @ 北群多媒體
    • 14:00 - 17:00 Hands-on Labs (1): "Basics of DFS commands + How to develop MapReduce program using Hadoop?" @ 北群多媒體
  • Hadoop Hands-on Labs (1)
    • download hadoop-0.18.2
      $ wget http://ftp.twaren.net/Unix/Web/apache/hadoop/core/hadoop-0.18.2/hadoop-0.18.2.tar.gz
      $ tar zxvf hadoop-0.18.2.tar.gz
      
    • [注意] 需要 JAVA_HOME 環境變數才能執行 hadoop namenode
      $ export JAVA_HOME=/usr/lib/jvm/java-6-sun
      $ cd hadoop-0.18.2
      ~/hadoop-0.18.2$ bin/hadoop namenode -format
      
    • conf/hadoop-site.xml
      <configuration>
      <property>
        <name>fs.default.name</name>
        <value>localhost:5000</value>
       </property>
      </configuration>
      
    • 啟動 namenode
      ~/hadoop-0.18.2$ bin/hadoop namenode 
      <ctrl-C> and come out
      $  bin/start-dfs.sh
      
    • http://localhost:50070/