mleap icon indicating copy to clipboard operation
mleap copied to clipboard

MLeap compatibility with Java 11

Open kothari-pk opened this issue 6 years ago • 9 comments

MLeap currently supports Scala 2.11 and Java 8. Once there is Scala 2.12 support #360 . Can you please also add Java 11 support?

kothari-pk avatar Jan 15 '19 17:01 kothari-pk

@ancasarb is there any timeline for the java 11 support? and is the sun.unsafe library the only reason mleap is only supported in Java 8?

rarbabi avatar May 13 '19 18:05 rarbabi

I believe that Spark 2.4.x is using Java 8, so once Spark 3 is released, we can take a look at upgrading mleap as well.

ancasarb avatar Jan 13 '20 00:01 ancasarb

Hi, Spark 3.0.1 released on Sep 08, 2020. Any plans to make MLeap working on JDK 11 in this context?

falkoner avatar Sep 28 '20 22:09 falkoner

Hi All, Is there any update on when MLeap will be supported on JDK11?

anu-srivastava avatar May 04 '21 22:05 anu-srivastava

spark v3 remains the largest blocker. See #751 for some tentative plans on that upgrade

jsleight avatar May 05 '21 18:05 jsleight

Since Spark 3 is now supported, is the effort for Java 11+ support moving forward?

mathfish avatar Sep 27 '21 09:09 mathfish

To my knowledge no one has started working on a PR, though we'd be glad to help review and ship one 😄

fwiw, at Yelp we have some Java 11 JVMs (and iirc a Java 15 too) running mleap runtime and haven't observed any issues. Haven't tried a Java 11 JVM for mleap's spark components.

jsleight avatar Sep 27 '21 14:09 jsleight

Ok, thanks. I actually was thinking more along the lines of Java 15 (or even Java 17 LTS). And I wouldn't mind helping up-rev support to Java 15+ but pretty sure I couldn't do it alone.

mathfish avatar Sep 27 '21 15:09 mathfish

I think Java 11 is as far as mleap can go for now since that is spark's latest supported version. Though I would expect that spark (and probably many other things) will add support for Java 17 LTS now that it is out.

jsleight avatar Sep 27 '21 16:09 jsleight