Repository: carbondata Updated Branches: refs/heads/master d1139330f -> 8e659b8dd
[CARBONDATA-2438][Assembly] Remove hadoop/spark/zookeeper related classes from assembly It remove hadoop/spark/zookeeper/snappy/guava related classes from assembly jar. It reduces the size of carbon-assembly jar from 75MB to 49MB. This closes #2270 Project: http://git-wip-us.apache.org/repos/asf/carbondata/repo Commit: http://git-wip-us.apache.org/repos/asf/carbondata/commit/8e659b8d Tree: http://git-wip-us.apache.org/repos/asf/carbondata/tree/8e659b8d Diff: http://git-wip-us.apache.org/repos/asf/carbondata/diff/8e659b8d Branch: refs/heads/master Commit: 8e659b8dd962e7743d99fa8031875b95bf3b423f Parents: d113933 Author: xuchuanyin <[email protected]> Authored: Fri May 4 21:11:17 2018 +0800 Committer: Jacky Li <[email protected]> Committed: Sun May 6 00:13:06 2018 +0800 ---------------------------------------------------------------------- assembly/pom.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/carbondata/blob/8e659b8d/assembly/pom.xml ---------------------------------------------------------------------- diff --git a/assembly/pom.xml b/assembly/pom.xml index 4e07a39..56522d0 100644 --- a/assembly/pom.xml +++ b/assembly/pom.xml @@ -89,7 +89,18 @@ <artifactSet> <includes> <include>*:*</include> + <!--use the following line if we only want carbondata related classes--> + <!--<include>org.apache.carbondata:*</include>--> </includes> + <excludes> + <exclude>org.apache.hadoop:*</exclude> + <exclude>org.apache.spark:*</exclude> + <exclude>org.apache.zookeeper:*</exclude> + <exclude>org.apache.avro:*</exclude> + <exclude>com.google.guava:guava</exclude> + <exclude>org.xerial.snappy:snappy-java</exclude> + <!--add more items to be excluded from the assembly--> + </excludes> </artifactSet> <filters> <filter>
