<?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: Ambari 2.6 invokes public repository inspite of registering with local repository using Rest API in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-6-invokes-public-repository-inspite-of-registering/m-p/208923#M81475</link>
    <description>&lt;P&gt;Which Operating system you are using?&lt;/P&gt;&lt;P&gt;Which version of HDP and Ambari?&lt;/P&gt;</description>
    <pubDate>Fri, 05 Apr 2019 21:03:36 GMT</pubDate>
    <dc:creator>khalid</dc:creator>
    <dc:date>2019-04-05T21:03:36Z</dc:date>
    <item>
      <title>Ambari 2.6 invokes public repository inspite of registering with local repository using Rest API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-6-invokes-public-repository-inspite-of-registering/m-p/208916#M81468</link>
      <description>&lt;P&gt;&lt;BR /&gt;I have ambari 2.6 local repositroy map as below but during installation, public repository being invoked by the ambari and do not use local repository which I have registered using Rest API. I followed this link :&lt;BR /&gt;&lt;BR /&gt;1) &lt;A href="https://community.hortonworks.com/articles/47170/automate-hdp-installation-using-ambari-blueprints.html?childToView=208395#comment-208395" target="_blank"&gt;https://community.hortonworks.com/articles/47170/automate-hdp-installation-using-ambari-blueprints.html?childToView=208395#comment-208395&lt;/A&gt; &lt;BR /&gt;2) &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-release-notes/content/ambari_relnotes-2.6.0.0-behavioral-changes.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-release-notes/content/ambari_relnotes-2.6.0.0-behavioral-changes.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please help me, as I do not want to use public repository&lt;BR /&gt;&lt;BR /&gt;curl -i -H "X-Requested-By: ambari" -u admin:admin -X PUT \&lt;BR /&gt;  -d'{ "Repositories" : {"repo_name":"HDP-2.5.0.0","base_url":"http://192.168.56.104/HDP/centos6", "verify_base_url":true }}' \ &lt;A href="http://master.zdp.com:8080/api/v1/stacks/HDP/versions/2.5/operating_systems/redhat6/repositories/HDP-2.5" target="_blank"&gt;http://master.zdp.com:8080/api/v1/stacks/HDP/versions/2.5/operating_systems/redhat6/repositories/HDP-2.5&lt;/A&gt;&lt;BR /&gt;  &lt;BR /&gt;  curl -i -H "X-Requested-By: ambari" -u admin:admin -X PUT \ &lt;BR /&gt;  -d'{ "Repositories" : {"repo_name":"HDP-UTILS-1.1.0.21","base_url":"http://192.168.56.104/hdpu", "verify_base_url":true }}' \ &lt;A href="http://master.zdp.com:8080/api/v1/stacks/HDP/versions/2.5/operating_systems/redhat6/repositories/HDP-UTILS-1.1.0.21" target="_blank"&gt;http://master.zdp.com:8080/api/v1/stacks/HDP/versions/2.5/operating_systems/redhat6/repositories/HDP-UTILS-1.1.0.21&lt;/A&gt;&lt;BR /&gt;  &lt;BR /&gt;  [root@master aut]# more hostmapping.json&lt;BR /&gt;{&lt;BR /&gt;  "blueprint" : "single-node-hdp-cluster",&lt;BR /&gt;  "repository_version_id": 1,&lt;BR /&gt;  "default_password" : "admin",&lt;BR /&gt;  "host_groups" :[&lt;BR /&gt;  {&lt;BR /&gt;  "name" : "host_group_1",&lt;BR /&gt;  "hosts" : [&lt;BR /&gt;  {&lt;BR /&gt;  "fqdn" : "master.zdp.com"&lt;BR /&gt;  }&lt;BR /&gt;  ]&lt;BR /&gt;  }&lt;BR /&gt;  ]&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;[root@master aut]# cat /etc/yum.repos.d/ambari-hdp-1.repo&lt;BR /&gt;[HDP-2.5-repo-1]&lt;BR /&gt;name=HDP-2.5-repo-1&lt;BR /&gt;baseurl=http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/2.x/BUILDS/2.5.0.0-1245&lt;BR /&gt;&lt;BR /&gt;path=/&lt;BR /&gt;enabled=1&lt;BR /&gt;gpgcheck=0&lt;BR /&gt;[HDP-UTILS-1.1.0.21-repo-1]&lt;BR /&gt;name=HDP-UTILS-1.1.0.21-repo-1&lt;BR /&gt;baseurl=http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.21/repos/centos6&lt;BR /&gt;&lt;BR /&gt;path=/&lt;BR /&gt;enabled=1&lt;BR /&gt;&lt;BR /&gt;  &lt;BR /&gt;  &lt;BR /&gt;  &lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 13:02:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-6-invokes-public-repository-inspite-of-registering/m-p/208916#M81468</guid>
      <dc:creator>kalyandas831</dc:creator>
      <dc:date>2018-08-01T13:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.6 invokes public repository inspite of registering with local repository using Rest API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-6-invokes-public-repository-inspite-of-registering/m-p/208917#M81469</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Kalyan Das"&gt;@Kalyan Das&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I didn't see the repos registration step in the snippet you shared&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Create an internal HDP repository &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;called &lt;STRONG&gt;repo.json&lt;/STRONG&gt; with the below contents  &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;{
