<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question ambari upgrade +  No package found for hadoop_${stack_version}(hadoop_(\d|_)+$)​ in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-upgrade-No-package-found-for-hadoop-stack-version/m-p/231403#M75014</link>
    <description>&lt;P&gt;we we performing ambari upgrade to version 2.6.4&lt;/P&gt;&lt;P&gt;and we are getting the following error , ( in-spite repo defined in the ambari GUI and repo also exisit on each host ) &lt;/P&gt;&lt;PRE&gt;2018-02-26 14:39:06,264 - No package found for hadoop_${stack_version}(hadoop_(\d|_)+$)&lt;/PRE&gt;&lt;PRE&gt;stdout:   /var/lib/ambari-agent/data/output-577.txt 
2018-02-26 14:38:51,380 - Will install packages for repository version 2.6.4.0
2018-02-26 14:38:51,381 - Repository['HDP-2.6-repo-101'] {'append_to_file': False, 'base_url': 'http://98.45.213.139/HDP/centos7/2.6.4.0-91', 'action': ['create'], 'components': [u'HDP', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'ambari-hdp-101', 'mirror_list': None}
2018-02-26 14:38:51,390 - File['/etc/yum.repos.d/ambari-hdp-101.repo'] {'content': '[HDP-2.6-repo-101]\nname=HDP-2.6-repo-101\nbaseurl=http://98.45.213.139/HDP/centos7/2.6.4.0-91\n\npath=/\nenabled=1\ngpgcheck=0'}
2018-02-26 14:38:51,392 - Writing File['/etc/yum.repos.d/ambari-hdp-101.repo'] because contents don't match
2018-02-26 14:38:51,392 - Repository['HDP-2.6-GPL-repo-101'] {'append_to_file': True, 'base_url': 'http://98.45.213.139/HDP-GPL/centos7/2.6.4.0-91', 'action': ['create'], 'components': [u'HDP-GPL', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'ambari-hdp-101', 'mirror_list': None}
2018-02-26 14:38:51,397 - File['/etc/yum.repos.d/ambari-hdp-101.repo'] {'content': '[HDP-2.6-repo-101]\nname=HDP-2.6-repo-101\nbaseurl=http://98.45.213.139/HDP/centos7/2.6.4.0-91\n\npath=/\nenabled=1\ngpgcheck=0\n[HDP-2.6-GPL-repo-101]\nname=HDP-2.6-GPL-repo-101\nbaseurl=http://98.45.213.139/HDP-GPL/centos7/2.6.4.0-91\n\npath=/\nenabled=1\ngpgcheck=0'}
2018-02-26 14:38:51,397 - Writing File['/etc/yum.repos.d/ambari-hdp-101.repo'] because contents don't match
2018-02-26 14:38:51,398 - Repository['HDP-UTILS-1.1.0.22-repo-101'] {'append_to_file': True, 'base_url': 'http://98.45.213.139', 'action': ['create'], 'components': [u'HDP-UTILS', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'ambari-hdp-101', 'mirror_list': None}
2018-02-26 14:38:51,403 - File['/etc/yum.repos.d/ambari-hdp-101.repo'] {'content': '[HDP-2.6-repo-101]\nname=HDP-2.6-repo-101\nbaseurl=http://98.45.213.139/HDP/centos7/2.6.4.0-91\n\npath=/\nenabled=1\ngpgcheck=0\n[HDP-2.6-GPL-repo-101]\nname=HDP-2.6-GPL-repo-101\nbaseurl=http://98.45.213.139/HDP-GPL/centos7/2.6.4.0-91\n\npath=/\nenabled=1\ngpgcheck=0\n[HDP-UTILS-1.1.0.22-repo-101]\nname=HDP-UTILS-1.1.0.22-repo-101\nbaseurl=http://98.45.213.139\n\npath=/\nenabled=1\ngpgcheck=0'}
2018-02-26 14:38:51,403 - Writing File['/etc/yum.repos.d/ambari-hdp-101.repo'] because contents don't match
2018-02-26 14:38:51,404 - Yum non-completed transactions check passed
2018-02-26 14:38:51,404 - call[('ambari-python-wrap', u'/usr/bin/hdp-select', 'versions')] {}
2018-02-26 14:38:51,491 - call returned (0, '2.6.0.3-8\n2.6.4.0-91')
2018-02-26 14:38:51,493 - Package['hdp-select'] {'retry_on_repo_unavailability': False, 'retry_count': 5, 'use_repos': {u'HDP-2.6-repo-101': u'ambari-hdp-101', u'HDP-UTILS-1.1.0.22-repo-101': u'ambari-hdp-101', u'HDP-2.6-GPL-repo-101': u'ambari-hdp-101'}, 'action': ['upgrade']}
2018-02-26 14:38:51,494 - Installing package hdp-select ('/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=*' --enablerepo=HDP-2.6-GPL-repo-101,HDP-2.6-repo-101,HDP-UTILS-1.1.0.22-repo-101 hdp-select')
2018-02-26 14:38:53,563 - Looking for matching packages in the following repositories: HDP-2.6-repo-101, HDP-2.6-GPL-repo-101, HDP-UTILS-1.1.0.22-repo-101
2018-02-26 14:39:01,302 - Adding fallback repositories: HDP-2.6-repo-53, HDP-2.6-GPL-repo-53
2018-02-26 14:39:06,264 - No package found for hadoop_${stack_version}(hadoop_(\d|_)+$)&lt;/PRE&gt;</description>
    <pubDate>Mon, 26 Feb 2018 23:34:28 GMT</pubDate>
    <dc:creator>mike_bronson7</dc:creator>
    <dc:date>2018-02-26T23:34:28Z</dc:date>
    <item>
      <title>ambari upgrade +  No package found for hadoop_${stack_version}(hadoop_(\d|_)+$)​</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-upgrade-No-package-found-for-hadoop-stack-version/m-p/231403#M75014</link>
      <description>&lt;P&gt;we we performing ambari upgrade to version 2.6.4&lt;/P&gt;&lt;P&gt;and we are getting the following error , ( in-spite repo defined in the ambari GUI and repo also exisit on each host ) &lt;/P&gt;&lt;PRE&gt;2018-02-26 14:39:06,264 - No package found for hadoop_${stack_version}(hadoop_(\d|_)+$)&lt;/PRE&gt;&lt;PRE&gt;stdout:   /var/lib/ambari-agent/data/output-577.txt 
2018-02-26 14:38:51,380 - Will install packages for repository version 2.6.4.0
2018-02-26 14:38:51,381 - Repository['HDP-2.6-repo-101'] {'append_to_file': False, 'base_url': 'http://98.45.213.139/HDP/centos7/2.6.4.0-91', 'action': ['create'], 'components': [u'HDP', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'ambari-hdp-101', 'mirror_list': None}
2018-02-26 14:38:51,390 - File['/etc/yum.repos.d/ambari-hdp-101.repo'] {'content': '[HDP-2.6-repo-101]\nname=HDP-2.6-repo-101\nbaseurl=http://98.45.213.139/HDP/centos7/2.6.4.0-91\n\npath=/\nenabled=1\ngpgcheck=0'}
2018-02-26 14:38:51,392 - Writing File['/etc/yum.repos.d/ambari-hdp-101.repo'] because contents don't match
2018-02-26 14:38:51,392 - Repository['HDP-2.6-GPL-repo-101'] {'append_to_file': True, 'base_url': 'http://98.45.213.139/HDP-GPL/centos7/2.6.4.0-91', 'action': ['create'], 'components': [u'HDP-GPL', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'ambari-hdp-101', 'mirror_list': None}
2018-02-26 14:38:51,397 - File['/etc/yum.repos.d/ambari-hdp-101.repo'] {'content': '[HDP-2.6-repo-101]\nname=HDP-2.6-repo-101\nbaseurl=http://98.45.213.139/HDP/centos7/2.6.4.0-91\n\npath=/\nenabled=1\ngpgcheck=0\n[HDP-2.6-GPL-repo-101]\nname=HDP-2.6-GPL-repo-101\nbaseurl=http://98.45.213.139/HDP-GPL/centos7/2.6.4.0-91\n\npath=/\nenabled=1\ngpgcheck=0'}
2018-02-26 14:38:51,397 - Writing File['/etc/yum.repos.d/ambari-hdp-101.repo'] because contents don't match
2018-02-26 14:38:51,398 - Repository['HDP-UTILS-1.1.0.22-repo-101'] {'append_to_file': True, 'base_url': 'http://98.45.213.139', 'action': ['create'], 'components': [u'HDP-UTILS', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'ambari-hdp-101', 'mirror_list': None}
2018-02-26 14:38:51,403 - File['/etc/yum.repos.d/ambari-hdp-101.repo'] {'content': '[HDP-2.6-repo-101]\nname=HDP-2.6-repo-101\nbaseurl=http://98.45.213.139/HDP/centos7/2.6.4.0-91\n\npath=/\nenabled=1\ngpgcheck=0\n[HDP-2.6-GPL-repo-101]\nname=HDP-2.6-GPL-repo-101\nbaseurl=http://98.45.213.139/HDP-GPL/centos7/2.6.4.0-91\n\npath=/\nenabled=1\ngpgcheck=0\n[HDP-UTILS-1.1.0.22-repo-101]\nname=HDP-UTILS-1.1.0.22-repo-101\nbaseurl=http://98.45.213.139\n\npath=/\nenabled=1\ngpgcheck=0'}
2018-02-26 14:38:51,403 - Writing File['/etc/yum.repos.d/ambari-hdp-101.repo'] because contents don't match
2018-02-26 14:38:51,404 - Yum non-completed transactions check passed
2018-02-26 14:38:51,404 - call[('ambari-python-wrap', u'/usr/bin/hdp-select', 'versions')] {}
2018-02-26 14:38:51,491 - call returned (0, '2.6.0.3-8\n2.6.4.0-91')
2018-02-26 14:38:51,493 - Package['hdp-select'] {'retry_on_repo_unavailability': False, 'retry_count': 5, 'use_repos': {u'HDP-2.6-repo-101': u'ambari-hdp-101', u'HDP-UTILS-1.1.0.22-repo-101': u'ambari-hdp-101', u'HDP-2.6-GPL-repo-101': u'ambari-hdp-101'}, 'action': ['upgrade']}
2018-02-26 14:38:51,494 - Installing package hdp-select ('/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=*' --enablerepo=HDP-2.6-GPL-repo-101,HDP-2.6-repo-101,HDP-UTILS-1.1.0.22-repo-101 hdp-select')
2018-02-26 14:38:53,563 - Looking for matching packages in the following repositories: HDP-2.6-repo-101, HDP-2.6-GPL-repo-101, HDP-UTILS-1.1.0.22-repo-101
2018-02-26 14:39:01,302 - Adding fallback repositories: HDP-2.6-repo-53, HDP-2.6-GPL-repo-53
2018-02-26 14:39:06,264 - No package found for hadoop_${stack_version}(hadoop_(\d|_)+$)&lt;/PRE&gt;</description>
      <pubDate>Mon, 26 Feb 2018 23:34:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-upgrade-No-package-found-for-hadoop-stack-version/m-p/231403#M75014</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-02-26T23:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: ambari upgrade +  No package found for hadoop_${stack_version}(hadoop_(\d|_)+$)​</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-upgrade-No-package-found-for-hadoop-stack-version/m-p/231404#M75015</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Looks like due to some reason at yum level the "hadoop_" packages of 2.6.4.0-91 was not installed properly.&lt;/P&gt;&lt;P&gt;You might want to try manually installing the "2.6.4.0-91" version of package on your own like following (please make sure that you are specifying the version in the below command as "2_6_4_0_91" )&lt;/P&gt;&lt;PRE&gt;# yum remove hadoop_2_6_4_0_91*   zookeeper_2_6_4_0_91*&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Also please perform a yum clean all and check if there are any pending old transactions present on the host?  If Yes, then please clear then as mentioned in : &lt;A href="https://community.hortonworks.com/questions/175762/how-to-resolve-incomplete-yum-transactions-when-pe.html?childToView=175766#comment-175766" target="_blank"&gt;https://community.hortonworks.com/questions/175762/how-to-resolve-incomplete-yum-transactions-when-pe.html?childToView=175766#comment-175766&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;After that you can try from ambari UI.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 06:32:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-upgrade-No-package-found-for-hadoop-stack-version/m-p/231404#M75015</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-02-27T06:32:22Z</dc:date>
    </item>
  </channel>
</rss>

