ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yusaku Sako (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14936) Tweaks to reduce build time
Date Thu, 11 Feb 2016 17:37:18 GMT

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

Yusaku Sako commented on AMBARI-14936:
--------------------------------------

Reverted as this seems to be causing test failures.

> 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