[
https://issues.apache.org/jira/browse/FLUME-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15406627#comment-15406627
]
Bessenyei Balázs Donát commented on FLUME-2573:
-----------------------------------------------
There has been no action on this ticket in the last few weeks, I suggest
marking this ticket as resolved ("Not a bug").
(Reason: this ticket blocks release of Flume 1.7.0 and it doesn't seem to be a
bug.)
Are there any objections to marking the ticket as resolved?
> flume-ng --conf parameter is not used when starting a flume agent
> -----------------------------------------------------------------
>
> Key: FLUME-2573
> URL: https://issues.apache.org/jira/browse/FLUME-2573
> Project: Flume
> Issue Type: Bug
> Components: Node
> Affects Versions: v1.4.0
> Environment: ubuntu 12 & Flume 1.4.0
> Reporter: Biju Nair
> Labels: flume-ng
> Fix For: v1.7.0
>
> Attachments: FLUME-2573-0.patch
>
>
> flume-ng script accepts the parameter
> [conf|https://github.com/apache/flume/blob/trunk/bin/flume-ng#L183] to pass
> the directory which stores the configuration files and adds it to the
> FLUME_CLASSPATH. But
> [org.apache.flume.node.Application|https://github.com/apache/flume/blob/trunk/flume-ng-node/src/main/java/org/apache/flume/node/Application.java#L302]
> expects configuration files passed to have an absolute path. So even if user
> passes `conf` and `conf-file` option, `application` looks for the
> configuration file in the directory from which it is executed. It would be
> good to take the `conf` value into consideration so that users can place the
> config files anywhere.
> Currently big-top init.d script joins the [`conf` and `conf-file`
> values|(https://github.com/apache/flume/blob/trunk/bin/flume-ng#L183] when
> calling flume-ng. The same can be done in the ` flume-ng ` script.
> Alternatively the `conf ` parameter can be read in ` application ` and
> concatenated in the code. The latter is a cleaner approach but will have
> impact on ` big-top `.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)