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

Flume does not support spaces in -X java-opt command line args

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      Flume does not support spaces in -X java-opt command line args... it breaks them into individual arguments when passing them to java.

      1. FLUME-2161.patch
        1 kB
        Mike Percy
      2. FLUME-2161-2.patch
        1 kB
        Mike Percy

        Activity

        Hide
        mpercy Mike Percy added a comment -

        Small patch so skipping RB. Tested in my local environment.

        Show
        mpercy Mike Percy added a comment - Small patch so skipping RB. Tested in my local environment.
        Hide
        mpercy Mike Percy added a comment -

        Woops, updated patch.

        Example of something that will work now (note the space):

        ./bin/flume-ng agent -c conf -f conf/flume-conf.properties.template -n agent "-Dflume.root.logger=DEBUG, console"

        Show
        mpercy Mike Percy added a comment - Woops, updated patch. Example of something that will work now (note the space): ./bin/flume-ng agent -c conf -f conf/flume-conf.properties.template -n agent "-Dflume.root.logger=DEBUG, console"
        Hide
        hshreedharan Hari Shreedharan added a comment -

        +1. Looks good.

        Show
        hshreedharan Hari Shreedharan added a comment - +1. Looks good.
        Hide
        hshreedharan Hari Shreedharan added a comment -

        Committed, rev: 37e56e85b08869e01dce98b95879a09f1bf57a92. Thanks Mike!

        Show
        hshreedharan Hari Shreedharan added a comment - Committed, rev: 37e56e85b08869e01dce98b95879a09f1bf57a92. Thanks Mike!
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in flume-trunk #491 (See https://builds.apache.org/job/flume-trunk/491/)
        FLUME-2161. Flume does not support spaces in -X java-opt command line args (hshreedharan: http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=37e56e85b08869e01dce98b95879a09f1bf57a92)

        • bin/flume-ng
        Show
        hudson Hudson added a comment - FAILURE: Integrated in flume-trunk #491 (See https://builds.apache.org/job/flume-trunk/491/ ) FLUME-2161 . Flume does not support spaces in -X java-opt command line args (hshreedharan: http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=37e56e85b08869e01dce98b95879a09f1bf57a92 ) bin/flume-ng

          People

          • Assignee:
            mpercy Mike Percy
            Reporter:
            mpercy Mike Percy
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development