Uploaded image for project: 'Flume (READ-ONLY)'
  1. Flume (READ-ONLY)
  2. FLUME-625

new lines in flume-site.xml within break the configuration of flume.plugin.classes

    Details

      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.

        Attachments

          Activity

            People

            • Assignee:
              esammer Eric Sammer
              Reporter:
              joscha Joscha Feth
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: