Unless there is good reason to go to the reduce phase, yes, write direct to
hbase in the mapper.  Set up an HTable instance in the configure step and
reuse it.
St.Ack

On Mon, Oct 19, 2009 at 7:40 PM, yz5od2 <[email protected]>wrote:

> ok, so what you are saying is that my mapper should talk directly to Hbase
> to write the data into it? Or I should define my Mapper implementation class
> like
>
> Mapper<LongWritable,Text,Text,byte[]>
>
>
>
> On Oct 19, 2009, at 8:12 PM, Ryan Rawson wrote:
>
>  No writables....
>>
>> The hbase api just takes array of byte as its values. Use protobuf api to
>> create a byte[] then you're done.
>>
>> On Oct 19, 2009 7:10 PM, "yz5od2" <[email protected]> wrote:
>>
>> Thanks, I started looking at protobufs, avro etc. I guess I am trying to
>> figure out where to start. So my mapper class would return a Writeable
>> that
>> implements the specifics of one of these protocols?
>>
>> On Oct 19, 2009, at 7:22 PM, Ryan Rawson wrote: > I would recommend a
>> serialzation framework suc...
>>
>
>

Reply via email to