You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flume.apache.org by João Ascenso <jo...@gmail.com> on 2012/08/28 12:02:04 UTC

Custom rowkey on hbase regex sink

Greetings,

I'm currently working on using hbase to store log data from several
sources, and i'm looking to implement using the host and/or the timestamp
parsed from the actual log message plus a random string to create unique
rowkey and keep the data sequential by either time or machine that sent the
log.

As of what i have seen on the code, the hbase sink does not support this.
Can you give some pointer on the correct way to implement this?
(i noticed that the regex serializer has a getRowKey() that i could thinker
with the key). Also, Is this a desired feature to maybe be included on the
hbase sink?

João Ascenso