"Repositories":{
"base_url":"http://&amp;lt;s3.amazonaws.com-repo-server&amp;gt;/hdp/centos6/HDP-2.6.3.0",
"verify_base_url":true
}
} &lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Create an internal hdputils-repo &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;called &lt;STRONG&gt;hdputils-repo.json&lt;/STRONG&gt; with below contents &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;{
"Repositories":{
"base_url":"http://&amp;lt;s3.amazonaws.com-repo-server&amp;gt;/hdp/centos6/HDP-UTILS-1.1.0.21",
"verify_base_url":true
}
} &lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Register  your blueprint with ambari server &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; Setup Internal repo via REST API &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;curl -H "X-Requested-By: ambari"-X PUT -u admin:admin &lt;A href="http://&amp;lt;ambari-server-hostname&amp;gt;:8080/api/v1/stacks/HDP/versions/2.6/operating_systems/redhat6/repositories/HDP-2.6" target="_blank"&gt;http://&amp;lt;ambari-server-hostname&amp;gt;:8080/api/v1/stacks/HDP/versions/2.6/operating_systems/redhat6/repositories/HDP-2.6&lt;/A&gt; -d @repo.json &lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Then&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;curl -H "X-Requested-By: ambari"-X PUT -u admin:admin &lt;A href="http://&amp;lt;ambari-server-hostname&amp;gt;:8080/api/v1/stacks/HDP/versions/2.6/operating_systems/redhat6/repositories/HDP-UTILS-1.1.0.20" target="_blank"&gt;http://&amp;lt;ambari-server-hostname&amp;gt;:8080/api/v1/stacks/HDP/versions/2.6/operating_systems/redhat6/repositories/HDP-UTILS-1.1.0.20&lt;/A&gt; -d @hdputils-repo.json&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;In the above example, you are executing the commands from within the directory where your  &lt;STRONG&gt;repo.json&lt;/STRONG&gt; and &lt;STRONG&gt;hdputils-repo.json &lt;/STRONG&gt;make sure the HDP bits are accessible when you hit the below URL'S&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;A href="http://&amp;lt;s3.amazonaws.com-repo-server&amp;gt;/hdp/centos6/HDP-UTILS-1.1.0.21" target="_blank"&gt;http://&amp;lt;s3.amazonaws.com-repo-server&amp;gt;/hdp/centos6/HDP-UTILS-1.1.0.21&lt;/A&gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;A href="http://&amp;lt;s3.amazonaws.com-repo-server&amp;gt;/hdp/centos6/HDP-2.6.3.0" target="_blank"&gt;http://&amp;lt;s3.amazonaws.com-repo-server&amp;gt;/hdp/centos6/HDP-2.6.3.0&lt;/A&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/articles/61358/automate-hdp-installation-using-ambari-blueprints-2.html"&gt;Kuldeep Kulkarni&lt;/A&gt; has a  great document on the process &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 14:31:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-6-invokes-public-repository-inspite-of-registering/m-p/208917#M81469</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-08-01T14:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.6 invokes public repository inspite of registering with local repository using Rest API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-6-invokes-public-repository-inspite-of-registering/m-p/208918#M81470</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/14750/kalyandas831.html" nodeid="14750"&gt;@Kalyan Das&lt;BR /&gt;&lt;/A&gt;Does this work as expected if you modify the VDF xml file with your local repo location?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 14:37:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-6-invokes-public-repository-inspite-of-registering/m-p/208918#M81470</guid>
      <dc:creator>JonathanSneep</dc:creator>
      <dc:date>2018-08-01T14:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.6 invokes public repository inspite of registering with local repository using Rest API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-6-invokes-public-repository-inspite-of-registering/m-p/208919#M81471</link>
      <description>&lt;P&gt;Yes &lt;A rel="user" href="https://community.cloudera.com/users/84313/jsneep.html" nodeid="84313"&gt;@Jonathan Sneep&lt;/A&gt; I have uploaded the VDF file from the same local repository, but it takes public repository  when I start cluster installation using REST API. I used this command to register VDF file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;curl -v -k -u admin:admin -H "X-Requested-By:ambari" -X POST \&lt;BR /&gt;&lt;A href="http://master.zdp.com:8080/api/v1/version_definitions" target="_blank"&gt;http://master.zdp.com:8080/api/v1/version_definitions&lt;/A&gt; \&lt;BR /&gt;-d '{&lt;BR /&gt;  "VersionDefinition": {&lt;BR /&gt;  "version_url":&lt;BR /&gt;"http://192.168.56.104/HDP/centos6/HDP-2.5.0.0-1245.xml" &lt;BR /&gt;  }&lt;BR /&gt;  }'&lt;BR /&gt;     &lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 14:45:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-6-invokes-public-repository-inspite-of-registering/m-p/208919#M81471</guid>
      <dc:creator>kalyandas831</dc:creator>
      <dc:date>2018-08-01T14:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.6 invokes public repository inspite of registering with local repository using Rest API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-6-invokes-public-repository-inspite-of-registering/m-p/208920#M81472</link>
      <description>&lt;P&gt;Ok, just making sure that you have also edited the &amp;lt;baseurl&amp;gt; parts of that .xml file itself to point it to your local repository location? &lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 14:59:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-6-invokes-public-repository-inspite-of-registering/m-p/208920#M81472</guid>
      <dc:creator>JonathanSneep</dc:creator>
      <dc:date>2018-08-01T14:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.6 invokes public repository inspite of registering with local repository using Rest API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-6-invokes-public-repository-inspite-of-registering/m-p/208921#M81473</link>
      <description>&lt;P&gt;Thank you so much &lt;A rel="user" href="https://community.cloudera.com/users/84313/jsneep.html" nodeid="84313"&gt;@Jonathan Sneep&lt;/A&gt; finally got resolved after editing in VDF file, it started taking repository from local repo server.&lt;BR /&gt;&lt;BR /&gt;Edited these line in VDF xml file&lt;BR /&gt;  &lt;BR /&gt;  .....&lt;BR /&gt;  &amp;lt;repo&amp;gt;&lt;BR /&gt;  &amp;lt;baseurl&amp;gt;http://192.168.56.104/HDP/centos6&amp;lt;/baseurl&amp;gt;&lt;BR /&gt;  &amp;lt;repoid&amp;gt;HDP-2.5&amp;lt;/repoid&amp;gt;&lt;BR /&gt;  &amp;lt;reponame&amp;gt;HDP&amp;lt;/reponame&amp;gt;&lt;BR /&gt;  &amp;lt;/repo&amp;gt;&lt;BR /&gt;  &amp;lt;repo&amp;gt;&lt;BR /&gt;  &amp;lt;baseurl&amp;gt;http://192.168.56.104/hdpu&amp;lt;/baseurl&amp;gt;&lt;BR /&gt;  &amp;lt;repoid&amp;gt;HDP-UTILS-1.1.0.21&amp;lt;/repoid&amp;gt;&lt;BR /&gt;  &amp;lt;reponame&amp;gt;HDP-UTILS&amp;lt;/reponame&amp;gt;&lt;BR /&gt;  &amp;lt;/repo&amp;gt;  .....  &lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 16:20:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-6-invokes-public-repository-inspite-of-registering/m-p/208921#M81473</guid>
      <dc:creator>kalyandas831</dc:creator>
      <dc:date>2018-08-01T16:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.6 invokes public repository inspite of registering with local repository using Rest API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-6-invokes-public-repository-inspite-of-registering/m-p/208922#M81474</link>
      <description>&lt;P&gt;That's excellent to hear, glad that it helped. And thank you for confirming that your issue is solved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 16:37:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-6-invokes-public-repository-inspite-of-registering/m-p/208922#M81474</guid>
      <dc:creator>JonathanSneep</dc:creator>
      <dc:date>2018-08-01T16:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.6 invokes public repository inspite of registering with local repository using Rest API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-6-invokes-public-repository-inspite-of-registering/m-p/208923#M81475</link>
      <description>&lt;P&gt;Which Operating system you are using?&lt;/P&gt;&lt;P&gt;Which version of HDP and Ambari?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 21:03:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-6-invokes-public-repository-inspite-of-registering/m-p/208923#M81475</guid>
      <dc:creator>khalid</dc:creator>
      <dc:date>2019-04-05T21:03:36Z</dc:date>
    </item>
  </channel>
</rss>

