falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject falcon git commit: FALCON-1942 Allow Falcon server and client classpath to be customizable
Date Tue, 10 May 2016 21:51:09 GMT
Repository: falcon
Updated Branches:
  refs/heads/master 8bd7a5c87 -> a88ba80aa


FALCON-1942 Allow Falcon server and client classpath to be customizable

Allow server and client classpath to be customizable

Author: Venkat Ranganathan <venkat@hortonworks.com>

Reviewers: "Ying Zheng <yzheng@hortonworks.com>, Balu Vellanki <balu@apache.org>"

Closes #134 from vrangan/FALCON-1942


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

Branch: refs/heads/master
Commit: a88ba80aa6511a332629575d717b601a6be0c8cc
Parents: 8bd7a5c
Author: Venkat Ranganathan <venkat@hortonworks.com>
Authored: Tue May 10 14:51:05 2016 -0700
Committer: bvellanki <bvellanki@hortonworks.com>
Committed: Tue May 10 14:51:05 2016 -0700

----------------------------------------------------------------------
 src/bin/falcon-config.sh | 3 +++
 src/conf/falcon-env.sh   | 3 +++
 2 files changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/a88ba80a/src/bin/falcon-config.sh
----------------------------------------------------------------------
diff --git a/src/bin/falcon-config.sh b/src/bin/falcon-config.sh
index b3be280..ecac65e 100644
--- a/src/bin/falcon-config.sh
+++ b/src/bin/falcon-config.sh
@@ -135,5 +135,8 @@ case $type in
     exit 1
   ;;
 esac
+# Allow FALCONCPPATH to be augmented with extra classpath.  Add to the end
+# so that Falcon classes are higher in precedence.
+FALCONCPPATH="${FALCONCPPATH}:${FALCON_EXTRA_CLASS_PATH}"
 export FALCONCPPATH
 export FALCON_OPTS

http://git-wip-us.apache.org/repos/asf/falcon/blob/a88ba80a/src/conf/falcon-env.sh
----------------------------------------------------------------------
diff --git a/src/conf/falcon-env.sh b/src/conf/falcon-env.sh
index 7d4a55e..5d47e1d 100644
--- a/src/conf/falcon-env.sh
+++ b/src/conf/falcon-env.sh
@@ -53,3 +53,6 @@
 
 # Where do you want to expand the war file. By Default it is in /server/webapp dir under
the base install dir.
 #export FALCON_EXPANDED_WEBAPP_DIR=
+
+# Any additional classpath elements to be added to the Falcon server/client classpath
+#export FALCON_EXTRA_CLASS_PATH=


Mime
View raw message