From issues-return-50930-archive-asf-public=cust-asf.ponee.io@drill.apache.org Fri Mar 16 11:41:04 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 44E5E180608 for ; Fri, 16 Mar 2018 11:41:04 +0100 (CET) Received: (qmail 29713 invoked by uid 500); 16 Mar 2018 10:41:03 -0000 Mailing-List: contact issues-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 issues@drill.apache.org Received: (qmail 29704 invoked by uid 99); 16 Mar 2018 10:41:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2018 10:41:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id BE7A21802CB for ; Fri, 16 Mar 2018 10:41:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id KgGxRuHYSl-t for ; Fri, 16 Mar 2018 10:41:01 +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 133465F184 for ; Fri, 16 Mar 2018 10:41: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 4E9F6E00A6 for ; Fri, 16 Mar 2018 10:41:00 +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 12E522127B for ; Fri, 16 Mar 2018 10:41:00 +0000 (UTC) Date: Fri, 16 Mar 2018 10:41:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-6246) Build Failing in jdbc-all artifact 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/DRILL-6246?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1640= 1723#comment-16401723 ]=20 ASF GitHub Bot commented on DRILL-6246: --------------------------------------- Github user vvysotskyi commented on the issue: https://github.com/apache/drill/pull/1168 =20 Classes from `avatica.metrics` are used in `JsonHandler`, `ProtobufHand= ler` and `LocalService`. If Drill does not use these classes than I agree t= hat we can exclude it from `jdbc-all` jar.=20 Regarding excluding `avatica/org/**`, looks like the problem is in the = Avatica pom files since there are no dependencies to `org.apache.commons` a= nd `org.apache.http`, but they are shaded to the jar. Created Jira CALCITE-= 2215 to fix this issue, but for now, I think it's ok to exclude them. > Build Failing in jdbc-all artifact > ---------------------------------- > > Key: DRILL-6246 > URL: https://issues.apache.org/jira/browse/DRILL-6246 > Project: Apache Drill > Issue Type: Bug > Components: Client - JDBC > Affects Versions: 1.13.0 > Reporter: salim achouche > Assignee: salim achouche > Priority: Major > > * {color:#000000}It was noticed that the build was failing because of the= jdbc-all artifact{color} > * {color:#000000}The maximum compressed jar=C2=A0size was set to 32MB bu= t we are currently creating a JAR a bit larger than 32MB=C2=A0{color} > * {color:#000000}I compared apache=C2=A0drill-1.10.0, drill-1.12.0, and = drill-1.13.0 (on my MacOS){color} > * {color:#000000}jdbc-all-1.10.0 jar size: 21MB{color} > * {color:#000000}jdbc-all-1.12.0 jar size: 27MB{color} > * {color:#000000}jdbc-all-1.13.0 jar size: 34MB (on Linux this size is r= oughly 32MB){color} > * {color:#000000}Compared then in more details=C2=A0jdbc-all-1.12.0 and= =C2=A0jdbc-all-1.13.0{color} > * {color:#000000}The bulk of the increase is attributed to the calcite a= rtifact{color} > * {color:#000000}Used to be=C2=A02MB (uncompressed) and now 22MB (uncomp= ressed){color} > * {color:#000000}It is likely an exclusion problem=C2=A0{color} > * {color:#000000}The jdbc-all-1.12.0 version has only two top packages c= alcite/avatica/utils and=C2=A0calcite/avatica/remote{color} > * {color:#000000}The jdbc-all-1.13.0=C2=A0 includes new packages (within= calcite/avatica) metrics,=C2=A0proto, org/apache/, com/fasterxml, com/goog= le{color} > {color:#000000}=C2=A0{color} > {color:#000000}I am planning to exclude these new sub-packages{color} -- This message was sent by Atlassian JIRA (v7.6.3#76005)