Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EFA6D1823E for ; Fri, 12 Feb 2016 13:30:18 +0000 (UTC) Received: (qmail 70251 invoked by uid 500); 12 Feb 2016 13:30:18 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 70180 invoked by uid 500); 12 Feb 2016 13:30:18 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 70023 invoked by uid 99); 12 Feb 2016 13:30:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2016 13:30:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3CCC62C1F6E for ; Fri, 12 Feb 2016 13:30:18 +0000 (UTC) Date: Fri, 12 Feb 2016 13:30:18 +0000 (UTC) From: "Andrew Onischuk (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-14936) Tweaks to reduce build time MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-14936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Onischuk updated AMBARI-14936: ------------------------------------- Attachment: 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)