Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1F172200B5D for ; Sun, 7 Aug 2016 17:16:57 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1D427160A87; Sun, 7 Aug 2016 15:16:57 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C966F160A6D for ; Sun, 7 Aug 2016 17:16:54 +0200 (CEST) Received: (qmail 98469 invoked by uid 500); 7 Aug 2016 15:16:53 -0000 Mailing-List: contact user-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ambari.apache.org Delivered-To: mailing list user@ambari.apache.org Received: (qmail 98459 invoked by uid 99); 7 Aug 2016 15:16:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Aug 2016 15:16:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5BB7A18128A for ; Sun, 7 Aug 2016 15:16:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.18 X-Spam-Level: *** X-Spam-Status: No, score=3.18 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_BADIPHTTP=2, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id BBLnXOsaaDLJ for ; Sun, 7 Aug 2016 15:16:43 +0000 (UTC) Received: from mail-it0-f54.google.com (mail-it0-f54.google.com [209.85.214.54]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 885375F1F4 for ; Sun, 7 Aug 2016 15:16:43 +0000 (UTC) Received: by mail-it0-f54.google.com with SMTP id x130so56994492ite.1 for ; Sun, 07 Aug 2016 08:16:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=c+MjfOgE342FA1L1jSOZfEIvaJWJ2E2dARv3BRCRlKo=; b=E1UlwkojztFoaHCxf2IK9kISGV5RUtchAEXrdomWpCnLedLEnj9JdIOP8/9JNwZNNo H/TEW1IKNGjALDLIBI6rwPwtnnPhGMnaW0O0EzzMYSVGFpRQx5we9qxM5aRs+ChPQHMW HTPb59UHbWncE/pZlczrr7dZILT7CxCTMJ4Qsjdic7hPM0IOyEuwaimRhMpo7gSc9vu/ yyCrZ79pN09VCGbejmd2LBdPstqOsjpKQJLK+kvaQIlTYz/bRWZDxymGNIVxFjHcPwJs ZuaNJEWM8n+h13vYsJgTgOs9kV5w1MpdV+RnNg5aNOTNxa+N9l+Y4Rl6b+HHLp1Mszk2 dHPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=c+MjfOgE342FA1L1jSOZfEIvaJWJ2E2dARv3BRCRlKo=; b=GnycrxfBGCWfMzjFkAkUo2biuq0GHJ6hJjmlyebupmmu7XCsc11Ugnya2GOffeStFF z9oR/tu1XoxZ/PQX5vV4yy0UurjxYe/d630XAOzIOOsw3OFuUV+qgVuIcY+0BnFjsYDs XXdWtiFbot2wyRDL4PNYgRMuLpVY0WXKZU9+yAlzH905ITuXf9+y0xqi3H/2Ran7oY9n lDTw3A4wI2t4bEopJFAhp+JcsE7Pc2NfUiXOqnw87k94938JRc8euX76FUFp3fygLBiX OlwdL/W6ukJagtI0NjbhMNpDH/6iqMuqEursS8CDuUeYsLFONYnY2942TXsP3OsYYXJ9 6dsg== X-Gm-Message-State: AEkoouuxlxCjflnhI0ylxCf64/NI3+UXIVL46ezmX3h53hwBwhmXg1Zm2thgtvvcVsHfPAt2mdkblEDZUU5myA== X-Received: by 10.36.227.78 with SMTP id d75mr13500241ith.75.1470582996524; Sun, 07 Aug 2016 08:16:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.169.156 with HTTP; Sun, 7 Aug 2016 08:16:34 -0700 (PDT) In-Reply-To: References: <2C456553-16C4-40D8-B286-139E834DAD4E@apache.org> <8D8E5332-DD65-435D-88A9-9C59025B1578@apache.org> <1EF43B32-1114-4A0E-A289-11150F3FDF07@esgyn.com> From: Ascot Moss Date: Sun, 7 Aug 2016 23:16:34 +0800 Message-ID: Subject: Re: Build Error To: user@ambari.apache.org Content-Type: multipart/alternative; boundary=94eb2c111de81ee86f05397cc907 archived-at: Sun, 07 Aug 2016 15:16:57 -0000 --94eb2c111de81ee86f05397cc907 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: fsevents@0.2.1 npm WARN Ambari@2.1.3 No license field. [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (compile-brunch) @ ambari-web --- /usr/lib/node_modules/brunch/lib/watch.js:433 throw new Error("You probably need to execute `npm install` to install brunch plugins. " + error); ^ Error: You probably need to execute `npm install` to install brunch plugins. SyntaxError: Setter must have exactly one formal parameter. at /usr/lib/node_modules/brunch/lib/watch.js:433:19 at Array.map (native) at loadDeps (/usr/lib/node_modules/brunch/lib/watch.js:418:10) at loadPackages (/usr/lib/node_modules/brunch/lib/watch.js:438:15) at /usr/lib/node_modules/brunch/lib/watch.js:458:19 at /usr/lib/node_modules/brunch/lib/helpers.js:529:16 at /usr/lib/node_modules/brunch/lib/helpers.js:485:14 at /usr/lib/node_modules/brunch/node_modules/read-components/index.js:263:16 at /usr/lib/node_modules/brunch/node_modules/read-components/index.js:72:14 at FSReqWrap.cb [as oncomplete] (fs.js:257:19) [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Ambari Main ........................................ SUCCESS [11:52 min] [INFO] Apache Ambari Project POM .......................... SUCCESS [ 0.057 s] [INFO] Ambari Web ......................................... FAILURE [03:16 min] [INFO] Ambari Views ....................................... SKIPPED On Sun, Aug 7, 2016 at 10:10 PM, Ascot Moss wrote: > from "ambari-web/npm-debug.log", found the following > > > 50491 silly gunzTarPerm extractEntry index.js > > 50492 error Error: ENOENT, lstat '/home/ambari/tmp/npm-20999- > fPHBBMwA/1470578512826-0.6402329006232321/package/.npmignore' > > 50493 error If you need help, you may report this log at: > > 50493 error > > 50493 error or email it to: > > 50493 error > > 50494 error System Linux 3.10.0-327.22.2.el7.x86_64 > > 50495 error command "node" "/bin/npm" "install" > > 50496 error cwd /user/local/apache-ambari-2.2.2-src/ambari-web > > 50497 error node -v v0.10.42 > > 50498 error npm -v 1.3.6 > > 50499 error path /home/ambari/tmp/npm-20999-fPHBBMwA/1470578512826-0. > 6402329006232321/package/.npmignore > > 50500 error fstream_path /home/ambari/tmp/npm-20999- > fPHBBMwA/1470578512826-0.6402329006232321/package/.npmignore > > 50501 error fstream_type File > > 50502 error fstream_class FileWriter > > 50503 error code ENOENT > > 50504 error errno 34 > > 50505 error fstream_stack /usr/lib/node_modules/fstream/ > lib/writer.js:284:26 > > 50505 error fstream_stack Object.oncomplete (fs.js:108:15) > > 50506 verbose exit [ 34, true ] > > > > On Sun, Aug 7, 2016 at 9:35 PM, Ascot Moss wrote: > >> and tried the following: >> >> (run as root) >> >> docker rmi ambari_dev >> >> /build_ambari_using_docker.sh >> >> >> [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: = 0 >> approved: 1274 licence. >> >> [INFO] >> >> [INFO] --- maven-assembly-plugin:2.2-beta-5:single (make-assembly) @ >> ambari --- >> >> [INFO] Reading assembly descriptor: /ambari/ambari-project/src/mai >> n/assemblies/empty.xml >> >> [INFO] >> >> [INFO] --- maven-install-plugin:2.4:install (default-install) @ ambari >> --- >> >> [INFO] Installing /ambari/pom.xml to /home/build/.m2/repository/org >> /apache/ambari/ambari/2.2.2.0.0/ambari-2.2.2.0.0.pom >> >> [INFO] ------------------------------------------------------------ >> ------------ >> >> [INFO] Reactor Summary: >> >> [INFO] >> >> [INFO] Ambari Main ........................................ FAILURE [ >> 1.722 s] >> >> [INFO] Apache Ambari Project POM .......................... SKIPPED >> >> [INFO] Ambari Web ......................................... SKIPPED >> >> [INFO] Ambari Views ....................................... SKIPPED >> >> [INFO] Ambari Admin View .................................. SKIPPED >> >> [INFO] ambari-metrics ..................................... SKIPPED >> >> [INFO] Ambari Metrics Common .............................. SKIPPED >> >> [INFO] Ambari Metrics Hadoop Sink ......................... SKIPPED >> >> [INFO] Ambari Metrics Flume Sink .......................... SKIPPED >> >> [INFO] Ambari Metrics Kafka Sink .......................... SKIPPED >> >> [INFO] Ambari Metrics Storm Sink .......................... SKIPPED >> >> [INFO] Ambari Metrics Collector ........................... SKIPPED >> >> [INFO] Ambari Metrics Monitor ............................. SKIPPED >> >> [INFO] Ambari Metrics Grafana ............................. SKIPPED >> >> [INFO] Ambari Metrics Assembly ............................ SKIPPED >> >> [INFO] Ambari Server ...................................... SKIPPED >> >> [INFO] Ambari Agent ....................................... SKIPPED >> >> [INFO] Ambari Client ...................................... SKIPPED >> >> [INFO] Ambari Python Client ............................... SKIPPED >> >> [INFO] Ambari Groovy Client ............................... SKIPPED >> >> [INFO] Ambari Shell ....................................... SKIPPED >> >> [INFO] Ambari Python Shell ................................ SKIPPED >> >> [INFO] Ambari Groovy Shell ................................ SKIPPED >> >> [INFO] ------------------------------------------------------------ >> ------------ >> >> [INFO] BUILD FAILURE >> >> [INFO] ------------------------------------------------------------ >> ------------ >> >> [INFO] Total time: 2.071 s >> >> [INFO] Finished at: 2016-08-07T13:33:26+00:00 >> >> [INFO] Final Memory: 28M/702M >> >> [INFO] ------------------------------------------------------------ >> ------------ >> >> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-pl= ugin:2.4:install >> (default-install) on project ambari: Failed to install artifact >> org.apache.ambari:ambari:pom:2.2.2.0.0: /home/build/.m2/repository/org >> /apache/ambari/ambari/2.2.2.0.0/ambari-2.2.2.0.0.pom (Permission denied) >> -> [Help 1] >> >> [ERROR] >> >> [ERROR] To see the full stack trace of the errors, re-run Maven with the >> -e switch. >> >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> >> [ERROR] >> >> [ERROR] For more information about the errors and possible solutions, >> please read the following articles: >> >> [ERROR] [Help 1] http://cwiki.apache.org/conflu >> ence/display/MAVEN/MojoExecutionException >> >> >> >> >> >> as already run as root, not sure why still got >> /home/build/.m2/repository/org/apache/ambari/ambari/2.2.2.0.0/ambari-2.= 2.2.0.0.pom >> (Permission denied) >> >> >> >> >> >> On Sun, Aug 7, 2016 at 9:22 PM, Ascot Moss wrote: >> >>> HI, >>> >>> Tried again. >>> >>> >>> Added: >>> echo $MAVEN_HOME >>> >>> /opt/apache-maven-3.3.9 >>> >>> >>> >>> (command) >>> >>> mvn -B -e clean install package -DskipTests=3Dtrue >>> >>> >>> (log) >>> >>> npm WARN optional Skipping failed optional dependency /chokidar/fsevent= s: >>> >>> npm WARN notsup Not compatible with your operating system or >>> architecture: fsevents@0.2.1 >>> >>> npm WARN Ambari@2.1.3 No license field. >>> >>> [INFO] >>> >>> [INFO] --- exec-maven-plugin:1.2.1:exec (compile-brunch) @ ambari-web -= -- >>> >>> /usr/lib/node_modules/brunch/lib/watch.js:433 >>> >>> throw new Error("You probably need to execute `npm install` >>> to install brunch plugins. " + error); >>> >>> ^ >>> >>> >>> Error: You probably need to execute `npm install` to install brunch >>> plugins. SyntaxError: Setter must have exactly one formal parameter. >>> >>> at /usr/lib/node_modules/brunch/lib/watch.js:433:19 >>> >>> at Array.map (native) >>> >>> at loadDeps (/usr/lib/node_modules/brunch/lib/watch.js:418:10) >>> >>> at loadPackages (/usr/lib/node_modules/brunch/lib/watch.js:438:15) >>> >>> at /usr/lib/node_modules/brunch/lib/watch.js:458:19 >>> >>> at /usr/lib/node_modules/brunch/lib/helpers.js:529:16 >>> >>> at /usr/lib/node_modules/brunch/lib/helpers.js:485:14 >>> >>> at /usr/lib/node_modules/brunch/node_modules/read-components/in >>> dex.js:263:16 >>> >>> at /usr/lib/node_modules/brunch/node_modules/read-components/in >>> dex.js:72:14 >>> >>> at FSReqWrap.cb [as oncomplete] (fs.js:257:19) >>> >>> >>> [INFO] ------------------------------------------------------------ >>> ------------ >>> >>> [INFO] Reactor Summary: >>> >>> [INFO] >>> >>> [INFO] Ambari Main ........................................ SUCCESS [ >>> 2.577 s] >>> >>> [INFO] Apache Ambari Project POM .......................... SUCCESS [ >>> 0.036 s] >>> >>> [INFO] Ambari Web ......................................... FAILURE [ >>> 22.124 s] >>> >>> [INFO] Ambari Views ....................................... SKIPPED >>> >>> [INFO] Ambari Admin View .................................. SKIPPED >>> >>> [INFO] ambari-metrics ..................................... SKIPPED >>> >>> [INFO] Ambari Metrics Common .............................. SKIPPED >>> >>> [INFO] Ambari Metrics Hadoop Sink ......................... SKIPPED >>> >>> [INFO] Ambari Metrics Flume Sink .......................... SKIPPED >>> >>> [INFO] Ambari Metrics Kafka Sink .......................... SKIPPED >>> >>> [INFO] Ambari Metrics Storm Sink .......................... SKIPPED >>> >>> [INFO] Ambari Metrics Collector ........................... SKIPPED >>> >>> [INFO] Ambari Metrics Monitor ............................. SKIPPED >>> >>> [INFO] Ambari Metrics Grafana ............................. SKIPPED >>> >>> [INFO] Ambari Metrics Assembly ............................ SKIPPED >>> >>> [INFO] Ambari Server ...................................... SKIPPED >>> >>> [INFO] Ambari Agent ....................................... SKIPPED >>> >>> [INFO] Ambari Client ...................................... SKIPPED >>> >>> [INFO] Ambari Python Client ............................... SKIPPED >>> >>> [INFO] Ambari Groovy Client ............................... SKIPPED >>> >>> [INFO] Ambari Shell ....................................... SKIPPED >>> >>> [INFO] Ambari Python Shell ................................ SKIPPED >>> >>> [INFO] Ambari Groovy Shell ................................ SKIPPED >>> >>> [INFO] ------------------------------------------------------------ >>> ------------ >>> >>> [INFO] BUILD FAILURE >>> >>> [INFO] ------------------------------------------------------------ >>> ------------ >>> >>> [INFO] Total time: 25.063 s >>> >>> [INFO] Finished at: 2016-08-07T21:13:30+08:00 >>> >>> [INFO] Final Memory: 32M/991M >>> >>> [INFO] ------------------------------------------------------------ >>> ------------ >>> >>> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.= 1:exec >>> (compile-brunch) on project ambari-web: Command execution failed. Proce= ss >>> exited with an error: 1 (Exit value: 1) -> [Help 1] >>> >>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to >>> execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec >>> (compile-brunch) on project ambari-web: Command execution failed. >>> >>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj >>> oExecutor.java:212) >>> >>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj >>> oExecutor.java:153) >>> >>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj >>> oExecutor.java:145) >>> >>> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.b >>> uildProject(LifecycleModuleBuilder.java:116) >>> >>> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.b >>> uildProject(LifecycleModuleBuilder.java:80) >>> >>> at org.apache.maven.lifecycle.internal.builder.singlethreaded.S >>> ingleThreadedBuilder.build(SingleThreadedBuilder.java:51) >>> >>> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute >>> (LifecycleStarter.java:128) >>> >>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) >>> >>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) >>> >>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) >>> >>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) >>> >>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) >>> >>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) >>> >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> >>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce >>> ssorImpl.java:62) >>> >>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe >>> thodAccessorImpl.java:43) >>> >>> at java.lang.reflect.Method.invoke(Method.java:498) >>> >>> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnha >>> nced(Launcher.java:289) >>> >>> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Lau >>> ncher.java:229) >>> >>> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithEx >>> itCode(Launcher.java:415) >>> >>> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launc >>> her.java:356) >>> >>> Caused by: org.apache.maven.plugin.MojoExecutionException: Command >>> execution failed. >>> >>> at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:362) >>> >>> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMoj >>> o(DefaultBuildPluginManager.java:134) >>> >>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj >>> oExecutor.java:207) >>> >>> ... 20 more >>> >>> Caused by: org.apache.commons.exec.ExecuteException: Process exited >>> with an error: 1 (Exit value: 1) >>> >>> at org.apache.commons.exec.DefaultExecutor.executeInternal(Defa >>> ultExecutor.java:377) >>> >>> at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecu >>> tor.java:160) >>> >>> at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:610= ) >>> >>> at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:352) >>> >>> ... 22 more >>> >>> [ERROR] >>> >>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>> >>> [ERROR] >>> >>> [ERROR] For more information about the errors and possible solutions, >>> please read the following articles: >>> >>> [ERROR] [Help 1] http://cwiki.apache.org/conflu >>> ence/display/MAVEN/MojoExecutionException >>> >>> [ERROR] >>> >>> [ERROR] After correcting the problems, you can resume the build with th= e >>> command >>> >>> [ERROR] mvn -rf :ambari-web >>> >>> >>> >>> >>> On Mon, Aug 1, 2016 at 11:21 PM, Amanda Moran >>> wrote: >>> >>>> Sorry if you already answered this. >>>> >>>> Is maven in your path? >>>> >>>> Thanks. >>>> >>>> On Aug 1, 2016, at 7:18 AM, Ascot Moss wrote: >>>> >>>> HI, >>>> >>>> Still have compilation error: >>>> >>>> sudo yum install -y python-setuptools >>>> >>>> sudo pip install psutil >>>> >>>> *sudo npm install -g brunch@1.7.20* >>>> >>>> *sudo pip install psutil* >>>> >>>> *mvn -B -e clean install package rpm:rpm -Dbuild-rpm >>>> -Dpython.ver=3D'python >=3D 2.6' * >>>> >>>> [INFO] RPM build errors: >>>> >>>> [INFO] ------------------------------------------------------------ >>>> ------------ >>>> >>>> [INFO] Reactor Summary: >>>> >>>> [INFO] >>>> >>>> [INFO] Ambari Main ........................................ SUCCESS [ >>>> 3.305 s] >>>> >>>> [INFO] Apache Ambari Project POM .......................... SUCCESS [ >>>> 0.489 s] >>>> >>>> [INFO] Ambari Web ......................................... SUCCESS >>>> [04:30 min] >>>> >>>> [INFO] Ambari Views ....................................... SUCCESS [ >>>> 1.530 s] >>>> >>>> [INFO] Ambari Admin View .................................. SUCCESS [ >>>> 17.835 s] >>>> >>>> [INFO] ambari-metrics ..................................... SUCCESS [ >>>> 1.036 s] >>>> >>>> [INFO] Ambari Metrics Common .............................. SUCCESS [ >>>> 1.104 s] >>>> >>>> [INFO] Ambari Metrics Hadoop Sink ......................... SUCCESS [ >>>> 1.936 s] >>>> >>>> [INFO] Ambari Metrics Flume Sink .......................... SUCCESS [ >>>> 1.398 s] >>>> >>>> [INFO] Ambari Metrics Kafka Sink .......................... SUCCESS [ >>>> 0.990 s] >>>> >>>> [INFO] Ambari Metrics Storm Sink .......................... SUCCESS [ >>>> 2.385 s] >>>> >>>> [INFO] Ambari Metrics Collector ........................... SUCCESS >>>> [01:41 min] >>>> >>>> [INFO] Ambari Metrics Monitor ............................. SUCCESS [ >>>> 1.501 s] >>>> >>>> [INFO] Ambari Metrics Grafana ............................. SUCCESS [ >>>> 15.498 s] >>>> >>>> [INFO] Ambari Metrics Assembly ............................ SUCCESS >>>> [04:55 min] >>>> >>>> [INFO] Ambari Server ...................................... SUCCESS >>>> [33:51 min] >>>> >>>> [INFO] Ambari Agent ....................................... SUCCESS [ >>>> 32.124 s] >>>> >>>> [INFO] Ambari Client ...................................... SUCCESS [ >>>> 15.318 s] >>>> >>>> [INFO] Ambari Python Client ............................... FAILURE [ >>>> 13.884 s] >>>> >>>> [INFO] Ambari Groovy Client ............................... SKIPPED >>>> >>>> [INFO] Ambari Shell ....................................... SKIPPED >>>> >>>> [INFO] Ambari Python Shell ................................ SKIPPED >>>> >>>> [INFO] Ambari Groovy Shell ................................ SKIPPED >>>> >>>> [INFO] ------------------------------------------------------------ >>>> ------------ >>>> >>>> [INFO] BUILD FAILURE >>>> >>>> [INFO] ------------------------------------------------------------ >>>> ------------ >>>> >>>> [INFO] Total time: 46:49 min >>>> >>>> [INFO] Finished at: 2016-08-01T16:32:25+08:00 >>>> >>>> [INFO] Final Memory: 325M/2743M >>>> >>>> [INFO] ------------------------------------------------------------ >>>> ------------ >>>> >>>> [ERROR] Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.1-= alpha-2:rpm >>>> (default-cli) on project python-client: RPM build execution returned: = '1' >>>> executing '/bin/sh -c cd /usr/local/apache-ambari-2.2.2 >>>> -src/ambari-client/python-client/target/rpm/python-client/SPECS && >>>> rpmbuild -bb --buildroot /usr/local/apache-ambari-2.2.2 >>>> -src/ambari-client/python-client/target/rpm/python-client/buildroot >>>> --define '_topdir /usr/local/apache-ambari-2.2.2 >>>> -src/ambari-client/python-client/target/rpm/python-client' --target >>>> x86_64-redhat-linux python-client.spec' -> [Help 1] >>>> >>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to >>>> execute goal org.codehaus.mojo:rpm-maven-plugin:2.1-alpha-2:rpm >>>> (default-cli) on project python-client: RPM build execution returned: = '1' >>>> executing '/bin/sh -c cd /usr/local/apache-ambari-2.2.2 >>>> -src/ambari-client/python-client/target/rpm/python-client/SPECS && >>>> rpmbuild -bb --buildroot /usr/local/apache-ambari-2.2.2 >>>> -src/ambari-client/python-client/target/rpm/python-client/buildroot >>>> --define '_topdir /usr/local/apache-ambari-2.2.2 >>>> -src/ambari-client/python-client/target/rpm/python-client' --target >>>> x86_64-redhat-linux python-client.spec' >>>> >>>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(Mo= j >>>> oExecutor.java:212) >>>> >>>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(Mo= j >>>> oExecutor.java:153) >>>> >>>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(Mo= j >>>> oExecutor.java:145) >>>> >>>> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.= b >>>> uildProject(LifecycleModuleBuilder.java:116) >>>> >>>> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.= b >>>> uildProject(LifecycleModuleBuilder.java:80) >>>> >>>> at org.apache.maven.lifecycle.internal.builder.singlethreaded.= S >>>> ingleThreadedBuilder.build(SingleThreadedBuilder.java:51) >>>> >>>> at org.apache.maven.lifecycle.internal.LifecycleStarter.execut= e >>>> (LifecycleStarter.java:128) >>>> >>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:3= 0 >>>> 7) >>>> >>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:1= 9 >>>> 3) >>>> >>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106= ) >>>> >>>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) >>>> >>>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) >>>> >>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) >>>> >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>> >>>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcc= e >>>> ssorImpl.java:62) >>>> >>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingM= e >>>> thodAccessorImpl.java:43) >>>> >>>> at java.lang.reflect.Method.invoke(Method.java:498) >>>> >>>> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnh= a >>>> nced(Launcher.java:289) >>>> >>>> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(La= u >>>> ncher.java:229) >>>> >>>> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithE= x >>>> itCode(Launcher.java:415) >>>> >>>> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Laun= c >>>> her.java:356) >>>> >>>> Caused by: org.apache.maven.plugin.MojoExecutionException: RPM build >>>> execution returned: '1' executing '/bin/sh -c cd >>>> /usr/local/apache-ambari-2.2.2-src/ambari-client/python-clie >>>> nt/target/rpm/python-client/SPECS && rpmbuild -bb --buildroot >>>> /usr/local/apache-ambari-2.2.2-src/ambari-client/python-clie >>>> nt/target/rpm/python-client/buildroot --define '_topdir >>>> /usr/local/apache-ambari-2.2.2-src/ambari-client/python-client/target/= rpm/python-client' >>>> --target x86_64-redhat-linux python-client.spec' >>>> >>>> at org.codehaus.mojo.rpm.RPMHelper.buildPackage(RPMHelper.java= : >>>> 150) >>>> >>>> at org.codehaus.mojo.rpm.AbstractRPMMojo.execute(AbstractRPMMo= j >>>> o.java:792) >>>> >>>> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMo= j >>>> o(DefaultBuildPluginManager.java:134) >>>> >>>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(Mo= j >>>> oExecutor.java:207) >>>> >>>> ... 20 more >>>> >>>> [ERROR] >>>> >>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>>> >>>> [ERROR] >>>> >>>> [ERROR] For more information about the errors and possible solutions, >>>> please read the following articles: >>>> >>>> [ERROR] [Help 1] http://cwiki.apache.org/conflu >>>> ence/display/MAVEN/MojoExecutionException >>>> >>>> [ERROR] >>>> >>>> [ERROR] After correcting the problems, you can resume the build with >>>> the command >>>> >>>> [ERROR] mvn -rf :python-client >>>> >>>> On Sat, Jul 30, 2016 at 3:35 PM, Don Bosco Durai >>>> wrote: >>>> >>>>> I was able to reproduce your issue. It seems, the build user I am >>>>> creating didn=E2=80=99t have the permission to write to the local fol= der. I have >>>>> updated the script to create the build user with the same UID from th= e host >>>>> user. I have also using CentOS 6 image to build (as per the documenta= tion). >>>>> >>>>> >>>>> >>>>> I have updated the JIRA with the updated script. >>>>> https://issues.apache.org/jira/browse/AMBARI-17944 >>>>> >>>>> >>>>> >>>>> Please do the following: >>>>> >>>>> >>>>> >>>>> 1. docker rmi ambari_dev >>>>> >>>>> 2. Go to root folder of your Ambari source >>>>> >>>>> 3. $YOUR_PATH/build_ambari_using_docker.sh >>>>> >>>>> >>>>> >>>>> Let me know how it goes. >>>>> >>>>> >>>>> >>>>> Thanks >>>>> >>>>> >>>>> >>>>> Bosco >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> *From: *Ascot Moss >>>>> *Reply-To: * >>>>> *Date: *Thursday, July 28, 2016 at 4:11 PM >>>>> *To: * >>>>> *Subject: *Re: Build Error >>>>> >>>>> >>>>> >>>>> Hi, >>>>> >>>>> yum install -y python-setuptools >>>>> >>>>> Loaded plugins: fastestmirror >>>>> >>>>> Loading mirror speeds from cached hostfile >>>>> >>>>> * base: mirror.vpshosting.com.hk >>>>> >>>>> * epel: ftp.cuhk.edu.hk >>>>> >>>>> * extras: mirror.vpshosting.com.hk >>>>> >>>>> * updates: mirror.vpshosting.com.hk >>>>> >>>>> Package python-setuptools-0.9.8-4.el7.noarch already installed and >>>>> latest version >>>>> >>>>> Nothing to do >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> "My script should have done the complete build. What is the error you >>>>> are getting?" >>>>> >>>>> The error as follows: >>>>> >>>>> [INFO] ------------------------------------------------------------ >>>>> ------------ >>>>> >>>>> [INFO] Reactor Summary: >>>>> >>>>> [INFO] >>>>> >>>>> [INFO] Ambari Main ........................................ FAILURE >>>>> [ 2.135 s] >>>>> >>>>> [INFO] Apache Ambari Project POM .......................... SKIPPED >>>>> >>>>> [INFO] Ambari Web ......................................... SKIPPED >>>>> >>>>> [INFO] Ambari Views ....................................... SKIPPED >>>>> >>>>> [INFO] Ambari Admin View .................................. SKIPPED >>>>> >>>>> [INFO] ambari-metrics ..................................... SKIPPED >>>>> >>>>> [INFO] Ambari Metrics Common .............................. SKIPPED >>>>> >>>>> [INFO] Ambari Metrics Hadoop Sink ......................... SKIPPED >>>>> >>>>> [INFO] Ambari Metrics Flume Sink .......................... SKIPPED >>>>> >>>>> [INFO] Ambari Metrics Kafka Sink .......................... SKIPPED >>>>> >>>>> [INFO] Ambari Metrics Storm Sink .......................... SKIPPED >>>>> >>>>> [INFO] Ambari Metrics Collector ........................... SKIPPED >>>>> >>>>> [INFO] Ambari Metrics Monitor ............................. SKIPPED >>>>> >>>>> [INFO] Ambari Metrics Grafana ............................. SKIPPED >>>>> >>>>> [INFO] Ambari Metrics Assembly ............................ SKIPPED >>>>> >>>>> [INFO] Ambari Server ...................................... SKIPPED >>>>> >>>>> [INFO] Ambari Agent ....................................... SKIPPED >>>>> >>>>> [INFO] Ambari Client ...................................... SKIPPED >>>>> >>>>> [INFO] Ambari Python Client ............................... SKIPPED >>>>> >>>>> [INFO] Ambari Groovy Client ............................... SKIPPED >>>>> >>>>> [INFO] Ambari Shell ....................................... SKIPPED >>>>> >>>>> [INFO] Ambari Python Shell ................................ SKIPPED >>>>> >>>>> [INFO] Ambari Groovy Shell ................................ SKIPPED >>>>> >>>>> [INFO] ------------------------------------------------------------ >>>>> ------------ >>>>> >>>>> [INFO] BUILD FAILURE >>>>> >>>>> [INFO] ------------------------------------------------------------ >>>>> ------------ >>>>> >>>>> [INFO] Total time: 3.035 s >>>>> >>>>> [INFO] Finished at: 2016-07-28T23:09:34+00:00 >>>>> >>>>> [INFO] Final Memory: 17M/479M >>>>> >>>>> [INFO] ------------------------------------------------------------ >>>>> ------------ >>>>> >>>>> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:= check >>>>> (default) on project ambari: Could not create report parent directory >>>>> /ambari/target -> [Help 1] >>>>> >>>>> [ERROR] >>>>> >>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with >>>>> the -e switch. >>>>> >>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging= . >>>>> >>>>> [ERROR] >>>>> >>>>> [ERROR] For more information about the errors and possible solutions, >>>>> please read the following articles >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Fri, Jul 29, 2016 at 12:49 AM, Don Bosco Durai >>>>> wrote: >>>>> >>>>> > Step 1: run your script >>>>> >>>>> > [INFO] Ambari Main ........................................ FAILURE >>>>> [ 0.521 s] >>>>> >>>>> My script should have done the complete build. What is the error you >>>>> are getting? >>>>> >>>>> >>>>> >>>>> > Is "mvn clean install package -DskipTests" correct command to >>>>> build Ambari? >>>>> >>>>> Depends what do you want to do? For released versions, Apache Ambari >>>>> already gives you the final binary bits, including RPM. So shouldn=E2= =80=99t be >>>>> needing to build. >>>>> >>>>> >>>>> >>>>> (From your very recent build)=E2=80=A6 >>>>> >>>>> > mvn -B -e clean install package rpm:rpm -Dbuild-rpm >>>>> -Dpython.ver=3D'python >=3D 2.6' =E2=80=93DskipTests >>>>> >>>>> If you are compiling outside Docker, then try installing =E2=80=9Cyum= install >>>>> -y python-setuptools=E2=80=9D. My script might not be able to take th= e space in the >>>>> =E2=80=9Cpython >=3D 2.6=E2=80=9D. But if you want, I can look into i= t. >>>>> >>>>> >>>>> >>>>> Thanks >>>>> >>>>> >>>>> >>>>> Bosco >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>> >> > --94eb2c111de81ee86f05397cc907 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

npm WARN optional Skipping failed optional d= ependency /chokidar/fsevents:

npm = WARN notsup Not compatible with your operating system or architecture: fsev= ents@0.2.1

npm WARN Ambari@2.1.3 N= o license field.

[INFO]=C2=A0

[INFO] --- exec-maven-plugin:1.2.1:exe= c (compile-brunch) @ ambari-web ---

/usr/lib/node_modules/brunch/lib/watch.js:433

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 throw new Error(&qu= ot;You probably need to execute `npm install` to install brunch plugins. &q= uot; + error);

=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 ^

=

Error: You probably need to execute = `npm install` to install brunch plugins. SyntaxError: Setter must have exac= tly one formal parameter.

=C2=A0 a= t /usr/lib/node_modules/brunch/lib/watch.js:433:19

= =C2=A0 at Array.map (native)

=C2=A0 at loadDeps (/usr/lib/node_modules/brunch/lib/watch.js:4= 18:10)

=C2=A0 at loadPackages (/us= r/lib/node_modules/brunch/lib/watch.js:438:15)

=C2=A0 at /usr/lib/node_modules/brunch/lib/watch.js:458:19

=C2=A0 at /usr/lib/node_modules/brunc= h/lib/helpers.js:529:16

=C2=A0 at = /usr/lib/node_modules/brunch/lib/helpers.js:485:14

= =C2=A0 at /usr/lib/node_modules/brunch/node_modules/read-c= omponents/index.js:263:16

=C2=A0 a= t /usr/lib/node_modules/brunch/node_modules/read-components/index.js:72:14<= /span>

=C2=A0 at FSReqWrap.cb [as oncompl= ete] (fs.js:257:19)


[INFO] ------------------------------------= ------------------------------------

[INFO] Reactor Summary:

[INFO]= =C2=A0

[INFO] Ambari Main ........= ................................ SUCCESS [11:52 min]

[INFO] Apache Ambari Project POM .......................= ... SUCCESS [=C2=A0 0.057 s]

[INFO= ] Ambari Web ......................................... FAILURE [03:16 min]<= /span>

[INFO] Ambari Views ....................= ................... SKIPPED


=
On Sun, Aug 7, 2016 at 10:10 PM, Ascot Moss <ascot.moss@gmail.com> wrote:
from =C2=A0"ambari-web/npm-debug.log", found = the following=C2=A0


50491 silly gunzTarPerm extractEntry index.js

50492 error Error: ENOENT, lstat '/home/ambari/tmp/npm-20999-<= wbr>fPHBBMwA/1470578512826-0.6402329006232321/package/.npmignore&= #39;

50493 error If you need help, you may report this log at:

50493 error =C2=A0 =C2=A0 <http://github.com/isaacs/npm/issues&= gt;

50493 error or email it to:

50493 error =C2=A0 =C2=A0 <npm-@googlegroups.com>

50494 error System Linux 3.10.0-327.22.2.el7.x86_64

50495 error command "node" "/bin/npm" "in= stall"

50496 error cwd /user/local/apache-ambari-2.2.2-src/ambari-we= b

50497 error node -v v0.10.42

50498 error npm -v 1.3.6

50499 error path /home/ambari/tmp/npm-20999-fPHBBMwA/14705785= 12826-0.6402329006232321/package/.npmignore

50500 error fstream_path /home/ambari/tmp/npm-20999-fPHBBMwA/= 1470578512826-0.6402329006232321/package/.npmignore

50501 error fstream_type File

50502 error fstream_class FileWriter

50503 error code ENOENT

50504 error errno 34

50505 error fstream_stack /usr/lib/node_modules/fstream/lib/w= riter.js:284:26

50505 error fstream_stack Object.oncomplete (fs.js:108:15)<= /p>

50506 verbose exit [ 34, true ]


=

On Sun, Aug 7, 2016 at 9:35 PM, Ascot Moss <asco= t.moss@gmail.com> wrote:
and tried the following:

(run as root)

docker rmi ambari_dev =C2=A0=C2=A0

/build_ambari_using_docker.sh =C2=A0=C2=A0

[INFO] Rat check: Summary of files. Unapproved: 0 unkno= wn: 0 generated: 0 approved: 1274 licence.

[INFO]=C2=A0<= /span>

[INFO] --- maven-assembly-plugin:2.2-beta-5:single = (make-assembly) @ ambari ---

[INFO] Reading assembly des= criptor: /ambari/ambari-project/src/main/assemblies/empty.xml

[INFO]=C2=A0

[INFO] --- maven-install-plugin:= 2.4:install (default-install) @ ambari ---

[INFO] I= nstalling /ambari/pom.xml to /home/build/.m2/repository/org/apache/amb= ari/ambari/2.2.2.0.0/ambari-2.2.2.0.0.p= om

[INFO] -----------------------------------= -------------------------------------

[INFO] Reacto= r Summary:

[INFO]=C2=A0

[INFO]= Ambari Main ........................................ FAILURE [=C2=A0 = 1.722 s]

[INFO] Apache Ambari Project POM ....= ...................... SKIPPED

[INFO] Ambari Web .......= .................................. SKIPPED

[INFO] A= mbari Views ....................................... SKIPPED

=

[INFO] Ambari Admin View .................................. S= KIPPED

[INFO] ambari-metrics ...........................= .......... SKIPPED

[INFO] Ambari Metrics Common ...= ........................... SKIPPED

[INFO] Ambari Metric= s Hadoop Sink ......................... SKIPPED

[INFO] A= mbari Metrics Flume Sink .......................... SKIPPED

[INFO] Ambari Metrics Kafka Sink .......................... SKIPPED

[INFO] Ambari Metrics Storm Sink ..........................= SKIPPED

[INFO] Ambari Metrics Collector ...............= ............ SKIPPED

[INFO] Ambari Metrics Monitor .....= ........................ SKIPPED

[INFO] Ambari Metrics G= rafana ............................. SKIPPED

[INFO] Amba= ri Metrics Assembly ............................ SKIPPED

[INFO] Ambari Server ...................................... SKIPPED

[INFO] Ambari Agent ................................= ....... SKIPPED

[INFO] Ambari Client ...................= ................... SKIPPED

[INFO] Ambari Python Cl= ient ............................... SKIPPED

[INFO]= Ambari Groovy Client ............................... SKIPPED

[INFO] Ambari Shell .......................................= SKIPPED

[INFO] Ambari Python Shell ....................= ............ SKIPPED

[INFO] Ambari Groovy Shell ...= ............................. SKIPPED

[INFO] ------= -----------------------------------------------------------------= -

[INFO] BUILD FAILURE

[INFO] -------= -----------------------------------------------------------------=

[INFO] Total time: 2.071 s

[INFO] Finished at: 2016-08-07T13:33:26+00:00

[INFO] = Final Memory: 28M/702M

[INFO] --------------------------= ----------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install= -plugin:2.4:install (default-install) on project ambari: Failed to install = artifact org.apache.ambari:ambari:pom:2.2.2= .0.0: /home/build/.m2/repository/org/apache/ambari/ambari/2.2.2.0.0/ambari-2.2.2.0.0.pom (Permission den= ied) -> [Help 1]

[ERROR]=C2=A0

[ERROR] To see the full stack trace of the errors, re-run Maven with the= -e switch.

[ERROR] Re-run Maven using the -X switch to = enable full debug logging.

[ERROR]=C2=A0

[ERROR] For more information about the errors and possible solut= ions, please read the following articles:

[ERROR] [Help 1] http:= //cwiki.apache.org/confluence/display/MAVEN/MojoExecutionExceptio= n





as already run as root, not sure why st= ill got=C2=A0
=C2=A0/home/build/.m2/repository/org/apache/ambari/am= bari/2.2.2.0.0/ambari-2.2.2.0.0.pom (Per= mission denied)=C2=A0





On Sun, Aug 7, 2016 at 9:22 PM, Ascot= Moss <ascot.moss@gmail.com> wrote:

HI,

Tried again.


=

Added:=C2=A0
echo $MAVEN_HOME

/opt/apache-maven-3.3.9



(command)

mvn -B -e clean install package -DskipTests=3Dtrue


(log)

npm WARN optional Skipping failed optional dependency /chokidar/fs= events:

npm WARN notsup Not compatible with your operating system or archi= tecture: fsevents@0.2.1

npm WARN Ambari@2.1.3 No license field.

[INFO]=C2=A0

[INFO] --- exec-maven-plugin:1.2.1:exec (compile-brunch) @ ambari-= web ---

/usr/lib/node_modules/brunch/lib/watch.js:433

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 throw new Error("Yo= u probably need to execute `npm install` to install brunch plugins. " = + error);

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^


Error: You probably need to execute `npm install` to install brunc= h plugins. SyntaxError: Setter must have exactly one formal parameter.

=C2=A0 at /usr/lib/node_modules/brunch/lib/watch.js:433:19

=C2=A0 at Array.map (native)

=C2=A0 at loadDeps (/usr/lib/node_modules/brunch/lib/watch.js= :418:10)

=C2=A0 at loadPackages (/usr/lib/node_modules/brunch/lib/watc= h.js:438:15)

=C2=A0 at /usr/lib/node_modules/brunch/lib/watch.js:458:19

=C2=A0 at /usr/lib/node_modules/brunch/lib/helpers.js:529:16<= /span>

=C2=A0 at /usr/lib/node_modules/brunch/lib/helpers.js:485:14<= /span>

=C2=A0 at /usr/lib/node_modules/brunch/node_modules/read-comp= onents/index.js:263:16

=C2=A0 at /usr/lib/node_modules/brunch/node_modules/read-comp= onents/index.js:72:14

=C2=A0 at FSReqWrap.cb [as oncomplete] (fs.js:257:19)


[INFO] ------------------------------------------------------= ------------------

[INFO] Reactor Summary:

[INFO]=C2=A0

[INFO] Ambari Main ...................................= ..... SUCCESS [=C2=A0 2.577 s]

[INFO] Apache Ambari Project POM .......................... SUCCES= S [=C2=A0 0.036 s]

[INFO] Ambari Web ......................................... F= AILURE [ 22.124 s]

[INFO] Ambari Views ....................................... S= KIPPED

[INFO] Ambari Admin View .................................. S= KIPPED

[INFO] ambari-metrics ..................................... S= KIPPED

[INFO] Ambari Metrics Common .............................. SKIPPE= D

[INFO] Ambari Metrics Hadoop Sink ......................... SKIPPE= D

[INFO] Ambari Metrics Flume Sink .......................... SKIPPE= D

[INFO] Ambari Metrics Kafka Sink .......................... SKIPPE= D

[INFO] Ambari Metrics Storm Sink .......................... SKIPPE= D

[INFO] Ambari Metrics Collector ........................... SKIPPE= D

[INFO] Ambari Metrics Monitor ............................. SKIPPE= D

[INFO] Ambari Metrics Grafana ............................. SKIPPE= D

[INFO] Ambari Metrics Assembly ............................ SKIPPE= D

[INFO] Ambari Server ...................................... S= KIPPED

[INFO] Ambari Agent ....................................... S= KIPPED

[INFO] Ambari Client ...................................... S= KIPPED

[INFO] Ambari Python Client ............................... S= KIPPED

[INFO] Ambari Groovy Client ............................... S= KIPPED

[INFO] Ambari Shell ....................................... S= KIPPED

[INFO] Ambari Python Shell ................................ S= KIPPED

[INFO] Ambari Groovy Shell ................................ S= KIPPED

[INFO] ------------------------------------------------------= ------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------= ------------------

[INFO] Total time: 25.063 s

[INFO] Finished at: 2016-08-07T21:13:30+08:00

[INFO] Final Memory: 32M/991M

[INFO] ------------------------------------------------------= ------------------

[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-p= lugin:1.2.1:exec (compile-brunch) on project ambari-web: Command execution = failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Faile= d to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (comp= ile-brunch) on project ambari-web: Command execution failed.

at org.apache.maven.lifecycle.internal.MojoExecuto= r.execute(MojoExecutor.java:212)

at org.apache.maven.lifecycle.internal.MojoExecuto= r.execute(MojoExecutor.java:153)

at org.apache.maven.lifecycle.internal.MojoExecuto= r.execute(MojoExecutor.java:145)

at org.apache.maven.lifecycle.internal.LifecycleMo= duleBuilder.buildProject(LifecycleModuleBuilder.java:116)<= /p>

at org.apache.maven.lifecycle.internal.LifecycleMo= duleBuilder.buildProject(LifecycleModuleBuilder.java:80)

at org.apache.maven.lifecycle.internal.builder.sin= glethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.jav= a:51)

at org.apache.maven.lifecycle.internal.LifecycleSt= arter.execute(LifecycleStarter.java:128)

at org.apache.maven.DefaultMaven.doExecute(Defa= ultMaven.java:307)

at org.apache.maven.DefaultMaven.doExecute(Defa= ultMaven.java:193)

at org.apache.maven.DefaultMaven.execute(Defaul= tMaven.java:106)

at org.apache.maven.cli.MavenCli.execute(MavenC= li.java:863)

at org.apache.maven.cli.MavenCli.doMain(MavenCl= i.java:288)

at org.apache.maven.cli.MavenCli.main(MavenCli.= java:199)

at sun.reflect.NativeMethodAccessorImpl.invoke0= (Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(= NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.inv= oke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:= 498)

at org.codehaus.plexus.classworlds.launcher.Lau= ncher.launchEnhanced(Launcher.java:289)

at org.codehaus.plexus.classworlds.launcher.Lau= ncher.launch(Launcher.java:229)

at org.codehaus.plexus.classworlds.launcher.Lau= ncher.mainWithExitCode(Launcher.java:415)

at org.codehaus.plexus.classworlds.launcher.Lau= ncher.main(Launcher.java:356)

Caused by: org.apache.maven.plugin.MojoExecutionExcept= ion: Command execution failed.

at org.codehaus.mojo.exec.ExecMojo.execute(Exec= Mojo.java:362)

at org.apache.maven.plugin.DefaultBuildPluginMa= nager.executeMojo(DefaultBuildPluginManager.java:134)

<= span>

at org.apache.maven.lifecycle.internal.MojoExecuto= r.execute(MojoExecutor.java:207)

... 20 more

Caused by: org.apache.commons.exec.ExecuteException: P= rocess exited with an error: 1 (Exit value: 1)

at org.apache.commons.exec.DefaultExecutor.exec= uteInternal(DefaultExecutor.java:377)

at org.apache.commons.exec.DefaultExecutor.exec= ute(DefaultExecutor.java:160)

at org.codehaus.mojo.exec.ExecMojo.executeComma= ndLine(ExecMojo.java:610)

at org.codehaus.mojo.exec.ExecMojo.execute(Exec= Mojo.java:352)

... 22 more

[ERROR]=C2=A0

[ERROR] Re-run Maven using the -X switch to enable full debug logg= ing.

[ERROR]=C2=A0

[ERROR] For more information about the errors and possible solutio= ns, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.or= g/confluence/display/MAVEN/MojoExecutionException

[ERROR]=C2=A0

[ERROR] After correcting the problems, you can resume the build wi= th the command

[ERROR] =C2=A0 mvn <goals> -rf :ambari-web

=




On Mon, Aug 1, 2016 at= 11:21 PM, Amanda Moran <amanda.moran@esgyn.com> wrote:=
Sorry if you alre= ady answered this.=C2=A0

Is maven in your path?=C2= =A0

Thanks.=C2=A0

On A= ug 1, 2016, at 7:18 AM, Ascot Moss <ascot.moss@gmail.com> wrote:

HI,

Still ha= ve compilation error:

sudo yum install -y python-setuptools

sudo pip install psutil

sudo npm install -g brunch@1.7.20

sudo pip install psutil

mvn -B -e clean install package rpm:rpm -Dbuild-rpm -Dpython.ve= r=3D'python >=3D 2.6'=C2=A0

[INFO] RPM build errors:

[INFO] ------------------------------------------------------= ------------------

[INFO] Reactor Summary:

[INFO]

[INFO] Ambari Main ........................................ S= UCCESS [=C2=A0 3.305 s]

[INFO] Apache Ambari Project POM .......................... SUCCES= S [=C2=A0 0.489 s]

[INFO] Ambari Web ......................................... S= UCCESS [04:30 min]

[INFO] Ambari Views ....................................... S= UCCESS [=C2=A0 1.530 s]

[INFO] Ambari Admin View .................................. S= UCCESS [ 17.835 s]

[INFO] ambari-metrics ..................................... S= UCCESS [=C2=A0 1.036 s]

[INFO] Ambari Metrics Common .............................. SUCCES= S [=C2=A0 1.104 s]

[INFO] Ambari Metrics Hadoop Sink ......................... SUCCES= S [=C2=A0 1.936 s]

[INFO] Ambari Metrics Flume Sink .......................... SUCCES= S [=C2=A0 1.398 s]

[INFO] Ambari Metrics Kafka Sink .......................... SUCCES= S [=C2=A0 0.990 s]

[INFO] Ambari Metrics Storm Sink .......................... SUCCES= S [=C2=A0 2.385 s]

[INFO] Ambari Metrics Collector ........................... SUCCES= S [01:41 min]

[INFO] Ambari Metrics Monitor ............................. SUCCES= S [=C2=A0 1.501 s]

[INFO] Ambari Metrics Grafana ............................. SUCCES= S [ 15.498 s]

[INFO] Ambari Metrics Assembly ............................ SUCCES= S [04:55 min]

[INFO] Ambari Server ...................................... S= UCCESS [33:51 min]

[INFO] Ambari Agent ....................................... S= UCCESS [ 32.124 s]

[INFO] Ambari Client ...................................... S= UCCESS [ 15.318 s]

[INFO] Ambari Python Client ............................... F= AILURE [ 13.884 s]

[INFO] Ambari Groovy Client ............................... S= KIPPED

[INFO] Ambari Shell ....................................... S= KIPPED

[INFO] Ambari Python Shell ................................ S= KIPPED

[INFO] Ambari Groovy Shell ................................ S= KIPPED

[INFO] ------------------------------------------------------= ------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------= ------------------

[INFO] Total time: 46:49 min

[INFO] Finished at: 2016-08-01T16:32:25+08:00

[INFO] Final Memory: 325M/2743M

[INFO] ------------------------------------------------------= ------------------

[ERROR] Failed to execute goal org.codehaus.mojo:rpm-maven-pl= ugin:2.1-alpha-2:rpm (default-cli) on project python-client: RPM build exec= ution returned: '1' executing '/bin/sh -c cd /usr/local/apache-= ambari-2.2.2-src/ambari-client/python-client/target/rpm/python-cl= ient/SPECS && rpmbuild -bb --buildroot /usr/local/apache-ambar= i-2.2.2-src/ambari-client/python-client/target/rpm/python-client/= buildroot --define '_topdir /usr/local/apache-ambari-2.2.2-sr= c/ambari-client/python-client/target/rpm/python-client' --target x= 86_64-redhat-linux python-client.spec' -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Faile= d to execute goal org.codehaus.mojo:rpm-maven-plugin:2.1-alpha-2:rpm (= default-cli) on project python-client: RPM build execution returned: '1= ' executing '/bin/sh -c cd /usr/local/apache-ambari-2.2.2-src/= ambari-client/python-client/target/rpm/python-client/SPECS &&= amp; rpmbuild -bb --buildroot /usr/local/apache-ambari-2.2.2-src/ambar= i-client/python-client/target/rpm/python-client/buildroot --defin= e '_topdir /usr/local/apache-ambari-2.2.2-src/ambari-client/python= -client/target/rpm/python-client' --target x86_64-redhat-linux pyt= hon-client.spec'

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.maven.lifecycle.intern= al.MojoExecutor.execute(MojoExecutor.java:212)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.maven.lifecycle.intern= al.MojoExecutor.execute(MojoExecutor.java:153)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.maven.lifecycle.intern= al.MojoExecutor.execute(MojoExecutor.java:145)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.maven.lifecycle.intern= al.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.jav= a:116)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.maven.lifecycle.intern= al.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.jav= a:80)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.maven.lifecycle.intern= al.builder.singlethreaded.SingleThreadedBuilder.build(SingleThrea= dedBuilder.java:51)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.maven.lifecycle.intern= al.LifecycleStarter.execute(LifecycleStarter.java:128)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.maven.DefaultMaven.= doExecute(DefaultMaven.java:307)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.maven.DefaultMaven.= doExecute(DefaultMaven.java:193)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.maven.DefaultMaven.= execute(DefaultMaven.java:106)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.maven.cli.MavenCli.= execute(MavenCli.java:863)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.maven.cli.MavenCli.= doMain(MavenCli.java:288)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.maven.cli.MavenCli.= main(MavenCli.java:199)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at sun.reflect.NativeMethodAccess= orImpl.invoke0(Native Method)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at sun.reflect.NativeMethodAccess= orImpl.invoke(NativeMethodAccessorImpl.java:62)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at sun.reflect.DelegatingMethodAc= cessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at java.lang.reflect.Method.invok= e(Method.java:498)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.codehaus.plexus.classworld= s.launcher.Launcher.launchEnhanced(Launcher.java:289)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.codehaus.plexus.classworld= s.launcher.Launcher.launch(Launcher.java:229)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.codehaus.plexus.classworld= s.launcher.Launcher.mainWithExitCode(Launcher.java:415)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.codehaus.plexus.classworld= s.launcher.Launcher.main(Launcher.java:356)

Caused by: org.apache.maven.plugin.MojoExecutionException: RP= M build execution returned: '1' executing '/bin/sh -c cd /usr/l= ocal/apache-ambari-2.2.2-src/ambari-client/python-client/target/r= pm/python-client/SPECS && rpmbuild -bb --buildroot /usr/local/= apache-ambari-2.2.2-src/ambari-client/python-client/target/rpm/py= thon-client/buildroot --define '_topdir /usr/local/apache-ambari-2= .2.2-src/ambari-client/python-client/target/rpm/python-client'= ; --target x86_64-redhat-linux python-client.spec'

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.codehaus.mojo.rpm.RPMHelpe= r.buildPackage(RPMHelper.java:150)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.codehaus.mojo.rpm.Abstract= RPMMojo.execute(AbstractRPMMojo.java:792)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.maven.plugin.Defaul= tBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:13= 4)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.maven.lifecycle.intern= al.MojoExecutor.execute(MojoExecutor.java:207)

=C2=A0 =C2=A0 =C2=A0 =C2=A0 ... 20 more

[ERROR]

[ERROR] Re-run Maven using the -X switch to enable full debug logg= ing.

[ERROR]

[ERROR] For more information about the errors and possible solutio= ns, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.or= g/confluence/display/MAVEN/MojoExecutionException

[ERROR]

[ERROR] After correcting the problems, you can resume the build wi= th the command

[ERROR] =C2=A0 mvn <goals> -rf :python-client


On = Sat, Jul 30, 2016 at 3:35 PM, Don Bosco Durai <bosco@apache.org> wrote:

I was able to reproduce your i= ssue. It seems, the build user I am creating didn=E2=80=99t have the permis= sion to write to the local folder. I have updated the script to create the = build user with the same UID from the host user. I have also using CentOS 6= image to build (as per the documentation).

=C2=A0

I have updated the JIRA with the updated script. = https://issues.apache.org/jira/browse/AMBARI-17944=

=C2=A0

Please do the following:=

=C2=A0

1.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <= /span>do= cker rmi ambari_dev

2.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Go to root f= older of your Ambari source

3.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <= /span>$Y= OUR_PATH/build_ambari_using_docker.sh

= =C2=A0

Let me know how it goes.

<= p class=3D"MsoNormal">= =C2=A0

Thanks

=C2= =A0

Bosco

= =C2=A0

=C2=A0

=C2=A0

<= u>
=C2=A0

From: Ascot Moss <ascot.moss@gmail.com>
Reply-To: = <user@ambari= .apache.org>
Date: Thursday, July 28, 2016 at 4:11 PM
To: <user@ambari.apache.org>
Subject: Re: Build Error

=C2=A0<= u>

Hi,

yum inst= all -y python-setuptools

Loaded = plugins: fastestmirror

Loading mirror spee= ds from cached hostfile

=C2=A0* base: mirror.vpshosting= .com.hk

=C2=A0* epel: ftp.cuhk.edu.hk

=C2=A0* extras: mirror.vpshosting.com.hk

<= span>=C2=A0* updates: mirror.vpshosting.com.hk

Pack= age python-setuptools-0.9.8-4.el7.noarch already installed and latest = version

Nothing to do=

=C2=A0

=C2=A0

"My script should have done the complete build. What is the err= or you are getting?"

T= he error as follows:

[INFO] --------------= ----------------------------------------------------------=

[INFO] Reactor Summary:

=

[INFO]=C2=A0

[INFO] Ambari Main .= ....................................... FAILURE [=C2=A0 2.135 s]

[INFO] Apache Ambari Project POM ..............= ............ SKIPPED

[INFO] Ambari Web ...= ...................................... SKIPPED

[INFO] Ambari Views ....................................... = SKIPPED

[INFO] Ambari Admin View .........= ......................... SKIPPED

[IN= FO] ambari-metrics ..................................... SKIPPED

[INFO] Ambari Metrics Common ..................= ............ SKIPPED

[INFO] Ambari Metrics= Hadoop Sink ......................... SKIPPED

<= span>[INFO] Ambari Metrics Flume Sink .......................... SKIPPED

[INFO] Ambari Metrics Kafka Sink ...........= ............... SKIPPED

[INFO] Ambari Metr= ics Storm Sink .......................... SKIPPED

<= p>[INFO] Ambari Metrics Collector ........................... SKIPPED=

[INFO] Ambari Metrics Monitor ...........= .................. SKIPPED

[INFO] Ambari M= etrics Grafana ............................. SKIPPED

[INFO] Ambari Metrics Assembly ............................ SKIP= PED

[INFO] Ambari Server .................= ..................... SKIPPED

[INFO] = Ambari Agent ....................................... SKIPPED=

[INFO] Ambari Client ..............................= ........ SKIPPED

[INFO] Ambari Python= Client ............................... SKIPPED

[INFO] Ambari Groovy Client ...............................= SKIPPED

[INFO] Ambari Shell .............= .......................... SKIPPED

[I= NFO] Ambari Python Shell ................................ SKIPPED

[INFO] Ambari Groovy Shell ...................= ............. SKIPPED

[INFO] --------= ----------------------------------------------------------------<= /span>

[INFO] BUILD FAILURE<= /p>

[INFO] ---------------------------------------------------= ---------------------

[INFO] Total ti= me: 3.035 s

[INFO] Finished at: 2016-07-28= T23:09:34+00:00

[INFO] Final Memory: 17M/4= 79M

[INFO] ------------------------------<= wbr>------------------------------------------

[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ambari: Could not create report parent = directory /ambari/target -> [Help 1]

[E= RROR]=C2=A0

[ERROR] To see the full stack = trace of the errors, re-run Maven with the -e switch.<= /p>

[ERROR] Re-run Maven using the -X switch to enable full debug l= ogging.

[ERROR]=C2=A0=

[ERROR] For more information about the errors and possible sol= utions, please read the following articles

=C2=A0

=C2=A0

=C2=A0

=C2=A0

=C2=A0

= =C2=A0

On Fri, Jul 29, 2016 at 12= :49 AM, Don Bosco Durai <bosco@apache.org> wrote:

> Step 1: run your script

> [INFO] Ambari Main ....................................= .... FAILURE [=C2=A0 0.521 s]

My script should hav= e done the complete build. What is the error you are getting?=

=C2=A0

> Is "mvn clean install package -Dskip= Tests" =C2=A0correct command to build Ambari?

=

Depends what do you want to do? For released versions, Apache Ambari alrea= dy gives you the final binary bits, including RPM. So shouldn=E2=80=99t be = needing to build.

=C2=A0

<= p class=3D"MsoNormal">= (From your very recent build)=E2=80=A6

>= mvn -B -e clean insta= ll package rpm:rpm -Dbuild-rpm -Dpython.ver=3D'python >=3D 2.6' = =E2=80=93DskipTests

If you are compiling outside D= ocker, then try installing =E2=80=9Cyum install -y python-setuptools=E2=80= =9D. My script might not be able to take the space in the =E2=80=9Cpython &= gt;=3D 2.6=E2=80=9D. But if you want, I can look into it.<= /u>

=C2=A0

Thanks

= =C2=A0

Bosco

=C2=A0

=C2=A0

=C2=A0






--94eb2c111de81ee86f05397cc907--