hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Duxbury <br...@rapleaf.com>
Subject Re: Getting to work with HBase
Date Mon, 03 Mar 2008 17:55:14 GMT
You should use the REST (or Thrift) APIs when you're in a non-Java  
language that must access HBase. There's currently no other way.

-Bryan

On Mar 2, 2008, at 1:21 PM, Naama Kraus wrote:

> Thanks for the input.
>
> What about the REST API ? When should I consider to use it ?
>
> Naama
>
> On Sun, Mar 2, 2008 at 6:00 PM, Bryan Duxbury <bryan@rapleaf.com>  
> wrote:
>
>> If you can use the Java API, you should use that. It has the most
>> functionality and the least overhead.
>>
>> HQL is only meant to be used for administrative purposes, like
>> managing tables. Aside from the fact that there's no good way to hook
>> an application up to HQL, there isn't as much flexibility in the HQL
>> API.
>>
>> -Bryan
>>
>> On Mar 2, 2008, at 12:25 AM, Naama Kraus wrote:
>>
>>> Hi Again,
>>>
>>> What is the best way to learn HBase ? Is there some tutorial ?
>>> Sample code ?
>>> I've seen that there are several methods to access HBase: hql, REST
>>> or Java
>>> API. What's the recommended method to work with HBase ? Assuming
>>> that I need
>>> a programmatic way to work with HBase (create tables, add rows ..).
>>>
>>> Thanks for the guidance,
>>> Naama
>>>
>>> On Wed, Feb 27, 2008 at 7:10 PM, stack <stack@duboce.net> wrote:
>>>
>>>> Jim Kellerman wrote:
>>>>> ...
>>>>>
>>>>> So if you want to use HBase, you either need to either
>>>>> change your classpath or you can move the jar to the hadoop
>>>>> directory and config files to hadoop/conf, scripts to
>>>>> hadoop/bin, etc. People have done this both ways, and I don't
>>>>> know as there is a recommended way, but from a purists' point
>>>>> of view, I guess you would keep them separate.
>>>>>
>>>>
>>>> FYI, you do not need to do any moving of jars or config files to
>>>> start
>>>> hbase in hadoop-0.16.0.  Just run
>>>> $HADOOP_HOME/contrib/hbase/bin/start-hbase.sh to start it.
>>>>
>>>> Regards how stable hadoop 0.16.0 is, thats a difficult question to
>>>> answer.
>>>>
>>>> St.Ack
>>>>
>>>
>>>
>>>
>>> --
>>> oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00
>>> oo 00 oo
>>> 00 oo 00 oo
>>> "If you want your children to be intelligent, read them fairy
>>> tales. If you
>>> want them to be more intelligent, read them more fairy  
>>> tales." (Albert
>>> Einstein)
>>
>>
>
>
> -- 
> oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00  
> oo 00 oo
> 00 oo 00 oo
> "If you want your children to be intelligent, read them fairy  
> tales. If you
> want them to be more intelligent, read them more fairy tales." (Albert
> Einstein)


Mime
View raw message