You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by HU Wenjing A <We...@alcatel-sbell.com.cn> on 2012/02/28 03:19:57 UTC

problem maybe about ssh key deploy

Hi,

  I am a new learner of hadoop. I tried to set up and configure a pseudo-distributed mode Hadoop installation .
  I used VirtualBox+ubuntu as my Linux environment and create a user as jing.
  After all the configuration is OK(including the ssh key part, I deployed ssh key for the user jing and check the result using command ssh localhost )
  But some error information appears as belows when I execute the following commands:
  $bin/hadoop namenode -format
  $bin/start-all.sh

jing@jing-VirtualBox:~/hadoop/hadoop-0.21.0$ bin/start-all.sh

This script is Deprecated. Instead use start-dfs.sh and start-mapred.sh

starting namenode, logging to /home/jing/hadoop/hadoop-0.21.0/bin/../logs/hadoop-jing-namenode-jing-VirtualBox.out
/home/jing/hadoop/hadoop-0.21.0/bin/../bin/hadoop-daemon.sh: line 126: /home/jing/hadoop/hadoop-0.21.0/bin/../logs/hadoop-jing-namenode-jing-VirtualBox.out: Permission denied

head: cannot open `/home/jing/hadoop/hadoop-0.21.0/bin/../logs/hadoop-jing-namenode-jing-VirtualBox.out' for reading: No such file or directory

localhost: starting datanode, logging to /home/jing/hadoop/hadoop-0.21.0/bin/../logs/hadoop-jing-datanode-jing-VirtualBox.out

localhost: /home/jing/hadoop/hadoop-0.21.0/bin/hadoop-daemon.sh: line 126: /home/jing/hadoop/hadoop-0.21.0/bin/../logs/hadoop-jing-datanode-jing-VirtualBox.out: Permission denied

localhost: head: cannot open `/home/jing/hadoop/hadoop-0.21.0/bin/../logs/hadoop-jing-datanode-jing-VirtualBox.out' for reading: No such file or directory

localhost: starting secondarynamenode, logging to /home/jing/hadoop/hadoop-0.21.0/bin/../logs/hadoop-jing-secondarynamenode-jing-VirtualBox.out

localhost: /home/jing/hadoop/hadoop-0.21.0/bin/hadoop-daemon.sh: line 126: /home/jing/hadoop/hadoop-0.21.0/bin/../logs/hadoop-jing-secondarynamenode-jing-VirtualBox.out: Permission denied

localhost: head: cannot open `/home/jing/hadoop/hadoop-0.21.0/bin/../logs/hadoop-jing-secondarynamenode-jing-VirtualBox.out' for reading: No such file or directory

starting jobtracker, logging to /home/jing/hadoop/hadoop-0.21.0/bin/../logs/hadoop-jing-jobtracker-jing-VirtualBox.out

/home/jing/hadoop/hadoop-0.21.0/bin/../bin/hadoop-daemon.sh: line 126: /home/jing/hadoop/hadoop-0.21.0/bin/../logs/hadoop-jing-jobtracker-jing-VirtualBox.out: Permission denied

head: cannot open `/home/jing/hadoop/hadoop-0.21.0/bin/../logs/hadoop-jing-jobtracker-jing-VirtualBox.out' for reading: No such file or directory

localhost: starting tasktracker, logging to /home/jing/hadoop/hadoop-0.21.0/bin/../logs/hadoop-jing-tasktracker-jing-VirtualBox.out

localhost: /home/jing/hadoop/hadoop-0.21.0/bin/hadoop-daemon.sh: line 126: /home/jing/hadoop/hadoop-0.21.0/bin/../logs/hadoop-jing-tasktracker-jing-VirtualBox.out: Permission denied

localhost: head: cannot open `/home/jing/hadoop/hadoop-0.21.0/bin/../logs/hadoop-jing-tasktracker-jing-VirtualBox.out' for reading: No such file or directory
jing@jing-VirtualBox:~/hadoop/hadoop-0.21.0$

So could you give me some information about this issue? I am not sure whether it's the permissions problem or not.
If it's the permission issue, could you give me some clue how to fix it?
Thank you all in advance!

Best regards,
Wenjing