permission denied errors while starting namenode in hadoop 2.2.0
Posted
by
Riddle
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Riddle
Published on 2014-05-28T21:44:45Z
Indexed on
2014/05/28
22:04 UTC
Read the original article
Hit count: 299
hadoop
I recently installed hadoop2.2.0 on my desktop running :
Linux livingstream 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Lin
I am able to format the namenode just fine , however when I start the namenode using the following command:
hadoop-daemon.sh start namenode
I get the following permission errors , can anyone please help me with these errors:
hduser@livingstream:/usr/local/hadoop$ hadoop-daemon.sh start namenode
mkdir: cannot create directory `/var/run/hadoop': Permission denied
starting namenode, logging to /var/log/hadoop/hduser/hadoop-hduser-namenode- livingstream.out
/usr/sbin/hadoop-daemon.sh: line 138: /var/run/hadoop/hadoop-hduser-namenode.pid: No such file or directory
Can you please help me with these errors.
Best Regards, Ishan
© Ask Ubuntu or respective owner