chaiying0 @ ubuntu: ~ $ / home/hadoop/hadoop-0.20.2/bin/start-all.sh
starting namenode, logging to / home/hadoop/hadoop-0.20.2/bin/../logs/hadoop-chaiying0-namenode-ubuntu.out
/ home/hadoop/hadoop-0.20.2/bin/hadoop-daemon.sh: line 117: / home/hadoop/hadoop-0.20.2/bin/../logs/hadoop -chaiying0-namenode-ubuntu.out: Permission denied
head: cannot open `/ home/hadoop/hadoop-0.20.2/bin/../logs/hadoop-chaiying0-namenode-ubuntu.out 'for reading: No ; such file or directory
localhost: starting datanode, logging to / home/hadoop/hadoop-0.20.2/bin/../logs/hadoop-chaiying0-datanode-ubuntu.out
localhost: / home/hadoop/hadoop-0.20.2/bin/hadoop-daemon.sh: line 117: / home/hadoop/hadoop-0.20.2/bin / .. / logs/hadoop-chaiying0-datanode-ubuntu.out: Permission denied
localhost: head: cannot open `/ home/hadoop/hadoop-0.20.2/bin/../logs/hadoop-chaiying0-datanode-ubuntu.out 'for reading : No such file or directory
localhost: starting secondarynamenode, logging to / home/hadoop/hadoop-0.20.2/bin/../logs/hadoop-chaiying0-secondarynamenode-ubuntu.out
localhost: / home/hadoop/hadoop-0.20.2/bin/hadoop-daemon.sh: line 117: / home/hadoop/hadoop-0.20.2/bin / .. / logs/hadoop-chaiying0-secondarynamenode-ubuntu.out: Permission denied
localhost: head: cannot open `/ home/hadoop/hadoop-0.20.2/bin/../logs/hadoop-chaiying0-secondarynamenode-ubuntu.out 'for reading : No such file or directory
starting jobtracker, logging to / home/hadoop/hadoop-0.20.2/bin/../logs/hadoop-chaiying0-jobtracker-ubuntu.out
/ home/hadoop/hadoop-0.20.2/bin/hadoop-daemon.sh: line 117: / home/hadoop/hadoop-0.20.2/bin/../logs/hadoop -chaiying0-jobtracker-ubuntu.out: Permission denied
head: cannot open `/ home/hadoop/hadoop-0.20.2/bin/../logs/hadoop-chaiying0-jobtracker-ubuntu.out 'for reading: No ; such file or directory
localhost: starting tasktracker, logging to / home/hadoop/hadoop-0.20.2/bin/../logs/hadoop-chaiying0-tasktracker-ubuntu.out
localhost: / home/hadoop/hadoop-0.20.2/bin/hadoop-daemon.sh: line 117: / home/hadoop/hadoop-0.20.2/bin / .. / logs/hadoop-chaiying0-tasktracker-ubuntu.out: Permission denied
localhost: head: cannot open `/ home/hadoop/hadoop-0.20.2/bin/../logs/hadoop-chaiying0-tasktracker-ubuntu.out 'for reading : No such file or directory
I feel there are two errors, one is permission denied, the other is no such file or directory. May I ask how to solve ah you greatly
------ Solution ---------------------------------- ----------
SSH configured it?
------ Solution ---------------------------------------- ----
should be a user problem, you say chaiying0 switch to hadoop users try, you chaiying0 users access files under hadoop is certainly no permission
------ For reference only - -------------------------------------
anxious ah. . . Manga you greatly. . .
------ For reference only -------------------------------------- -
Big Brother Big Sister Come!
------ For reference only -------------------------------------- -
You can try to stop the service.
then hadoop namenode-format
grid delete tmp before all of the following documents (including data nodes).
------ For reference only -------------------------------------- -
datatmp directories are set about with nametmp Do not use the default.
------ For reference only ------------------- --------------------
this question is very clear. Is your current user does not have to open the logs hadoop file. You can use the ls-al look, logs file permissions should not belong to the current user. so you need to use sudo chown chaiying0: chaiying0 logs the current user chaiying0 command to confer privileges.
没有评论:
发表评论