-Re: Allowing custom FlumeFormatter to be used when writing HDFS SequenceFiles
Mike Percy 2012-08-15, 18:09
It would be great if you could file a JIRA to track this. JIRA is up again.
On Fri, Aug 10, 2012 at 2:22 AM, バーチャ�� クリストファー
> I have rewritten the HDFS event sink's HDFSFormatterFactory so that I
> can use my own FlumeFormatter implementation to write events to
> SequenceFiles. I did this because the standard HDFSWritableFormatter
> discards all headers apart from the timestamp, whereas I want to write
> all headers to HDFS.
> The code is available for review
> To use it, you just pass in the FlumeFormatter implementation's
> classname in the config, similar to the way you specify a custom
> The class must have a public zero-argument constructor.
> Please let me know what you think,
> PS: I would have filed a Jira (maybe there already is one?), but the
> Jira server is down at the moment.