You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2016/02/05 09:59:39 UTC

[jira] [Created] (AMBARI-14936) Tweaks to reduce build time

Andrew Onischuk created AMBARI-14936:
----------------------------------------

             Summary: 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)