You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Will Berkeley (Code Review)" <ge...@cloudera.org> on 2016/11/01 16:02:16 UTC

[kudu-CR] [kudu-spark] Allow build against Spark 2.0 and Scala 2.11

Hello Kudu Jenkins,

I'd like you to reexamine a change.  Please visit

    http://gerrit.cloudera.org:8080/4886

to look at the new patch set (#2).

Change subject: [kudu-spark] Allow build against Spark 2.0 and Scala 2.11
......................................................................

[kudu-spark] Allow build against Spark 2.0 and Scala 2.11

This patch adds build profiles to build artifacts for Spark 2.0
and Scala 2.11. There was one tiny code change to package.scala
required to support Spark 2.0. To handle this, the different
versions of the package.scala reside in different directories and
the build profile includes the proper one. It should be a temporary
solution; a permanent one in the future would either drop support
for 1.6 or maintain separate modules compatible with 1.6 and 2.0.

The original artifactId is preserved, so the four possible
artifactIds are
- kudu-spark_2.10
- kudu-spark_2.11
- kudu-spark2_2.10
- kudu-spark2_2.11

All spark/scala combinations compile and pass the tests.

Change-Id: Ie055ac1e8f7be7cb992124afa0b601376db14f91
---
M java/README.md
M java/kudu-spark/pom.xml
R java/kudu-spark/src/main/spark1/org/apache/kudu/spark/kudu/package.scala
A java/kudu-spark/src/main/spark2/org/apache/kudu/spark/kudu/package.scala
4 files changed, 104 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/86/4886/2
-- 
To view, visit http://gerrit.cloudera.org:8080/4886
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie055ac1e8f7be7cb992124afa0b601376db14f91
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Will Berkeley <wd...@gmail.com>
Gerrit-Reviewer: Chris George <ch...@rms.com>
Gerrit-Reviewer: Dan Burkert <da...@apache.org>
Gerrit-Reviewer: Jean-Daniel Cryans <jd...@apache.org>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>