<?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 Re: add hosts for old version in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/add-hosts-for-old-version/m-p/348968#M235490</link>
    <description>I have exactly the same files installed on all hosts .&lt;BR /&gt;&lt;BR /&gt;Usually when we buy new server we clone the entire host, and initiate&lt;BR /&gt;install from ambari ui, because everything is already installed all it does&lt;BR /&gt;in reconfigure files.&lt;BR /&gt;&lt;BR /&gt;but the repository is no longer accessible from any host&lt;BR /&gt;</description>
    <pubDate>Thu, 28 Jul 2022 08:22:24 GMT</pubDate>
    <dc:creator>ilia987</dc:creator>
    <dc:date>2022-07-28T08:22:24Z</dc:date>
    <item>
      <title>add hosts for old version</title>
      <link>https://community.cloudera.com/t5/Support-Questions/add-hosts-for-old-version/m-p/348931#M235485</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;HDP-3.1.0.0​&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;2022-07-28 00:19:45,289 - Package Manager failed to install packages: No package found for hive-${stack_version}(expected name: hive-3-1-0-0-78)
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py", line 486, in &amp;lt;module&amp;gt;
    InstallPackages().execute()
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 352, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py", line 149, in actionexecute
    raise Fail("Failed to distribute repositories/install packages")
resource_management.core.exceptions.Fail: Failed to distribute repositories/install packages
stdout:   /var/lib/ambari-agent/data/output-6991.txt

2022-07-28 00:18:33,442 - Will install packages for repository version 3.1.0.0-78
2022-07-28 00:18:33,443 - Repository['HDP-UTILS-1.1.0.22-repo-1'] {'base_url': 'http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.22/repos/ubuntu18', 'action': ['prepare'], 'components': [u'HDP-UTILS', 'main'], 'repo_template': '{{package_type}} {{base_url}} {{components}}', 'repo_file_name': 'ambari-hdp-1', 'mirror_list': None}
2022-07-28 00:18:33,450 - Repository['HDP-3.1-repo-1'] {'base_url': 'http://public-repo-1.hortonworks.com/HDP/ubuntu18/3.x/updates/3.1.0.0', 'action': ['prepare'], 'components': [u'HDP', 'main'], 'repo_template': '{{package_type}} {{base_url}} {{components}}', 'repo_file_name': 'ambari-hdp-1', 'mirror_list': None}
2022-07-28 00:18:33,452 - Repository['HDP-3.1-GPL-repo-1'] {'base_url': 'http://public-repo-1.hortonworks.com/HDP-GPL/ubuntu18/3.x/updates/3.1.0.0', 'action': ['prepare'], 'components': [u'HDP-GPL', 'main'], 'repo_template': '{{package_type}} {{base_url}} {{components}}', 'repo_file_name': 'ambari-hdp-1', 'mirror_list': None}
2022-07-28 00:18:33,454 - Repository[None] {'action': ['create']}
2022-07-28 00:18:33,456 - File['/tmp/tmprKy1g1'] {'content': 'deb http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.22/repos/ubuntu18 HDP-UTILS main\ndeb http://public-repo-1.hortonworks.com/HDP/ubuntu18/3.x/updates/3.1.0.0 HDP main\ndeb http://public-repo-1.hortonworks.com/HDP-GPL/ubuntu18/3.x/updates/3.1.0.0 HDP-GPL main'}
2022-07-28 00:18:33,883 - Writing File['/tmp/tmprKy1g1'] because contents don't match
2022-07-28 00:18:33,988 - File['/tmp/tmp5bLc_I'] {'content': StaticFile('/etc/apt/sources.list.d/ambari-hdp-1.list')}
2022-07-28 00:18:34,650 - Writing File['/tmp/tmp5bLc_I'] because contents don't match
2022-07-28 00:18:34,767 - call[('ambari-python-wrap', u'/usr/bin/hdp-select', 'versions')] {}
2022-07-28 00:18:34,866 - call returned (0, '3.1.0.0-78')
2022-07-28 00:18:34,868 - Temporary sources directory was created: /tmp/tmpJmw3Rs-ambari-apt-sources-d
2022-07-28 00:18:34,868 - Temporary sources file will be copied: /tmp/tmpJmw3Rs-ambari-apt-sources-d/ambari-hdp-1.list
2022-07-28 00:18:35,043 - Installing package hdp-select ('/usr/bin/apt-get -o Dpkg::Options::=--force-confdef --allow-unauthenticated --assume-yes install -o Dir::Etc::SourceList=/dev/null -o Dir::Etc::SourceParts= hdp-select')
2022-07-28 00:18:35,416 - Removing temporary sources file: /tmp/tmpJmw3Rs-ambari-apt-sources-d/ambari-hdp-1.list
2022-07-28 00:18:35,417 - Removing temporary sources directory: /tmp/tmpJmw3Rs-ambari-apt-sources-d
2022-07-28 00:19:22,785 - Looking for matching packages in the following repositories: public-repo-1.hortonworks.com_HDP-UTILS-1.1.0.22_repos_ubuntu18, public-repo-1.hortonworks.com_HDP_ubuntu18_3.x_updates_3.1.0.0, public-repo-1.hortonworks.com_HDP-GPL_ubuntu18_3.x_updates_3.1.0.0
2022-07-28 00:19:22,788 - Command repositories: HDP-UTILS-1.1.0.22-repo-1, HDP-3.1-repo-1, HDP-3.1-GPL-repo-1
2022-07-28 00:19:22,788 - Applicable repositories: HDP-UTILS-1.1.0.22-repo-1, HDP-3.1-repo-1, HDP-3.1-GPL-repo-1
2022-07-28 00:19:45,280 - Looking for matching packages in the following repositories: public-repo-1.hortonworks.com_HDP-UTILS-1.1.0.22_repos_ubuntu18, public-repo-1.hortonworks.com_HDP_ubuntu18_3.x_updates_3.1.0.0, public-repo-1.hortonworks.com_HDP-GPL_ubuntu18_3.x_updates_3.1.0.0
2022-07-28 00:19:45,289 - Package Manager failed to install packages: No package found for hive-${stack_version}(expected name: hive-3-1-0-0-78)
2022-07-28 00:20:10,532 - Installation of packages failed. Checking if installation was partially complete
2022-07-28 00:20:10,533 - Old versions: ['3.1.0.0-78']
2022-07-28 00:20:10,534 - call[('ambari-python-wrap', u'/usr/bin/hdp-select', 'versions')] {}
2022-07-28 00:20:10,636 - call returned (0, '3.1.0.0-78')
2022-07-28 00:20:10,637 - New versions: ['3.1.0.0-78']
2022-07-28 00:20:10,637 - Deltas: set([])

