You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ronald Chen (JIRA)" <ji...@apache.org> on 2015/06/09 03:03:00 UTC

[jira] [Commented] (SPARK-4809) Improve Guava shading in Spark

    [ https://issues.apache.org/jira/browse/SPARK-4809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14578146#comment-14578146 ] 

Ronald Chen commented on SPARK-4809:
------------------------------------

This change makes no sense.  This breaks SPARK-2848 attempt to move Guava's dependency off of the user's class path.

Now I cannot use my own version of guava without these classes conflicting.

> Improve Guava shading in Spark
> ------------------------------
>
>                 Key: SPARK-4809
>                 URL: https://issues.apache.org/jira/browse/SPARK-4809
>             Project: Spark
>          Issue Type: Improvement
>    Affects Versions: 1.2.0
>            Reporter: Marcelo Vanzin
>            Assignee: Marcelo Vanzin
>             Fix For: 1.3.0
>
>
> As part of SPARK-2848, we started shading Guava to help with projects that want to use Spark but use an incompatible version of Guava.
> The approach used there is a little sub-optimal, though. It makes it tricky, especially, to run unit tests in your project when those need to use spark-core APIs.
> We should make the shading more transparent so that it's easier to use spark-core, with or without an explicit Guava dependency.



--
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