Github user shimamoto commented on the issue:
https://github.com/apache/incubator-predictionio/pull/345
Hi @dszeto
My suggestion is based on #352. This is what I see moving forward.
- Define the versions of Scala to build against in the `crossScalaVersions`
setting.
- Iâd be happy if it would be possible to deprecate Spark 1. We keep
using the class (especially SQLContext) that keeping for backward compatibility
for a while.
- Or the code that depends on version of Spark makes it abstract, and
separate build. The jar that depends on Spark 1 is in lib/spark and the other
is in lib/extra. In order to use Spark 2, one would replaced like ES5.
Note that this is just my imagination for now. Thus, I would like to try
this out if this suggestion takes a turn for the better. For that, I think I
need to some more time. Do you have any thoughts?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---