Folks, Updated the client to read headers from a property file. Sample header.properties ------------------------------------ streamName = sample-stream timestamp=2189128912
Client command line looks like -> ./flume-ng avro-client --conf ../conf/ -H localhost -p 41414 -F ~/.bash_profile -R headers.properties Thanks, - Inder On Fri, Apr 20, 2012 at 2:11 PM, Inder Singh <[email protected]> wrote: > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/4622/ > Review request for Flume, Arvind Prabhakar and Mike Percy. > By Inder Singh. > > *Updated 2012-04-20 08:41:44.370859* > Changes > > Incorporated the following review comments > > 1. header's come through a config file. > Sample header.properties > streamName=sample-test-stream > timestamp=2329329399 > > Agent Command Line looks like -> > ./flume-ng avro-client --conf ../conf/ -H localhost -p 41414 -F > ~/.bash_profile -R headers.properties > > Description > > Patch to address FLUME 1096. Please review and share your thoughts. > > Testing > > 1. Configured flume agent to publish data in /data/flume/%D > 2. ran the avroClient to stream some data. > 3. Things looked ok. Data was available in HDFS. > > > *Bugs: * > https://issues.apache.org/jira/browse/FLUME-1096<https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/FLUME-1096> > Diffs (updated) > > - trunk/bin/flume-ng (1328221) > - > trunk/flume-ng-core/src/main/java/org/apache/flume/client/avro/AvroCLIClient.java > (1328221) > > View Diff <https://reviews.apache.org/r/4622/diff/> > -- Thanks, - Inder Tech Platforms @Inmobi Linkedin - http://goo.gl/eR4Ub
