aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/pom.xml4
-rw-r--r--docs/_plugins/copy_api_dirs.rb2
-rw-r--r--pom.xml5
-rw-r--r--project/SparkBuild.scala1
-rwxr-xr-xrun10
5 files changed, 18 insertions, 4 deletions
diff --git a/core/pom.xml b/core/pom.xml
index 57a95328c3..d8687bf991 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -88,6 +88,10 @@
<artifactId>mesos</artifactId>
</dependency>
<dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-all</artifactId>
+ </dependency>
+ <dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
diff --git a/docs/_plugins/copy_api_dirs.rb b/docs/_plugins/copy_api_dirs.rb
index d77e53963c..c10ae595de 100644
--- a/docs/_plugins/copy_api_dirs.rb
+++ b/docs/_plugins/copy_api_dirs.rb
@@ -18,7 +18,7 @@ if ENV['SKIP_API'] != '1'
# Copy over the scaladoc from each project into the docs directory.
# This directory will be copied over to _site when `jekyll` command is run.
projects.each do |project_name|
- source = "../" + project_name + "/target/scala-2.9.2/api"
+ source = "../" + project_name + "/target/scala-2.9.3/api"
dest = "api/" + project_name
puts "echo making directory " + dest
diff --git a/pom.xml b/pom.xml
index d7cdc591cf..eda18fdd12 100644
--- a/pom.xml
+++ b/pom.xml
@@ -257,6 +257,11 @@
<version>${mesos.version}</version>
</dependency>
<dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-all</artifactId>
+ <version>4.0.0.Beta2</version>
+ </dependency>
+ <dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>10.4.2.0</version>
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala
index 234b021c93..0ea23b446f 100644
--- a/project/SparkBuild.scala
+++ b/project/SparkBuild.scala
@@ -142,7 +142,6 @@ object SparkBuild extends Build {
),
libraryDependencies ++= Seq(
- "io.netty" % "netty" % "3.5.3.Final",
"com.google.guava" % "guava" % "11.0.1",
"log4j" % "log4j" % "1.2.16",
"org.slf4j" % "slf4j-api" % slf4jVersion,
diff --git a/run b/run
index c744bbd3dc..c0065c53f1 100755
--- a/run
+++ b/run
@@ -102,12 +102,18 @@ STREAMING_DIR="$FWDIR/streaming"
PYSPARK_DIR="$FWDIR/python"
# Exit if the user hasn't compiled Spark
-if [ ! -e "$REPL_DIR/target" ]; then
- echo "Failed to find Spark classes in $REPL_DIR/target" >&2
+if [ ! -e "$CORE_DIR/target" ]; then
+ echo "Failed to find Spark classes in $CORE_DIR/target" >&2
echo "You need to compile Spark before running this program" >&2
exit 1
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
CLASSPATH="$SPARK_CLASSPATH"
CLASSPATH="$CLASSPATH:$FWDIR/conf"