hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars George <lars.geo...@gmail.com>
Subject Re: convert Hbase byte array to long in python?
Date Wed, 07 Dec 2011 21:30:40 GMT
Did you see Mozilla's HBase Thrift client?

http://code.google.com/p/socorro/source/browse/trunk/socorro/hbase/?r=1763

Lars

On Dec 7, 2011, at 22:20, Allan Spiegel <aspiegel@adobe.com> wrote:

> 
> I'm trying to write some Hbase test cases in python using the thrift client.  I'm having
trouble figuring out how to convert the Hbase values (byte arrays) into their original form,
a Long.
> 
> While we're at it, I'm sure I'll need to convert in the other direction at some point
(long to byte array)
> 
> Thanks!

Mime
View raw message