hadoop start-all.sh 现这个错误 ssh 免密码登入已经做好了 请各位大神帮帮忙啊 谢谢啦
执行start-all.sh就出现下面的错误startingnamenode,loggingto/home/Hadoop/hadoop-1.2.1/libexec/../...
执行 start-all.sh 就出现下面的错误
starting namenode, logging to /home/Hadoop/hadoop-1.2.1/libexec/../logs/hadoop-hadoop-namenode-master.out
The authenticity of host 'slave2 (192.168.1.12)' can't be established.
RSA key fingerprint is e4:61:02:27:09:08:a6:20:9b:71:e5:1f:bd:5a:1d:91.
Are you sure you want to continue connecting (yes/no)? slave1: starting datanode, logging to /home/Hadoop/hadoop-1.2.1/libexec/../logs/hadoop-hadoop-datanode-slave1.out
下面这是日志文件显示:
命令执行端日志:
Aug 20 03:20:41 slave2 sshd[4442]: Accepted password for hadoop from 192.168.1.10 port 38333 ssh2
Aug 20 03:20:41 slave2 sshd[4442]: pam_unix(sshd:session): session opened for user hadoop by (uid=0)
Aug 20 03:20:41 slave2 sshd[4442]: pam_unix(sshd:session): session closed for user hadoop
Aug 20 03:25:09 slave2 sshd[4549]: Connection closed by 192.168.1.10
Aug 20 03:28:40 slave2 sshd[4664]: Connection closed by 192.168.1.10
Aug 20 03:30:32 slave2 sshd[4701]: Connection closed by 192.168.1.10
接受端日志:
Aug 20 04:04:46 slave2 sshd[5882]: pam_unix(sshd:session): session opened for user hadoop by (uid=0)
Aug 20 04:04:51 slave2 sshd[5882]: pam_unix(sshd:session): session closed for user hadoop
Aug 20 04:05:32 slave2 sshd[5922]: Accepted publickey for hadoop from 192.168.1.10 port 58260 ssh2
Aug 20 04:05:32 slave2 sshd[5922]: pam_unix(sshd:session): session opened for user hadoop by (uid=0)
Aug 20 04:05:37 slave2 sshd[5922]: pam_unix(sshd:session): session closed for user hadoop
Aug 20 04:05:52 slave2 sshd[5952]: Connection closed by 192.168.1.10
Aug 20 04:06:00 slave2 sshd[5956]: Connection closed by 192.168.1.10
Aug 20 04:12:53 slave2 sshd[6075]: Connection closed by 192.168.1.10
Aug 20 04:15:38 slave2 sshd[6117]: Connection closed by 192.168.1.10
Aug 20 04:16:11 slave2 sshd[6136]: Connection closed by 192.168.1.10 展开
starting namenode, logging to /home/Hadoop/hadoop-1.2.1/libexec/../logs/hadoop-hadoop-namenode-master.out
The authenticity of host 'slave2 (192.168.1.12)' can't be established.
RSA key fingerprint is e4:61:02:27:09:08:a6:20:9b:71:e5:1f:bd:5a:1d:91.
Are you sure you want to continue connecting (yes/no)? slave1: starting datanode, logging to /home/Hadoop/hadoop-1.2.1/libexec/../logs/hadoop-hadoop-datanode-slave1.out
下面这是日志文件显示:
命令执行端日志:
Aug 20 03:20:41 slave2 sshd[4442]: Accepted password for hadoop from 192.168.1.10 port 38333 ssh2
Aug 20 03:20:41 slave2 sshd[4442]: pam_unix(sshd:session): session opened for user hadoop by (uid=0)
Aug 20 03:20:41 slave2 sshd[4442]: pam_unix(sshd:session): session closed for user hadoop
Aug 20 03:25:09 slave2 sshd[4549]: Connection closed by 192.168.1.10
Aug 20 03:28:40 slave2 sshd[4664]: Connection closed by 192.168.1.10
Aug 20 03:30:32 slave2 sshd[4701]: Connection closed by 192.168.1.10
接受端日志:
Aug 20 04:04:46 slave2 sshd[5882]: pam_unix(sshd:session): session opened for user hadoop by (uid=0)
Aug 20 04:04:51 slave2 sshd[5882]: pam_unix(sshd:session): session closed for user hadoop
Aug 20 04:05:32 slave2 sshd[5922]: Accepted publickey for hadoop from 192.168.1.10 port 58260 ssh2
Aug 20 04:05:32 slave2 sshd[5922]: pam_unix(sshd:session): session opened for user hadoop by (uid=0)
Aug 20 04:05:37 slave2 sshd[5922]: pam_unix(sshd:session): session closed for user hadoop
Aug 20 04:05:52 slave2 sshd[5952]: Connection closed by 192.168.1.10
Aug 20 04:06:00 slave2 sshd[5956]: Connection closed by 192.168.1.10
Aug 20 04:12:53 slave2 sshd[6075]: Connection closed by 192.168.1.10
Aug 20 04:15:38 slave2 sshd[6117]: Connection closed by 192.168.1.10
Aug 20 04:16:11 slave2 sshd[6136]: Connection closed by 192.168.1.10 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询