diff options
author | Yin Huai <yhuai@databricks.com> | 2016-04-22 17:50:24 -0700 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2016-04-22 17:50:24 -0700 |
commit | 7dde1da949d430c20a128bc3c6e5fe5c0271da11 (patch) | |
tree | e09b60dff207f1f2bd6bcf04338cc65fb4075fc4 /project/SparkBuild.scala | |
parent | d7d0cad0ad7667c0e09ae01601ee0e4d0b09963c (diff) | |
download | spark-7dde1da949d430c20a128bc3c6e5fe5c0271da11.tar.gz spark-7dde1da949d430c20a128bc3c6e5fe5c0271da11.tar.bz2 spark-7dde1da949d430c20a128bc3c6e5fe5c0271da11.zip |
[SPARK-14807] Create a compatibility module
## What changes were proposed in this pull request?
This PR creates a compatibility module in sql (called `hive-1-x-compatibility`), which will host HiveContext in Spark 2.0 (moving HiveContext to here will be done separately). This module is not included in assembly because only users who still want to access HiveContext need it.
## How was this patch tested?
I manually tested `sbt/sbt -Phive package` and `mvn -Phive package -DskipTests`.
Author: Yin Huai <yhuai@databricks.com>
Closes #12580 from yhuai/compatibility.
Diffstat (limited to 'project/SparkBuild.scala')
-rw-r--r-- | project/SparkBuild.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala index a0df9b6a33..9e6d341ca2 100644 --- a/project/SparkBuild.scala +++ b/project/SparkBuild.scala @@ -36,8 +36,8 @@ object BuildCommons { private val buildLocation = file(".").getAbsoluteFile.getParentFile - val sqlProjects@Seq(catalyst, sql, hive, hiveThriftServer) = Seq( - "catalyst", "sql", "hive", "hive-thriftserver" + val sqlProjects@Seq(catalyst, sql, hive, hiveThriftServer, hiveCompatibility) = Seq( + "catalyst", "sql", "hive", "hive-thriftserver", "hivecontext-compatibility" ).map(ProjectRef(buildLocation, _)) val streamingProjects@Seq( @@ -253,7 +253,7 @@ object SparkBuild extends PomBuild { val mimaProjects = allProjects.filterNot { x => Seq( - spark, hive, hiveThriftServer, catalyst, repl, networkCommon, networkShuffle, networkYarn, + spark, hive, hiveThriftServer, hiveCompatibility, catalyst, repl, networkCommon, networkShuffle, networkYarn, unsafe, testTags, sketch, mllibLocal ).contains(x) } |