You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Stack <st...@duboce.net> on 2012/10/18 23:37:20 UTC

Re: error when open "hbase shell"

On Wed, Oct 17, 2012 at 2:42 AM, hua xiang <ad...@yahoo.com> wrote:
> Hi,
>    when open hbase shell with "hdfs",there is an error.
>
>   but "root" user can.
>    below is the error :
>  [root@hadoop2 ~]# su - hdfs
> [hdfs@hadoop2 ~]$ id
> uid=494(hdfs) gid=502(hadoop) groups=502(hadoop)
> [hdfs@hadoop2 ~]$ hbase shell
> Error: Could not find or load main class org.jruby.Main
> [hdfs@hadoop2 ~]$
>
>
>    maybe profile problem?
>

It is in your CLASSPATH?  HBase is built?

St.Ack