You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by Roshan Naik <ro...@hortonworks.com> on 2013/08/06 02:27:31 UTC
Review Request 13308: Flume startup script for windows
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13308/
-----------------------------------------------------------
Review request for Flume.
Bugs: FLUME-1334
https://issues.apache.org/jira/browse/FLUME-1334
Repository: flume-git
Description
-------
Flume startup script for windows.
The command line options have slightly changed to accomodate powershell requirements:
- cannot have case sensitive options: -d (dry run) and -D (java props). Similary -C & -c.
- double hyphen is not allowed. So instead of --option, we use -option
- multiple options with same name are not allowed. So instead of -classpath a=1 -classpath b=2 .. will change to -classpath "a=1;b=2"
Usage:
Usage: flume-ng <command> [options]...
commands:
help display this help text
agent run a Flume agent
avro-client run an avro Flume client
version show Flume version info
global options:
-conf <conf> use configs in <conf> directory
-classpath,-C ""value1;value2; .."" append to the classpath
-property ""name1=val;name2=val; .."" sets a JDK system property value
-dryrun,-d do not actually start Flume (test)
agent options:
-conf-file,-f <file> specify a config file (required)
-name,-n <name> the name of this agent (required)
avro-client options:
-host,-H <host> hostname to which events will be sent (required)
-port,-p <port> port of the avro source (required)
-filename <file> text file to stream to avro source [default: std input]
-headerFile,-R <file> headerFile containing headers as key/value pairs on each new line
Diffs
-----
bin/flume-ng.cmd PRE-CREATION
bin/flume-ng.ps1 PRE-CREATION
Diff: https://reviews.apache.org/r/13308/diff/
Testing
-------
Thanks,
Roshan Naik
Re: Review Request 13308: Flume startup script for windows
Posted by Alexander Alten-Lorenz <al...@cloudera.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13308/#review24702
-----------------------------------------------------------
bin/flume-ng.cmd
<https://reviews.apache.org/r/13308/#comment48817>
What you think about -ExecutionPolicy ? Could be that the GPO has a policy which prevents unsigned code from starting (http://technet.microsoft.com/library/hh847748.aspx)
- Alexander Alten-Lorenz
On Aug. 6, 2013, 12:32 a.m., Roshan Naik wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/13308/
> -----------------------------------------------------------
>
> (Updated Aug. 6, 2013, 12:32 a.m.)
>
>
> Review request for Flume.
>
>
> Bugs: FLUME-1334
> https://issues.apache.org/jira/browse/FLUME-1334
>
>
> Repository: flume-git
>
>
> Description
> -------
>
> Flume startup script for windows.
> The command line options have slightly changed (form unix script) to accomodate powershell requirements:
>
> - cannot have case sensitive options: -d (dry run) and -D (java props). Similary -C & -c.
> - double hyphen is not allowed. So instead of --option, we use -option
> - multiple options with same name are not allowed. So instead of -classpath a=1 -classpath b=2 .. will change to -classpath "a=1;b=2"
>
>
>
> Usage:
>
> Usage: flume-ng <command> [options]...
>
> commands:
> help display this help text
> agent run a Flume agent
> avro-client run an avro Flume client
> version show Flume version info
>
> global options:
> -conf <conf> use configs in <conf> directory
> -classpath,-C ""value1;value2; .."" append to the classpath
> -property ""name1=val;name2=val; .."" sets a JDK system property value
> -dryrun,-d do not actually start Flume (test)
>
> agent options:
> -conf-file,-f <file> specify a config file (required)
> -name,-n <name> the name of this agent (required)
>
> avro-client options:
> -host,-H <host> hostname to which events will be sent (required)
> -port,-p <port> port of the avro source (required)
> -filename <file> text file to stream to avro source [default: std input]
> -headerFile,-R <file> headerFile containing headers as key/value pairs on each new line
>
>
> Diffs
> -----
>
> bin/flume-ng.cmd PRE-CREATION
> bin/flume-ng.ps1 PRE-CREATION
>
> Diff: https://reviews.apache.org/r/13308/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Roshan Naik
>
>
Re: Review Request 13308: Flume startup script for windows
Posted by Roshan Naik <ro...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13308/
-----------------------------------------------------------
(Updated April 15, 2014, 10:38 p.m.)
Review request for Flume.
Changes
-------
updating patch. simplifying classpath construction in startup script as too long classpath is sometimes leading the command line length to exceed windows shell limits.
Bugs: FLUME-1334
https://issues.apache.org/jira/browse/FLUME-1334
Repository: flume-git
Description
-------
Flume startup script for windows.
The command line options have slightly changed (form unix script) to accomodate powershell requirements:
- cannot have case sensitive options: -d (dry run) and -D (java props). Similary -C & -c.
- double hyphen is not allowed. So instead of --option, we use -option
- multiple options with same name are not allowed. So instead of -classpath a=1 -classpath b=2 .. will change to -classpath "a=1;b=2"
Usage:
Usage: flume-ng <command> [options]...
commands:
help display this help text
agent run a Flume agent
avro-client run an avro Flume client
version show Flume version info
global options:
-conf <conf> use configs in <conf> directory
-classpath,-C ""value1;value2; .."" append to the classpath
-property ""name1=val;name2=val; .."" sets a JDK system property value
-dryrun,-d do not actually start Flume (test)
agent options:
-conf-file,-f <file> specify a config file (required)
-name,-n <name> the name of this agent (required)
avro-client options:
-host,-H <host> hostname to which events will be sent (required)
-port,-p <port> port of the avro source (required)
-filename <file> text file to stream to avro source [default: std input]
-headerFile,-R <file> headerFile containing headers as key/value pairs on each new line
Diffs (updated)
-----
bin/flume-ng.cmd PRE-CREATION
bin/flume-ng.ps1 PRE-CREATION
Diff: https://reviews.apache.org/r/13308/diff/
Testing
-------
Thanks,
Roshan Naik
Re: Review Request 13308: Flume startup script for windows
Posted by Alexander Alten-Lorenz <al...@cloudera.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13308/#review24703
-----------------------------------------------------------
bin/flume-ng.cmd
<https://reviews.apache.org/r/13308/#comment48818>
I should review after coffee, forget the note.
- Alexander Alten-Lorenz
On Aug. 6, 2013, 12:32 a.m., Roshan Naik wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/13308/
> -----------------------------------------------------------
>
> (Updated Aug. 6, 2013, 12:32 a.m.)
>
>
> Review request for Flume.
>
>
> Bugs: FLUME-1334
> https://issues.apache.org/jira/browse/FLUME-1334
>
>
> Repository: flume-git
>
>
> Description
> -------
>
> Flume startup script for windows.
> The command line options have slightly changed (form unix script) to accomodate powershell requirements:
>
> - cannot have case sensitive options: -d (dry run) and -D (java props). Similary -C & -c.
> - double hyphen is not allowed. So instead of --option, we use -option
> - multiple options with same name are not allowed. So instead of -classpath a=1 -classpath b=2 .. will change to -classpath "a=1;b=2"
>
>
>
> Usage:
>
> Usage: flume-ng <command> [options]...
>
> commands:
> help display this help text
> agent run a Flume agent
> avro-client run an avro Flume client
> version show Flume version info
>
> global options:
> -conf <conf> use configs in <conf> directory
> -classpath,-C ""value1;value2; .."" append to the classpath
> -property ""name1=val;name2=val; .."" sets a JDK system property value
> -dryrun,-d do not actually start Flume (test)
>
> agent options:
> -conf-file,-f <file> specify a config file (required)
> -name,-n <name> the name of this agent (required)
>
> avro-client options:
> -host,-H <host> hostname to which events will be sent (required)
> -port,-p <port> port of the avro source (required)
> -filename <file> text file to stream to avro source [default: std input]
> -headerFile,-R <file> headerFile containing headers as key/value pairs on each new line
>
>
> Diffs
> -----
>
> bin/flume-ng.cmd PRE-CREATION
> bin/flume-ng.ps1 PRE-CREATION
>
> Diff: https://reviews.apache.org/r/13308/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Roshan Naik
>
>
Re: Review Request 13308: Flume startup script for windows
Posted by Alexander Alten-Lorenz <al...@cloudera.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13308/#review24704
-----------------------------------------------------------
Ship it!
Ship It!
- Alexander Alten-Lorenz
On Aug. 6, 2013, 12:32 a.m., Roshan Naik wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/13308/
> -----------------------------------------------------------
>
> (Updated Aug. 6, 2013, 12:32 a.m.)
>
>
> Review request for Flume.
>
>
> Bugs: FLUME-1334
> https://issues.apache.org/jira/browse/FLUME-1334
>
>
> Repository: flume-git
>
>
> Description
> -------
>
> Flume startup script for windows.
> The command line options have slightly changed (form unix script) to accomodate powershell requirements:
>
> - cannot have case sensitive options: -d (dry run) and -D (java props). Similary -C & -c.
> - double hyphen is not allowed. So instead of --option, we use -option
> - multiple options with same name are not allowed. So instead of -classpath a=1 -classpath b=2 .. will change to -classpath "a=1;b=2"
>
>
>
> Usage:
>
> Usage: flume-ng <command> [options]...
>
> commands:
> help display this help text
> agent run a Flume agent
> avro-client run an avro Flume client
> version show Flume version info
>
> global options:
> -conf <conf> use configs in <conf> directory
> -classpath,-C ""value1;value2; .."" append to the classpath
> -property ""name1=val;name2=val; .."" sets a JDK system property value
> -dryrun,-d do not actually start Flume (test)
>
> agent options:
> -conf-file,-f <file> specify a config file (required)
> -name,-n <name> the name of this agent (required)
>
> avro-client options:
> -host,-H <host> hostname to which events will be sent (required)
> -port,-p <port> port of the avro source (required)
> -filename <file> text file to stream to avro source [default: std input]
> -headerFile,-R <file> headerFile containing headers as key/value pairs on each new line
>
>
> Diffs
> -----
>
> bin/flume-ng.cmd PRE-CREATION
> bin/flume-ng.ps1 PRE-CREATION
>
> Diff: https://reviews.apache.org/r/13308/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Roshan Naik
>
>
Re: Review Request 13308: Flume startup script for windows
Posted by Roshan Naik <ro...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13308/
-----------------------------------------------------------
(Updated Aug. 6, 2013, 12:32 a.m.)
Review request for Flume.
Changes
-------
minor tweaks to descriptions
Bugs: FLUME-1334
https://issues.apache.org/jira/browse/FLUME-1334
Repository: flume-git
Description (updated)
-------
Flume startup script for windows.
The command line options have slightly changed (form unix script) to accomodate powershell requirements:
- cannot have case sensitive options: -d (dry run) and -D (java props). Similary -C & -c.
- double hyphen is not allowed. So instead of --option, we use -option
- multiple options with same name are not allowed. So instead of -classpath a=1 -classpath b=2 .. will change to -classpath "a=1;b=2"
Usage:
Usage: flume-ng <command> [options]...
commands:
help display this help text
agent run a Flume agent
avro-client run an avro Flume client
version show Flume version info
global options:
-conf <conf> use configs in <conf> directory
-classpath,-C ""value1;value2; .."" append to the classpath
-property ""name1=val;name2=val; .."" sets a JDK system property value
-dryrun,-d do not actually start Flume (test)
agent options:
-conf-file,-f <file> specify a config file (required)
-name,-n <name> the name of this agent (required)
avro-client options:
-host,-H <host> hostname to which events will be sent (required)
-port,-p <port> port of the avro source (required)
-filename <file> text file to stream to avro source [default: std input]
-headerFile,-R <file> headerFile containing headers as key/value pairs on each new line
Diffs
-----
bin/flume-ng.cmd PRE-CREATION
bin/flume-ng.ps1 PRE-CREATION
Diff: https://reviews.apache.org/r/13308/diff/
Testing
-------
Thanks,
Roshan Naik