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

Eron Wright  commented on SPARK-8095:
-------------------------------------

Tested with 1.4.0RC4.

When package is in local-ivy-cache (incorrect behavior):
{code}
        :: resolving dependencies :: org.apache.spark#spark-submit-parent;1.0
        confs: [default]
        found EronWright#mypackage;0.0.7 in local-ivy-cache
        :: resolution report :: resolve 1028ms :: artifacts dl 11ms
        :: modules in use:
        EronWright#mypackage;0.0.7 from local-ivy-cache in [default]
        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |      default     |   1   |   1   |   0   |   0   ||   1   |   1   |
        ---------------------------------------------------------------------
{code}

When package is in local-m2-cache (correct behavior):
{code}
        :: resolving dependencies :: org.apache.spark#spark-submit-parent;1.0
        confs: [default]
        found EronWright#mypackage;0.0.7 in local-m2-cache
        found org.deeplearning4j#dl4j-spark;0.0.3.3.3.alpha1 in list
        ...
        :: resolution report :: resolve 2509ms :: artifacts dl 101ms
        :: modules in use:
        EronWright#mypackage;0.0.7 from local-m2-cache in [default]
        org.deeplearning4j#dl4j-spark;0.0.3.3.3.alpha1 from list in [default]
        ...
        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |      default     |   37  |   1   |   1   |   2   ||   34  |   1   |
        ---------------------------------------------------------------------
{code}

> Spark package dependencies not resolved when package is in local-ivy-cache
> --------------------------------------------------------------------------
>
>                 Key: SPARK-8095
>                 URL: https://issues.apache.org/jira/browse/SPARK-8095
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Submit
>    Affects Versions: 1.4.0
>            Reporter: Eron Wright 
>
> Given a dependency expressed with '--packages', the transitive dependencies 
> are supposed to be automatically included. This is true for most repository 
> types including local-m2-cache, Spark Packages, and central.   For 
> ivy-local-cache, it is not.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to