I have created http://wiki.apache.org/lucene-hadoop/Hbase/ThriftApi for us to discuss and collaborate on a Thrift-based client api.

-Bryan

On Dec 7, 2007, at 10:44 PM, Chad Walters wrote:


The heavy lifting in this exercise is mainly in designing the RPC calls themselves - after that, it is probably a simple matter of programming.

Anyone want to take a crack at it?

Chad


On 12/7/07 11:52 AM, "Bryan Duxbury" <[EMAIL PROTECTED]> wrote:

There's nothing stopping us from creating REST "methods" for creating/
deleting tables. That's mostly a question of whether or not we want
to expose the functionality elsewhere than the shell. You could
create a ticket for that and we can discuss it.

I agree that XML can be heavy, which is why we are implementing the
ability to use the "Accept: multipart/related" header to get back the
data as pure binary with boundaries. This should alleviate the
overhead of using XML for the most part.

Hey, I hardly know Java, and I'm hacking all sorts of stuff!
Seriously though, I think that as far as performant cross-platform
access goes, the future is a Thrift servlet. I don't have a timeline
on that at all yet.

-Bryan

On Dec 7, 2007, at 11:44 AM, Thiago Jackiw wrote:

The are a few reasons why I wanted to go with Socket instead of REST,
to name a couple:

- By applying Edward's patch I was able to gain access to the 'entire'
HBase interface, from creating to deleting tables, etc, which I
couldn't do with REST. Is this flexibility something sought for future
development?
-  Performance gain. Working with xml can sometimes be problematic
and 'heavy'.

I would suggest exploring building a Thrift servlet that mimics
the structure of the REST servlet
That could work if I knew Java :P

Anyhow, despite HBase being pretty new, it sure kicks ass. Kudos to
you guys.

--
Thiago


On Dec 7, 2007 10:42 AM, Bryan Duxbury <[EMAIL PROTECTED]> wrote:
What's the motivation for using straight a straight TCP socket rather
than REST? The motivation behind producing a REST interface in the
first place is that since the client still lives in Java, then we get
to take advantage of all the built-in Java client work that's been
done. If you're looking for a more lightweight way to interact with
HBase (since REST can be a little heavy at times), then rather than
go the HQL route, I would suggest exploring building a Thrift servlet
that mimics the structure of the REST servlet. This is something
that's been discussed as a next step for HBase interoperability.

-Bryan


On Dec 6, 2007, at 8:25 PM, Thiago Jackiw wrote:

Is there a way to interact with HBase via TCP/socket connection
directly instead of just using the REST api?

Thanks






Reply via email to