You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Krisztian Horvath (JIRA)" <ji...@apache.org> on 2014/05/12 21:21:16 UTC

[jira] [Comment Edited] (FLUME-2351) Ability to override any parameter from the configuration file

    [ https://issues.apache.org/jira/browse/FLUME-2351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13995496#comment-13995496 ] 

Krisztian Horvath edited comment on FLUME-2351 at 5/12/14 7:20 PM:
-------------------------------------------------------------------

added documentation to flume-ng


was (Author: keyki):
added documentation to flume-mg

> Ability to override any parameter from the configuration file
> -------------------------------------------------------------
>
>                 Key: FLUME-2351
>                 URL: https://issues.apache.org/jira/browse/FLUME-2351
>             Project: Flume
>          Issue Type: Improvement
>          Components: Node
>    Affects Versions: v1.5.0
>            Reporter: Krisztian Horvath
>            Priority: Minor
>              Labels: features, patch
>             Fix For: v1.5.0
>
>         Attachments: FLUME-2351-2.patch, FLUME-2351.patch
>
>
> To start flume agents dynamically it comes handy to be able to override parameters of a base configuration file without actually touching and modifying it, for example change the bind port.
> Example:
> agent.sources.avro-collection-source.bind = localhost
> agent.sources.avro-collection-source.port = 50000
> agent.sinks.hdfs-sink.hdfs.path = hdfs://localhost:9000/flume
> agent.channels.memoryChannel.capacity = 20000
> flume-ng agent -n agent -f flume.conf 
> -o avro-collection-source.bind=0.0.0.0 
> -o avro-collection-source.port=30000
> -o hdfs-sink.hdfs.path=hdfs://localhost:9000/data
> -o memoryChannel.capacity=30000



--
This message was sent by Atlassian JIRA
(v6.2#6252)