You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by hua xiang <ad...@yahoo.com> on 2012/10/17 11:42:53 UTC

error when open "hbase shell"

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?

  Besrt R.



  Adam
  


   



----- Original Message -----
From: "user-help@hbase.apache.org" <us...@hbase.apache.org>
To: adam_hua@yahoo.com
Cc: 
Sent: Wednesday, October 17, 2012 5:19 PM
Subject: WELCOME to user@hbase.apache.org

Hi! This is the ezmlm program. I'm managing the
user@hbase.apache.org mailing list.

I'm working for my owner, who can be reached
at user-owner@hbase.apache.org.

Acknowledgment: I have added the address

  adam_hua@yahoo.com

to the user mailing list.

Welcome to user@hbase.apache.org!

Please save this message so that you know the address you are
subscribed under, in case you later want to unsubscribe or change your
subscription address.


--- Administrative commands for the user list ---

I can handle administrative requests automatically. Please
do not send them to the list address! Instead, send
your message to the correct command address:

To subscribe to the list, send a message to:
   <us...@hbase.apache.org>

To remove your address from the list, send a message to:
   <us...@hbase.apache.org>

Send mail to the following for info and FAQ for this list:
   <us...@hbase.apache.org>
   <us...@hbase.apache.org>

Similar addresses exist for the digest list:
   <us...@hbase.apache.org>
   <us...@hbase.apache.org>

To get messages 123 through 145 (a maximum of 100 per request), mail:
   <us...@hbase.apache.org>

To get an index with subject and author for messages 123-456 , mail:
   <us...@hbase.apache.org>

They are always returned as sets of 100, max 2000 per request,
so you'll actually get 100-499.

To receive all messages with the same subject as message 12345,
send a short message to:
   <us...@hbase.apache.org>

The messages should contain one line or word of text to avoid being
treated as sp@m, but I will ignore their content.
Only the ADDRESS you send to is important.

You can start a subscription for an alternate address,
for example "john@host.domain", just add a hyphen and your
address (with '=' instead of '@') after the command word:
<us...@hbase.apache.org>

To stop subscription for this address, mail:
<us...@hbase.apache.org>

In both cases, I'll send a confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.

If despite following these instructions, you do not get the
desired results, please contact my owner at
user-owner@hbase.apache.org. Please be patient, my owner is a
lot slower than I am ;-)

--- Enclosed is a copy of the request I received.

Return-Path: <ad...@yahoo.com>
Received: (qmail 46328 invoked by uid 99); 17 Oct 2012 09:19:40 -0000
Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2012 09:19:40 +0000
X-ASF-Spam-Status: No, hits=-0.0 required=5.0
    tests=RCVD_IN_DNSWL_NONE,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (athena.apache.org: local policy)
Received: from [98.139.91.240] (HELO nm11-vm0.bullet.mail.sp2.yahoo.com) (98.139.91.240)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2012 09:19:30 +0000
Received: from [98.139.91.61] by nm11.bullet.mail.sp2.yahoo.com with NNFMP; 17 Oct 2012 09:19:10 -0000
Received: from [98.139.91.27] by tm1.bullet.mail.sp2.yahoo.com with NNFMP; 17 Oct 2012 09:19:10 -0000
Received: from [127.0.0.1] by omp1027.mail.sp2.yahoo.com with NNFMP; 17 Oct 2012 09:19:10 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 135930.14333.bm@omp1027.mail.sp2.yahoo.com
Received: (qmail 24832 invoked by uid 60001); 17 Oct 2012 09:19:09 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1350465549; bh=IdfvYtQVgcY36BIIOdYqQfsiX2ZC+xyFdTS8BcIph08=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Ji6krRi3BGRul9AsS3TumWXlsF9ZNMaxuzis0qaOl+eW58hUIRpBOFSXmKrlW3v/rs6u2FPZdN82QJC8Ap7L+NCtumtZVonUMuw/DmIt18Hf4LkRKQlrmLCe192r/+l/hAahebkBTKbFHstLbiO6K41KuEt4tcvvm5H20FFiZT0=
DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws;
  s=s1024; d=yahoo.com;
  h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding;
  b=fHOJxIEH1/HG0+gG+crSo/LctFftK1Uufu+bWblIWZs3FufPtM2pP5DUm+T8APYfB12YZnjt/rhb82/R78DKGi08pagUqbsTBc9bijlXGBTaZsnjleDx0vx2zSXLw92JlLsefzoP+1QAwcgMpdd7a+znaEJGO7VhezfMlNRqGNo=;
