Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…e into howl
  • Loading branch information...
commit b52bea784c14d5d579624e2ec6abc23ca04096bd 2 parents 8018eb8 + bfe5275
@ashutoshc ashutoshc authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 bin/hive
View
7 bin/hive
@@ -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.
Something went wrong with that request. Please try again.