aboutsummaryrefslogtreecommitdiff
path: root/bin/compute-classpath.sh
diff options
context:
space:
mode:
authorReynold Xin <rxin@cs.berkeley.edu>2013-06-29 21:28:22 -0700
committerReynold Xin <rxin@cs.berkeley.edu>2013-06-29 21:28:22 -0700
commitce7e270bb4c6374b0ad0cce0eabd4ebf1566718a (patch)
tree4308b6360b657f03d3041bf4caaeb8c7bf86ce89 /bin/compute-classpath.sh
parent79b5eaa4e2a32817a50e583554a53ed7ab72e0b2 (diff)
downloadspark-ce7e270bb4c6374b0ad0cce0eabd4ebf1566718a.tar.gz
spark-ce7e270bb4c6374b0ad0cce0eabd4ebf1566718a.tar.bz2
spark-ce7e270bb4c6374b0ad0cce0eabd4ebf1566718a.zip
Added graph package to the 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..4b772e6f2b 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"
+GRAPH_DIR="$FWDIR/graph"
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:$GRAPH_DIR/target/scala-$SCALA_VERSION/classes"
for jar in `find $PYSPARK_DIR/lib -name '*jar'`; do
CLASSPATH="$CLASSPATH:$jar"
done