Details
-
Type: Improvement
-
Status: Patch Available
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: v0.9.3
-
Fix Version/s: None
-
Component/s: None
-
Environment:Linux, OSX
Description
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.