forked from apache/incubator-livy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LIVY-511][LIVY-512] Remove support for old Spark, Scala versions.
This change restricts Livy support to Spark 2.2+ and Scala 2.11. Both changes are made together because by supporting Spark 2.2+ only, it becomes impossible to test Scala 2.10. As part of the change, a lot of code that used reflection to support different versions of Spark could be cleaned up and directly call Spark APIs. The Scala 2.10 parts of the builds also have been removed, but the actual support for building and running with different Scala versions (and related tests) have been left as is. This will allow us to support 2.12 in the future. This change intentionally does not touch the public API (the "api/" module). There are things that could be cleaned up now that Spark 1.x is not supported, but that would mean an API breakage so I chose to leave those alone for now. The test matrix and build profiles have also been simplified a lot. There are now two profiles to choose from (for Spark 2.2 and 2.3); integration tests can be run against a different version of Spark by running just the integration test module with the desired profile. Tested with Spark 2.2 and 2.3, and also by building against 2.2 and running integration tests against 2.3. Author: Marcelo Vanzin <[email protected]> Closes apache#112 from vanzin/LIVY-511.
- Loading branch information
Marcelo Vanzin
committed
Sep 27, 2018
1 parent
134713d
commit 56c76bc
Showing
29 changed files
with
113 additions
and
873 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.