You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flume.apache.org by hs...@apache.org on 2015/04/14 22:41:44 UTC
flume git commit: FLUME-2148. Windows : Add flume-env.ps1
Repository: flume
Updated Branches:
refs/heads/trunk a508d9531 -> 94f568b96
FLUME-2148. Windows : Add flume-env.ps1
(Roshan Naik via Hari)
Project: http://git-wip-us.apache.org/repos/asf/flume/repo
Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/94f568b9
Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/94f568b9
Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/94f568b9
Branch: refs/heads/trunk
Commit: 94f568b96afc79d7850de64e47dead1c7352cef9
Parents: a508d95
Author: Hari Shreedharan <hs...@apache.org>
Authored: Tue Apr 14 13:41:01 2015 -0700
Committer: Hari Shreedharan <hs...@apache.org>
Committed: Tue Apr 14 13:41:01 2015 -0700
----------------------------------------------------------------------
conf/flume-env.ps1.template | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flume/blob/94f568b9/conf/flume-env.ps1.template
----------------------------------------------------------------------
diff --git a/conf/flume-env.ps1.template b/conf/flume-env.ps1.template
new file mode 100644
index 0000000..8bf535a
--- /dev/null
+++ b/conf/flume-env.ps1.template
@@ -0,0 +1,23 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# Give Flume more memory and pre-allocate, enable remote monitoring via JMX
+$JAVA_OPTS="-Xms100m -Xmx200m -Dcom.sun.management.jmxremote"
+
+# Foll. classpath will be included in Flume's classpath.
+# Note that the Flume conf directory is always included in the classpath.
+$FLUME_CLASSPATH="" # Example: "path1;path2;path3"