You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flume.apache.org by jo...@apache.org on 2015/08/20 17:16:34 UTC

flume git commit: FLUME-2763. flume_env script should handle jvm parameters like -javaagent -agentpath -agentlib

Repository: flume
Updated Branches:
  refs/heads/trunk 757a560db -> fff13b5e0


FLUME-2763. flume_env script should handle jvm parameters like -javaagent -agentpath -agentlib

( Philip Zeyliger, Neerja Khattar via Johny Rufus)


Project: http://git-wip-us.apache.org/repos/asf/flume/repo
Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/fff13b5e
Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/fff13b5e
Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/fff13b5e

Branch: refs/heads/trunk
Commit: fff13b5e0aa6cb2f81aaeeb46e440120662fffa8
Parents: 757a560
Author: Johny Rufus <jo...@apache.org>
Authored: Thu Aug 20 08:11:13 2015 -0700
Committer: Johny Rufus <jo...@apache.org>
Committed: Thu Aug 20 08:11:13 2015 -0700

----------------------------------------------------------------------
 bin/flume-ng | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flume/blob/fff13b5e/bin/flume-ng
----------------------------------------------------------------------
diff --git a/bin/flume-ng b/bin/flume-ng
index 380169f..e28723d 100755
--- a/bin/flume-ng
+++ b/bin/flume-ng
@@ -315,6 +315,18 @@ while [ -n "$*" ] ; do
       opt_plugins_dirs=$1
       shift
       ;;
+    -agentlib*)
+      arr_java_props[arr_java_props_ct]=$arg
+      ((++arr_java_props_ct))
+      ;;
+    -agentpath*)
+      arr_java_props[arr_java_props_ct]=$arg
+      ((++arr_java_props_ct))
+      ;;
+    -javaagent*)
+      arr_java_props[arr_java_props_ct]=$arg
+      ((++arr_java_props_ct))
+      ;;
     -D*)
       arr_java_props[arr_java_props_ct]=$arg
       ((++arr_java_props_ct))