From issues-return-190082-archive-asf-public=cust-asf.ponee.io@spark.apache.org Wed Apr 25 03:08:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id C1F81180671 for ; Wed, 25 Apr 2018 03:08:04 +0200 (CEST) Received: (qmail 10812 invoked by uid 500); 25 Apr 2018 01:08:03 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 10803 invoked by uid 99); 25 Apr 2018 01:08:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2018 01:08:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 361E61A231D for ; Wed, 25 Apr 2018 01:08:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -102.311 X-Spam-Level: X-Spam-Status: No, score=-102.311 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id szboYf4urdfm for ; Wed, 25 Apr 2018 01:08:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id CF9F75F178 for ; Wed, 25 Apr 2018 01:08:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 16D68E1209 for ; Wed, 25 Apr 2018 01:08:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4AA8A241C8 for ; Wed, 25 Apr 2018 01:08:00 +0000 (UTC) Date: Wed, 25 Apr 2018 01:08:00 +0000 (UTC) From: "Hyukjin Kwon (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SPARK-24074) Maven package resolver downloads javadoc instead of jar MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SPARK-24074?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Hyukjin Kwon updated SPARK-24074: --------------------------------- Priority: Major (was: Critical) Please avoid to set Critical+ which is usually reserved for committers. Do= es this consistently happen with other packages too? > 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 > Reporter: Nadav Samet > Priority: Major > > {code:java} > // code placeholder > {code} > From some reason spark downloads a javadoc=C2=A0artifact of a package ins= tead of the jar. > Steps to reproduce: > # Delete (or move) your local ~/.ivy2 cache to force Spark to resolve an= d fetch artifacts from central: > {code:java} > rm -rf ~/.ivy2 > {code} > 1. Run: > {code:java} > ~/dev/spark-2.3.0-bin-hadoop2.7/bin/spark-shell --packages org.scalanlp:b= reeze_2.11:0.13.2{code} > 2.Spark would download the javadoc instead of the jar: > {code:java} > downloading https://repo1.maven.org/maven2/net/sourceforge/f2j/arpack_com= bined_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} > 3. 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 set= LogLevel(newLevel).{code} > 4. The dependency of breeze on f2j_arpack_combined seem fine: [http://cen= tral.maven.org/maven2/org/scalanlp/breeze_2.11/0.13.2/breeze_2.11-0.13.2.po= m] > =C2=A0 -- 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