flume-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johnyru...@apache.org
Subject flume git commit: FLUME-2763. flume_env script should handle jvm parameters like -javaagent -agentpath -agentlib
Date Thu, 20 Aug 2015 15:17:33 GMT
Repository: flume
Updated Branches:
  refs/heads/flume-1.7 d02013f4e -> 039e1a2cd


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/039e1a2c
Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/039e1a2c
Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/039e1a2c

Branch: refs/heads/flume-1.7
Commit: 039e1a2cd4c512ccedf8c7515be648155a88c52c
Parents: d02013f
Author: Johny Rufus <johnyrufus@apache.org>
Authored: Thu Aug 20 08:11:13 2015 -0700
Committer: Johny Rufus <johnyrufus@apache.org>
Committed: Thu Aug 20 08:17:13 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/flume/blob/039e1a2c/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))


Mime
View raw message