Permalink
Browse files

Merge branch 'howl' of ssh://scm200.gold.ygrid.yahoo.com/grid/git/hiv…

…e into howl
  • Loading branch information...
2 parents 8018eb8 + bfe5275 commit b52bea784c14d5d579624e2ec6abc23ca04096bd @ashutoshc ashutoshc committed Feb 15, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 bin/hive
View
@@ -149,7 +149,12 @@ if [ "$HADOOP_HOME" == "" ]; then
exit 4;
fi
-HADOOP=$HADOOP_HOME/bin/hadoop
+if [ -f ${HADOOP_OVERRIDE} ]; then
+ HADOOP=$HADOOP_OVERRIDE
+else
+ HADOOP=$HADOOP_HOME/bin/hadoop
+fi
+
if [ ! -f ${HADOOP} ]; then
echo "Cannot find hadoop installation: \$HADOOP_HOME must be set or hadoop must be in the path";
exit 4;

0 comments on commit b52bea7

Please sign in to comment.