Created on 09-18-201809:51 PM - edited 08-17-201906:13 AM
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
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.