Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Commit

Permalink
Fixing bug with null HADOOP_OVERRIDE
Browse files Browse the repository at this point in the history
  • Loading branch information
khorgath committed Feb 17, 2011
1 parent bfe5275 commit 2566c93
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions bin/hive
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -149,10 +149,11 @@ if [ "$HADOOP_HOME" == "" ]; then
exit 4; exit 4;
fi fi


if [ -f ${HADOOP_OVERRIDE} ]; then HADOOP=$HADOOP_HOME/bin/hadoop
HADOOP=$HADOOP_OVERRIDE if [ "x$HADOOP_OVERRIDE" != "x" ]; then
else if [ -f ${HADOOP_OVERRIDE} ]; then
HADOOP=$HADOOP_HOME/bin/hadoop HADOOP=$HADOOP_OVERRIDE
fi
fi fi


if [ ! -f ${HADOOP} ]; then if [ ! -f ${HADOOP} ]; then
Expand Down

0 comments on commit 2566c93

Please sign in to comment.