Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
FALCON-2061 Falcon CLI shows hadoop classpath loading info in the con…
…sole

Author: bvellanki <bvellanki@hortonworks.com>

Reviewers: "Ying Zheng <yzheng@hortonworks.com>, Venkat Ranganathan <venkat@hortonworks.com>, Venkatesan Ramachandran <Me.venkatr@gmail.com>"

Closes #213 from bvellanki/FALCON-2061

(cherry picked from commit 91f7c81)
Signed-off-by: bvellanki <bvellanki@hortonworks.com>
  • Loading branch information
bvellanki committed Jul 7, 2016
1 parent 2e986a3 commit c9e93162a88694753a34da2b89abaa570aa0b2c3
Showing 1 changed file with 0 additions and 12 deletions.
@@ -68,18 +68,6 @@ case $type in
for i in `ls ${BASEDIR}/server/webapp`; do
FALCONCPPATH="${FALCONCPPATH}:${i}/WEB-INF/lib/*"
done
# In future we should refactor the CP directories between server and client
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 "Please make sure either HADOOP_HOME is set or hadoop is in the PATH"
fi
FALCON_OPTS="$FALCON_OPTS $FALCON_CLIENT_OPTS $FALCON_CLIENT_HEAP"
;;
server)

0 comments on commit c9e9316

Please sign in to comment.