FLUME-1523. Allow -X java opts to be passed to the agent on the command line.
(Mike Percy via Hari Shreedharan) Project: http://git-wip-us.apache.org/repos/asf/flume/repo Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/9b89728f Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/9b89728f Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/9b89728f Branch: refs/heads/cdh-1.2.0+24_intuit Commit: 9b89728f9a0dcb977f6831fe8edf387fb48ff522 Parents: d3146b3 Author: Hari Shreedharan <[email protected]> Authored: Wed Aug 29 15:17:36 2012 -0700 Committer: Mike Percy <[email protected]> Committed: Fri Sep 7 14:03:06 2012 -0700 ---------------------------------------------------------------------- bin/flume-ng | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flume/blob/9b89728f/bin/flume-ng ---------------------------------------------------------------------- diff --git a/bin/flume-ng b/bin/flume-ng index 04b5cae..121adf3 100755 --- a/bin/flume-ng +++ b/bin/flume-ng @@ -276,6 +276,9 @@ while [ -n "$*" ] ; do -D*) opt_java_props="$opt_java_props $arg" ;; + -X*) + opt_java_props="$opt_java_props $arg" + ;; *) args="$args $arg" ;;
