Skip to content

Commit f496031

Browse files
committed
Bump master version to 2.0.0-SNAPSHOT.
Author: Reynold Xin <[email protected]> Closes #10387 from rxin/version-bump.
1 parent a073a73 commit f496031

File tree

40 files changed

+176
-39
lines changed

40 files changed

+176
-39
lines changed

R/pkg/DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: SparkR
22
Type: Package
33
Title: R frontend for Spark
4-
Version: 1.6.0
4+
Version: 2.0.0
55
Date: 2013-09-09
66
Author: The Apache Software Foundation
77
Maintainer: Shivaram Venkataraman <[email protected]>

assembly/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.apache.spark</groupId>
2323
<artifactId>spark-parent_2.10</artifactId>
24-
<version>1.6.0-SNAPSHOT</version>
24+
<version>2.0.0-SNAPSHOT</version>
2525
<relativePath>../pom.xml</relativePath>
2626
</parent>
2727

bagel/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.apache.spark</groupId>
2323
<artifactId>spark-parent_2.10</artifactId>
24-
<version>1.6.0-SNAPSHOT</version>
24+
<version>2.0.0-SNAPSHOT</version>
2525
<relativePath>../pom.xml</relativePath>
2626
</parent>
2727

core/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.apache.spark</groupId>
2323
<artifactId>spark-parent_2.10</artifactId>
24-
<version>1.6.0-SNAPSHOT</version>
24+
<version>2.0.0-SNAPSHOT</version>
2525
<relativePath>../pom.xml</relativePath>
2626
</parent>
2727

core/src/main/scala/org/apache/spark/package.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ package org.apache
4343

4444
package object spark {
4545
// For package docs only
46-
val SPARK_VERSION = "1.6.0-SNAPSHOT"
46+
val SPARK_VERSION = "2.0.0-SNAPSHOT"
4747
}

docker-integration-tests/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.apache.spark</groupId>
2424
<artifactId>spark-parent_2.10</artifactId>
25-
<version>1.6.0-SNAPSHOT</version>
25+
<version>2.0.0-SNAPSHOT</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828

docs/_config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ include:
1414

1515
# These allow the documentation to be updated with newer releases
1616
# of Spark, Scala, and Mesos.
17-
SPARK_VERSION: 1.6.0-SNAPSHOT
18-
SPARK_VERSION_SHORT: 1.6.0
17+
SPARK_VERSION: 2.0.0-SNAPSHOT
18+
SPARK_VERSION_SHORT: 2.0.0
1919
SCALA_BINARY_VERSION: "2.10"
2020
SCALA_VERSION: "2.10.5"
2121
MESOS_VERSION: 0.21.0

examples/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.apache.spark</groupId>
2323
<artifactId>spark-parent_2.10</artifactId>
24-
<version>1.6.0-SNAPSHOT</version>
24+
<version>2.0.0-SNAPSHOT</version>
2525
<relativePath>../pom.xml</relativePath>
2626
</parent>
2727

external/flume-assembly/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.apache.spark</groupId>
2323
<artifactId>spark-parent_2.10</artifactId>
24-
<version>1.6.0-SNAPSHOT</version>
24+
<version>2.0.0-SNAPSHOT</version>
2525
<relativePath>../../pom.xml</relativePath>
2626
</parent>
2727

external/flume-sink/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.apache.spark</groupId>
2323
<artifactId>spark-parent_2.10</artifactId>
24-
<version>1.6.0-SNAPSHOT</version>
24+
<version>2.0.0-SNAPSHOT</version>
2525
<relativePath>../../pom.xml</relativePath>
2626
</parent>
2727

external/flume/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.apache.spark</groupId>
2323
<artifactId>spark-parent_2.10</artifactId>
24-
<version>1.6.0-SNAPSHOT</version>
24+
<version>2.0.0-SNAPSHOT</version>
2525
<relativePath>../../pom.xml</relativePath>
2626
</parent>
2727

external/kafka-assembly/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.apache.spark</groupId>
2323
<artifactId>spark-parent_2.10</artifactId>
24-
<version>1.6.0-SNAPSHOT</version>
24+
<version>2.0.0-SNAPSHOT</version>
2525
<relativePath>../../pom.xml</relativePath>
2626
</parent>
2727

external/kafka/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.apache.spark</groupId>
2323
<artifactId>spark-parent_2.10</artifactId>
24-
<version>1.6.0-SNAPSHOT</version>
24+
<version>2.0.0-SNAPSHOT</version>
2525
<relativePath>../../pom.xml</relativePath>
2626
</parent>
2727

