aboutsummaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorTathagata Das <tathagata.das1565@gmail.com>2013-02-24 16:24:52 -0800
committerTathagata Das <tathagata.das1565@gmail.com>2013-02-24 16:24:52 -0800
commit5ab37be9831e8a70b2502b14aed1c87cb002a189 (patch)
tree52f37dddce0179a41a7855248d970e7fe6513719 /run
parent28f8b721f65fc8e699f208c5dc64d90822a85d91 (diff)
downloadspark-5ab37be9831e8a70b2502b14aed1c87cb002a189.tar.gz
spark-5ab37be9831e8a70b2502b14aed1c87cb002a189.tar.bz2
spark-5ab37be9831e8a70b2502b14aed1c87cb002a189.zip
Fixed class paths and dependencies based on Matei's comments.
Diffstat (limited to 'run')
-rwxr-xr-xrun5
1 files changed, 2 insertions, 3 deletions
diff --git a/run b/run
index 6b2d84d48d..ecbf7673c6 100755
--- a/run
+++ b/run
@@ -111,14 +111,13 @@ CLASSPATH+=":$FWDIR/conf"
CLASSPATH+=":$CORE_DIR/target/scala-$SCALA_VERSION/classes"
if [ -n "$SPARK_TESTING" ] ; then
CLASSPATH+=":$CORE_DIR/target/scala-$SCALA_VERSION/test-classes"
+ CLASSPATH+=":$STREAMING_DIR/target/scala-$SCALA_VERSION/test-classes"
fi
CLASSPATH+=":$CORE_DIR/src/main/resources"
CLASSPATH+=":$REPL_DIR/target/scala-$SCALA_VERSION/classes"
CLASSPATH+=":$EXAMPLES_DIR/target/scala-$SCALA_VERSION/classes"
CLASSPATH+=":$STREAMING_DIR/target/scala-$SCALA_VERSION/classes"
-for jar in `find "$STREAMING_DIR/lib" -name '*jar'`; do
- CLASSPATH+=":$jar"
-done
+CLASSPATH+=":$STREAMING_DIR/lib/org/apache/kafka/kafka/0.7.2-spark/*" # <-- our in-project Kafka Jar
if [ -e "$FWDIR/lib_managed" ]; then
CLASSPATH+=":$FWDIR/lib_managed/jars/*"
CLASSPATH+=":$FWDIR/lib_managed/bundles/*"