From 4f1c3fa5d7e6fe509b1cea550eaa213a185ec964 Mon Sep 17 00:00:00 2001 From: Harvey Feng Date: Sat, 23 Nov 2013 17:07:19 -0800 Subject: Hadoop 2.2 YARN API migration for `SPARK_HOME/new-yarn` --- core/src/main/scala/org/apache/spark/SparkContext.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/src/main/scala/org/apache/spark/SparkContext.scala b/core/src/main/scala/org/apache/spark/SparkContext.scala index 42b2985b50..fad54683bc 100644 --- a/core/src/main/scala/org/apache/spark/SparkContext.scala +++ b/core/src/main/scala/org/apache/spark/SparkContext.scala @@ -81,7 +81,7 @@ class SparkContext( val sparkHome: String = null, val jars: Seq[String] = Nil, val environment: Map[String, String] = Map(), - // This is used only by yarn for now, but should be relevant to other cluster types (mesos, etc) + // This is used only by YARN for now, but should be relevant to other cluster types (Mesos, etc) // too. This is typically generated from InputFormatInfo.computePreferredLocations .. host, set // of data-local splits on host val preferredNodeLocationData: scala.collection.Map[String, scala.collection.Set[SplitInfo]] = -- cgit v1.2.3 From 4738818dd6efc644a093e983ac4a5a300da14f09 Mon Sep 17 00:00:00 2001 From: Raymond Liu Date: Mon, 2 Dec 2013 13:08:36 +0800 Subject: Fix pom.xml for maven build --- core/pom.xml | 10 +++------ pom.xml | 61 +++++++++++++++++++++++++++++++++++++++++++++++-------- streaming/pom.xml | 9 +------- 3 files changed, 56 insertions(+), 24 deletions(-) (limited to 'core') diff --git a/core/pom.xml b/core/pom.xml index 6af229c71d..38f4be1280 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -95,15 +95,15 @@ 0.3.1 - com.typesafe.akka + ${akka.group} akka-actor - com.typesafe.akka + ${akka.group} akka-remote - com.typesafe.akka + ${akka.group} akka-slf4j @@ -126,10 +126,6 @@ colt colt - - com.github.scala-incubator.io - scala-io-file_2.9.2 - org.apache.mesos mesos diff --git a/pom.xml b/pom.xml index 42c1e00e9d..9348c770fb 100644 --- a/pom.xml +++ b/pom.xml @@ -102,7 +102,9 @@ 1.5 2.9.3 0.13.0 + com.typesafe.akka 2.0.5 + 2.4.1 1.7.2 1.2.17 1.0.4 @@ -245,7 +247,7 @@ com.google.protobuf protobuf-java - 2.4.1 + ${protobuf.version} com.twitter @@ -258,7 +260,7 @@ 0.3.1 - com.typesafe.akka + ${akka.group} akka-actor ${akka.version} @@ -269,7 +271,7 @@ - com.typesafe.akka + ${akka.group} akka-remote ${akka.version} @@ -280,7 +282,7 @@ - com.typesafe.akka + ${akka.group} akka-slf4j ${akka.version} @@ -290,6 +292,17 @@ + + ${akka.group} + akka-zeromq + ${akka.version} + + + org.jboss.netty + netty + + + it.unimi.dsi fastutil @@ -300,11 +313,6 @@ colt 1.2.0 - - com.github.scala-incubator.io - scala-io-file_2.9.2 - 0.4.1 - org.apache.mesos mesos @@ -770,6 +778,41 @@ + + + new-yarn + + org.spark-project + 2.0.5-protobuf-2.5-java-1.5 + 2 + 2.2.0 + 2.5.0 + + + + new-yarn + + + + + maven-root + Maven root repository + http://repo1.maven.org/maven2/ + + true + + + false + + + + + + + + + + repl-bin diff --git a/streaming/pom.xml b/streaming/pom.xml index 7a9ae6a97b..40892937b8 100644 --- a/streaming/pom.xml +++ b/streaming/pom.xml @@ -110,15 +110,8 @@ scala-library - com.typesafe.akka + ${akka.group} akka-zeromq - 2.0.3 - - - org.jboss.netty - netty - - org.scalatest -- cgit v1.2.3