Repository: falcon
Updated Branches:
  refs/heads/master 732395765 -> 51a09451e

FALCON-2208 Cli config changes to load hadoop class path to falcon client 

Author: sandeep <>

Reviewers: @pallavi-rao

Closes #311 from sandeepSamudrala/FALCON-2208 and squashes the following 

0011a15 [sandeep] Merge branch 'master' of 
into FALCON-2208
100f129 [sandeep] FALCON-2208 Falcon Cli changes to add hadoop classpath to 
falcon classpath
f96a084 [sandeep] Merge branch 'master' of
9cf36e9 [sandeep] Merge branch 'master' of
bbca081 [sandeep] Merge branch 'master' of
48f6afa [sandeep] Merge branch 'master' of
250cc46 [sandeep] Merge branch 'master' of
d0393e9 [sandeep] Merge branch 'master' of
a178805 [sandeep] Merge branch 'master' of
d6dc8bf [sandeep] Merge branch 'master' of
1bb8d3c [sandeep] Merge branch 'master' of
c065566 [sandeep] reverting last line changes made
1a4dcd2 [sandeep] rebased and resolved the conflicts from master
271318b [sandeep] FALCON-2097. Adding UT to the new method for getting next 
instance time with Delay.
a94d4fe [sandeep] rebasing from master
9e68a57 [sandeep] FALCON-298. Feed update with replication delay creates holes


Branch: refs/heads/master
Commit: 51a09451e9b1438909a1cc0393b05343b6d11714
Parents: 7323957
Author: sandeep <>
Authored: Fri Dec 2 12:31:45 2016 +0530
Committer: Pallavi Rao <>
Committed: Fri Dec 2 12:31:45 2016 +0530

 src/bin/ | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff --git a/src/bin/ b/src/bin/
index 20f04af..f350404 100644
--- a/src/bin/
+++ b/src/bin/
@@ -65,6 +65,18 @@ case $type in
     # set the client class path
+    HADOOPDIR=`which hadoop`
+    if [ "$HADOOP_HOME" != "" ]; then
+      echo "Hadoop home is set, adding libraries from 
'${HADOOP_HOME}/bin/hadoop classpath' into falcon classpath"
+      FALCONCPPATH="${FALCONCPPATH}:`${HADOOP_HOME}/bin/hadoop classpath`"
+    elif [ "$HADOOPDIR" != "" ]; then
+      echo "Hadoop is installed, adding hadoop classpath to falcon classpath"
+      FALCONCPPATH="${FALCONCPPATH}:`hadoop classpath`"
+    else
+      echo "Could not find installed hadoop and HADOOP_HOME is not set."
+      echo "Using the default jars bundled in ${BASEDIR}/hadooplibs/"
+    fi
     for i in `ls ${BASEDIR}/server/webapp`; do

Reply via email to