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 为我们的本地用户名。
以上是关于spark启动失败:localhost failed to add the host to the list of known hosts的主要内容,如果未能解决你的问题,请参考以下文章