hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From HU Wenjing A <Wenjing.a...@alcatel-sbell.com.cn>
Subject problem maybe about ssh key deploy
Date Tue, 28 Feb 2012 02:19:57 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message