Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Celebrating as our community reaches 100,000 members! Thank you!
Labels (1)
avatar

Many times Ambari throws installation errors like "No package found for hive_${stack_version}(hive_(\d|_)+$) ..." There can be many reasons for this failure.

The root cause for this issue is, basically Ambari could not be able to determine the installable package.

Reason1:

Check if the same package is already installed using different repoid/sateliterepotag. that can be check using below command

yum list installed | grep packagename
Ex: yum list installed | grep hive

If it shows the entries then determine if those are installed with different repoid/sateliterepotag.

In Ambari task logs you can find what tag/repo Ambari is using to install

91498-screen-shot-2018-09-18-at-24151-pm.png

Now see "yum list installed" has the correct repoId - if it is not matching then manually uninstall that library and let Ambari install it.

Reason2:

If you are using Satelite repository - Ambari should show the repo tag name at "Applicable repositories: Satelitehdp265.."

If it is not showing correctly, that means you repo version definition is incorrect. Make sure sateliterepo tag is defined correctly.

Reason3:

If you have installed the cluster with Ambari 2.5.x and then upgraded to Ambari2.6.x then you might encounter AMBARI-24629 bug. please follow https://community.hortonworks.com/articles/223111/service-restartadd-fails-after-upgrading-to-ambari... to fix that issue.

1,990 Views
0 Kudos