windows下搭建hadoop集群,ssh localhost都没有问题,但无法互联,是什么原因?

[复制链接]
查看11 | 回复4 | 2021-1-27 06:11:02 | 显示全部楼层 |阅读模式
在windows下搭建hadoop集群(两台机器,分别是作为master的XP和slave的win7),cygwin和hadoop均已配置
现在xp无法通过ssh连接win7
信息如下:
[email protected]
OpenSSH_6.1p1,OpenSSL1.0.1c10May2012
debug1:Readingconfigurationdata/etc/ssh_config
debug1:Connectingto192.168.84.1[192.168.84.1]port22.
debug1:Connectionestablished.
debug1:identityfile/home/Administrator/.ssh/id_rsatype-1
debug1:identityfile/home/Administrator/.ssh/id_rsa-certtype-1
debug1:identityfile/home/Administrator/.ssh/id_dsatype-1
debug1:identityfile/home/Administrator/.ssh/id_dsa-certtype-1
debug1:identityfile/home/Administrator/.ssh/id_ecdsatype-1
debug1:identityfile/home/Administrator/.ssh/id_ecdsa-certtype-1
ssh_exchange_identification:Connectionclosedbyremotehost
但win7的可以连上xp
[email protected]
OpenSSH_6.2p1,OpenSSL1.0.1e11Feb2013
debug1:Readingconfigurationdata/etc/ssh_config
debug1:Connectingto192.168.84.50[192.168.84.50]port22.
debug1:Connectionestablished.
debug1:identityfile/home/think/.ssh/id_rsatype1(上面是-1)
debug1:identityfile/home/think/.ssh/id_rsa-certtype-1
debug1:identityfile/home/think/.ssh/id_dsatype-1
debug1:identityfile/home/think/.ssh/id_dsa-certtype-1
debug1:identityfile/home/think/.ssh/id_ecdsatype-1
debug1:identityfile/home/think/.ssh/id_ecdsa-certtype-1
debug1:Enablingcompatibilitymodeforprotocol2.0--好像问题出在这里?
……
debug1:Nextauthenticationmethod:password
不知道哪位有相关的经验可以帮忙解决一下?
分 -->
回复

使用道具 举报

千问 | 2021-1-27 06:11:02 | 显示全部楼层
在多台物理机上接通CYGWIN真心麻烦
如果只是跑测试,建议在换成VMwareWorkstation
回复

使用道具 举报

千问 | 2021-1-27 06:11:02 | 显示全部楼层
引用1楼tntzbzc的回复:在多台物理机上接通CYGWIN真心麻烦
如果只是跑测试,建议在换成VMwareWorkstation

后来尝试在VMware下连……结果还是一样估计是电脑的问题都统一系统统一各种软件的版本了……
环境问题,说多了都是泪啊
Thanksallthesame.
回复

使用道具 举报

千问 | 2021-1-27 06:11:02 | 显示全部楼层
win只能做开发平台的。你如果用cygwin,后面你会发现hive会悲剧,因为我了解到的0.10.0版本都不支持cygwin。没刀片的话可以使用ubuntu,安装到笔记本上都行。
回复

使用道具 举报

千问 | 2021-1-27 06:11:02 | 显示全部楼层
用虚拟机模拟装CentOS或者Ubuntu搞吧。win真的只能做开发平台,不适合部署hadoop。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行