aboutsummaryrefslogtreecommitdiff
path: root/project/SparkBuild.scala
diff options
context:
space:
mode:
authorjerryshao <sshao@hortonworks.com>2015-11-12 17:23:24 +0100
committerSean Owen <sowen@cloudera.com>2015-11-12 17:23:24 +0100
commit08660a0bc903a87b72f8ffd8b9b02fd7ee379cf7 (patch)
tree42ba51085573c4c7d926c91b65398eae0fd4604e /project/SparkBuild.scala
parent30e743364313d4b81c99de8f9a7170f5bca2771c (diff)
downloadspark-08660a0bc903a87b72f8ffd8b9b02fd7ee379cf7.tar.gz
spark-08660a0bc903a87b72f8ffd8b9b02fd7ee379cf7.tar.bz2
spark-08660a0bc903a87b72f8ffd8b9b02fd7ee379cf7.zip
[BUILD][MINOR] Remove non-exist yarnStable module in Sbt project
Remove some old yarn related building codes, please review, thanks a lot. Author: jerryshao <sshao@hortonworks.com> Closes #9625 from jerryshao/remove-old-module.
Diffstat (limited to 'project/SparkBuild.scala')
-rw-r--r--project/SparkBuild.scala6
1 files changed, 2 insertions, 4 deletions
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala
index 570c9e50ed..67724c4e9e 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 =>