incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1202928 - /incubator/bigtop/trunk/bigtop-packages/src/common/mahout/install_mahout.sh
Date Wed, 16 Nov 2011 23:20:50 GMT
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



Mime
View raw message