Support Questions

Find answers, ask questions, and share your expertise

how to install compile ambari-server

Explorer

i'm install ambari-server

i'm compile i18n ambari-server

how to install compile ambari-server override source ambar-server

2 REPLIES 2

Expert Contributor

If you looking for reset, you can use below.

#ambari-server reset

Super Mentor

@shi cheng

In order to compile/build ambari with your own fixes, you will need to refer to the following documentation then you will be able to generate the RPMs that you can install on your machine.

- https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development

- Example:

# mvn versions:set -DnewVersion=${AMBARI_VERSION}
# mvn versions:set -DnewVersion=${AMBARI_VERSION}
# popd
# mvn clean package -DskipTests -Drat.skip
# mvn -B clean install package rpm:rpm -DskipTests -Dpython.ver="python >= 2.6" -Preplaceurl

- In order to build ambari-metrics

# cd ambari-metrics
# mvn clean package -Dbuild-rpm -DskipTests

.