Return-Path: X-Original-To: apmail-drill-dev-archive@www.apache.org Delivered-To: apmail-drill-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BB5A318303 for ; Tue, 9 Feb 2016 00:48:06 +0000 (UTC) Received: (qmail 66577 invoked by uid 500); 9 Feb 2016 00:48:06 -0000 Delivered-To: apmail-drill-dev-archive@drill.apache.org Received: (qmail 66520 invoked by uid 500); 9 Feb 2016 00:48:06 -0000 Mailing-List: contact dev-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list dev@drill.apache.org Received: (qmail 66507 invoked by uid 99); 9 Feb 2016 00:48:06 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2016 00:48:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id B7E0DC0179 for ; Tue, 9 Feb 2016 00:48:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.198 X-Spam-Level: ** X-Spam-Status: No, score=2.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id AQbKghw7OizI for ; Tue, 9 Feb 2016 00:48:03 +0000 (UTC) Received: from mail-io0-f173.google.com (mail-io0-f173.google.com [209.85.223.173]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 8A9B742A54 for ; Tue, 9 Feb 2016 00:48:03 +0000 (UTC) Received: by mail-io0-f173.google.com with SMTP id d63so2581814ioj.2 for ; Mon, 08 Feb 2016 16:48:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=PkWMpyDgvPv94Tz7ZFaUjvhsPKx/uGFDfyCFl1/wDhI=; b=pdX8M2PQKo/D+1h28OFnpw3Xnnh5jdQoZ41x0W1w87Sl3Rnx3IRA+yZ3qfmHZUnd3b hiQ3GYTrssyBQsKIkNDgfmSxd54+cby9ZKMYkaXisVt6IHRlOsZn/gCItorsyJ2gQAiw RR4K31CP9m+aHGDMBVlaDHsLAXCabTzj3ediWphncFnQpFh9H6yPk4vh7xShQ0qAET9p 7cKuCtgI/6E8ISx3D4N36i2i3OH+05fymVD88esNEiTJ2YvlnUS072DAoByp97S99ben uXtdo4IJbOTLOY+Clk+is/t+laFL4i9NZYM3j/zqpaAlSxS2ZL1zRhBjWFSKTRB+h5fE oYtg== 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:from:date :message-id:subject:to:content-type; bh=PkWMpyDgvPv94Tz7ZFaUjvhsPKx/uGFDfyCFl1/wDhI=; b=iXm8DGZkO5bKpRPkqnEuIhNY46fcwNBK/84csER3iY//Eo2ArbRvJuflLbbPjwsfYD qIfN2PyoJwGX6sdshcf117O0um8d8xbZf238ml9W7nQmMmcf3oCvINUtLrS8A0dqK3Wt ZaokGkEoWMybHtphMogK/7PXqWR47FRyD45FKO+jIGkJS07FP5oe+PsrZJMO56QJwmPV GcQQ4A5GCtPDFR93wd+QR6fHv90P2nDQNMzYviG/V0yFbpulqS5AWGYUKbkd2PlYynrQ BQwHqyXRwHWwluBz+AqPExEmxY6vqMrCaUiwB4bgP9/12e7UKPLSMS02/bGtuXncYJT0 IBnQ== X-Gm-Message-State: AG10YORKfr9CZUQnxJZ3YkeVvkJlnCpBeSHJ0hNzeGJ4J5pmq0+XdmgY/Kteib3XjJnldl70/YA7PCHBgUh0nA== X-Received: by 10.107.138.198 with SMTP id c67mr29088699ioj.37.1454978883178; Mon, 08 Feb 2016 16:48:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.3.152 with HTTP; Mon, 8 Feb 2016 16:47:43 -0800 (PST) In-Reply-To: <5BC76F74-D5E2-4EEB-9C16-E34DB3C6ACE3@maprtech.com> References: <5BA28DA8-81DB-4359-A4B6-32BF0EEC6847@maprtech.com> <5BC76F74-D5E2-4EEB-9C16-E34DB3C6ACE3@maprtech.com> From: Jason Altekruse Date: Mon, 8 Feb 2016 16:47:43 -0800 Message-ID: Subject: Re: project build fails -> drill-jdbc-all-1.5.0-SNAPSHOT.jar is outside the expected size range To: dev Content-Type: multipart/alternative; boundary=001a113f38f87cd6bc052b4bab87 --001a113f38f87cd6bc052b4bab87 Content-Type: text/plain; charset=UTF-8 Hey Sudheesh, Unfortunately it will not fix this issue, it is related specifically to how the addition of the enforcer (for currently unknown reasons) caused the release profile to fail in a new way. I hadn't run into issues with enforcer itself actually failing with my version of Maven. I would be in favor of a flag to make it easier to disable this check, we can even change the message to tell people about the flag (it could be updated now to suggest upgrading maven), but I do think we should keep this enforcer rule on by default as the 1.4 release had a pretty bloated JAR because this wasn't being checked. - Jason On Mon, Feb 8, 2016 at 4:23 PM, Sudheesh Katkam wrote: > @Jason, does DRILL-4375 > address this issue as well? > > > On Feb 8, 2016, at 4:19 PM, Sudheesh Katkam > wrote: > > > > On one of the Linux VMs, when I run mvn clean install -DskipTests > -Pmapr, I get this error with 3.3.x (but not with 3.2.x). Weird. > > > > Should we disable the rule until we figure out the cause? > > > > - Sudheesh > > > >> On Feb 2, 2016, at 6:11 AM, Jacques Nadeau jacques@dremio.com>> wrote: > >> > >> This is a bug in maven we haven't figured out yet how we're causing. > >> Upgrading to Maven 3.3.x fixes it. > >> On Feb 2, 2016 2:18 AM, "Arina Yelchiyeva" > > >> wrote: > >> > >>> Hi all! > >>> > >>> Just pulled recent changes from master (revision number > >>> 1b96174b1e5bafb13a873dd79f03467802d7c929) and mvn clean install > -DskipTests > >>> failed with the following error: > >>> > >>> *[ERROR] Failed to execute goal > >>> org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce > >>> (enforce-jdbc-jar-compactness) on project drill-jdbc-all: Some Enforcer > >>> rules have failed. Look above for specific messages explaining why the > rule > >>> failed.* > >>> > >>> *[WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireFilesSize > >>> failed with message:* > >>> *The file drill-jdbc-all-1.5.0-SNAPSHOT.jar is outside the expected > size > >>> range. * > >>> > >>> *This is likely due to you adding new dependencies to a java-exec and > not > >>> updating the excludes in this module. This is important as it > minimizes the > >>> size of the dependency of Drill application users.* > >>> > *F:\git_repo\drill\exec\jdbc-all\target\drill-jdbc-all-1.5.0-SNAPSHOT.jar > >>> size (44664290) too large. Max. is 20000000 > >>> > F:\git_repo\drill\exec\jdbc-all\target\drill-jdbc-all-1.5.0-SNAPSHOT.jar* > >>> > >>> Had to change 20000000 -> > 50000000 in > >>> jdbc-all pom.xml to build the project. > >>> > >>> Do we need to create jira for this or it's already being fixed? > >>> > >>> Kind regards > >>> Arina > >>> > > > > --001a113f38f87cd6bc052b4bab87--