Skip to content

Commit

Permalink
Add Bagel classpath to run script
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurdave committed May 3, 2011
1 parent 62ef620 commit 45ec9db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions run
Expand Up @@ -35,6 +35,7 @@ export JAVA_OPTS

CORE_DIR=$FWDIR/core
EXAMPLES_DIR=$FWDIR/examples
BAGEL_DIR=$FWDIR/bagel

# Build up classpath
CLASSPATH="$SPARK_CLASSPATH:$CORE_DIR/target/scala_2.8.1/classes:$MESOS_CLASSPATH"
Expand All @@ -60,6 +61,7 @@ CLASSPATH+=:$EXAMPLES_DIR/target/scala_2.8.1/classes
for jar in $CORE_DIR/lib/hadoop-0.20.2/lib/*.jar; do
CLASSPATH+=:$jar
done
CLASSPATH+=:$BAGEL_DIR/target/scala_2.8.1/classes
export CLASSPATH # Needed for spark-shell

if [ -n "$SCALA_HOME" ]; then
Expand Down

0 comments on commit 45ec9db

Please sign in to comment.