Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6AA0F200C6F for ; Tue, 9 May 2017 21:10:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 694FB160B9A; Tue, 9 May 2017 19:10:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B7640160BC3 for ; Tue, 9 May 2017 21:10:10 +0200 (CEST) Received: (qmail 39141 invoked by uid 500); 9 May 2017 19:10:10 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 39131 invoked by uid 99); 9 May 2017 19:10:09 -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; Tue, 09 May 2017 19:10:09 +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 6278A1A00F6 for ; Tue, 9 May 2017 19:10:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id OPNHZID3Wj00 for ; Tue, 9 May 2017 19:10:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 200BF5FCAE for ; Tue, 9 May 2017 19:10:07 +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 499C4E0D57 for ; Tue, 9 May 2017 19:10:06 +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 D309B21E13 for ; Tue, 9 May 2017 19:10:04 +0000 (UTC) Date: Tue, 9 May 2017 19:10:04 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-1871) Thin Java SDK Core MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 09 May 2017 19:10:11 -0000 [ https://issues.apache.org/jira/browse/BEAM-1871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16003327#comment-16003327 ] ASF GitHub Bot commented on BEAM-1871: -------------------------------------- GitHub user vikkyrk opened a pull request: https://github.com/apache/beam/pull/2996 [BEAM-1871] [BEAM-1019 ] Shade dependencies in sdks/core Be sure to do all of the following to help us incorporate your contribution quickly and easily: - [ ] Make sure the PR title is formatted like: `[BEAM-] Description of pull request` - [ ] Make sure tests pass via `mvn clean verify`. - [ ] Replace `` in the title with the actual Jira issue number, if there is one. - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). --- - Shade `com.google.guava:guava`, `com.google.protobuf:protobuf-java`, `net.bytebuddy:byte-buddy`, `org.apache.commons:*` - Shading `net.bytebuddy` fails the `GcpApiSurfaceTest` with `NoClassDefFoundError` for ` org/apache/beam/sdk/repackaged/net/bytebuddy/jar/asm/tree/MethodNode`. Looks like an issue with how `net.bytebuddy` does shading for `org.objectweb.asm`. Either way the `ApiSurfaceTest` should be fixed to be able to prune and load classes lazily. For release-2.0.0 we catch and ignore any class loading errors. You can merge this pull request into a Git repository by running: $ git pull https://github.com/vikkyrk/incubator-beam shade_2.0.0 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/beam/pull/2996.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2996 ---- commit feee8daa0f90eb779edb44b4cfafcee6b7ac7faf Author: Vikas Kedigehalli Date: 2017-05-09T18:41:29Z Shade dependencies in sdks/core ---- > Thin Java SDK Core > ------------------ > > Key: BEAM-1871 > URL: https://issues.apache.org/jira/browse/BEAM-1871 > Project: Beam > Issue Type: Improvement > Components: sdk-java-core > Reporter: Daniel Halperin > Assignee: Vikas Kedigehalli > Fix For: 2.0.0 > > > Before first stable release we need to thin out {{sdk-java-core}} module. Some candidates for removal, but not a non-exhaustive list: > {{sdk/io}} > * anything BigQuery related > * anything PubSub related > * everything Protobuf related > * TFRecordIO > * XMLSink > {{sdk/util}} > * Everything GCS related > * Everything Backoff related > * Everything Google API related: ResponseInterceptors, RetryHttpBackoff, etc. > * Everything CloudObject-related > * Pubsub stuff > {{sdk/coders}} > * JAXBCoder > * TableRowJsoNCoder -- This message was sent by Atlassian JIRA (v6.3.15#6346)