Try running your program like this:

./bin/hbase Test

(Make sure Test.class is on the hbase CLASSPATH -- add path to Test.class to
hbase-env.sh under conf directory)

Doing above will ensure you get same CLASSPATH as your working shell.

St.Ack

On Mon, Oct 19, 2009 at 9:35 PM, Liu Xianglong <[email protected]>wrote:

> Yes, my Hbase Shell works.
>
> --------------------------------------------------
> From: "stack" <[email protected]>
> Sent: Tuesday, October 20, 2009 12:28 PM
> To: <[email protected]>
> Subject: Re: Qustion about HBase error
>
>  2009/10/19 Liu Xianglong <[email protected]>
>>
>>  hi, everyone.
>>>
>>
>>
>> Hello.
>>
>>
>>  I am confused why it connect localhost:60000, may my hbase configuration
>>> be
>>> right? Would someone can help me solve this problem? Thanks!
>>>
>>>
>> Did you start up an hbase cluster? (See the 'Getting Started' section for
>> how).
>>
>> St.Ack
>>
>>

Reply via email to