[ 
https://issues.apache.org/jira/browse/FLUME-625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish Paliwal resolved FLUME-625.
----------------------------------
       Resolution: Won't Fix
    Fix Version/s: v0.9.5

Won't fix. 0.X branch not maintained anymore

> new lines in flume-site.xml within break the configuration of 
> flume.plugin.classes
> ----------------------------------------------------------------------------------
>
>                 Key: FLUME-625
>                 URL: https://issues.apache.org/jira/browse/FLUME-625
>             Project: Flume
>          Issue Type: Improvement
>    Affects Versions: v0.9.3
>         Environment: Linux, OSX
>            Reporter: Disabled imported user
>              Labels: configuration, flume-site.xml, flume.plugin.classes, 
> property
>             Fix For: v0.9.5
>
>
> When specifying multiple classes in property flume.plugin.classes in 
> flume-site.xml and there is a line break at the end (which easily happens if 
> for example the eclipse XML formatter formats the config file), the class can 
> not be found by flume:
> e.g.:
>       <property>
>               <name>flume.plugin.classes</name>
>               <value>com.bla.Something,com.bla.Something2
>               </value>
>               <description>Comma separated list of plugin 
> classes</description>
>       </property>
> This results in a ClassNotFoundException for com.bla.Something2 when starting 
> flume.
> At least the beginning and end of the property value should be trimmed. Even 
> better would be, if it were possible to also have newlines allowed after the 
> commata, so the config value can be formatted, which would ease the process 
> of plugin management when having lots of plugins.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to