Skip to content
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

[WIP] Bump xboost to 1.1.1 #718

Closed
wants to merge 11 commits into from

Conversation

lucagiovagnoli
Copy link
Member

@lucagiovagnoli lucagiovagnoli commented Sep 16, 2020

Based on top of #708
Check only last commit.

This PR won't work yet. Issue described at: https://discuss.xgboost.ai/t/cant-run-the-xgboost4j-spark-tutorial/1735/3

20/09/16 12:37:59 ERROR NativeLibLoader: failed to load xgboost4j library from jar
20/09/16 12:37:59 ERROR DMatrix: Failed to load native library
java.io.FileNotFoundException: File /lib/libxgboost4j.dylib was not found inside JAR.
	at ml.dmlc.xgboost4j.java.NativeLibLoader.createTempFileFromResource(NativeLibLoader.java:126)
	at ml.dmlc.xgboost4j.java.NativeLibLoader.loadLibraryFromJar(NativeLibLoader.java:69)
	at ml.dmlc.xgboost4j.java.NativeLibLoader.initXGBoost(NativeLibLoader.java:41)
	at ml.dmlc.xgboost4j.java.XGBoostJNI.<clinit>(XGBoostJNI.java:34)
	at ml.dmlc.xgboost4j.java.DMatrix.<init>(DMatrix.java:69)
	at ml.dmlc.xgboost4j.scala.DMatrix.<init>(DMatrix.scala:31)
	at ml.combust.mleap.xgboost.runtime.testing.CachedDatasetUtils$class.$init$(CachedDatasetUtils.scala:21)
	at ml.combust.mleap.xgboost.runtime.XGBoostClassificationModelParitySpec.<init>(XGBoostClassificationModelParitySpec.scala:13)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at java.lang.Class.newInstance(Class.java:442)
	at org.scalatest.tools.Runner$.genSuiteConfig(Runner.scala:1422)
	at org.scalatest.tools.Runner$$anonfun$31.apply(Runner.scala:1236)
	at org.scalatest.tools.Runner$$anonfun$31.apply(Runner.scala:1235)
	at scala.collection.immutable.List.map(List.scala:284)
	at org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:1235)
	at org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1011)
	at org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1010)
	at org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1500)
	at org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:1010)
	at org.scalatest.tools.Runner$.run(Runner.scala:850)
	at org.scalatest.tools.Runner.run(Runner.scala)
	at org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.runScalaTest2(ScalaTestRunner.java:133)
	at org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.main(ScalaTestRunner.java:27)


An exception or error caused a run to abort. 
java.lang.ExceptionInInitializerError
	at ml.dmlc.xgboost4j.java.DMatrix.<init>(DMatrix.java:69)
	at ml.dmlc.xgboost4j.scala.DMatrix.<init>(DMatrix.scala:31)
	at ml.combust.mleap.xgboost.runtime.testing.CachedDatasetUtils$class.$init$(CachedDatasetUtils.scala:21)
	at ml.combust.mleap.xgboost.runtime.XGBoostClassificationModelParitySpec.<init>(XGBoostClassificationModelParitySpec.scala:13)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at java.lang.Class.newInstance(Class.java:442)
	at org.scalatest.tools.Runner$.genSuiteConfig(Runner.scala:1422)
	at org.scalatest.tools.Runner$$anonfun$31.apply(Runner.scala:1236)
	at org.scalatest.tools.Runner$$anonfun$31.apply(Runner.scala:1235)
	at scala.collection.immutable.List.map(List.scala:284)
	at org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:1235)
	at org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1011)
	at org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1010)
	at org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1500)
	at org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:1010)
	at org.scalatest.tools.Runner$.run(Runner.scala:850)
	at org.scalatest.tools.Runner.run(Runner.scala)
	at org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.runScalaTest2(ScalaTestRunner.java:133)
	at org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.main(ScalaTestRunner.java:27)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: File /lib/libxgboost4j.dylib was not found inside JAR.
	at ml.dmlc.xgboost4j.java.XGBoostJNI.<clinit>(XGBoostJNI.java:37)
	... 22 more
Caused by: java.io.FileNotFoundException: File /lib/libxgboost4j.dylib was not found inside JAR.
	at ml.dmlc.xgboost4j.java.NativeLibLoader.createTempFileFromResource(NativeLibLoader.java:126)
	at ml.dmlc.xgboost4j.java.NativeLibLoader.loadLibraryFromJar(NativeLibLoader.java:69)
	at ml.dmlc.xgboost4j.java.NativeLibLoader.initXGBoost(NativeLibLoader.java:41)
	at ml.dmlc.xgboost4j.java.XGBoostJNI.<clinit>(XGBoostJNI.java:34)
	... 22 more

@lucagiovagnoli lucagiovagnoli changed the title Luca xboost 1.1.1 Bump xboost to 1.1.1 Sep 16, 2020
@lucagiovagnoli lucagiovagnoli changed the title Bump xboost to 1.1.1 [WIP] Bump xboost to 1.1.1 Sep 16, 2020
@nicodv
Copy link

nicodv commented Sep 16, 2020

@lucagiovagnoli That's just on your Mac, I suspect (dmlc/xgboost#1776). Travis CI just shows a couple of failing tests.

@ancasarb
Copy link
Member

@talalryz @voganrc what are your thoughts on this PR? do you want to try the upgrade to 1.1.1 or should we close it for now?

@ancasarb
Copy link
Member

ancasarb commented May 8, 2021

Closing for now, can reopen if/when needed.

@ancasarb ancasarb closed this May 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants