Contents

1
2 れ 蠍


http://blog.naver.com/gsk1047?Redirect=Log&logNo=113239580

1 #

′ 豺 ろ 襦(http://hadoop.apache.org/) 譴 襦 覿 貉危 ろ 語 手 . 螳讌 襦 れ 襷 HBase, Pig, ZooKeeper, Hive 煙 蠏瑚企.

2 れ 蠍 #

′ 朱 襴 蟆曙 れ螳 螳ロ 企朱 襴 覈轟企れ 蠍 覓語企. 磯殊 蟆曙企朱 襴 覈轟企ゼ 蟆曙企朱 れ螳 螳 . 蠍一 磯 覯 覯 蠍一朱 れ 覲企襦 蟆.
螳 豌覯讌碁 覦襯 れ 伎 . 豌願 覦襦 襷れ伎 蠍 覓語企. 讌襷 ′ C++ 襭觜, 伎 讌. 蠏碁 伎覿 ′ れ 覲願鍵襦 .

1. jdk れ 蠍
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=java_ee_sdk-6u1u21-wjdk-oth-JPR@CDS-CDS_SMI
hadoop启襯 襷り jdk襯 れ 覦 豢 伎 .

2. hadoop れ 蠍
http://mirror.apache-kr.org//hadoop/core/
れ襯 れ 覦螻 豢 伎 . 襷れ企 hadoop启 豢 伎 .

3. 蟆暑 れ 蠍
bash 蟆曙 れ企.
vi ~/.bashrc
export JAVA_HOME=jdk 豢 蟆暑襯 讌 .
export HADOOP_HOME=hadoop 豢 蟆暑襯 讌.
export PATH=$JAVA_HOME/bin:$HADOOP_HOME/bin:$PATH
企蟆 れ .
れ 殊 蠍 伎
. .bashrc source .bashrc襯 .

4. ろ 覲願鍵
伎 ′ ろ 讌 覲願鍵 伎 豺伎危 襯 覲伎.
れ 启襦 螳.

hadoop jar hadoop-0.20.2-examples.jar wordcount input.txt output

螻 output启 殊 覲伎
覲 る ′ れ 蟆企.
れ 螳 企ろ磯 蟆曙 蟲豢 覲企襦 蟆.