wiki:waue/2009/0818

Version 3 (modified by waue, 15 years ago) (diff)

--

編譯 hadoop

0. environment

hadoop 安裝於 /opt hadoop_home = /opt/hadoop
forrest 目錄/opt/forrest-0.8 下載
java 5 目錄/usr/lib/jvm/java-1.5.0-sun
java 6 目錄/usr/lib/jvm/java-6-sun

1. svn checkout

$ cd /opt
$ sudo svn co http://svn.apache.org/repos/asf/hadoop/common/trunk
$ sudo mv trunk hadoop
$ sudo chown `$USER:$USER` hadoop

2. ant