Text keys were deprecated a good while ago.  Keys and values are byte arrays
in hbase.  If you want the key to be Text, add the Text bytes and then make
a new Text on fetching.

The new mapreduce package -- as opposed to mapred following our parent's
model -- has new MR classes but TableMapper (sic) does
ImmutableBytesWritable as key, a Writable to wrap the table byte array key.

St.Ack


On Wed, Jul 8, 2009 at 7:43 AM, Yair Even-Zohar
<[email protected]>wrote:

> I'm trying to import my 0.19 code to 0.20 and am running into a problem
> using the TableMap interface.
>
> It seems like I can not construct table key of Text class and read a
> table using TableMap because of the comperator differences.
>
>
>
> Has anybody run into this problem and if so, what is the suggested
> solution?
>
>
>
> Thanks
>
> -Yair
>
>

Reply via email to