[jvm-packages]can't install xgboostj-spark v0.80


#1

Hi all:
I successfully run the ‘make -j4’, but when in jvm-packages and running the ‘mvn clean package’,i get errors as bellow:

[INFO] XGBoost JVM Package … SUCCESS [ 0.679 s]
[INFO] xgboost4j … SUCCESS [ 3.115 s]
[INFO] xgboost4j-spark … FAILURE [ 34.226 s]
[INFO] xgboost4j-flink … SKIPPED
[INFO] xgboost4j-example … SKIPPED

The commons-codec-2.0-SNAPSHOT seems not available from maven central repository.
Please help me, am I doing something wrong?


#2

Commons-codec is not listed anywhere in the pom.xml.


#3

[INFO] XGBoost JVM Package … SUCCESS [ 4.768 s]
[INFO] xgboost4j … SUCCESS [02:15 min]
[INFO] xgboost4j-spark … FAILURE [ 0.937 s]
[INFO] xgboost4j-flink … SKIPPED
[INFO] xgboost4j-example … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:21 min
[INFO] Finished at: 2018-10-09T14:00:20+08:00
[INFO] Final Memory: 44M/324M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project xgboost4j-spark: Could not resolve dependencies for project ml.dmlc:xgboost4j-spark:jar:0.72: Could not find artifact commons-codec:commons-codec:jar:2.0-SNAPSHOT -> [Help 1]


#4

That’s weird. A clean installation should not download a nonexistent version of commons-codec. See the log https://xgboost-ci.net/blue/rest/organizations/jenkins/pipelines/restricted-xgboost/branches/release_0.72/runs/1/nodes/43/steps/55/log/?start=0 to see what a successful installation looks like. Maybe your Java installation is corrupted? Try installing XGBoost4J on a clean machine.