本文介绍了如何在emr上重新启动hadoop集群的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Amazon Elastic MapReduce上安装了hadoop安装,每当我尝试重新启动集群时,都会收到以下错误消息:
/stop-all.sh
no jobtracker停止
主机'localhost(:: 1)'的真实性无法建立。 RSA密钥指纹是
您确定要继续连接(是/否)吗?是
localhost:警告:永久性地将'localhost'(RSA)添加到已知主机列表中。
localhost:权限被拒绝(publickey)。
no namenode停止
localhost:权限被拒绝(publickey)。
localhost:权限被拒绝(publickey)。
有关如何重新启动hadoop的想法?
我已经用sbin / slaves.sh& amp; amp; sbin替换了ssh命令。 sbin / hadoop-daemon.sh与ssh -i〜/ .ssh / keyname
I have a hadoop installation on the Amazon Elastic MapReduce , whenever I try to restart the cluster I get the following error:
/stop-all.sh
no jobtracker to stop
The authenticity of host 'localhost (::1)' can't be established. RSA key fingerprint is
Are you sure you want to continue connecting (yes/no)? yes
localhost: Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
localhost: Permission denied (publickey).
no namenode to stop
localhost: Permission denied (publickey).
localhost: Permission denied (publickey).
Any idea on how to restart hadoop?
解决方案
Following hack worked for me.
I have replaced "ssh" command in sbin/slaves.sh & sbin/hadoop-daemon.sh with "ssh -i ~/.ssh/keyname"
这篇关于如何在emr上重新启动hadoop集群的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
08-24 05:30