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-1334.v5.patch
        15 kB
        Roshan Naik
      2. FLUME-1334.v3.patch
        14 kB
        Roshan Naik
      3. FLUME-1334.v2.patch
        14 kB
        Roshan Naik
      4. FLUME-1334.patch
        12 kB
        Roshan Naik
      5. flume-ng.ps1.txt
        11 kB
        Roshan Naik

        Issue Links

          Activity

          Alexander Alten-Lorenz created issue -
          Alexander Alten-Lorenz made changes -
          Field Original Value New Value
          Link This issue is part of FLUME-1174 [ FLUME-1174 ]
          Alexander Alten-Lorenz made changes -
          Link This issue is part of FLUME-1174 [ FLUME-1174 ]
          Alexander Alten-Lorenz made changes -
          Link This issue is part of FLUME-1335 [ FLUME-1335 ]
          Alexander Alten-Lorenz made changes -
          Assignee Alexander Alten-Lorenz [ alo.alt ]
          Roshan Naik made changes -
          Assignee Roshan Naik [ roshan_naik ]
          Alexander Alten-Lorenz made changes -
          Link This issue is depended upon by FLUME-1336 [ FLUME-1336 ]
          Roshan Naik made changes -
          Link This issue blocks FLUME-2137 [ FLUME-2137 ]
          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
          Roshan Naik made changes -
          Attachment flume-ng.ps1.txt [ 12594771 ]
          Roshan Naik made changes -
          Attachment flume-ng.ps1.txt [ 12594771 ]
          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
          Roshan Naik made changes -
          Attachment flume-ng.ps1.txt [ 12595850 ]
          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?
          Roshan Naik made changes -
          Remote Link This issue links to "Reviewboard link (Web Link)" [ 12503 ]
          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
          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
          Roshan Naik made changes -
          Attachment FLUME-1334.patch [ 12596407 ]
          Roshan Naik made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Affects Version/s v1.4.0 [ 12323372 ]
          Labels features features windows
          Roshan Naik made changes -
          Component/s Windows [ 12315324 ]
          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)
          Roshan Naik made changes -
          Attachment FLUME-1334.v2.patch [ 12612727 ]
          Roshan Naik made changes -
          Link This issue is blocked by FLUME-2148 [ FLUME-2148 ]
          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 -

          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.
          Roshan Naik made changes -
          Attachment FLUME-1334.v3.patch [ 12640349 ]
          Roshan Naik made changes -
          Attachment FLUME-1334.v5.patch [ 12674915 ]
          Roshan Naik made changes -
          Affects Version/s v1.5.0.1 [ 12327046 ]
          Hide
          Hari Shreedharan added a comment -

          +1. Committing this.

          Show
          Hari Shreedharan added a comment - +1. Committing this.
          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
          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
          Hari Shreedharan added a comment -

          Committed! Thanks Roshan!

          Show
          Hari Shreedharan added a comment - Committed! Thanks Roshan!
          Hari Shreedharan made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          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
          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
          Roshan Naik added a comment -

          Thanks Hari

          Show
          Roshan Naik added a comment - Thanks Hari
          Johny Rufus made changes -
          Fix Version/s v1.6.0 [ 12327047 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Patch Available Patch Available
          402d 10h 54m 1 Roshan Naik 06/Aug/13 20:19
          Patch Available Patch Available Resolved Resolved
          542d 5h 37m 1 Hari Shreedharan 31/Jan/15 00:57

            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