spark启动失败:localhost failed to add the host to the list of known hosts

Posted 一米阳光213

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了spark启动失败:localhost failed to add the host to the list of known hosts相关的知识,希望对你有一定的参考价值。

问题描述:安装了 spark(单机集群模式),启动命令:

$SPARK_HOME/sbin/start-all.sh

报错:localhost failed to add the host to the list of known hosts

解决办法:

ssh-keygen -t rsa
ssh-copy-id username@127.0.0.1

username 为我们的本地用户名。

参考链接:https://stackoverflow.com/questions/34928228/failed-to-add-the-host-to-the-list-of-known-hosts-how-to-debug/34928589

以上是关于spark启动失败:localhost failed to add the host to the list of known hosts的主要内容,如果未能解决你的问题,请参考以下文章

Spark启动时报错localhost: failed to launch: nice -n 0 /home/chan/spark/spark-2.4.3-bin-hadoop2.7/bin/spar

spark启动失败:requirement failed: No output operations registered, so nothing to execute

spark启动失败:requirement failed: No output operations registered, so nothing to execute

Tomcat启动报错Server Tomcat v8.5 Server at localhost failed to start

tomcat启动失败_严重: A child container failed during start

Tomcat无法启动:Server Tomcat v8.5 Server at localhost failed to start