Github user fhueske commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3656#discussion_r109416659
  
    --- Diff: flink-libraries/flink-table/pom.xml ---
    @@ -231,6 +231,25 @@ under the License.
                                </configuration>
                        </plugin>
     
    +                   <!-- build a har-with-dependencies, to be included in 
the 'opt' build folder -->
    +                   <plugin>
    +                           <artifactId>maven-assembly-plugin</artifactId>
    +                           <configuration>
    +                                   <descriptorRefs>
    +                                           
<descriptorRef>jar-with-dependencies</descriptorRef>
    --- End diff --
    
    The jar-with-dependencies is 86MB. This would increase the distribution 
from 120 MB to 200 MB. 
    I looked into the jar file and it contains all dependencies of 
`flink-table`, including the other Flink dependencies and their transitive 
dependencies (netty, hadoop, avro, etc.). We need to exclude all of that and 
only keep those dependencies that we really need. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to