Return-Path: X-Original-To: apmail-spark-dev-archive@minotaur.apache.org Delivered-To: apmail-spark-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C3D6F10183 for ; Fri, 2 May 2014 09:25:05 +0000 (UTC) Received: (qmail 58486 invoked by uid 500); 2 May 2014 09:25:04 -0000 Delivered-To: apmail-spark-dev-archive@spark.apache.org Received: (qmail 57644 invoked by uid 500); 2 May 2014 09:24:59 -0000 Mailing-List: contact dev-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@spark.apache.org Delivered-To: mailing list dev@spark.apache.org Received: (qmail 57632 invoked by uid 99); 2 May 2014 09:24:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 May 2014 09:24:57 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sowen@cloudera.com designates 209.85.220.179 as permitted sender) Received: from [209.85.220.179] (HELO mail-vc0-f179.google.com) (209.85.220.179) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 May 2014 09:24:52 +0000 Received: by mail-vc0-f179.google.com with SMTP id ij19so5059567vcb.24 for ; Fri, 02 May 2014 02:24:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=p8AkcWjRQd03Z6arin/hEUO8+loMgWAOKg7YVjeKYIs=; b=SufVETBVherxLQUnOMCj5jEaw6+I2utwsD0VExU6li1sJK/oYMlEdlCD2HjZUy0rvg Vmyx8KEeM1/0WQtzFeMPE6uP+So5VsBBEfdkxiT0bccSwlW0KGgY0VPR8yF4B1rE1fpO QV0zur/pu4Bwg2wOVE0HFsUTjRLfevHgNjZBf4ywyF+8frEDMv4pCh1LIgcTx1W3S+sa iATUrdQxQmz68qPIm+D8VZLvSEvyE4rHBQC4y9VLJdgnGnVf+QKVLZ6bK0sjX7OpMHss OXGkpOQjdRmjbKE5HJgLLkqfakYdB7qmLBhsZoV9XeNOPQHzagGX1EEywT286gOkFJQv 7zdw== X-Gm-Message-State: ALoCoQlKwZMpHN2e4+9+cWPChRRpD/sEeu0L0d594jQfI7qmeB/gwliGm0l2vLTrcl6aRKL/GfXW MIME-Version: 1.0 X-Received: by 10.52.166.102 with SMTP id zf6mr10614000vdb.2.1399022669833; Fri, 02 May 2014 02:24:29 -0700 (PDT) Received: by 10.58.111.69 with HTTP; Fri, 2 May 2014 02:24:29 -0700 (PDT) Received: by 10.58.111.69 with HTTP; Fri, 2 May 2014 02:24:29 -0700 (PDT) In-Reply-To: References: Date: Fri, 2 May 2014 10:24:29 +0100 Message-ID: Subject: Re: [jira] [Created] (SPARK-1698) Improve spark integration From: Sean Owen To: dev@spark.apache.org Cc: issues@spark.apache.org Content-Type: multipart/alternative; boundary=001a11c361dc44b2ed04f86759d1 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c361dc44b2ed04f86759d1 Content-Type: text/plain; charset=UTF-8 #1 and #2 are not relevant the issue of jar size. These can be problems in general, but don't think there have been issues attributable to file clashes. Shading has mechanisms to deal with this anyway. #3 is a problem in general too, but is not specific to shading. Where versions collide, build processes like Maven and shading must be used to resolve them. But this happens regardless of whether you shade a fat jar. #4 is a real problem specific to Java 6. It does seem like it will be important to identify and remove more unnecessary dependencies to work around it. But shading per se is not the problem, and it is important to make a packaged jar for the app. What are you proposing? Dependencies to be removed? On May 2, 2014 8:32 AM, "Guoqiang Li (JIRA)" wrote: > Guoqiang Li created SPARK-1698: > ---------------------------------- > > Summary: Improve spark integration > Key: SPARK-1698 > URL: https://issues.apache.org/jira/browse/SPARK-1698 > Project: Spark > Issue Type: Improvement > Components: Build, Deploy > Reporter: Guoqiang Li > Assignee: Guoqiang Li > Fix For: 1.0.0 > > > Use the shade plugin to create a big JAR with all the dependencies can > cause a few problems > 1. Missing jar's meta information > 2. Some file is covered, eg: plugin.xml > 3. Different versions of the jar may co-exist > 4. Too big, java 6 does not support > > > > > -- > This message was sent by Atlassian JIRA > (v6.2#6252) > --001a11c361dc44b2ed04f86759d1--