external/mqtt-assembly/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.apache.spark</groupId>
2323
<artifactId>spark-parent_2.10</artifactId>
24-
<version>1.6.0-SNAPSHOT</version>
24+
<version>2.0.0-SNAPSHOT</version>
2525
<relativePath>../../pom.xml</relativePath>
2626
</parent>
2727

external/mqtt/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.apache.spark</groupId>
2323
<artifactId>spark-parent_2.10</artifactId>
24-
<version>1.6.0-SNAPSHOT</version>
24+
<version>2.0.0-SNAPSHOT</version>
2525
<relativePath>../../pom.xml</relativePath>
2626
</parent>
2727

external/twitter/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.apache.spark</groupId>
2323
<artifactId>spark-parent_2.10</artifactId>
24-
<version>1.6.0-SNAPSHOT</version>
24+
<version>2.0.0-SNAPSHOT</version>
2525
<relativePath>../../pom.xml</relativePath>
2626
</parent>
2727

external/zeromq/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.apache.spark</groupId>
2323
<artifactId>spark-parent_2.10</artifactId>
24-
<version>1.6.0-SNAPSHOT</version>
24+
<version>2.0.0-SNAPSHOT</version>
2525
<relativePath>../../pom.xml</relativePath>
2626
</parent>
2727

extras/java8-tests/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>org.apache.spark</groupId>
2222
<artifactId>spark-parent_2.10</artifactId>
23-
<version>1.6.0-SNAPSHOT</version>
23+
<version>2.0.0-SNAPSHOT</version>
2424
<relativePath>../../pom.xml</relativePath>
2525
</parent>
2626

extras/kinesis-asl-assembly/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.apache.spark</groupId>
2323
<artifactId>spark-parent_2.10</artifactId>
24-
<version>1.6.0-SNAPSHOT</version>
24+
<version>2.0.0-SNAPSHOT</version>
2525
<relativePath>../../pom.xml</relativePath>
2626
</parent>
2727

extras/kinesis-asl/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>org.apache.spark</groupId>
2222
<artifactId>spark-parent_2.10</artifactId>
23-
<version>1.6.0-SNAPSHOT</version>
23+
<version>2.0.0-SNAPSHOT</version>
2424
<relativePath>../../pom.xml</relativePath>
2525
</parent>
2626

extras/spark-ganglia-lgpl/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>org.apache.spark</groupId>
2222
<artifactId>spark-parent_2.10</artifactId>
23-
<version>1.6.0-SNAPSHOT</version>
23+
<version>2.0.0-SNAPSHOT</version>
2424
<relativePath>../../pom.xml</relativePath>
2525
</parent>
2626

graphx/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.apache.spark</groupId>
2323
<artifactId>spark-parent_2.10</artifactId>
24-
<version>1.6.0-SNAPSHOT</version>
24+
<version>2.0.0-SNAPSHOT</version>
2525
<relativePath>../pom.xml</relativePath>
2626
</parent>
2727

launcher/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.apache.spark</groupId>
2424
<artifactId>spark-parent_2.10</artifactId>
25-
<version>1.6.0-SNAPSHOT</version>
25+
<version>2.0.0-SNAPSHOT</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828

mllib/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.apache.spark</groupId>
2323
<artifactId>spark-parent_2.10</artifactId>
24-
<version>1.6.0-SNAPSHOT</version>
24+
<version>2.0.0-SNAPSHOT</version>
2525
<relativePath>../pom.xml</relativePath>
2626
</parent>
2727

network/common/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.apache.spark</groupId>
2424
<artifactId>spark-parent_2.10</artifactId>
25-
<version>1.6.0-SNAPSHOT</version>
25+
<version>2.0.0-SNAPSHOT</version>
2626
<relativePath>../../pom.xml</relativePath>
2727
</parent>
2828

network/shuffle/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.apache.spark</groupId>
2424
<artifactId>spark-parent_2.10</artifactId>
25-
<version>1.6.0-SNAPSHOT</version>
25+
<version>2.0.0-SNAPSHOT</version>
2626
<relativePath>../../pom.xml</relativePath>
2727
</parent>
2828

network/yarn/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.apache.spark</groupId>
2424
<artifactId>spark-parent_2.10</artifactId>
25-
<version>1.6.0-SNAPSHOT</version>
25+
<version>2.0.0-SNAPSHOT</version>
2626
<relativePath>../../pom.xml</relativePath>
2727
</parent>
2828

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</parent>
2727
<groupId>org.apache.spark</groupId>
2828
<artifactId>spark-parent_2.10</artifactId>
29-
<version>1.6.0-SNAPSHOT</version>
29+
<version>2.0.0-SNAPSHOT</version>
3030
<packaging>pom</packaging>
3131
<name>Spark Project Parent POM</name>
3232
<url>http://spark.apache.org/</url>

