执行 start-all.sh 错误: Connection refused

如果是使用 Mac 操作系统运行 start-all.sh 发生下面错误时:

  1. % sh start-all.sh
  2. starting org.apache.spark.deploy.master.Master, logging to ...
  3. localhost: ssh: connect to host localhost port 22: Connection refused

你需要在你的电脑上打开 “远程登录” 功能。进入 系统偏好设置 —-> 共享 勾选打开 远程登录

阅读原文