[ 
https://issues.apache.org/jira/browse/PHOENIX-2040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14586080#comment-14586080
 ] 

Josh Mahonin commented on PHOENIX-2040:
---------------------------------------

Resulting file sizes after patch:

{noformat}
ls -lh phoenix-assembly/target/
total 648648
drwxr-xr-x  2 joshmahonin  staff    68B 15 Jun 09:59 archive-tmp
-rw-r--r--  1 joshmahonin  staff    11K 15 Jun 09:59 checkstyle-checker.xml
-rw-r--r--  1 joshmahonin  staff   798B 15 Jun 09:59 checkstyle-header.txt
-rw-r--r--  1 joshmahonin  staff    80B 15 Jun 09:59 checkstyle-result.xml
-rw-r--r--  1 joshmahonin  staff   2.0K 15 Jun 09:59 checkstyle-suppressions.xml
drwxr-xr-x  3 joshmahonin  staff   102B 15 Jun 09:59 maven-archiver
drwxr-xr-x  3 joshmahonin  staff   102B 15 Jun 09:59 
maven-shared-archive-resources
-rw-r--r--  1 joshmahonin  staff   4.3M 15 Jun 09:59 
phoenix-4.5.0-SNAPSHOT-client-minimal.jar
-rw-r--r--  1 joshmahonin  staff    28M 15 Jun 09:59 
phoenix-4.5.0-SNAPSHOT-client-without-hbase.jar
-rw-r--r--  1 joshmahonin  staff    65M 15 Jun 09:59 
phoenix-4.5.0-SNAPSHOT-client.jar
-rw-r--r--  1 joshmahonin  staff   4.4M 15 Jun 09:59 
phoenix-4.5.0-SNAPSHOT-server-without-antlr.jar
-rw-r--r--  1 joshmahonin  staff   5.7M 15 Jun 09:59 
phoenix-4.5.0-SNAPSHOT-server.jar
-rw-r--r--  1 joshmahonin  staff   1.7M 15 Jun 10:00 
phoenix-4.5.0-SNAPSHOT-source.tar.gz
-rw-r--r--  1 joshmahonin  staff   208M 15 Jun 10:00 
phoenix-4.5.0-SNAPSHOT.tar.gz
-rw-r--r--  1 joshmahonin  staff   2.8K 15 Jun 09:59 
phoenix-assembly-4.5.0-SNAPSHOT-tests.jar
{noformat}

> Mark spark/scala dependencies as 'provided'
> -------------------------------------------
>
>                 Key: PHOENIX-2040
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2040
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Josh Mahonin
>            Assignee: Josh Mahonin
>         Attachments: PHOENIX-2040.patch
>
>
> The Spark runtime provides both the scala library, as well as the Spark 
> dependencies, so these should be marked as 'provided' in the phoenix-spark 
> module. This greatly reduces the size of the resulting client JAR.
> This patch also adds back phoenix-spark to the list of modules in the 
> assembly JAR, to be included in the client JAR.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to