Skip to content

Add support for Spark integration on Scala 2.12 #1589

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 29, 2021

Conversation

jbaiera
Copy link
Member

@jbaiera jbaiera commented Jan 21, 2021

This PR adds Scala 2.12 to the list of supported runtimes for the Spark integration. To use Scala 2.12 support, the elasticsearch-spark-20_2.12 artifact id should be used when downloading dependencies. The default level of support included in the project wide zip archive and the project wide uber jar will remain Scala 2.11 for the time being. Eventually the default version in 8.0 will be updated to a more recent version of Spark/Scala.

@jbaiera
Copy link
Member Author

jbaiera commented Jan 22, 2021

fixes #1224

@jbaiera jbaiera linked an issue Jan 22, 2021 that may be closed by this pull request
Copy link
Contributor

@danhermann danhermann left a comment

Choose a reason for hiding this comment

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

LGTM!

@jbaiera jbaiera merged commit 3f9ddf6 into elastic:master Jan 29, 2021
@jbaiera jbaiera deleted the upgrade-scala-212 branch January 29, 2021 19:51
jbaiera added a commit to jbaiera/elasticsearch-hadoop that referenced this pull request Jan 29, 2021
This PR adds Scala 2.12 to the list of supported runtimes for the Spark integration. To use 
Scala 2.12 support, the elasticsearch-spark-20_2.12 artifact id should be used when 
downloading dependencies. The default level of support included in the project-wide zip 
archive and the project-wide uber jar will remain Scala 2.11 for the time being. Eventually 
the default version in 8.0 will be updated to a more recent version of Spark/Scala.
jbaiera added a commit that referenced this pull request Jan 29, 2021
This PR adds Scala 2.12 to the list of supported runtimes for the Spark integration. To use 
Scala 2.12 support, the elasticsearch-spark-20_2.12 artifact id should be used when 
downloading dependencies. The default level of support included in the project-wide zip 
archive and the project-wide uber jar will remain Scala 2.11 for the time being. Eventually 
the default version in 8.0 will be updated to a more recent version of Spark/Scala.
@VladZabolotnyV
Copy link

@jbaiera Looks like elasticsearch-spark-20_2.12 is missing in Maven repository along with 7.12.0 version. Was it not published for some reason?

@jbaiera
Copy link
Member Author

jbaiera commented Feb 10, 2021

@VladZabolotnyV Version 7.12.0 has not been released yet. I'll be getting the artifact wired up for the daily snapshot builds in the mean time.

@monkey-typewriter
Copy link

Hey guys,
Any progress on this ?

thanks

@jbaiera
Copy link
Member Author

jbaiera commented Mar 15, 2021

@monkey-typewriter The work is completed and will be released in 7.12. You can get early access to the changes for testing purposes by pulling a nightly snapshot, though I would advise against using that version in production as it is not yet generally available.

@VladZabolotnyV
Copy link

@jbaiera when the 7.12 release is planned to happen?

@jbaiera
Copy link
Member Author

jbaiera commented Mar 17, 2021

@VladZabolotnyV I unfortunately don't have an official concrete date for the 7.12 GA release. Sorry! Hopefully it will land soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade to Spark 2.4 and support Scala 2.12
4 participants