<?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: why ambari agent insist to create another repository file in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-ambari-agent-insist-to-create-another-repository-file/m-p/189380#M73466</link>
    <description>&lt;P&gt;2018-12-04 06:01:04,253 - Repository[None] {'action': ['create']}
2018-12-04 06:01:04,254 - File['/tmp/tmp941BIk'] {'content': '[HDP-3.0-repo-101]\nname=HDP-3.0-repo-101\nbaseurl=http://public-repo-1.hortonworks.com/HDP/centos7/3.x/updates/3.0.1.0\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://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.22/repos/centos7\n\npath=/\nenabled=1\ngpgcheck=0'}
2018-12-04 06:01:04,254 - Writing File['/tmp/tmp941BIk'] because contents don't match
2018-12-04 06:01:04,254 - File['/tmp/tmpq8_Itc'] {'content': StaticFile('/etc/yum.repos.d/ambari-hdp-101.repo')}
2018-12-04 06:01:04,255 - Writing File['/tmp/tmpq8_Itc'] because contents don't match
2018-12-04 06:01:04,255 - Rewriting /etc/yum.repos.d/ambari-hdp-101.repo since it has changed.
2018-12-04 06:01:04,255 - File['/etc/yum.repos.d/ambari-hdp-101.repo'] {'content': StaticFile('/tmp/tmp941BIk')}
2018-12-04 06:01:04,256 - Writing File['/etc/yum.repos.d/ambari-hdp-101.repo'] because contents don't match&lt;/P&gt;&lt;P&gt;everytime the repo is overriden/generating new file due to which i cannot use my proxy to access public repository.&lt;BR /&gt;i have already set proxy and port in ambari environment.&lt;BR /&gt;pelase advise how to get rid of this to proceed with installation.&lt;BR /&gt;&lt;BR /&gt;Thank you in Advance.&lt;/P&gt;,&lt;P&gt;Hi , &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;i am using proxy to access HDP repo, but due to below issue , ambari is using new repo everytime due to which installation is failing .&lt;/P&gt;&lt;P&gt;018-12-04 06:01:04,255 - Writing File['/tmp/tmpq8_Itc'] because contents don't match
2018-12-04 06:01:04,255 - Rewriting /etc/yum.repos.d/ambari-hdp-101.repo since it has changed.&lt;/P&gt;&lt;P&gt;I have already set proxyname and port in ambari environment .&lt;/P&gt;&lt;P&gt;please advise , how to instruct ambari to use existing repo without generating/overriding everytime.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;</description>
    <pubDate>Tue, 04 Dec 2018 22:03:24 GMT</pubDate>
    <dc:creator>sv_sumanraju</dc:creator>
    <dc:date>2018-12-04T22:03:24Z</dc:date>
    <item>
      <title>why ambari agent insist to create another repository file</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-ambari-agent-insist-to-create-another-repository-file/m-p/189372#M73458</link>
      <description>&lt;P&gt;we are installing the new hadoop version - **2.6.3.0** on ambari - **2.5.0.3**&lt;/P&gt;&lt;P&gt;
