我在 Amazon Elastic MapReduce 上安装了 hadoop,每当我尝试重新启动集群时,我都会收到以下错误:
/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).
关于如何重启 hadoop 有任何想法吗?
最佳答案
以下 hack 对我有用。
我已将 sbin/slaves.sh 和 sbin/hadoop-daemon.sh 中的“ssh”命令替换为“ssh -i ~/.ssh/keyname”
关于hadoop - 如何在emr上重启hadoop集群,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18813958/