Command failed after 1 tries&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have an old stable version of amabri with 16 hosts,&lt;BR /&gt;mostly used for spark over yarn.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to add few more hosts to the cluster but i cannot install the packages:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 21:25:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/add-hosts-for-old-version/m-p/348931#M235485</guid>
      <dc:creator>ilia987</dc:creator>
      <dc:date>2022-07-27T21:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: add hosts for old version</title>
      <link>https://community.cloudera.com/t5/Support-Questions/add-hosts-for-old-version/m-p/348965#M235489</link>
      <description>&lt;P&gt;Hi, Can you check if you have the same repo file on the new host which in there in the old hosts. Check if you are able to install the package from commandline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# yum clean all&lt;/P&gt;&lt;P&gt;# yum repolist&lt;/P&gt;&lt;P&gt;# yum install -y hive-3-1-0-0-78&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 08:18:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/add-hosts-for-old-version/m-p/348965#M235489</guid>
      <dc:creator>rki_</dc:creator>
      <dc:date>2022-07-28T08:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: add hosts for old version</title>
      <link>https://community.cloudera.com/t5/Support-Questions/add-hosts-for-old-version/m-p/348968#M235490</link>
      <description>I have exactly the same files installed on all hosts .&lt;BR /&gt;&lt;BR /&gt;Usually when we buy new server we clone the entire host, and initiate&lt;BR /&gt;install from ambari ui, because everything is already installed all it does&lt;BR /&gt;in reconfigure files.&lt;BR /&gt;&lt;BR /&gt;but the repository is no longer accessible from any host&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jul 2022 08:22:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/add-hosts-for-old-version/m-p/348968#M235490</guid>
      <dc:creator>ilia987</dc:creator>
      <dc:date>2022-07-28T08:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: add hosts for old version</title>
      <link>https://community.cloudera.com/t5/Support-Questions/add-hosts-for-old-version/m-p/348977#M235492</link>
      <description>&lt;P&gt;Hi, can you check in the Ambari server log and see what error are you getting there.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 11:03:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/add-hosts-for-old-version/m-p/348977#M235492</guid>
      <dc:creator>rki_</dc:creator>
      <dc:date>2022-07-28T11:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: add hosts for old version</title>
      <link>https://community.cloudera.com/t5/Support-Questions/add-hosts-for-old-version/m-p/348983#M235495</link>
      <description>&lt;P&gt;apt-get update&lt;BR /&gt;Hit:1 &lt;A href="https://repo.pbis.beyondtrust.com/apt" target="_blank"&gt;https://repo.pbis.beyondtrust.com/apt&lt;/A&gt; pbiso InRelease&lt;BR /&gt;Hit:2 &lt;A href="http://archive.ubuntu.com/ubuntu" target="_blank"&gt;http://archive.ubuntu.com/ubuntu&lt;/A&gt; bionic InRelease&lt;BR /&gt;Get:3 &lt;A href="http://archive.ubuntu.com/ubuntu" target="_blank"&gt;http://archive.ubuntu.com/ubuntu&lt;/A&gt; bionic-updates InRelease [88.7 kB]&lt;BR /&gt;Hit:4 &lt;A href="http://apt.postgresql.org/pub/repos/apt" target="_blank"&gt;http://apt.postgresql.org/pub/repos/apt&lt;/A&gt; bionic-pgdg InRelease&lt;BR /&gt;Hit:5 &lt;A href="http://packages.microsoft.com/repos/code" target="_blank"&gt;http://packages.microsoft.com/repos/code&lt;/A&gt; stable InRelease&lt;BR /&gt;Get:6 &lt;A href="http://archive.ubuntu.com/ubuntu" target="_blank"&gt;http://archive.ubuntu.com/ubuntu&lt;/A&gt; bionic-security InRelease [88.7 kB]&lt;BR /&gt;Hit:7 &lt;A href="https://packages.microsoft.com/repos/vscode" target="_blank"&gt;https://packages.microsoft.com/repos/vscode&lt;/A&gt; stable InRelease&lt;BR /&gt;Err:8 &lt;A href="http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.22/repos/ubuntu18" target="_blank"&gt;http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.22/repos/ubuntu18&lt;/A&gt; HDP-UTILS InRelease&lt;BR /&gt;403 Forbidden [IP: 65.9.112.104 80]&lt;BR /&gt;Err:9 &lt;A href="http://public-repo-1.hortonworks.com/HDP/ubuntu18/3.x/updates/3.1.0.0" target="_blank"&gt;http://public-repo-1.hortonworks.com/HDP/ubuntu18/3.x/updates/3.1.0.0&lt;/A&gt; HDP InRelease&lt;BR /&gt;403 Forbidden [IP: 65.9.112.104 80]&lt;BR /&gt;Get:10 &lt;A href="http://archive.ubuntu.com/ubuntu" target="_blank"&gt;http://archive.ubuntu.com/ubuntu&lt;/A&gt; bionic-security/main amd64 Packages [2,339 kB]&lt;BR /&gt;Err:11 &lt;A href="http://public-repo-1.hortonworks.com/HDP-GPL/ubuntu18/3.x/updates/3.1.0.0" target="_blank"&gt;http://public-repo-1.hortonworks.com/HDP-GPL/ubuntu18/3.x/updates/3.1.0.0&lt;/A&gt; HDP-GPL InRelease&lt;BR /&gt;403 Forbidden [IP: 65.9.112.104 80]&lt;BR /&gt;Get:12 &lt;A href="http://archive.ubuntu.com/ubuntu" target="_blank"&gt;http://archive.ubuntu.com/ubuntu&lt;/A&gt; bionic-security/main Translation-en [407 kB]&lt;BR /&gt;Get:13 &lt;A href="http://archive.ubuntu.com/ubuntu" target="_blank"&gt;http://archive.ubuntu.com/ubuntu&lt;/A&gt; bionic-security/restricted amd64 Packages [832 kB]&lt;BR /&gt;Get:14 &lt;A href="http://archive.ubuntu.com/ubuntu" target="_blank"&gt;http://archive.ubuntu.com/ubuntu&lt;/A&gt; bionic-security/restricted Translation-en [114 kB]&lt;BR /&gt;Reading package lists... Done&lt;BR /&gt;N: See apt-secure(8) manpage for repository creation and user configuration details.&lt;BR /&gt;N: Updating from such a repository can't be done securely, and is therefore disabled by default.&lt;BR /&gt;E: The repository '&lt;A href="http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.22/repos/ubuntu18" target="_blank"&gt;http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.22/repos/ubuntu18&lt;/A&gt; HDP-UTILS InRelease' is not signed.&lt;BR /&gt;E: Failed to fetch &lt;A href="http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.22/repos/ubuntu18/dists/HDP-UTILS/InRelease" target="_blank"&gt;http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.22/repos/ubuntu18/dists/HDP-UTILS/InRelease&lt;/A&gt; 403 Forbidden [IP: 65.9.112.104 80]&lt;BR /&gt;E: Failed to fetch &lt;A href="http://public-repo-1.hortonworks.com/HDP/ubuntu18/3.x/updates/3.1.0.0/dists/HDP/InRelease" target="_blank"&gt;http://public-repo-1.hortonworks.com/HDP/ubuntu18/3.x/updates/3.1.0.0/dists/HDP/InRelease&lt;/A&gt; 403 Forbidden [IP: 65.9.112.104 80]&lt;BR /&gt;E: The repository '&lt;A href="http://public-repo-1.hortonworks.com/HDP/ubuntu18/3.x/updates/3.1.0.0" target="_blank"&gt;http://public-repo-1.hortonworks.com/HDP/ubuntu18/3.x/updates/3.1.0.0&lt;/A&gt; HDP InRelease' is not signed.&lt;BR /&gt;N: Updating from such a repository can't be done securely, and is therefore disabled by default.&lt;BR /&gt;N: See apt-secure(8) manpage for repository creation and user configuration details.&lt;BR /&gt;E: Failed to fetch &lt;A href="http://public-repo-1.hortonworks.com/HDP-GPL/ubuntu18/3.x/updates/3.1.0.0/dists/HDP-GPL/InRelease" target="_blank"&gt;http://public-repo-1.hortonworks.com/HDP-GPL/ubuntu18/3.x/updates/3.1.0.0/dists/HDP-GPL/InRelease&lt;/A&gt; 403 Forbidden [IP: 65.9.112.104 80]&lt;BR /&gt;E: The repository '&lt;A href="http://public-repo-1.hortonworks.com/HDP-GPL/ubuntu18/3.x/updates/3.1.0.0" target="_blank"&gt;http://public-repo-1.hortonworks.com/HDP-GPL/ubuntu18/3.x/updates/3.1.0.0&lt;/A&gt; HDP-GPL InRelease' is not signed.&lt;BR /&gt;N: Updating from such a repository can't be done securely, and is therefore disabled by default.&lt;BR /&gt;N: See apt-secure(8) manpage for repository creation and user configuration details.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 12:00:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/add-hosts-for-old-version/m-p/348983#M235495</guid>
      <dc:creator>ilia987</dc:creator>
      <dc:date>2022-07-28T12:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: add hosts for old version</title>
      <link>https://community.cloudera.com/t5/Support-Questions/add-hosts-for-old-version/m-p/348986#M235496</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is not working from any of the hosts, I believe you need to try the below URLs for 3.1.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-installation/content/hdp_31_repositories.html" target="_blank"&gt;https://docs.cloudera.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-installation/content/hdp_31_repositories.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just please bear in mind that the repositories are now behind a paywall, for which you'll have to provide credentials.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/downloads/paywall-expansion.html" target="_blank"&gt;https://www.cloudera.com/downloads/paywall-expansion.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 13:00:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/add-hosts-for-old-version/m-p/348986#M235496</guid>
      <dc:creator>rki_</dc:creator>
      <dc:date>2022-07-28T13:00:05Z</dc:date>
    </item>
  </channel>
</rss>