from ambari agent log we see the following:&lt;/P&gt;&lt;PRE&gt;Writing File['/etc/yum.repos.d/ambari-hdp-51.repo'] because contents don't match
&lt;/PRE&gt;&lt;P&gt;why ambari create the file - ambari-hdp-51.repo ,  ?  ( under &lt;STRONG&gt;/etc/yum.repo.d&lt;/STRONG&gt; )&lt;/P&gt;&lt;P&gt;is it possible to disable this action ? ( I mean how to configure amabri conf files / other , to not create this repo file ? )&lt;/P&gt;&lt;P&gt;
it is very strange that ambari create this repo , and that because under&lt;STRONG&gt; /etc/yum.trepo.d&lt;/STRONG&gt; ,
we already have the repo files for ambari &amp;amp; hadoop  ,&lt;/P&gt;&lt;P&gt;so why ambari insist to create the file - ambari-hdp-51.repo **and how to disable** it?&lt;/P&gt;&lt;PRE&gt;vi /var/lib/ambari-agent/data/output-370.txt
2018-01-04 14:40:06,895 - Will install packages for repository version 2.6.3.0
2018-01-04 14:40:06,895 - Repository['HDP-2.6-repo-55'] {'append_to_file': False, 'base_url': 'http://master02.sys453.com/HDP/centos7/2.6.3.0-235', '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-55', 'mirror_list': None}
2018-01-04 14:40:06,939 - File['/etc/yum.repos.d/ambari-hdp-55.repo'] {'content': InlineTemplate(...)}
2018-01-04 14:40:06,941 - Writing File['/etc/yum.repos.d/ambari-hdp-55.repo'] because it doesn't exist
2018-01-04 14:40:06,942 - Repository['HDP-UTILS-1.1.0.21-repo-55'] {'append_to_file': True, 'base_url': 'http://master02.sys453.com/', '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-55', 'mirror_list': None}
2018-01-04 14:40:06,950 - File['/etc/yum.repos.d/ambari-hdp-51.repo'] {'content': '[HDP-2.6-repo-51]\nname=HDP-2.6-repo-51\nbaseurl=http://master02.ipmassanalyt71.com/HDP/centos7/2.6.3.0-235\n\npath=/\nenabled=1\ngpgcheck=0\n[HDP-UTILS-1.1.0.21-repo-51]\nname=HDP-UTILS-1.1.0.21-repo-51\nbaseurl=http://master02.ipmassanalyt71.com/\n\npath=/\nenabled=1\ngpgcheck=0'}
2018-01-04 14:40:06,951 - Writing File['/etc/yum.repos.d/ambari-hdp-51.repo'] because contents don't match&lt;/PRE&gt;</description>
      <pubDate>Sun, 14 Jan 2018 08:03:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-ambari-agent-insist-to-create-another-repository-file/m-p/189372#M73458</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-01-14T08:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: why ambari agent insist to create another repository file</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-ambari-agent-insist-to-create-another-repository-file/m-p/189373#M73459</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt;&lt;P&gt;, Any Reason why you want to manage it separately, You just need to update the repo in ambari UI and rest will be taken care by Ambari (like distributing/updating the repo in all the agents).  In this way you Ambari will be able to manage the repo file consistently across all the agents.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2018 04:42:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-ambari-agent-insist-to-create-another-repository-file/m-p/189373#M73459</guid>
      <dc:creator>sandyy006</dc:creator>
      <dc:date>2018-01-18T04:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: why ambari agent insist to create another repository file</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-ambari-agent-insist-to-create-another-repository-file/m-p/189374#M73460</link>
      <description>&lt;P&gt;hi  the problem was on the ambari.repo and hadoop repo under  /etc/yum.repo.d folder,  you said that repo also defined in the ambari GUI ? , this is new for me can you show me how you access the repo from ambari GUI ?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 22:14:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-ambari-agent-insist-to-create-another-repository-file/m-p/189374#M73460</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-01-19T22:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: why ambari agent insist to create another repository file</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-ambari-agent-insist-to-create-another-repository-file/m-p/189375#M73461</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229" target="_blank"&gt;@Michael Bronson&lt;/A&gt;: In Ambari GUI , Navigate to Admin --&amp;gt; Stack and Versions --&amp;gt; Versions --&amp;gt; Click the versions listed there. You should be able to see the repo urls. If you want to make any changes to repo you can change it there and ambari will take care of distributing it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="56385-screen-shot-2018-01-19-at-111650-am.png" style="width: 2410px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18566iB6D80A8B1B74CA21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="56385-screen-shot-2018-01-19-at-111650-am.png" alt="56385-screen-shot-2018-01-19-at-111650-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 07:44:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-ambari-agent-insist-to-create-another-repository-file/m-p/189375#M73461</guid>
      <dc:creator>sandyy006</dc:creator>
      <dc:date>2019-08-18T07:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: why ambari agent insist to create another repository file</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-ambari-agent-insist-to-create-another-repository-file/m-p/189376#M73462</link>
      <description>&lt;P&gt;Is there any way for me to change the "base_url" without using the GUI?&lt;/P&gt;&lt;P&gt;Tried to do this, but it doesn't work:&lt;/P&gt;&lt;PRE&gt;curl -H "X-Requested-By: ambari" -X PUT -u admin:&amp;lt;&amp;lt;password&amp;gt;&amp;gt; &lt;A href="http://&amp;lt;HOST&amp;gt;:8080/api/v1/stacks/HDP/versions/2.6/operating_systems/redhat7/repositories/HDP-UTILS-1.1.0.21" target="_blank"&gt;http://&amp;lt;HOST&amp;gt;:8080/api/v1/stacks/HDP/versions/2.6/operating_systems/redhat7/repositories/HDP-UTILS-1.1.0.21&lt;/A&gt; -d @payload&lt;/PRE&gt;&lt;P&gt;Payload:&lt;/P&gt;&lt;PRE&gt;{
    "Repositories": {
        "base_url": "http://notavalidurljusttocheckifitsgotreplaced.org/HDP-UTILS-1.1.0.20/repos/centos6",
        "verify_base_url": false
    }
}&lt;/PRE&gt;&lt;P&gt;I'm going to hook this action to a Jenkins job, thus I don't have the luxury to do this through GUI. &lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 17:57:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-ambari-agent-insist-to-create-another-repository-file/m-p/189376#M73462</guid>
      <dc:creator>hazriqpedia</dc:creator>
      <dc:date>2018-04-18T17:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: why ambari agent insist to create another repository file</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-ambari-agent-insist-to-create-another-repository-file/m-p/189377#M73463</link>
      <description>&lt;P&gt;hi, the problem is that this API not works on HDP - 2.6.4 , and ambari 2.6.1 , we installed many clusters but when we  try this API on mentions version , then API not set the repo from some unclear reason&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 21:00:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-ambari-agent-insist-to-create-another-repository-file/m-p/189377#M73463</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-04-18T21:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: why ambari agent insist to create another repository file</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-ambari-agent-insist-to-create-another-repository-file/m-p/189378#M73464</link>
      <description>&lt;P&gt;hi , any solution for this? i face the same issue.&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 19:14:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-ambari-agent-insist-to-create-another-repository-file/m-p/189378#M73464</guid>
      <dc:creator>pauzirian</dc:creator>
      <dc:date>2018-05-23T19:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: why ambari agent insist to create another repository file</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-ambari-agent-insist-to-create-another-repository-file/m-p/189379#M73465</link>
      <description>&lt;P&gt;Did you check the repo path on ambari GUI? , if not created by API and you not see any repo PATH on ambari GUI , you can create the repo manual on ambari GUI  , go to admin --&amp;gt; stack and version --&amp;gt; versions --&amp;gt; manage version and click on the version link then you get repo window&lt;/P&gt;</description>
      <pubDate>Fri, 25 May 2018 14:07:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-ambari-agent-insist-to-create-another-repository-file/m-p/189379#M73465</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-05-25T14:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: why ambari agent insist to create another repository file</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-ambari-agent-insist-to-create-another-repository-file/m-p/189380#M73466</link>
      <description>&lt;P&gt;2018-12-04 06:01:04,253 - Repository[None] {'action': ['create']}