X-YMail-OSG: QIFxgDwVM1mED.OsMtxyrYrEXcOwoQeQaeMg8YALvuRMnvW
N_EfB8HesN4ScKX1hU6CMrHzSiOhiKlOJHp_HAODkuf.h.4Dz.vARoYRIs83
WQbhB8bNAPlI6Gg1nG8Amv2pL_dmclbLURnODa3RSrlxempGOJThZ0A3FucQ
SIKd5NvoVl33jH4E73y_a4TVMFiq301nJ7skg.0Ay.IJ_ho_IRcxZpc7S3fO
OGa7wYswkx0vazWaDQL__2GKs1.vxqOGnZ2c8kShPSodi8dK3F1Q2RB_H3qw
nspZYP3IleXG13xRrBo5SmnA2wKXCjcORoM9PoEzT5ejDFAV.roPEncKDPqL
owQ2J1RIaYrR33sUFE5RDyINXO_INcMfBe1DC1Z7.JleURBqUWJ.Gm50du4r
xHnmCnNFK41Fvq_Yext522s96sqhqSgusysqp4XgQo2.Sliexydf2fRNsXI.
_wGcy4zmmrCVPgsVOX4.y4I916LbIyCgZSJEwjwXxCbcv9Idf4M_OihqCUVW
0Uajzb9b6woau_0WRuu8b4URTzsQ_efX1PdhNv.ZboHurE.QMJnm_TAErrAb
l0lnMNreaDfhpUd0POcHCqBqpnbh.mAy11oXDht0sM08NqaQtMXDDWEJ_8KX
2fVkWhDykSTjDV62w5BqqFlCR80H7wGX2JzwE
Received: from [218.94.131.203] by web112506.mail.gq1.yahoo.com via HTTP; Wed, 17 Oct 2012 02:19:08 PDT
X-Rocket-MIMEInfo: 001.001,SGksIAoKwqDCoCBwbGVhc2UgYWRkIG1lIGluLgrCoArCoMKgIFRoYW5rcyEKCkFkYW0uCgoKCi0tLS0tIE9yaWdpbmFsIE1lc3NhZ2UgLS0tLS0KRnJvbTogInVzZXItaGVscEBoYmFzZS5hcGFjaGUub3JnIiA8dXNlci1oZWxwQGhiYXNlLmFwYWNoZS5vcmc.ClRvOiBhZGFtX2h1YUB5YWhvby5jb20KQ2M6IApTZW50OiBXZWRuZXNkYXksIE9jdG9iZXIgMTcsIDIwMTIgMjo1MiBQTQpTdWJqZWN0OiBjb25maXJtIHN1YnNjcmliZSB0byB1c2VyQGhiYXNlLmFwYWNoZS5vcmcKCkhpISBUaGlzIGlzIHRoZSBlem0BMAEBAQE-
X-Mailer: YahooMailWebService/0.8.123.450
References: <13...@hbase.apache.org>
Message-ID: <13...@web112506.mail.gq1.yahoo.com>
Date: Wed, 17 Oct 2012 02:19:08 -0700 (PDT)
From: hua xiang <ad...@yahoo.com>
Reply-To: hua xiang <ad...@yahoo.com>
Subject: Re: confirm subscribe to user@hbase.apache.org
To: "user-sc.1350456722.nobmdlcogejbkigkellf-adam_hua=yahoo.com@hbase.apache.org" <us...@hbase.apache.org>
In-Reply-To: <13...@hbase.apache.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Virus-Checked: Checked by ClamAV on apache.org

Re: error when open "hbase shell"

Posted by Stack <st...@duboce.net>.
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