hadoop cannot assign requested address:
解决方法:
namenode与JobTrack分开部署后,在namenode端启动hadoop时报错:
Caused by: java.net.BindException: Cannot assign requested address
找了很久也没找到原因,最后发现是自己理解上的错误
分开部署后其实是两台电脑负责控制整个hadoop集群,一台负责dfs,一台负责mapreduce,所以不能简单从一台namenode上start-all,应该在namenode启动start-dfs.sh,在mapreduce上启动start-mapred.sh