ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Obradovic, Milos (Contractor)" <milos_obrado...@fanniemae.com>
Subject Issue with building Ambari 2.1.0 from the source
Date Fri, 11 Sep 2015 19:22:16 GMT
Hello All,

I'm trying to build Ambari 2.1.0  from the source

wget http://www.apache.org/dist/ambari/ambari-2.1.0/apache-ambari-2.1.0-src.tar.gz
tar xfvz apache-ambari-2.1.0-src.tar.gz
cd apache-ambari-2.1.0-src
mvn versions:set -DnewVersion=2.1.0

pushd ambari-metrics
mvn versions:set -DnewVersion=2.1.0
popd

//Then when try to execute
mvn -B clean install package jdeb:jdeb -DnewVersion=2.1.0 -DskipTests -Dpython.ver="python
>= 2.6"

//I'm getting  this error

[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (compile-npm)
on project ambari-web: Command execution failed. Cannot run program "npm" (in directory "/home/obrad/Desktop/apache-ambari-2.1.0-src/ambari-web"):
error=2, No such file or directory -> [Help 1]
Do you have any idea what should I do to fix this issue?

Thanks,
Milos

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message