hm@hm-ubuntu:~$ ifconfig
hm@hm-ubuntu:~$ sudo gedit /etc/network/interfaces
hm@hm-ubuntu:~$ sudo /etc/init.d/networking restart
再次查看网卡配置:
java
hm@hm-ubuntu:~$ sudo gedit /etc/hosts
重启Ubuntu
node
注意切换当前使用的网卡。
shell
针对hdfs-site.xml文件:
apache
针对core-site.xml文件:
ubuntu
链接到Map/Reduce地址错误
Cannot connect to the Map/Reduce location: ubuntu Call to hm-ubuntu/192.168.1.251:9001 failed on connection exception: java.net.ConnectException: Connection refused: no further information
解决:
下一步。
网络
hm@hm-ubuntu:~$ hadoop namenode -format hm@hm-ubuntu:~$ start-all.sh
错误:
解决:
修改/etc/hosts文件:
重启Ubuntu
eclipse
错误:
权限控制异常:拒绝访问:用户=Win7用户,权限=*,可用名单="system":Ubuntu用户:超级用户组:rwx------
Error: org.apache.hadoop.security.AccessControlException:Permission denied: user=Administrator, access=READ_EXECUTE, inode="system":hm:supergroup:rwx------
oop
解决:
下一步。
spa
控制面板,用户帐户,管理其余帐户,双击“Administrator”,更改帐户名称: .net
右键“计算机”,管理,本地用户和组,用户:
修改组名:
(1)控制面板,用户帐户,管理其余帐户,建立一个新帐户:
(2)设置密码(可选):
(3)切换用户:
(4)而后可能会有不少意外...
略 - end