- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Cannot find ambari-server*.rpm
- Labels:
-
Apache Ambari
Created ‎01-06-2018 12:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am right now following the Installation Guide for Apache Ambari from the Wiki:
https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.0
It seems, though, that I am stuck at Step 2.
For once, I cannot seem to find the folder ambari-server/target/rpm/ambari-server/RPMS/noarch/ from where I am supposed to install ambari-server*.rpm
Hence whenever I am starting the command (yum install ambari-server*.rpm
) I just get an error that there is no such package.
I am fairly sure I am missing something. (I am still new to all of this.) But I am not sure, what exactly.
Created ‎01-06-2018 12:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
During Step1 have you really executed the "mvn rpm:rpm" command to generate the RPM?
mvn -B clean install package rpm:rpm -DnewVersion=2.6.0.0.0 -DskipTests -Dpython.ver="python >= 2.6"
.
You will need to have the following packages already installed on your host in order to build Ambari RPMs.
rpmbuild (rpm-build package) g++ (gcc-c++ package)
.
Please refer to the following doc which tells about the detailed development step of Ambari (including the Ambari RPM build).
https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development
.
Once RPM build is completed then you will see the "rpm" files generated. You will need to then run the yum command to install that RPM:
# yum install ambari-serverxxxxxxxxx.rpm
.
Here "xxxxxxxxx" will be the version that you have built.
.
