On Wed, Oct 17, 2012 at 2:42 AM, hua xiang <adam_...@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