Repository: spark
Updated Branches:
  refs/heads/master 30e743364 -> 08660a0bc


[BUILD][MINOR] Remove non-exist yarnStable module in Sbt project

Remove some old yarn related building codes, please review, thanks a lot.

Author: jerryshao <ss...@hortonworks.com>

Closes #9625 from jerryshao/remove-old-module.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/08660a0b
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/08660a0b
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/08660a0b

Branch: refs/heads/master
Commit: 08660a0bc903a87b72f8ffd8b9b02fd7ee379cf7
Parents: 30e7433
Author: jerryshao <ss...@hortonworks.com>
Authored: Thu Nov 12 17:23:24 2015 +0100
Committer: Sean Owen <so...@cloudera.com>
Committed: Thu Nov 12 17:23:24 2015 +0100

----------------------------------------------------------------------
 project/SparkBuild.scala | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/08660a0b/project/SparkBuild.scala
----------------------------------------------------------------------
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala
index 570c9e5..67724c4 100644
--- a/project/SparkBuild.scala
+++ b/project/SparkBuild.scala
@@ -42,9 +42,9 @@ object BuildCommons {
       "streaming-flume", "streaming-kafka", "streaming-mqtt", 
"streaming-twitter",
       "streaming-zeromq", "launcher", "unsafe", 
"test-tags").map(ProjectRef(buildLocation, _))
 
-  val optionallyEnabledProjects@Seq(yarn, yarnStable, java8Tests, 
sparkGangliaLgpl,
+  val optionallyEnabledProjects@Seq(yarn, java8Tests, sparkGangliaLgpl,
     streamingKinesisAsl, dockerIntegrationTests) =
-    Seq("yarn", "yarn-stable", "java8-tests", "ganglia-lgpl", 
"streaming-kinesis-asl",
+    Seq("yarn", "java8-tests", "ganglia-lgpl", "streaming-kinesis-asl",
       "docker-integration-tests").map(ProjectRef(buildLocation, _))
 
   val assemblyProjects@Seq(assembly, examples, networkYarn, 
streamingFlumeAssembly, streamingKafkaAssembly, streamingMqttAssembly, 
streamingKinesisAslAssembly) =
@@ -72,7 +72,6 @@ object SparkBuild extends PomBuild {
   // Provides compatibility for older versions of the Spark build
   def backwardCompatibility = {
     import scala.collection.mutable
-    var isAlphaYarn = false
     var profiles: mutable.Seq[String] = mutable.Seq("sbt")
     // scalastyle:off println
     if (Properties.envOrNone("SPARK_GANGLIA_LGPL").isDefined) {
@@ -85,7 +84,6 @@ object SparkBuild extends PomBuild {
     }
     Properties.envOrNone("SPARK_HADOOP_VERSION") match {
       case Some(v) =>
-        if (v.matches("0.23.*")) isAlphaYarn = true
         println("NOTE: SPARK_HADOOP_VERSION is deprecated, please use 
-Dhadoop.version=" + v)
         System.setProperty("hadoop.version", v)
       case None =>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to