Will Berkeley has uploaded a new change for review.

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

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/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
3 files changed, 84 insertions(+), 1 deletion(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie055ac1e8f7be7cb992124afa0b601376db14f91
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Will Berkeley <[email protected]>

Reply via email to