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 03-06-2018 06:11 PM
Hi!
After installing hcp-ambari-mpack-1.4.1.0-18.tar.gz on HDP/HDF cluster no services can be installed. Running on the latest version (HDP-2.6.4.0/HDF-3.1), the hcp mpack added a corrupted repository:
HCP-1.4.1.0 http://public-repo-1.hortonworks.com/HCP/ubuntu14/1.x/updates/1.4.1.0
Now, when I try to install a service (eg. an extra zookeeper) I get the following error:
resource_management.core.exceptions.ExecutionFailed: Execution of 'apt-get update -qq -o Dir::Etc::sourcelist=sources.list.d/ambari-hdp-202.list -o Dir::Etc::sourceparts=- -o APT::Get::List-Cleanup=0' returned 100. W: Failed to fetch http://public-repo-1.hortonworks.com/HCP/ubuntu14/1.x/updates/1.4.1.0-18/dists/METRON/main/binary-am... 404 Not Found [IP: 54.230.44.217 80] W: Failed to fetch http://public-repo-1.hortonworks.com/HCP/ubuntu14/1.x/updates/1.4.1.0-18/dists/METRON/main/binary-i3... 404 Not Found [IP: 54.230.44.217 80]
I tried uninstalling the mpack, but the HCP-1.4.1.0 persists.
Is there a way to either point HCP-1.4.1.0 to the correct path or to remove the repository line?
Thanks,
Nicolas
Created 03-07-2018 10:56 AM
Yes, there is. You can access Ambari UI and go to "Admin -> Stack and Versions -> Versions tab -> Manage Versions -> Click your current HDP version", in that page you will be able to update all the repo URL's.
The second option would be to uninstall the mpack and then go to Ambari database and remove the HCP references in the XML tag in the "repo_version" table.
Before doing the change backup the Ambari database.
Then install again the HCP mpack.
Gonçalo
Created 03-07-2018 10:56 AM
Yes, there is. You can access Ambari UI and go to "Admin -> Stack and Versions -> Versions tab -> Manage Versions -> Click your current HDP version", in that page you will be able to update all the repo URL's.
The second option would be to uninstall the mpack and then go to Ambari database and remove the HCP references in the XML tag in the "repo_version" table.
Before doing the change backup the Ambari database.
Then install again the HCP mpack.
Gonçalo
Created 03-07-2018 10:56 PM
Hi Gonçalo,
Thanks for the info! Actually, before seeing your message I had already deleted the entry in the database (repo_version table). Now it is working!
Cheers,
Nicolas