Skip to content
Snippets Groups Projects
Commit 6c27c384 authored by Reynold Xin's avatar Reynold Xin
Browse files

Merge pull request #615 from rxin/build-fix

Maven build fix & two other small changes
parents dc146406 43644a29
No related branches found
No related tags found
No related merge requests found
...@@ -87,6 +87,10 @@ ...@@ -87,6 +87,10 @@
<groupId>org.apache.mesos</groupId> <groupId>org.apache.mesos</groupId>
<artifactId>mesos</artifactId> <artifactId>mesos</artifactId>
</dependency> </dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
</dependency>
<dependency> <dependency>
<groupId>log4j</groupId> <groupId>log4j</groupId>
<artifactId>log4j</artifactId> <artifactId>log4j</artifactId>
......
...@@ -256,6 +256,11 @@ ...@@ -256,6 +256,11 @@
<artifactId>mesos</artifactId> <artifactId>mesos</artifactId>
<version>${mesos.version}</version> <version>${mesos.version}</version>
</dependency> </dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>4.0.0.Beta2</version>
</dependency>
<dependency> <dependency>
<groupId>org.apache.derby</groupId> <groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId> <artifactId>derby</artifactId>
......
...@@ -142,7 +142,6 @@ object SparkBuild extends Build { ...@@ -142,7 +142,6 @@ object SparkBuild extends Build {
), ),
libraryDependencies ++= Seq( libraryDependencies ++= Seq(
"io.netty" % "netty" % "3.5.3.Final",
"com.google.guava" % "guava" % "11.0.1", "com.google.guava" % "guava" % "11.0.1",
"log4j" % "log4j" % "1.2.16", "log4j" % "log4j" % "1.2.16",
"org.slf4j" % "slf4j-api" % slf4jVersion, "org.slf4j" % "slf4j-api" % slf4jVersion,
......
...@@ -102,12 +102,18 @@ STREAMING_DIR="$FWDIR/streaming" ...@@ -102,12 +102,18 @@ STREAMING_DIR="$FWDIR/streaming"
PYSPARK_DIR="$FWDIR/python" PYSPARK_DIR="$FWDIR/python"
# Exit if the user hasn't compiled Spark # Exit if the user hasn't compiled Spark
if [ ! -e "$REPL_DIR/target" ]; then if [ ! -e "$CORE_DIR/target" ]; then
echo "Failed to find Spark classes in $REPL_DIR/target" >&2 echo "Failed to find Spark classes in $CORE_DIR/target" >&2
echo "You need to compile Spark before running this program" >&2 echo "You need to compile Spark before running this program" >&2
exit 1 exit 1
fi fi
if [[ "$@" = *repl* && ! -e "$REPL_DIR/target" ]]; then
echo "Failed to find Spark classes in $REPL_DIR/target" >&2
echo "You need to compile Spark repl module before running this program" >&2
exit 1
fi
# Build up classpath # Build up classpath
CLASSPATH="$SPARK_CLASSPATH" CLASSPATH="$SPARK_CLASSPATH"
CLASSPATH="$CLASSPATH:$FWDIR/conf" CLASSPATH="$CLASSPATH:$FWDIR/conf"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment