You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by rv...@apache.org on 2011/11/17 00:20:50 UTC
svn commit: r1202928 -
/incubator/bigtop/trunk/bigtop-packages/src/common/mahout/install_mahout.sh
Author: rvs
Date: Wed Nov 16 23:20:50 2011
New Revision: 1202928
URL: http://svn.apache.org/viewvc?rev=1202928&view=rev
Log:
BIGTOP-259. Most of the mahout tests can't be executed out-of-the box
Modified:
incubator/bigtop/trunk/bigtop-packages/src/common/mahout/install_mahout.sh
Modified: incubator/bigtop/trunk/bigtop-packages/src/common/mahout/install_mahout.sh
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/common/mahout/install_mahout.sh?rev=1202928&r1=1202927&r2=1202928&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/common/mahout/install_mahout.sh (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/common/mahout/install_mahout.sh Wed Nov 16 23:20:50 2011
@@ -134,6 +134,8 @@ fi
export MAHOUT_HOME=\${MAHOUT_HOME:-$INSTALLED_LIB_DIR}
export MAHOUT_CONF_DIR=\${MAHOUT_CONF_DIR:-$CONF_DIR}
+# FIXME: the following line is a workaround for BIGTOP-259
+export HADOOP_CLASSPATH="`echo /usr/lib/mahout/mahout-examples-*-job.jar`":\$HADOOP_CLASSPATH
exec $INSTALLED_LIB_DIR/bin/mahout "\$@"
EOF
chmod 755 $PREFIX/$BIN_DIR/mahout