flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ari Flink <flinks...@gmail.com>
Subject Re: How to assign an HBase rowkey
Date Mon, 26 Jan 2015 18:31:28 GMT
unsubscribe

On Mon, Jan 26, 2015 at 10:20 AM, Hari Shreedharan <
hshreedharan@cloudera.com> wrote:

> The row key is to be assigned by the serializer. Currently the Regex
> interceptor row keys are randomly generated. You can write a new serializer
> that specifies this (you can simply copy the code from the Regex
> interceptor or you can just inherit from the Regex serializer and override
> the getRowKey method.
>
> Thanks,
> Hari
>
>
> On Mon, Jan 26, 2015 at 7:34 AM, Carlotta Hicks <Carlotta.Hicks@sas.com>
> wrote:
>
>>  I have an agent with an HBASE sink.  I am using
>> RegexHbaseEventSerializer.  The first part of the data that I am sending
>> into the HBase table is the rowkey.
>>
>>
>>
>> Right now, the rowkey is being generated.  How can I control the rowkey?
>>
>>
>>
>
>

Mime
View raw message