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

被折叠的 条评论
为什么被折叠?



