You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2015/01/27 19:34:34 UTC
[jira] [Commented] (SPARK-1835) sbt gen-idea includes both mesos
and mesos with shaded-protobuf into dependencies
[ https://issues.apache.org/jira/browse/SPARK-1835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14293929#comment-14293929 ]
Sean Owen commented on SPARK-1835:
----------------------------------
FWIW I can confirm this still occurs:
{code}
$ grep -r mesos .idea
.idea/libraries/SBT__org_apache_mesos_mesos_0_21_0.xml: <library name="SBT: org.apache.mesos:mesos:0.21.0">
.idea/libraries/SBT__org_apache_mesos_mesos_0_21_0.xml: <root url="jar://$PROJECT_DIR$/lib_managed/jars/mesos-0.21.0.jar!/"/>
.idea/libraries/SBT__org_apache_mesos_mesos_0_21_0.xml: <root url="jar://$PROJECT_DIR$/lib_managed/jars/mesos-0.21.0-shaded-protobuf.jar!/"/>
.idea/libraries/SBT__org_apache_mesos_mesos_0_21_0.xml: <root url="jar://$PROJECT_DIR$/lib_managed/docs/mesos-0.21.0-javadoc.jar!/"/>
.idea/libraries/SBT__org_apache_mesos_mesos_0_21_0.xml: <root url="jar://$PROJECT_DIR$/lib_managed/srcs/mesos-0.21.0-sources.jar!/"/>
{code}
But is it fixable and/or worth a fix, if I assume it's pretty rare to use SBT to generate an IDEA project when it can read the Maven build quite well, directly?
> sbt gen-idea includes both mesos and mesos with shaded-protobuf into dependencies
> ---------------------------------------------------------------------------------
>
> Key: SPARK-1835
> URL: https://issues.apache.org/jira/browse/SPARK-1835
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 1.0.0
> Reporter: Xiangrui Meng
> Priority: Minor
>
> gen-idea includes both mesos-0.18.1 and mesos-0.18.1-shaded-protobuf into dependencies. This generates compile error because mesos-0.18.1 comes first and there is no protobuf jar in the dependencies.
> A workaround is to delete mesos-0.18.1.jar manually from idea intellij. Another solution is to publish the shaded jar as a separate version instead of using classifier.
--
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