spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nadav Samet (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-24074) Maven package resolver downloads javadoc instead of jar
Date Tue, 24 Apr 2018 22:25:00 GMT
Nadav Samet created SPARK-24074:
-----------------------------------

             Summary: Maven package resolver downloads javadoc instead of jar
                 Key: SPARK-24074
                 URL: https://issues.apache.org/jira/browse/SPARK-24074
             Project: Spark
          Issue Type: Bug
          Components: Spark Submit
    Affects Versions: 2.3.0
         Environment: {code:java}
// code placeholder
{code}
            Reporter: Nadav Samet


{code:java}
// code placeholder
{code}
>From some reason spark downloads a javadoc artifact of a package instead of the jar.

Steps to reproduce:
 # Delete (or move) your local ~/.ivy2 cache to force Spark to resolve and fetch artifacts
from central:

{code:java}
rm -rf ~/.ivy2
{code}

 # Run:

{code:java}
~/dev/spark-2.3.0-bin-hadoop2.7/bin/spark-shell --packages org.scalanlp:breeze_2.11:0.13.2{code}

 # Spark would download the javadoc instead of the jar:
{code:java}
downloading https://repo1.maven.org/maven2/net/sourceforge/f2j/arpack_combined_all/0.1/arpack_combined_all-0.1-javadoc.jar
...
[SUCCESSFUL ] net.sourceforge.f2j#arpack_combined_all;0.1!arpack_combined_all.jar (610ms){code}

 # Later spark would complain that it couldn't find the jar:

{code:java}
Warning: Local jar /Users/thesamet/.ivy2/jars/net.sourceforge.f2j_arpack_combined_all-0.1.jar
does not exist, skipping.
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).{code}

 # The dependency of breeze on f2j_arpack_combined seem fine: [http://central.maven.org/maven2/org/scalanlp/breeze_2.11/0.13.2/breeze_2.11-0.13.2.pom]

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message