You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Luke Cwik (JIRA)" <ji...@apache.org> on 2018/09/26 21:50:00 UTC

[jira] [Assigned] (BEAM-5366) Vendor gRPC and Protobuf separately from beam-model-* Java packages

     [ https://issues.apache.org/jira/browse/BEAM-5366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luke Cwik reassigned BEAM-5366:
-------------------------------

    Assignee: Luke Cwik  (was: Kenneth Knowles)

> Vendor gRPC and Protobuf separately from beam-model-* Java packages
> -------------------------------------------------------------------
>
>                 Key: BEAM-5366
>                 URL: https://issues.apache.org/jira/browse/BEAM-5366
>             Project: Beam
>          Issue Type: Improvement
>          Components: beam-model, build-system
>            Reporter: Luke Cwik
>            Assignee: Luke Cwik
>            Priority: Minor
>
> Each of the beam-model-* jars currently contains duplicate definitions of gRPC and protobuf and their transitive dependencies.
>  
> By migrating those packages to a separate artifact, we could have a single copy of those classes instead of 3.
>  
> This would reduce the size of the jars and prevent warnings such as:
>  
> {code:java}
> [WARNING] beam-model-fn-execution-2.5.0.jar, beam-model-job-management-2.5.0.jar, beam-model-pipeline-2.5.0.jar define 6660 overlapping classes:  [WARNING]   - org.apache.beam.vendor.netty.v4.io.netty.handler.codec.http.HttpClientCodec$1 [WARNING]   - org.apache.beam.vendor.guava.v20.com.google.common.util.concurrent.AggregateFutureState$SafeAtomicHelper [WARNING]   - org.apache.beam.vendor.netty.v4.io.netty.util.concurrent.DefaultFutureListeners [WARNING]   - org.apache.beam.vendor.netty.v4.io.netty.handler.ssl.OpenSslSessionContext$1 [WARNING]   - org.apache.beam.vendor.netty.v4.io.netty.handler.ssl.Java9SslUtils$4 [WARNING]   - org.apache.beam.vendor.guava.v20.com.google.common.collect.ImmutableMultimap$Builder [WARNING]   - org.apache.beam.vendor.netty.v4.io.netty.handler.codec.spdy.SpdyHeaders [WARNING]   - org.apache.beam.vendor.protobuf.v3.com.google.protobuf.DescriptorProtos$FieldDescriptorProtoOrBuilder [WARNING]   - org.apache.beam.vendor.guava.v20.com.google.common.collect.AbstractMultimap [WARNING]   - org.apache.beam.vendor.guava.v20.com.google.common.io.BaseEncoding$3{code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)