You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Christoph Hösler (JIRA)" <ji...@apache.org> on 2016/11/22 16:12:58 UTC
[jira] [Created] (SPARK-18542) spark fails to substitute variables
in maven package dependencies
Christoph Hösler created SPARK-18542:
----------------------------------------
Summary: spark fails to substitute variables in maven package dependencies
Key: SPARK-18542
URL: https://issues.apache.org/jira/browse/SPARK-18542
Project: Spark
Issue Type: Bug
Components: Spark Shell, Spark Submit
Affects Versions: 2.0.2
Reporter: Christoph Hösler
Priority: Minor
I installed the XGBoost maven artifacts locally as described at https://xgboost.readthedocs.io/en/latest/jvm/index.html.
Starting spark-shell afterwards with "--packages ml.dmlc:xgboost4j-spark:0.7", however, gives me the following "unresolved dependency" error:
Exception in thread "main" java.lang.RuntimeException: [unresolved dependency: org.scala-lang#scala-compiler;${scala.version}: not found, unresolved dependency: org.scala-lang#scala-reflect;${scala.version}: not found]
Apparently, spark fails to substitute "scala.version" which is set as a property in the parent pom ml.dmlc:xgboost-jvm:0.7.
Replacing the variable manually in the pom files solves the problem.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org