[ https://issues.apache.org/jira/browse/FLUME-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489324#comment-13489324 ]
Mike Percy edited comment on FLUME-1676 at 11/2/12 9:26 AM: ------------------------------------------------------------ Nitin: That is the guarantee Flume provides as a framework. I believe the request is the following: 1. Provide a way to specify the charset that is provided on the terminal to Flume, so that the Exec Source knows how to decode it into a String. 2. Provide a way to specify the charset we will store in the Flume Event object itself, when the Exec Source encodes the String into binary form using EventBuilder. Without the capability to specify these encodings, a user doesn't have enough control over how the Exec Source interprets his text input data. (Edit: clarifications) was (Author: mpercy): Nitin: That is the guarantee Flume provides. I believe the request is the following: 1. Provide a way to specify the charset that is provided on the terminal to Flume, so it knows how to decode it into a String. 2. Provide a way to specify the charset we will store in the Flume Event object itself, when we encode the String into binary. Without specifying these things, the user has no control over how Flume interprets his data. > ExecSource should provide a configurable charset > ------------------------------------------------ > > Key: FLUME-1676 > URL: https://issues.apache.org/jira/browse/FLUME-1676 > Project: Flume > Issue Type: Bug > Environment: :~/apache-flume-1.4.0-SNAPSHOT/conf# ../bin/flume-ng > version > Flume 1.4.0-SNAPSHOT > Source code repository: https://git-wip-us.apache.org/repos/asf/flume.git > Revision: 831a86fc5501a8624b184ea65e53749df31692b8 > Compiled by jenkins on Tue Oct 30 03:18:08 UTC 2012 > From source with checksum 98685e32b9e500a2305f538b4468faaa > Reporter: Suresh Saggar > > The character set is currently not configurable in the exec source - > http://flume.apache.org/FlumeUserGuide.html#exec-source > File - > https://github.com/apache/flume/blob/trunk/flume-ng-core/src/main/java/org/apache/flume/source/ExecSource.java > Can somebody please expose the ability to specify character set in the exec > source? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira