hadoop中ssh无密码访问什么时候会用到?

本文讨论了在管理Hadoop集群时如何利用SSH进行远程操作,避免使用rlogin等过时的方法。特别强调了在启动和停止集群时,start-all.sh和stop-all.sh脚本如何使用SSH来实现跨节点的命令执行。

在namenode执行start-all.sh和stop-all.sh时候会通过ssh执行相关命令

 

 

cloudera网站:
When SSH is and is not Used

It is a good idea to use SSH for remote administration purposes (instead of rlogin, for example) but note that Hadoop itself and the related services do not use SSH for communication as a matter of course. Some scripts, and in particular the Hadoop start-all and stop-all scripts, do use SSH, but otherwise SSH is not used for communication among the following:

Datanode
Namenode
TaskTracker
JobTracker
/etc/init.d scripts (which start daemons locally)
 

参考:https://ccp.cloudera.com/display/CDHDOC/CDH3+Deployment+on+a+Cluster

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值