You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@chukwa.apache.org by GuoWei <we...@wbkit.com> on 2012/12/17 09:29:16 UTC
Please help me with the HBase Writer
Dear all,
Recently we develop a open source project which needs to use Chukwa to
collect data and stored into hbase.
But I can not find any documents about how to customize my own hbase schema
and let this schema suitable for the format of the Socket adapter or my own
customize adaptor?
Simply I wan to know the data format passed from Agent and schema format in
Hbase.
Thanks
Re: Please help me with the HBase Writer
Posted by Eric Yang <er...@gmail.com>.
Hi GuoWei,
Data collected through Chukwa agent are output as chunk (byte array). The
demux parser convert from byte array to string, and parse out the parts
into a ChukwaRecord.
See: http://incubator.apache.org/chukwa/docs/r0.5.0/programming.html
Demux Data to HBase section for the example.
regards,
Eric
On Mon, Dec 17, 2012 at 12:29 AM, GuoWei <we...@wbkit.com> wrote:
> Dear all,
>
> Recently we develop a open source project which needs to use Chukwa to
> collect data and stored into hbase.
> But I can not find any documents about how to customize my own hbase
> schema and let this schema suitable for the format of the Socket adapter or
> my own customize adaptor?
> Simply I wan to know the data format passed from Agent and schema format
> in Hbase.
>
> Thanks
>