Reduce the size of assembly jar

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Reduce the size of assembly jar

xm_zzc
Hi dev:
  Currently the size of assembly jar is about 100MB, I find that the size of
'com.amazonaws' package and models folder (including many json files) is
almost half of assembly jar, can we remove 'com.amazonaws' package and
models folder when assemble by default?
  I try to add '<exclude>com.amazonaws:*</exclude>' in pom.xml of assembly
module, and then the size of assembly jar is about 45MB.



--
Sent from: http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: Reduce the size of assembly jar

xm_zzc
Hi:
  This is not an issue. I found that assembly jar includes
aws-sdk-java-bundle module (1.11.X) which is about 60MB, if you don't need
this module, add '<exclude>com.amazonaws:*</exclude>' in maven-shade-plugin
of assembly pom.xml.



--
Sent from: http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/