thanks very much ,it works.

2009/10/23 Eric Sammer <[email protected]>

> Hello.
>
> From your logs it looks like you ran hbase at root the first time and
> now you can't append to the log files. Shutdown the cluster, run 'chown
> -R <your user> /home/futureha/hbase' as root and try again. That should
> do the trick.
>
> Hope that helps.
>
> 梁景明 wrote:
> > hi , i use hadoop0.20 and hbase 0.20, as a root user to start hbase, and
> it
> > works ok.
> > when i used it as a not root user and it can't start ,  as the webserver
> i
> > can't use the
> > root to start hbase,how can i deal with it,does it need some special
> > permission?
> > here is the error information, thanks for any help.
> >
> > icpigser1: starting zookeeper, logging to
> >
> /home/futureha/hbase/bin/../logs/hbase-futureha-zookeeper-localhost.localdomain.out
> > icpigser1: /home/futureha/hbase/bin/hbase-daemon.sh: line 128:
> >
> /home/futureha/hbase/bin/../logs/hbase-futureha-zookeeper-localhost.localdomain.log:
> > Permission denied
> > icpigser1: /home/futureha/hbase/bin/hbase-daemon.sh: line 129:
> >
> /home/futureha/hbase/bin/../logs/hbase-futureha-zookeeper-localhost.localdomain.log:
> > Permission denied
> > icpigser1: /home/futureha/hbase/bin/hbase-daemon.sh: line 130:
> >
> /home/futureha/hbase/bin/../logs/hbase-futureha-zookeeper-localhost.localdomain.out:
> > Permission denied
> > icpigser1: head: cannot open
> >
> `/home/futureha/hbase/bin/../logs/hbase-futureha-zookeeper-localhost.localdomain.out'
> > for reading: No such file or directory
> > starting master, logging to
> >
> /home/futureha/hbase/bin/../logs/hbase-futureha-master-localhost.localdomain.out
> > /home/futureha/hbase/bin/hbase-daemon.sh: line 128:
> >
> /home/futureha/hbase/bin/../logs/hbase-futureha-master-localhost.localdomain.log:
> > Permission denied
> > /home/futureha/hbase/bin/hbase-daemon.sh: line 129:
> >
> /home/futureha/hbase/bin/../logs/hbase-futureha-master-localhost.localdomain.log:
> > Permission denied
> > /home/futureha/hbase/bin/hbase-daemon.sh: line 130:
> >
> /home/futureha/hbase/bin/../logs/hbase-futureha-master-localhost.localdomain.out:
> > Permission denied
> > head: cannot open
> >
> `/home/futureha/hbase/bin/../logs/hbase-futureha-master-localhost.localdomain.out'
> > for reading: No such file or directory
> > 222.73.x.x: starting regionserver, logging to
> >
> /home/futureha/hbase/bin/../logs/hbase-futureha-regionserver-localhost.localdomain.out
> > 222.73.x.x: /home/futureha/hbase/bin/hbase-daemon.sh: line 128:
> >
> /home/futureha/hbase/bin/../logs/hbase-futureha-regionserver-localhost.localdomain.log:
> > Permission denied
> > 222.73.x.x: /home/futureha/hbase/bin/hbase-daemon.sh: line 129:
> >
> /home/futureha/hbase/bin/../logs/hbase-futureha-regionserver-localhost.localdomain.log:
> > Permission denied
> > 222.73.x.x: /home/futureha/hbase/bin/hbase-daemon.sh: line 130:
> >
> /home/futureha/hbase/bin/../logs/hbase-futureha-regionserver-localhost.localdomain.out:
> > Permission denied
> > 222.73.x.x: head: cannot open
> >
> `/home/futureha/hbase/bin/../logs/hbase-futureha-regionserver-localhost.localdomain.out'
> > for reading: No such file or directory
> >
>
>
> --
> Eric Sammer
> [email protected]
> http://esammer.blogspot.com
>

Reply via email to