recherche

Maison  >  Questions et réponses  >  le corps du texte

python - Windows上的Eclipse如何连接VMware虚拟机内Ubuntu的HDFS?

背景

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:

1

<code>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;</code>

Define Hadoop Location:

Error2:

1

<code>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.****</code>

Define Hadoop Location:

Ubuntu上Hadoop配置

core-site.xml

mapred-site.xml.tempalte

slaves

1

<code>localhost</code>

没有master文件

以上, 我该怎么办?

大家讲道理大家讲道理2898 Il y a quelques jours325

répondre à tous(0)je répondrai

Pas de réponse
  • Annulerrépondre