Re: Text keys for hbase 0.20 using TableMap

2009-07-08 Thread Doğacan Güney
On Wed, Jul 8, 2009 at 21:06, stack wrote: > 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 p

Re: Text keys for hbase 0.20 using TableMap

2009-07-08 Thread stack
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

Text keys for hbase 0.20 using TableMap

2009-07-08 Thread Yair Even-Zohar
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 sugges