Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.6.0
-
None
-
None
-
None
Description
The Ambari Server v2.6 was not able to install packages due to the following error :
2017-12-14 13:49:36,048 - No package found for hadoop_${stack_version}-yarn(hadoop_(\d|_)+-yarn$)
It seems the problem is due to this piece of code :
Offending Line : package_version = None
Is there a reason why we are setting the Package Version to None Explictly which eventually leads to "None" Package Version and package installation failure ?
Commenting this Line in "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py" seens to have resolved the problem and cluster installation was successfull.
=======================================================
Following are the version details being used for installation :
OS : CentOS7 (Installation Using Local Repository Method - Repo Hosted with Apache Server)
Ambari Server Version : 2.6.0.0-267
HDP Version - 2.6.2.0-205
HDP UTIL Version : HDP-UTILS-1.1.0.21
Ambari.repo File :
[Updates-Ambari-2.6.0.0]
name=Ambari-2.6.0.0-Updates
baseurl=http://Master_Lab/ambari/centos7/2.6.0.0-267/
gpgcheck=1
gpgkey=http://Master_Lab/ambari/centos7/2.6.0.0-267/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
HDP & HDP UTIL REPO :
[HDP-2.6-repo-101]
name=HDP-2.6-repo-101
baseurl=http://master_lab.balwant.com/hdp/HDP/centos7/
path=/
enabled=1
gpgcheck=0
[HDP-UTILS-1.1.0.21-repo-101]
name=HDP-UTILS-1.1.0.21-repo-101
baseurl=http://master_lab.balwant.com/hdp
path=/
enabled=1
=======================================================