linux上搭建Hadoop
linux环境
1.
/etc/hosts (是否必须)
http://hi.baidu.com/2enjoy/blog/item/28e4e721a24d62419922ed75.html
注意:机器是动态IP
cat ./a >> ./b
3.建立ssh无密码登录
?
在namenode上无密码登录本机
?
?
?配置文件2:hdfs-site.xml
?
?
配置文件3:mapred-site.xml
?
?
?
?
$hadoop namenode -format
参考http://dikar.iteye.com/blog/941877
?
starting namenode, logging to /home/djboss/hdtest/hadoop-1.0.2/libexec/../logs/hadoop-djboss-namenode-DevStation24.out192.168.123.61: starting datanode, logging to /home/djboss/hdtest/hadoop-1.0.2/libexec/../logs/hadoop-djboss-datanode-TestStation61.out192.168.123.24: starting secondarynamenode, logging to /home/djboss/hdtest/hadoop-1.0.2/libexec/../logs/hadoop-djboss-secondarynamenode-DevStation24.out?http://www.infoq.com/cn/articles/hadoop-config-tip
?