Skip to content

Commit 08660a0

Browse files
jerryshaosrowen
authored andcommitted
[BUILD][MINOR] Remove non-exist yarnStable module in Sbt project
Remove some old yarn related building codes, please review, thanks a lot. Author: jerryshao <[email protected]> Closes #9625 from jerryshao/remove-old-module.
1 parent 30e7433 commit 08660a0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

project/SparkBuild.scala

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ object BuildCommons {
4242
"streaming-flume", "streaming-kafka", "streaming-mqtt", "streaming-twitter",
4343
"streaming-zeromq", "launcher", "unsafe", "test-tags").map(ProjectRef(buildLocation, _))
4444

45-
val optionallyEnabledProjects@Seq(yarn, yarnStable, java8Tests, sparkGangliaLgpl,
45+
val optionallyEnabledProjects@Seq(yarn, java8Tests, sparkGangliaLgpl,
4646
streamingKinesisAsl, dockerIntegrationTests) =
47-
Seq("yarn", "yarn-stable", "java8-tests", "ganglia-lgpl", "streaming-kinesis-asl",
47+
Seq("yarn", "java8-tests", "ganglia-lgpl", "streaming-kinesis-asl",
4848
"docker-integration-tests").map(ProjectRef(buildLocation, _))
4949

5050
val assemblyProjects@Seq(assembly, examples, networkYarn, streamingFlumeAssembly, streamingKafkaAssembly, streamingMqttAssembly, streamingKinesisAslAssembly) =
@@ -72,7 +72,6 @@ object SparkBuild extends PomBuild {
7272
// Provides compatibility for older versions of the Spark build
7373
def backwardCompatibility = {
7474
import scala.collection.mutable
75-
var isAlphaYarn = false
7675
var profiles: mutable.Seq[String] = mutable.Seq("sbt")
7776
// scalastyle:off println
7877
if (Properties.envOrNone("SPARK_GANGLIA_LGPL").isDefined) {
@@ -85,7 +84,6 @@ object SparkBuild extends PomBuild {
8584
}
8685
Properties.envOrNone("SPARK_HADOOP_VERSION") match {
8786
case Some(v) =>
88-
if (v.matches("0.23.*")) isAlphaYarn = true
8987
println("NOTE: SPARK_HADOOP_VERSION is deprecated, please use -Dhadoop.version=" + v)
9088
System.setProperty("hadoop.version", v)
9189
case None =>

0 commit comments

Comments
 (0)