<?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: Creating Ambari Stacks on a new install in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-Ambari-Stacks-on-a-new-install/m-p/117546#M51017</link>
    <description>&lt;P&gt;Please refer to &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.18/bk_ambari-installation/content/_download_the_ambari_repo.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.18/bk_ambari-installation/content/_download_the_ambari_repo.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 07 Jan 2017 08:42:31 GMT</pubDate>
    <dc:creator>yusaku</dc:creator>
    <dc:date>2017-01-07T08:42:31Z</dc:date>
    <item>
      <title>Creating Ambari Stacks on a new install</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-Ambari-Stacks-on-a-new-install/m-p/117544#M51015</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;I am trying to create an ansible deployment script for HDP using Ambari blueprints. So far I can deploy clusters on an environment where I have internet access. However, I am unable to do so on environments that have their own local cached repo and no internet access for the servers. I get the following error when I am trying to modify the base repo url &lt;/P&gt;&lt;PRE&gt;"org.apache.ambari.server.controller.spi.NoSuchResourceException: The specified resource doesn't exist: Stack data, Stack HDP 2.4 is not found in Ambari metainfo"&lt;/PRE&gt;&lt;P&gt;This is when I set the repositories base url to our own internal repo: &lt;/P&gt;&lt;PRE&gt;&lt;A href="http://&amp;lt;internal_URL&amp;gt;:8080/repos/hortonworks/HDP/centos7/2.x/updates/2.4.2.0" target="_blank"&gt;http://&amp;lt;internal_URL&amp;gt;:8080/repos/hortonworks/HDP/centos7/2.x/updates/2.4.2.0&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;FYI, I have confirmed that the above repo works. I understand I am getting the above exception because the info isn't there in the metainfo file. &lt;/P&gt;&lt;P&gt;When I log on to the Ambari UI, I see the following stacks: &lt;/P&gt;&lt;PRE&gt;Stacks 

HDP 2.3 

HDP 2.2 

HDP 2.1&lt;/PRE&gt;&lt;P&gt;So I am trying to figure out if I am missing any steps after I do the ambari-server setup? &lt;/P&gt;&lt;P&gt;Is my base URL wrong or have I missed changing any config file? I don't know where is it getting the previous versions of HDP. I can see them in the metainfo file under /var/lib/ but why are there previous versions of HDP present there.&lt;/P&gt;&lt;P&gt;This is the repo file setup for me.&lt;/P&gt;&lt;PRE&gt;#VERSION_NUMBER=2.2.0.0-1310

[Updates-ambari-2.2.0.0]
name=ambari-2.2.0.0 - Updates
baseurl=http://&amp;lt;repo_url&amp;gt;/repos/hortonworks/ambari-2.2.0.0/centos7/2.2.0.0-1310
gpgcheck=1
gpgkey=http://&amp;lt;repo_url&amp;gt;/repos/keys/RPM-GPG-KEY-ambari
enabled=1
priority=1

#VERSION_NUMBER=2.4.2.0-258
[HDP-2.4.2.0]
name=HDP Version - HDP-2.4.2.0
baseurl=http://&amp;lt;repo_url&amp;gt;/repos/hortonworks/HDP/centos7/2.x/updates/2.4.2.0
gpgcheck=1
gpgkey=http://&amp;lt;repo_url&amp;gt;/repos/keys/RPM-GPG-KEY-HDP
enabled=1
priority=1

[HDP-UTILS-1.1.0.20]
name=HDP Utils Version - HDP-UTILS-1.1.0.20
baseurl=http://&amp;lt;repo_url&amp;gt;/repos/hortonworks/HDP-UTILS-1.1.0.20/repos/centos7gpgcheck=1
gpgkey=http://&amp;lt;repo_url&amp;gt;/repos/keys/RPM-GPG-KEY-HDP-UTILSenabled=1
priority=1&lt;/PRE&gt;&lt;P&gt;I would be really grateful If anyone can point me to documentation which explains how I can setup a stack after I complete the Ambari server setup. I have seen the wiki (&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/How-To+Define+Stacks+and+Services" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/How-To+Define+Stacks+and+Services&lt;/A&gt;). There is nothing there that explains on how I can setup an HDP 2.4 Stack. &lt;/P&gt;&lt;P&gt;Thank you! &lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:53:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-Ambari-Stacks-on-a-new-install/m-p/117544#M51015</guid>
      <dc:creator>karan_aurora</dc:creator>
      <dc:date>2022-09-16T10:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Ambari Stacks on a new install</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-Ambari-Stacks-on-a-new-install/m-p/117545#M51016</link>
      <description>&lt;P&gt;Ambari 2.2.0 did not support HDP 2.4.  It was added in Ambari 2.2.1.  However, you should use Ambari 2.2.2, as it is more stable.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2017 08:41:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-Ambari-Stacks-on-a-new-install/m-p/117545#M51016</guid>
      <dc:creator>yusaku</dc:creator>
      <dc:date>2017-01-07T08:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Ambari Stacks on a new install</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-Ambari-Stacks-on-a-new-install/m-p/117546#M51017</link>
      <description>&lt;P&gt;Please refer to &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.18/bk_ambari-installation/content/_download_the_ambari_repo.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.18/bk_ambari-installation/content/_download_the_ambari_repo.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2017 08:42:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-Ambari-Stacks-on-a-new-install/m-p/117546#M51017</guid>
      <dc:creator>yusaku</dc:creator>
      <dc:date>2017-01-07T08:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Ambari Stacks on a new install</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-Ambari-Stacks-on-a-new-install/m-p/117547#M51018</link>
      <description>&lt;P&gt;Thanks! I shall work with our ops guys and test this out. &lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 01:26:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-Ambari-Stacks-on-a-new-install/m-p/117547#M51018</guid>
      <dc:creator>karan_aurora</dc:creator>
      <dc:date>2017-01-10T01:26:06Z</dc:date>
    </item>
  </channel>
</rss>

