Support Questions

Find answers, ask questions, and share your expertise

Update HCP mpack from HCP-1.4.0.0-38 to HCP-1.4.1.0-18 in ambari but the repository remain HCP-1.4.0.0-38

avatar
Contributor

Hi,

I upgraded my HCP mpack from HCP-1.4.0.0-38 to HCP-1.4.1.0-18, but the repository ambari-hdp-1.repo on each host still pointing to HCP-1.4.0.0-38 :

path=/
enabled=1
gpgcheck=0
[HCP-1.4.0.0-38-repo-1]
name=HCP-1.4.0.0-38-repo-1
baseurl=http://s3.amazonaws.com/dev.hortonworks.com/HCP/centos6/1.x/BUILDS/1.4.0.0-38

and when i install the package it always fail with this error :

Python script has been killed due to timeout after waiting 1800 secs

Thanks.

1 ACCEPTED SOLUTION

avatar
Rising Star

Hi @Bramantya Anggriawan,

Check if in Ambari UI the Metron repo URL is pointing to the correct version, go to "Admin -> Stack and Versions -> Versions tab -> Manage Versions -> Click your current HDP version".

If not, 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 perform a backup of the Ambari database.

Then install again the HCP mpack.

Gonçalo

View solution in original post

2 REPLIES 2

avatar
Rising Star

Hi @Bramantya Anggriawan,

Check if in Ambari UI the Metron repo URL is pointing to the correct version, go to "Admin -> Stack and Versions -> Versions tab -> Manage Versions -> Click your current HDP version".

If not, 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 perform a backup of the Ambari database.

Then install again the HCP mpack.

Gonçalo

avatar
Contributor

It works, thanks for the advice