Member since
08-31-2017
8
Posts
0
Kudos Received
0
Solutions
09-13-2017
04:25 AM
@amagyar : Thanks for the reply tried out what u said above but it still fails I am unable to understand that why the log prints saying there is syntax error, highlighted below [INFO] --- frontend-maven-plugin:0.0.16:npm (npm install) @ ambari-web ---
[INFO] Running 'npm install --color=false' in /home/apache-ambari-2.5.0-src/ambari-web
[INFO] /home/apache-ambari-2.5.0-src/ambari-web/node/node: 1: /home/apache-ambari-2.5.0-src/ambari-web/node/node: Syntax error: "(" unexpected
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 38.271 s
[INFO] Finished at: 2017-09-13T04:22:05+00:00
[INFO] Final Memory: 14M/36M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.16:npm (npm install) on project ambari-web: Failed to run task: 'npm install --color=false' failed. (error code 2) -> [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/confluence/display/MAVEN/MojoFailureException
[INFO] Build failures were ignored.
root@b2a7a331e956:/home/apache-ambari-2.5.0-src/ambari-web#
... View more
09-12-2017
12:51 PM
yes maven is 3.3.9 with your suggestions there is a huge change but not for ambari-web and ambari-admin module [INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] [INFO] Ambari Main ........................................ SUCCESS [01:01 min] [INFO] Apache Ambari Project POM .......................... SUCCESS [ 0.184 s] [INFO] Ambari Web ......................................... FAILURE [ 40.934 s] [INFO] Ambari Views ....................................... SUCCESS [ 34.791 s] [INFO] Ambari Admin View .................................. FAILURE [ 31.536 s]
[INFO] utility ............................................ SUCCESS [ 11.135 s] [INFO] ambari-metrics ..................................... SUCCESS [ 12.599 s]
[INFO] Ambari Metrics Common .............................. SUCCESS [03:47 min]
[INFO] Ambari Metrics Hadoop Sink ......................... SUCCESS [02:07 min]
[INFO] Ambari Metrics Flume Sink .......................... SUCCESS [01:23 min] [INFO] Ambari Metrics Kafka Sink .......................... SUCCESS [01:15 min] [INFO] Ambari Metrics Storm Sink .......................... SUCCESS [03:47 min] [INFO] Ambari Metrics Storm Sink (Legacy) ................. SUCCESS [03:37 min]
[INFO] Ambari Metrics Collector ........................... SUCCESS [04:14 min]
[INFO] Ambari Metrics Monitor ............................. SUCCESS [ 7.104 s]
[INFO] Ambari Metrics Grafana ............................. SUCCESS [01:01 min] [INFO] Ambari Metrics Assembly ............................ FAILURE [ 4.589 s] [INFO] Ambari Server ...................................... SUCCESS [ 01:13 h]
[INFO] Ambari Functional Tests ............................ SUCCESS [ 35.694 s]
[INFO] Ambari Agent ....................................... SUCCESS [43:23 min]
[INFO] Ambari Client ...................................... SUCCESS [ 0.415 s]
[INFO] Ambari Python Client ............................... SUCCESS [ 8.338 s] [INFO] Ambari Groovy Client ............................... SUCCESS [01:14 min]
[INFO] Ambari Shell ....................................... SUCCESS [ 0.470 s]
[INFO] Ambari Python Shell ................................ SUCCESS [ 3.502 s]
[INFO] Ambari Groovy Shell ................................ SUCCESS [01:02 min] [INFO] ambari-logsearch ................................... SUCCESS [ 3.512 s] [INFO] Ambari Logsearch Appender .......................... SUCCESS [ 4.492 s] [INFO] Ambari Logsearch Portal ............................ SUCCESS [03:13 min] [INFO] Ambari Logsearch Log Feeder ........................ SUCCESS [01:10 min]
[INFO] Ambari Logsearch Solr Client ....................... SUCCESS [ 16.849 s]
[INFO] Ambari Infra Solr Plugin ........................... SUCCESS [ 30.338 s] [INFO] Ambari Logsearch Assembly .......................... SUCCESS [ 3.995 s]
[INFO] Ambari Logsearch Integration Test .................. SUCCESS [ 23.313 s]
[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:30 h [INFO] Finished at: 2017-09-12T12:45:50+00:00
[INFO] Final Memory: 259M/766M [INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.16:npm (npm install) on project ambari-web: Failed to run task: 'npm install --color=false' failed. (error code 2) -> [Help 1]
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.16:npm (npm install) on project ambari-admin: Failed to run task: 'npm install --unsafe-perm --color=false' failed. (error code 2) -> [Help 1]
[ERROR] Failed to execute goal on project ambari-metrics-assembly: Could not resolve dependencies for project org.apache.ambari:ambari-metrics-assembly:pom:2.5.0.0.0: Failure to find org.apache.ambari:ambari-metrics-storm-sink:jar:1.1.1 in http://repo.hortonworks.com/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of apache-hadoop has elapsed or updates are forced -> [Help 2]
[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/confluence/display/MAVEN/MojoFailureException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :ambari-web
[INFO] Build failures were ignored.
... View more
09-12-2017
05:06 AM
@amagyar i did execute one of the modules taht is ambari-web I am suprised to receive a log saying " Syntax error" I have taken the source from github under Hortonworks tag https://github.com/hortonworks/ambari-release/releases Can you help me resolve this, below are the logs [INFO] --- frontend-maven-plugin:0.0.16:npm (npm install) @ ambari-web ---
[INFO] Running 'npm install --color=false' in /home/apache-ambari-2.5.0-src/ambari-web
[INFO] /home/apache-ambari-2.5.0-src/ambari-web/node/node: 1: /home/apache-ambari-2.5.0-src/ambari-web/node/node: Syntax error: "(" unexpected
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:36 min
[INFO] Finished at: 2017-09-12T05:01:16+00:00
[INFO] Final Memory: 14M/34M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.16:npm (npm install) on project ambari-web: Failed to run task: 'npm install --color=false' failed. (error code 2) -> [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/confluence/display/MAVEN/MojoFailureException
[INFO] Build failures were ignored.
... View more
09-05-2017
04:32 AM
Hi , I am trying to build ambari source on x86 ubuntu 16.04 fetched from https://github.com/hortonworks/ambari-release/releases using https://github.com/hortonworks/ambari-release/archive/AMBARI-2.5.1.7-tag.tar.gz release Below are the steps i have used to config and build the source apt-get update apt-get install -y wget tar openjdk-8* npm maven python-setuptools wget https://github.com/hortonworks/ambari-release/archive/AMBARI-2.5.1.7-tag.tar.gz tar AMBARI-2.5.1.7-tag.tar.gz mv AMBARI-2.5.1.7-tag ambari cd ambari mvn versions: set -DnewVersion=2.5.1.7 pushd ambari-metrics mvn versions: set -DnewVersion=2.5.0.0.50 popd mvn -B clean install package jdeb:jdeb -DskipTests -Dpython.ver= "python >= 2.6" -Preplaceurl export _JAVA_OPTIONS= "-Xmx2048m -XX:MaxPermSize=512m -Djava.awt.headless=true" <br> Even with the above setting o receive the below logs, i need help to resolve this failures <br> [INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main ........................................ SUCCESS [19:01 min]
[INFO] Apache Ambari Project POM .......................... SUCCESS [ 4.540 s]
[INFO] Ambari Web ......................................... FAILURE [03:32 min]
[INFO] Ambari Views ....................................... SUCCESS [01:04 min]
[INFO] Ambari Admin View .................................. FAILURE [01:40 min]
[INFO] utility ............................................ FAILURE [ 16.324 s]
[INFO] ambari-metrics ..................................... FAILURE [ 26.073 s]
[INFO] Ambari Metrics Common .............................. FAILURE [ 10.102 s]
[INFO] Ambari Metrics Hadoop Sink ......................... FAILURE [ 16.818 s]
[INFO] Ambari Metrics Flume Sink .......................... FAILURE [ 4.756 s]
[INFO] Ambari Metrics Kafka Sink .......................... FAILURE [ 3.694 s]
[INFO] Ambari Metrics Storm Sink .......................... FAILURE [ 2.251 s]
[INFO] Ambari Metrics Storm Sink (Legacy) ................. FAILURE [ 13.634 s]
[INFO] Ambari Metrics Collector ........................... FAILURE [01:22 min]
[INFO] Ambari Metrics Monitor ............................. FAILURE [ 1.810 s]
[INFO] Ambari Metrics Grafana ............................. FAILURE [01:59 min]
[INFO] Ambari Metrics Assembly ............................ FAILURE [ 9.376 s]
[INFO] Ambari Server ...................................... FAILURE [01:14 min]
[INFO] Ambari Functional Tests ............................ FAILURE [ 10.541 s]
[INFO] Ambari Agent ....................................... SUCCESS [57:05 min]
[INFO] Ambari Client ...................................... SUCCESS [ 3.532 s]
[INFO] Ambari Python Client ............................... FAILURE [ 7.993 s]
[INFO] Ambari Groovy Client ............................... SUCCESS [ 57.840 s]
[INFO] Ambari Shell ....................................... SUCCESS [ 2.432 s]
[INFO] Ambari Python Shell ................................ FAILURE [ 3.894 s]
[INFO] Ambari Groovy Shell ................................ SUCCESS [ 48.558 s]
[INFO] ambari-logsearch ................................... FAILURE [ 13.029 s]
[INFO] Ambari Logsearch Appender .......................... FAILURE [ 7.781 s]
[INFO] Ambari Logsearch Portal ............................ FAILURE [08:24 min]
[INFO] Ambari Logsearch Log Feeder ........................ SUCCESS [02:24 min]
[INFO] Ambari Logsearch Solr Client ....................... FAILURE [ 38.476 s]
[INFO] Ambari Infra Solr Plugin ........................... FAILURE [ 36.879 s]
[INFO] Ambari Logsearch Assembly .......................... FAILURE [ 8.089 s]
[INFO] Ambari Logsearch Integration Test .................. FAILURE [ 31.728 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:44 h
[INFO] Finished at: 2017-09-04T10:03:47+00:00
[INFO] Final Memory: 166M/432M<br>
... View more
Labels:
- Labels:
-
Apache Ambari