2018-12-04 06:01:04,254 - File['/tmp/tmp941BIk'] {'content': '[HDP-3.0-repo-101]\nname=HDP-3.0-repo-101\nbaseurl=http://public-repo-1.hortonworks.com/HDP/centos7/3.x/updates/3.0.1.0\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://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.22/repos/centos7\n\npath=/\nenabled=1\ngpgcheck=0'}
2018-12-04 06:01:04,254 - Writing File['/tmp/tmp941BIk'] because contents don't match
2018-12-04 06:01:04,254 - File['/tmp/tmpq8_Itc'] {'content': StaticFile('/etc/yum.repos.d/ambari-hdp-101.repo')}
2018-12-04 06:01:04,255 - Writing File['/tmp/tmpq8_Itc'] because contents don't match
2018-12-04 06:01:04,255 - Rewriting /etc/yum.repos.d/ambari-hdp-101.repo since it has changed.
2018-12-04 06:01:04,255 - File['/etc/yum.repos.d/ambari-hdp-101.repo'] {'content': StaticFile('/tmp/tmp941BIk')}
2018-12-04 06:01:04,256 - Writing File['/etc/yum.repos.d/ambari-hdp-101.repo'] because contents don't match&lt;/P&gt;&lt;P&gt;everytime the repo is overriden/generating new file due to which i cannot use my proxy to access public repository.&lt;BR /&gt;i have already set proxy and port in ambari environment.&lt;BR /&gt;pelase advise how to get rid of this to proceed with installation.&lt;BR /&gt;&lt;BR /&gt;Thank you in Advance.&lt;/P&gt;,&lt;P&gt;Hi , &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;i am using proxy to access HDP repo, but due to below issue , ambari is using new repo everytime due to which installation is failing .&lt;/P&gt;&lt;P&gt;018-12-04 06:01:04,255 - Writing File['/tmp/tmpq8_Itc'] because contents don't match
2018-12-04 06:01:04,255 - Rewriting /etc/yum.repos.d/ambari-hdp-101.repo since it has changed.&lt;/P&gt;&lt;P&gt;I have already set proxyname and port in ambari environment .&lt;/P&gt;&lt;P&gt;please advise , how to instruct ambari to use existing repo without generating/overriding everytime.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 22:03:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-ambari-agent-insist-to-create-another-repository-file/m-p/189380#M73466</guid>
      <dc:creator>sv_sumanraju</dc:creator>
      <dc:date>2018-12-04T22:03:24Z</dc:date>
    </item>
  </channel>
</rss>

