【发布时间】:2014-07-31 10:38:48
【问题描述】:
我在这里关注this Hadoop 教程。
我的最终目标是安装 Hadoop 和 Spark,以及什么不在我的 Mac 上,但老实说,我充其量是这方面的业余爱好者。
所以,我在执行 Psuedo-Distributed Operation 下进行了第 2 步,然后出现以下内容:
sudo start-dfs.sh
Password:
2014-06-10 18:42:01.200 java[6982:1303] Unable to load realm info from SCDynamicStore
14/06/10 18:42:01 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [localhost]
The authenticity of host 'localhost (::1)' can't be established.
RSA key fingerprint is 17:d5:20:eb:8d:f9:24:2f:c6:46:d7:e2:f5:6a:b8:c1.
Are you sure you want to continue connecting (yes/no)? yes
localhost: Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
Password:
Password:
Password:
localhost: Permission denied (publickey,keyboard-interactive).
基本上,我输入了用户 lanceguinto 的密码,但显然不正确。值得注意的是,我没有遵循 Setup passphraseless ssh 部分,因为我认为这是不必要的 - 我已经可以 ssh,但我完全确定代码可以。
在设置过程中,我还简单地使用了本地用户。我没有 sudo su / 任何东西。
那么,我该如何解决这个问题呢?谢谢。
【问题讨论】: