Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-625

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

    XMLWordPrintableJSON

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

            Unassigned Unassigned
            flume_joscha Disabled imported user
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: