【问题标题】:Getting permission denied error while executing ./start-dfs.sh for a single node hadoop cluster, trying on CentOS在 CentOS 上尝试为单节点 hadoop 集群执行 ./start-dfs.sh 时获取权限被拒绝错误
【发布时间】:2020-03-09 23:10:44
【问题描述】:
[dsawale@localhost sbin]$ ./start-dfs.sh 
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).
2020-03-05 13:17:11,502 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

【问题讨论】:

  • 你解决了吗?一段时间不使用我的笔记本电脑后,这来了。必须是一些到期方面。所以,看看这意味着什么。

标签: hadoop hdfs


【解决方案1】:

此错误通常归因于您尚未创建和分发无密码 SSH 密钥这一事实。

您还需要从 /etc/hosts 中删除 localhost.localdomain

【讨论】:

  • 所以,最近我启动了我的 linux pc,centos 8。我现在突然收到这个错误并且已经重新生成。不解决它。为什么工作一年后突然出现这种情况?欢迎任何意见。
  • @thebluephantom 也许 OpenSSH / OpenSSL 升级了?我不知道 SSH 密钥的过期设置,至少不知道 Hadoop 文档具有的 keygen 命令
  • centos 有升级选项,不过这里确实有点疑惑。无论如何谢谢。
猜你喜欢
  • 2021-07-12
  • 1970-01-01
  • 2016-05-04
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2021-09-05
  • 1970-01-01
相关资源
最近更新 更多