-
Notifications
You must be signed in to change notification settings - Fork 35
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
Spark runs on Java 8/11/17, Scala 2.12/2.13, Python 3.7+ and R 3.5+. the library only support Java 11 #186
Comments
I've made attempts to run the Kotlin Spark API with java 8: #183 Java 17 should be possible in the future for sure! |
Hi Jolan, Thank you for your attempt. I would be more than happy to introduce J8 compatibility but unfortunately as I just started in a new role where "python" is the main solution I cannot invest the time. It may be something I look at when I have a little down time. Even so this should probably be under a feature request as I do not think J8 support will drop at any time. Further, as you have ambitions to have the kotlin-spark-api as core feature in spark it would have to support j8. Thanks Garry |
While the tests still don't work, you can try to take this branch https://github.com/Kotlin/kotlin-spark-api/tree/java8 as is, set the scala/spark version you want in gradle.properties and then publishToMavenLocal. In theory, it should work with java 8. Let me know if it does! |
I managed to work around the testing issues! See #189. Will soon merge and a dev version will be built to test. |
https://github.com/orgs/Kotlin/packages?tab=packages&q=kotlin-spark-api 1.2.3-SNAPSHOT can be found here with java 8 support :) Feel free to try! |
Hi
This is fantastic news, I've been away since the 10th December so sorry
that I was unable to try it.
Great work
…On Fri, 30 Dec 2022 at 00:49, Jolan Rensen ***@***.***> wrote:
I managed to work around the testing issues! See #189
<#189>. Will soon merge
and a dev version will be built to test.
—
Reply to this email directly, view it on GitHub
<#186 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4MD6TSBMDMO3FWPODILXCLWPWJHPANCNFSM6AAAAAASK64D7A>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
This e-mail, together with any files transmitted with it, are
confidential, and are intended solely for the use of the individual or
entity to whom they are addressed. Any unauthorised dissemination or
copying of this e-mail or its attachments, and any use or disclosure of any
information contained in them, is strictly prohibited, and may also be
illegal. If you have received this e-mail in error please notify the sender
and delete it from your system.
|
Let me know if it now works for you! |
Hi
As the title states apache spark supports various runtimes but most notably the runtime for java is 8/11/17. Unfortunately in many places you are stuck with a specific version of java runtime, in my case 8. This produces obviously the below error:
The text was updated successfully, but these errors were encountered: