hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ma qiang" <maqiang1...@gmail.com>
Subject Re: How to access data from HBase on Tomcat ?
Date Tue, 03 Jun 2008 16:12:43 GMT
Yes,it is.


On Wed, Jun 4, 2008 at 12:08 AM, Jean-Daniel Cryans <jdcryans@gmail.com> wrote:
> Ok so you should have some "INFO ipc.Client: Retrying connect to server:
> 192.168.1.8:60000" in your console. Do you?
>
> Jean-Daniel
>
> 2008/6/3 ma qiang <maqiang1984@gmail.com>:
>
>> Besides , It's only a java app and haven't deployed in Tomcat .
>>
>>
>>
>> On Wed, Jun 4, 2008 at 12:03 AM, ma qiang <maqiang1984@gmail.com> wrote:
>> > I only wrote a java class  in computer A which read data form remote
>> hbase,
>> >
>> > the code as below;
>> >
>> > HBaseConfiguration conf=new HBaseConfiguration();
>> > conf.set("hbase.master", "192.168.1.8 : 60000");      //computer B's IP
>> and port
>> > HTable hTable=new HTable(conf, new Text(table name));
>> >
>> > I only used java, and I think It's a simplest java program , not to
>> > metion other java programs more complex.
>> >
>> >
>> >
>> > On Tue, Jun 3, 2008 at 10:14 PM, stack <stack@duboce.net> wrote:
>> >> Can you connect from computer A to computer B with any program?
>> >> St.Ack
>> >>
>> >
>>
>

Mime
View raw message