Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-22652

Ambari Server Fails to Install Packages with "No package found" Errors

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.6.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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 :

      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

      =======================================================

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              satheeshgecp Satheesh Nair
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: