hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Rawson <ryano...@gmail.com>
Subject Re: Update of the Thrift library: New dependencies | regeneration of old API?
Date Sun, 17 Jan 2010 22:05:52 GMT
One thing to watch out for is the framed transport is not supported by
all thrift implementations. As an example, php. So we want to not do
anything that would restrict thrift access to Java only.

On Sun, Jan 17, 2010 at 2:01 PM, Lars Francke <lars.francke@gmail.com> wrote:
> I've been working on the Thrift API for a few weeks now. As a first
> step I've been working on HBASE-1360 to update the current Thrift
> version from the current SVN snapshot to the recently released 0.2.0
> version. Due to Kay Kay and stacks help this has been resolved now and
> is ready to be submitted to trunk.
>
> As a heads up: This introduces three new .jar dependencies.
> commons-lang, slf4j-api and slf4j-simple.
>
> The update to the new Thrift version is in preparation for HBASE-1744
> but if there are no objections I can regenerate the old Thrift API
> with this new Thrift compiler to introduce security and feature
> updates. I've run only limited tests on the old version with the new
> generated code but there seem to be no problems at all. One new
> "feature" would be that the structs now implement a proper hashcode
> function instead of always returning 0.
>
> If there is interest I can also backport other things from the new
> Thrift server. Namely HBASE-65 ("Thrift Server should have an option
> to bind to ip address") and the optional use of the framed transport
> and/or the binary protocol.
>
> Cheers,
> Lars
>

Mime
View raw message