java15中的h2o构建失败



h2o版本:h2o-3.40.3(rel-zzler(

Java版本:openjdk版本";15.0.2〃;2021-01-19(安装有:FROM adoptopenjdk:15-jre-openj9-focal(

我想使用Java 15构建XGBoost模型,但在Java 14上运行的具有相同数据的相同代码(openjdk版本"14.0.2"2020-07-14(在Java 15上失败,产生以下错误消息:

water.exceptions.H2OIllegalArgumentException: Illegal argument: o of function: IcedWrapper: 
at water.IcedWrapper.<init>(IcedWrapper.java:152) ~[h2o.jar:?]
at water.util.TwoDimTable.set(TwoDimTable.java:254) ~[h2o.jar:?]
at water.util.ReproducibilityInformationUtils.createNodeInformationTable(ReproducibilityInformationUtils.java:72) ~[h2o.jar:?]
at hex.Model$Output.createReproducibilityInformationTable(Model.java:1199) ~[h2o.jar:?]
at hex.Model$Output.<init>(Model.java:991) ~[h2o.jar:?]
at hex.Model$Output.<init>(Model.java:973) ~[h2o.jar:?]
at hex.tree.xgboost.XGBoostOutput.<init>(XGBoostOutput.java:16) ~[h2o.jar:?]
at hex.tree.xgboost.XGBoost$XGBoostDriver.buildModelImpl(XGBoost.java:419) ~[h2o.jar:?]
at hex.tree.xgboost.XGBoost$XGBoostDriver.buildModel(XGBoost.java:393) ~[h2o.jar:?]
at hex.tree.xgboost.XGBoost$XGBoostDriver.computeImpl(XGBoost.java:379) ~[h2o.jar:?]
at hex.ModelBuilder$Driver.compute2(ModelBuilder.java:246) ~[h2o.jar:?]
at water.H2O$H2OCountedCompleter.compute(H2O.java:1652) ~[h2o.jar:?]
at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) ~[h2o.jar:?]
at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) [h2o.jar:?]
at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) [h2o.jar:?]
at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) [h2o.jar:?]
at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [h2o.jar:?] 

我用以下命令启动h2o服务器:

ENTRYPOINT /bin/bash -c "cd h2o && java -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:MaxRAMFraction=1 -XshowSettings:vm -jar h2o.jar

有人遇到过类似的问题吗?在我看来,这是一个版本不兼容的问题,但根据本文的评论,h2o应该支持3.32.1.1及更高版本的Java 15。在R 上使用Java 16运行H2O

将Java安装更改为FROM openjdk:15.0.2-jdk-slim解决了问题

相关内容

  • 没有找到相关文章

最新更新