sudo chown -R hadoop:hadoop /usr/local/hadoop.
That will give the directory ownership over to your hadoop account.

On Fri, Jul 1, 2011 at 5:07 AM, Dhruv Kumar <[email protected]> wrote:

> It is a permission issue. Are you sure that the account "hadoop" has read
> and write access to /usr/local/* directories?
>
> The installation of Hadoop has always been effortless for me. Just follow
> the instructions step by step given on:
> http://hadoop.apache.org/common/docs/stable/single_node_setup.html
>
>
>
>
> On Thu, Jun 30, 2011 at 11:08 AM, Ashish Tamrakar
> <[email protected]>wrote:
>
> > I am having a problem starting my hadoop. i setup my for my single-node
> > cluster. please help me to solve this out!!!!
> >
> > hadoop@ashishpc:~$ /usr/local/hadoop/bin/start-all.sh
> > starting namenode, logging to
> > /usr/local/hadoop/bin/../logs/hadoop-hadoop-namenode-ashishpc.out
> > /usr/local/hadoop/bin/hadoop-daemon.sh: line 117:
> > /usr/local/hadoop/bin/../logs/hadoop-hadoop-namenode-ashishpc.out:
> > Permission denied
> > head: cannot open
> > `/usr/local/hadoop/bin/../logs/hadoop-hadoop-namenode-ashishpc.out' for
> > reading: No such file or directory
> > localhost: starting datanode, logging to
> > /usr/local/hadoop/bin/../logs/hadoop-hadoop-datanode-ashishpc.out
> > localhost: /usr/local/hadoop/bin/hadoop-daemon.sh: line 117:
> > /usr/local/hadoop/bin/../logs/hadoop-hadoop-datanode-ashishpc.out:
> > Permission denied
> > localhost: head: cannot open
> > `/usr/local/hadoop/bin/../logs/hadoop-hadoop-datanode-ashishpc.out' for
> > reading: No such file or directory
> > localhost: starting secondarynamenode, logging to
> >
> /usr/local/hadoop/bin/../logs/hadoop-hadoop-secondarynamenode-ashishpc.out
> > localhost: /usr/local/hadoop/bin/hadoop-daemon.sh: line 117:
> >
> /usr/local/hadoop/bin/../logs/hadoop-hadoop-secondarynamenode-ashishpc.out:
> > Permission denied
> > localhost: head: cannot open
> >
> >
> `/usr/local/hadoop/bin/../logs/hadoop-hadoop-secondarynamenode-ashishpc.out'
> > for reading: No such file or directory
> > starting jobtracker, logging to
> > /usr/local/hadoop/bin/../logs/hadoop-hadoop-jobtracker-ashishpc.out
> > /usr/local/hadoop/bin/hadoop-daemon.sh: line 117:
> > /usr/local/hadoop/bin/../logs/hadoop-hadoop-jobtracker-ashishpc.out:
> > Permission denied
> > head: cannot open
> > `/usr/local/hadoop/bin/../logs/hadoop-hadoop-jobtracker-ashishpc.out' for
> > reading: No such file or directory
> > localhost: starting tasktracker, logging to
> > /usr/local/hadoop/bin/../logs/hadoop-hadoop-tasktracker-ashishpc.out
> > localhost: /usr/local/hadoop/bin/hadoop-daemon.sh: line 117:
> > /usr/local/hadoop/bin/../logs/hadoop-hadoop-tasktracker-ashishpc.out:
> > Permission denied
> > localhost: head: cannot open
> > `/usr/local/hadoop/bin/../logs/hadoop-hadoop-tasktracker-ashishpc.out'
> for
> > reading: No such file or directory
> >
>

Reply via email to