You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Satheesh Nair (JIRA)" <ji...@apache.org> on 2017/12/14 11:07:00 UTC
[jira] [Updated] (AMBARI-22652) Ambari Server Fails to Install
Packages with "No package found" Errors
[ https://issues.apache.org/jira/browse/AMBARI-22652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Satheesh Nair updated AMBARI-22652:
-----------------------------------
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 :
https://github.com/apache/ambari/blob/release-2.6.0/ambari-common/src/main/python/resource_management/libraries/script/script.py
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
=======================================================
was:
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 :
https://github.com/apache/ambari/blob/release-2.6.0/ambari-common/src/main/python/resource_management/libraries/script/script.py
Offending Line : package_version = None
Is there a reason why we are setting the Package Version to None Explictly which eventually leads. 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
=======================================================
> Ambari Server Fails to Install Packages with "No package found" Errors
> ----------------------------------------------------------------------
>
> Key: AMBARI-22652
> URL: https://issues.apache.org/jira/browse/AMBARI-22652
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 2.6.0
> Reporter: Satheesh Nair
>
> 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 :
> https://github.com/apache/ambari/blob/release-2.6.0/ambari-common/src/main/python/resource_management/libraries/script/script.py
> 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
> =======================================================
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)