Flume
  1. Flume
  2. FLUME-1334

Write an startscript for flume agents on Windows

    Details

      Description

      Write an startscript with service level integration to run on Windows. Targeted supported versions: Windows server 2008 / Windows 7

      1. flume-ng.ps1.txt
        11 kB
        Roshan Naik
      2. FLUME-1334.patch
        12 kB
        Roshan Naik
      3. FLUME-1334.v2.patch
        14 kB
        Roshan Naik
      4. FLUME-1334.v3.patch
        14 kB
        Roshan Naik
      5. FLUME-1334.v5.patch
        15 kB
        Roshan Naik

        Issue Links

          Activity

          Hide
          Roshan Naik added a comment -

          Thanks Hari

          Show
          Roshan Naik added a comment - Thanks Hari
          Hide
          Hudson added a comment -

          SUCCESS: Integrated in Flume-trunk-hbase-98 #68 (See https://builds.apache.org/job/Flume-trunk-hbase-98/68/)
          FLUME-1334. Windows startup scripts. (hshreedharan: http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=62a4cad223aebfa0aa0f9d20c1c37f04a8b918a9)

          • bin/flume-ng.cmd
          • bin/flume-ng.ps1
          Show
          Hudson added a comment - SUCCESS: Integrated in Flume-trunk-hbase-98 #68 (See https://builds.apache.org/job/Flume-trunk-hbase-98/68/ ) FLUME-1334 . Windows startup scripts. (hshreedharan: http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=62a4cad223aebfa0aa0f9d20c1c37f04a8b918a9 ) bin/flume-ng.cmd bin/flume-ng.ps1
          Hide
          Hudson added a comment -

          SUCCESS: Integrated in flume-trunk #711 (See https://builds.apache.org/job/flume-trunk/711/)
          FLUME-1334. Windows startup scripts. (hshreedharan: http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=62a4cad223aebfa0aa0f9d20c1c37f04a8b918a9)

          • bin/flume-ng.ps1
          • bin/flume-ng.cmd
          Show
          Hudson added a comment - SUCCESS: Integrated in flume-trunk #711 (See https://builds.apache.org/job/flume-trunk/711/ ) FLUME-1334 . Windows startup scripts. (hshreedharan: http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=62a4cad223aebfa0aa0f9d20c1c37f04a8b918a9 ) bin/flume-ng.ps1 bin/flume-ng.cmd
          Hide
          Hari Shreedharan added a comment -

          Committed! Thanks Roshan!

          Show
          Hari Shreedharan added a comment - Committed! Thanks Roshan!
          Hide
          ASF subversion and git services added a comment -

          Commit 555d8b88da7ec44c8fbaea33964ded0cd7648fe2 in flume's branch refs/heads/flume-1.6 from Hari Shreedharan
          [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=555d8b8 ]

          FLUME-1334. Windows startup scripts.

          (Roshan Naik via Hari)

          Show
          ASF subversion and git services added a comment - Commit 555d8b88da7ec44c8fbaea33964ded0cd7648fe2 in flume's branch refs/heads/flume-1.6 from Hari Shreedharan [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=555d8b8 ] FLUME-1334 . Windows startup scripts. (Roshan Naik via Hari)
          Hide
          ASF subversion and git services added a comment -

          Commit 62a4cad223aebfa0aa0f9d20c1c37f04a8b918a9 in flume's branch refs/heads/trunk from Hari Shreedharan
          [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=62a4cad ]

          FLUME-1334. Windows startup scripts.

          (Roshan Naik via Hari)

          Show
          ASF subversion and git services added a comment - Commit 62a4cad223aebfa0aa0f9d20c1c37f04a8b918a9 in flume's branch refs/heads/trunk from Hari Shreedharan [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=62a4cad ] FLUME-1334 . Windows startup scripts. (Roshan Naik via Hari)
          Hide
          Hari Shreedharan added a comment -

          +1. Committing this.

          Show
          Hari Shreedharan added a comment - +1. Committing this.
          Hide
          Roshan Naik added a comment -

          updating patch. simplifying classpath construction in startup script as too long classpath is sometimes leading the command line length to exceed windows shell limits.

          Show
          Roshan Naik added a comment - updating patch. simplifying classpath construction in startup script as too long classpath is sometimes leading the command line length to exceed windows shell limits.
          Hide
          Roshan Naik added a comment -

          Kindly request a committer to take a look at this patch soon.
          This jira & the FLUME-2148 (which is quite a small patch) is critical for many things Windows.

          Show
          Roshan Naik added a comment - Kindly request a committer to take a look at this patch soon. This jira & the FLUME-2148 (which is quite a small patch) is critical for many things Windows.
          Hide
          Roshan Naik added a comment -

          Refreshing patch to update the bin//flume-ng.ps1 script to support the newer command line options in bin/flume-ng script (plugins.d dir etc)

          Show
          Roshan Naik added a comment - Refreshing patch to update the bin//flume-ng.ps1 script to support the newer command line options in bin/flume-ng script (plugins.d dir etc)
          Hide
          Roshan Naik added a comment -

          uploading reviewed patch for windows startup script

          Show
          Roshan Naik added a comment - uploading reviewed patch for windows startup script
          Hide
          Roshan Naik added a comment -

          Available for review on review board.

          Show
          Roshan Naik added a comment - Available for review on review board.
          Hide
          Alexander Alten-Lorenz added a comment -

          Looks good, Roshan. Do you think you could open a RB request?

          Show
          Alexander Alten-Lorenz added a comment - Looks good, Roshan. Do you think you could open a RB request?
          Hide
          Roshan Naik added a comment -

          Revised script added:

          • HBase support and
          • now picks up Hadoop java.library.path also
          Show
          Roshan Naik added a comment - Revised script added: HBase support and now picks up Hadoop java.library.path also
          Hide
          Roshan Naik added a comment -

          Attaching draft Windows startup script for early feedback.
          (extension is txt so its easy to open in browser)

          Missing / incomplete features:

          • Hbase support
          • plugins.d directory support
          • tool command line option
          Show
          Roshan Naik added a comment - Attaching draft Windows startup script for early feedback. (extension is txt so its easy to open in browser) Missing / incomplete features: Hbase support plugins.d directory support tool command line option

            People

            • Assignee:
              Roshan Naik
              Reporter:
              Alexander Alten-Lorenz
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development