ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-14936) Tweaks to reduce build time
Date Fri, 12 Feb 2016 13:30:18 GMT

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

Andrew Onischuk updated AMBARI-14936:
-------------------------------------
    Attachment:     (was: AMBARI-14936.patch)

> Tweaks to reduce build time
> ---------------------------
>
>                 Key: AMBARI-14936
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14936
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-14936.patch
>
>
> 1\. Don't build common-services and stacks folder into ambari-server.jar. This
> reduces jar size from 20Mb to 7Mb. And also reduces its buildtime.  
> 2\. -DassemblyPhase=none option to skip building tarballs. Is useful when
> building simply a jar is needed.  
> 3\. -Dnodemodules.dir option to not redownload node_modules folder in ambari-
> web. This reduces ambari-web time from ~1.1 min. to ~15s. (unless it's a first
> build and node_modules is not there). However this may rearly result in npm
> cache issues, which is simply solved by 'rm -rf ambari-web/node_modules'



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

Mime
View raw message