Windows IP:118.228.171.188;Ubuntu IP:192.168.162.138
在Windows下,Ping ubuntu_ip 成功;使用Putty远程登录ubuntu_ip成功,但是要输入用户名和密码:
在Ubuntu下,Ping windows_ip成功;ssh localhost不用输入密码;“hdfs getconf -confKey fs.default.name”的输出是“hdfs://localhost:9000”。
hosts文件:
搭建Hadoop-2.7.3伪分布模式,在Ubuntu上,可以访问http://localhost:50070和http://localhost:50090,也可以使用9000端口:
Error 1:
Failed on local exception: com.google.protobuf.InvalidProtocolBufferException: Protocol message end-group tag did not match expected tag.; Host Details : local host is: "win_user_name/118.228.171.188"; destination host is: "192.168.162.138":50070;
Define Hadoop Location:
Error2:
Call From win_user_name/118.228.171.188 to 192.168.162.138:9000 failed on connection exception java.net.ConnectException: Connection refused : no further infomation; For more details see: http://apache.****
Define Hadoop Location:
core-site.xml
mapred-site.xml.tempalte
slaves
localhost
没有master文件
以上, 我该怎么办?
光阴似箭催人老,日月如移越少年。