aboutsummaryrefslogtreecommitdiff
path: root/bin/compute-classpath.sh
diff options
context:
space:
mode:
authorMatei Zaharia <matei@eecs.berkeley.edu>2013-07-05 11:38:53 -0700
committerMatei Zaharia <matei@eecs.berkeley.edu>2013-07-05 11:38:53 -0700
commit43b24635ee45a845f2432bc13c11fcf2eb02f2f3 (patch)
tree4f2808af8ba9c3816619a49a3c505855f9b65cf9 /bin/compute-classpath.sh
parent399bd65ef5f780c2796f6facf9fac8fd9ec2c2f4 (diff)
downloadspark-43b24635ee45a845f2432bc13c11fcf2eb02f2f3.tar.gz
spark-43b24635ee45a845f2432bc13c11fcf2eb02f2f3.tar.bz2
spark-43b24635ee45a845f2432bc13c11fcf2eb02f2f3.zip
Renamed ML package to MLlib and added it to classpath
Diffstat (limited to 'bin/compute-classpath.sh')
-rwxr-xr-xbin/compute-classpath.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/compute-classpath.sh b/bin/compute-classpath.sh
index 3a78880290..75c58d1181 100755
--- a/bin/compute-classpath.sh
+++ b/bin/compute-classpath.sh
@@ -18,6 +18,7 @@ REPL_DIR="$FWDIR/repl"
REPL_BIN_DIR="$FWDIR/repl-bin"
EXAMPLES_DIR="$FWDIR/examples"
BAGEL_DIR="$FWDIR/bagel"
+MLLIB_DIR="$FWDIR/mllib"
STREAMING_DIR="$FWDIR/streaming"
PYSPARK_DIR="$FWDIR/python"
@@ -49,6 +50,7 @@ if [ -e $REPL_BIN_DIR/target ]; then
CLASSPATH+=":$EXAMPLES_JAR"
fi
CLASSPATH="$CLASSPATH:$BAGEL_DIR/target/scala-$SCALA_VERSION/classes"
+CLASSPATH="$CLASSPATH:$MLLIB_DIR/target/scala-$SCALA_VERSION/classes"
for jar in `find $PYSPARK_DIR/lib -name '*jar'`; do
CLASSPATH="$CLASSPATH:$jar"
done