You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Ram <ru...@gmail.com> on 2012/04/22 08:37:11 UTC
Hbase Result set values in encoded format
I am doing a basic map/reduce job on a database.I retrieve the values using the
Result Class.I then am converting them to Strings.This is where it still remains
in some byte format. For example,[[B@a2220f, [B@6a3960, [B@1dccedd]. On printing
the class it says it is of [B which means Byte. Is there some encoding that
happens when hbase stores data? How do i convert these values into string?
Re: Hbase Result set values in encoded format
Posted by Stack <st...@duboce.net>.
On Sat, Apr 21, 2012 at 11:37 PM, Ram <ru...@gmail.com> wrote:
> I am doing a basic map/reduce job on a database.I retrieve the values using the
> Result Class.I then am converting them to Strings.This is where it still remains
> in some byte format. For example,[[B@a2220f, [B@6a3960, [B@1dccedd]. On printing
> the class it says it is of [B which means Byte. Is there some encoding that
> happens when hbase stores data? How do i convert these values into string?
>
Paste the code Ram.
St.Ack