Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

[PIO-171] Drop Scala 2.10 and Spark 1.6 support #471

Closed
wants to merge 5 commits into from

Conversation

takezoe
Copy link
Member

@takezoe takezoe commented Sep 22, 2018

  • Build configuration update
  • Documentation update

@takezoe takezoe changed the title [WIP][PIO-171] Drop Scala 2.10 and Spark 1.6 support [PIO-171] Drop Scala 2.10 and Spark 1.6 support Sep 23, 2018
Copy link
Contributor

@dszeto dszeto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM to me overall. Thanks!

@@ -17,24 +17,7 @@
import PIOBuild._

lazy val scalaSparkDepsVersion = Map(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can get rid of this Map as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but we will add Scala 2.12 support very soon. So keeping this Map is better I think.

* Apache Hadoop 2.6.5 (optional, required only if YARN and HDFS are needed)
* Apache Spark 1.6.3 for Hadoop 2.6
* Apache Hadoop 2.7.3 (optional, required only if YARN and HDFS are needed)
* Apache Spark 2.1.1 for Hadoop 2.7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should put Hadoop 2.6.x/2.7.x, and Spark 2.0+ here. We still run CI on Spark 2.0, and the Hadoop requirement comes mostly from Spark.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I coundn't find Spark 2.0 pattern in CI and default Hadoop version for PredictionIO build is now Hadoop 2.7.3. But in build.sbt, Spark 2.0 is still supported and we can specify Hadoop version as 2.6.x. What is minimum supported versions in this case...?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about we try adding an entry to Travis to build against Spark 2.0.2 and Hadoop 2.6.5? If that passes, we could still support that. I do notice that Spark 2.0.x has not received updates for almost 2 years now.

@dszeto
Copy link
Contributor

dszeto commented Sep 24, 2018

We should also update bin/pio-class to require Spark 2.0.0+. It is currently set to 1.6.3.

@takezoe
Copy link
Member Author

takezoe commented Sep 25, 2018

I added Spark 2.0.2 / Hadoop 2.6.5 test patterns and updated Spark version in bin/pio-class.sh and tools/src/main/scala/org/apache/predictionio/tools/commands/Management.scala.

@dszeto
Copy link
Contributor

dszeto commented Sep 25, 2018

@takezoe Looks great. I have no further comments. Thank you!

@dszeto
Copy link
Contributor

dszeto commented Sep 25, 2018

@takezoe
Copy link
Member Author

takezoe commented Sep 25, 2018

@dszeto Nice catch! I removed the file.

@dszeto
Copy link
Contributor

dszeto commented Sep 26, 2018

Merging. Thank you!

@asfgit asfgit closed this in 718ebe2 Sep 26, 2018
@takezoe takezoe deleted the PIO-171_drop-scala2.10 branch September 26, 2018 23:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants