hadoop - 启动hadoop服务时ssh密钥不起作用
问题描述
当我启动 hadoop 守护进程时,出现以下错误
[hdp@localhost ~]$ start-all.sh
WARNING: Attempting to start all Apache Hadoop daemons as hdp in 10 seconds.
WARNING: This is not a recommended production deployment configuration.
WARNING: Use CTRL-C to abort.
Starting namenodes on [localhost]
localhost: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
Starting datanodes
localhost: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
Starting secondary namenodes [localhost.localdomain]
localhost.localdomain: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
Starting resourcemanager
Starting nodemanagers
localhost: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
解决方案
推荐阅读
- python - python/pyspark - 从 csv 读取特殊字符并将其写回文件
- java - Spring 如何在字符串中插入 ${x}?
- python-3.x - CelebA 数据集无法使用 tfds.load()
- react-native - 我们可以在服务器响应后调用 Animated.Timing() 吗?
- css - 如何css选择需要将鼠标悬停在它上面的元素
- python-3.x - 使用字典键/值重新映射数据帧值
- c# - 如何限制从 .net 核心中的 Web API 修改某些属性?
- r - 为什么 gl_speech 在使用 for 循环时会返回错误,而不是针对每个单独的文件?使用 tryCatch
- python - Python Discord Bot“无法连接到主机”-保持离线状态
- javascript - 通过 Telegram 机器人打印 Google 数据表单元格,打印从单元格中获取的图像作为链接参考