官方文档:http://hadoop.apache.org/docs/r1.0.4/
1.安装ssh和rsync
$ sudo apt-get install ssh
$ sudo apt-get install rsync
解压hadoop安装包
$ tar -zxvf hadoop-1.0.4.tar.gz
配置JAVA_HOME
$ gedit ~/hadoop-1.0.4/conf/hadoop-env.sh
在打开的窗口中将
# The java implementation to use. Required.
# export JAVA_HOME=/usr/lib/j2sdk1.5-sun
改为