[
https://issues.apache.org/jira/browse/FLUME-719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078660#comment-13078660
]
Jonathan Hsieh commented on FLUME-719:
--------------------------------------
A work around for this problem is to add a mask("bogusattr") decorator directly
the sink of a node that has a rpcSource/thriftSource/avroSource/collectorSource.
> Flume attribute field map from Avro|ThriftEventConvertUtil.toFlumeEvent()
> should be mutable
> -------------------------------------------------------------------------------------------
>
> Key: FLUME-719
> URL: https://issues.apache.org/jira/browse/FLUME-719
> Project: Flume
> Issue Type: Bug
> Components: Sinks+Sources
> Affects Versions: v0.9.4
> Reporter: Jonathan Hsieh
> Priority: Critical
> Fix For: v0.9.5
>
> Attachments:
> 0001-FLUME-71y-Flume-attribute-field-map-from-Avro-Thrift.patch
>
>
> This fixes the root cause of the bug created by the FLUME-620 fix. The
> problem was that the getAttrs methods in both returned immutable hashtables.
> This makes the conversion methods return mutable tables, and tests for these
> cases.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira