Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 03-02-2017 10:19 AM - edited 08-19-2019 02:02 AM
Followed the below steps to install HDF management pack.
export host_os=centos7
export ambari_version=2.4.1.0
export hdf_ambari_mpack_url="http://public-repo-1.hortonworks.com/HDF/${host_os}/2.x/updates/2.0.0.0/tars/hdf_ambari_mp/hdf-ambari-mpack-2.0.0.0-579.tar.gz"
export ambari_repo="http://public-repo-1.hortonworks.com/ambari/${host_os}/2.x/updates/${ambari_version}/ambari.repo"
systemctl stop firewalld.service
systemctl disable firewalld
yum install -y wget wget ${ambari_repo} -O /etc/yum.repos.d/ambari.repo
yum clean all
yum install ambari-server -y
ambari-server setup -s
ambari-server install-mpack --mpack=${hdf_ambari_mpack_url} --purge --verbose
I see there's no install-mpack option available for ambari-server command, PFB. Am I missing something here?
Created 03-02-2017 10:46 AM
Also that argument details is present inside the script as following ":
# grep -A 3 'install-mpack' /usr/sbin/ambari-server
install-mpack)
echo -e "Installing management pack"
$PYTHON "$AMBARI_PYTHON_EXECUTABLE" $@
;;
.
Created on 03-02-2017 02:27 PM - edited 08-19-2019 02:02 AM
Okay. For now, I cannot connect to the hortonworks repo from nifi cluster. So I downloaded and copied ambari.repo to below directory.
/etc/yum.repos.d/
Since no internet connection server setup cannot be completed, PFB.
Can you please suggest the location to place this repomdxml file if required?
Thanks
Created 03-02-2017 02:41 PM
Internet is needed to install packages via yum. Else you might want to configure the "Offline Local Repo" as described in the ambari doc:
Created 03-03-2017 05:23 AM
Uninstalled and installed again. Installed HDF mpack. Thanks @Jay SenSharma
Created 03-02-2017 08:52 PM
Does the following link work for you:
wget -nv http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.4.2.0/ambari.repo -O /etc/yum.repos.d/ambari.repo
This should set you up with the latest supported Ambari release for HDF.
After having the correct Ambari server version installed, proceed with the installation:
- # yum install ambari-server
- # ambari-server setup
- # ambari-server install-mpack --mpack=http://public-repo-1.hortonworks.com/HDF/centos7/2.x/updates/2.1.2.0/tars/hdf_ambari_mp/hdf-ambari-mpack-2.1.2.0-10.tar.gz --purge --verbose
- # ambari-server start
Thanks,
Matt