bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1236928 - /incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hive/install_hive.sh
Date Fri, 27 Jan 2012 23:52:42 GMT
Author: rvs
Date: Fri Jan 27 23:52:42 2012
New Revision: 1236928

URL: http://svn.apache.org/viewvc?rev=1236928&view=rev
Log:
BIGTOP-372. hive can't be started without setting HADOOP_HOME

Modified:
    incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hive/install_hive.sh

Modified: incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hive/install_hive.sh
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hive/install_hive.sh?rev=1236928&r1=1236927&r2=1236928&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hive/install_hive.sh
(original)
+++ incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hive/install_hive.sh
Fri Jan 27 23:52:42 2012
@@ -128,6 +128,9 @@ elif [ -e /usr/lib/bigtop-utils/bigtop-d
   . /usr/lib/bigtop-utils/bigtop-detect-javahome
 fi
 
+#FIXME: workaround for HIVE-2757 (NOTE: HADOOP_HOME is obsolete for Hadoop .23)
+export HADOOP_HOME=\${HADOOP_HOME:-/usr/lib/hadoop}
+
 export HIVE_HOME=$INSTALLED_LIB_DIR
 exec $INSTALLED_LIB_DIR/bin/$file "\$@"
 EOF



Mime
View raw message