project/MimaExcludes.scala

+136
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,142 @@ import com.typesafe.tools.mima.core.ProblemFilters._
3333
*/
3434
object MimaExcludes {
3535
def excludes(version: String) = version match {
36+
case v if v.startsWith("2.0") =>
37+
// When 1.6 is officially released, update this exclusion list.
38+
Seq(
39+
MimaBuild.excludeSparkPackage("deploy"),
40+
MimaBuild.excludeSparkPackage("network"),
41+
MimaBuild.excludeSparkPackage("unsafe"),
42+
// These are needed if checking against the sbt build, since they are part of
43+
// the maven-generated artifacts in 1.3.
44+
excludePackage("org.spark-project.jetty"),
45+
MimaBuild.excludeSparkPackage("unused"),
46+
// SQL execution is considered private.
47+
excludePackage("org.apache.spark.sql.execution"),
48+
// SQL columnar is considered private.
49+
excludePackage("org.apache.spark.sql.columnar"),
50+
// The shuffle package is considered private.
51+
excludePackage("org.apache.spark.shuffle"),
52+
// The collections utlities are considered pricate.
53+
excludePackage("org.apache.spark.util.collection")
54+
) ++
55+
MimaBuild.excludeSparkClass("streaming.flume.FlumeTestUtils") ++
56+
MimaBuild.excludeSparkClass("streaming.flume.PollingFlumeTestUtils") ++
57+
Seq(
58+
// MiMa does not deal properly with sealed traits
59+
ProblemFilters.exclude[MissingMethodProblem](
60+
"org.apache.spark.ml.classification.LogisticRegressionSummary.featuresCol")
61+
) ++ Seq(
62+
// SPARK-11530
63+
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.mllib.feature.PCAModel.this")
64+
) ++ Seq(
65+
// SPARK-10381 Fix types / units in private AskPermissionToCommitOutput RPC message.
66+
// This class is marked as `private` but MiMa still seems to be confused by the change.
67+
ProblemFilters.exclude[MissingMethodProblem](
68+
"org.apache.spark.scheduler.AskPermissionToCommitOutput.task"),
69+
ProblemFilters.exclude[IncompatibleResultTypeProblem](
70+
"org.apache.spark.scheduler.AskPermissionToCommitOutput.copy$default$2"),
71+
ProblemFilters.exclude[IncompatibleMethTypeProblem](
72+
"org.apache.spark.scheduler.AskPermissionToCommitOutput.copy"),
73+
ProblemFilters.exclude[MissingMethodProblem](
74+
"org.apache.spark.scheduler.AskPermissionToCommitOutput.taskAttempt"),
75+
ProblemFilters.exclude[IncompatibleResultTypeProblem](
76+
"org.apache.spark.scheduler.AskPermissionToCommitOutput.copy$default$3"),
77+
ProblemFilters.exclude[IncompatibleMethTypeProblem](
78+
"org.apache.spark.scheduler.AskPermissionToCommitOutput.this"),
79+
ProblemFilters.exclude[IncompatibleMethTypeProblem](
80+
"org.apache.spark.scheduler.AskPermissionToCommitOutput.apply")
81+
) ++ Seq(
82+
ProblemFilters.exclude[MissingClassProblem](
83+
"org.apache.spark.shuffle.FileShuffleBlockResolver$ShuffleFileGroup")
84+
) ++ Seq(
85+
ProblemFilters.exclude[MissingMethodProblem](
86+
"org.apache.spark.ml.regression.LeastSquaresAggregator.add"),
87+
ProblemFilters.exclude[MissingMethodProblem](
88+
"org.apache.spark.ml.regression.LeastSquaresCostFun.this"),
89+
ProblemFilters.exclude[MissingMethodProblem](
90+
"org.apache.spark.sql.SQLContext.clearLastInstantiatedContext"),
91+
ProblemFilters.exclude[MissingMethodProblem](
92+
"org.apache.spark.sql.SQLContext.setLastInstantiatedContext"),
93+
ProblemFilters.exclude[MissingClassProblem](
94+
"org.apache.spark.sql.SQLContext$SQLSession"),
95+
ProblemFilters.exclude[MissingMethodProblem](
96+
"org.apache.spark.sql.SQLContext.detachSession"),
97+
ProblemFilters.exclude[MissingMethodProblem](
98+
"org.apache.spark.sql.SQLContext.tlSession"),
99+
ProblemFilters.exclude[MissingMethodProblem](
100+
"org.apache.spark.sql.SQLContext.defaultSession"),
101+
ProblemFilters.exclude[MissingMethodProblem](
102+
"org.apache.spark.sql.SQLContext.currentSession"),
103+
ProblemFilters.exclude[MissingMethodProblem](
104+
"org.apache.spark.sql.SQLContext.openSession"),
105+
ProblemFilters.exclude[MissingMethodProblem](
106+
"org.apache.spark.sql.SQLContext.setSession"),
107+
ProblemFilters.exclude[MissingMethodProblem](
108+
"org.apache.spark.sql.SQLContext.createSession")
109+
) ++ Seq(
110+
ProblemFilters.exclude[MissingMethodProblem](
111+
"org.apache.spark.SparkContext.preferredNodeLocationData_="),
112+
ProblemFilters.exclude[MissingClassProblem](
113+
"org.apache.spark.rdd.MapPartitionsWithPreparationRDD"),
114+
ProblemFilters.exclude[MissingClassProblem](
115+
"org.apache.spark.rdd.MapPartitionsWithPreparationRDD$"),
116+
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.sql.SparkSQLParser")
117+
) ++ Seq(
118+
// SPARK-11485
119+
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.DataFrameHolder.df"),
120+
// SPARK-11541 mark various JDBC dialects as private
121+
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.jdbc.NoopDialect.productElement"),
122+
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.jdbc.NoopDialect.productArity"),
123+
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.jdbc.NoopDialect.canEqual"),
124+
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.jdbc.NoopDialect.productIterator"),
125+
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.jdbc.NoopDialect.productPrefix"),
126+
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.jdbc.NoopDialect.toString"),
127+
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.jdbc.NoopDialect.hashCode"),
128+
ProblemFilters.exclude[MissingTypesProblem]("org.apache.spark.sql.jdbc.PostgresDialect$"),
129+
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.jdbc.PostgresDialect.productElement"),
130+
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.jdbc.PostgresDialect.productArity"),
131+
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.jdbc.PostgresDialect.canEqual"),
132+
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.jdbc.PostgresDialect.productIterator"),
133+
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.jdbc.PostgresDialect.productPrefix"),
134+
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.jdbc.PostgresDialect.toString"),
135+
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.jdbc.PostgresDialect.hashCode"),
136+
ProblemFilters.exclude[MissingTypesProblem]("org.apache.spark.sql.jdbc.NoopDialect$")
137+
) ++ Seq (
138+
ProblemFilters.exclude[MissingMethodProblem](
139+
"org.apache.spark.status.api.v1.ApplicationInfo.this"),
140+
ProblemFilters.exclude[MissingMethodProblem](
141+
"org.apache.spark.status.api.v1.StageData.this")
142+
) ++ Seq(
143+
// SPARK-11766 add toJson to Vector
144+
ProblemFilters.exclude[MissingMethodProblem](
145+
"org.apache.spark.mllib.linalg.Vector.toJson")
146+
) ++ Seq(
147+
// SPARK-9065 Support message handler in Kafka Python API
148+
ProblemFilters.exclude[MissingMethodProblem](
149+
"org.apache.spark.streaming.kafka.KafkaUtilsPythonHelper.createDirectStream"),
150+
ProblemFilters.exclude[MissingMethodProblem](
151+
"org.apache.spark.streaming.kafka.KafkaUtilsPythonHelper.createRDD")
152+
) ++ Seq(
153+
// SPARK-4557 Changed foreachRDD to use VoidFunction
154+
ProblemFilters.exclude[MissingMethodProblem](
155+
"org.apache.spark.streaming.api.java.JavaDStreamLike.foreachRDD")
156+
) ++ Seq(
157+
// SPARK-11996 Make the executor thread dump work again
158+
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.executor.ExecutorEndpoint"),
159+
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.executor.ExecutorEndpoint$"),
160+
ProblemFilters.exclude[MissingClassProblem](
161+
"org.apache.spark.storage.BlockManagerMessages$GetRpcHostPortForExecutor"),
162+
ProblemFilters.exclude[MissingClassProblem](
163+
"org.apache.spark.storage.BlockManagerMessages$GetRpcHostPortForExecutor$")
164+
) ++ Seq(
165+
// SPARK-3580 Add getNumPartitions method to JavaRDD
166+
ProblemFilters.exclude[MissingMethodProblem](
167+
"org.apache.spark.api.java.JavaRDDLike.getNumPartitions")
168+
) ++
169+
// SPARK-11314: YARN backend moved to yarn sub-module and MiMA complains even though it's a
170+
// private class.
171+
MimaBuild.excludeSparkClass("scheduler.cluster.YarnSchedulerBackend$YarnSchedulerEndpoint")
36172
case v if v.startsWith("1.6") =>
37173
Seq(
38174
MimaBuild.excludeSparkPackage("deploy"),

0 commit comments

Comments
 (0)