<?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: while Installing  RANGER -ADMINservices ,its creating  ' .repo ' file automatically and its taking old  ipaddress in that repo file and its failing!! in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-Installing-RANGER-ADMINservices-its-creating-repo-file/m-p/221072#M84418</link>
    <description>&lt;P&gt;thanks a Lot  Jay....I got the mistake that i did while Installing HDP .&lt;/P&gt;&lt;P&gt;I gave url with IPaddr instead of FQDN and my IP addr changed due to Windows update.&lt;/P&gt;&lt;P&gt;I changed URL in repo file but nor in ambari.&lt;/P&gt;&lt;P&gt;I found out now...thank you for your time!!&lt;/P&gt;</description>
    <pubDate>Thu, 18 Oct 2018 06:35:50 GMT</pubDate>
    <dc:creator>lokanreddy</dc:creator>
    <dc:date>2018-10-18T06:35:50Z</dc:date>
    <item>
      <title>while Installing  RANGER -ADMINservices ,its creating  ' .repo ' file automatically and its taking old  ipaddress in that repo file and its failing!!</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-Installing-RANGER-ADMINservices-its-creating-repo-file/m-p/221070#M84416</link>
      <description>&lt;P&gt;Is there any way to find from where its taking default ipaddress?&lt;BR /&gt;how to stop from creting .repo file automatically?&lt;/P&gt;&lt;P&gt;I Modified to new ipaddress in all places like..&lt;/P&gt;&lt;P&gt;/etc/sysconfig/network-scripts&lt;/P&gt;&lt;P&gt;/etc/sysconfig/network &lt;/P&gt;&lt;P&gt;/etc/hosts&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 02:33:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-Installing-RANGER-ADMINservices-its-creating-repo-file/m-p/221070#M84416</guid>
      <dc:creator>lokanreddy</dc:creator>
      <dc:date>2018-10-18T02:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: while Installing  RANGER -ADMINservices ,its creating  ' .repo ' file automatically and its taking old  ipaddress in that repo file and its failing!!</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-Installing-RANGER-ADMINservices-its-creating-repo-file/m-p/221071#M84417</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/98465/lokanreddy.html" nodeid="98465"&gt;&lt;/A&gt;&lt;A rel="user" href="https://community.cloudera.com/users/98465/lokanreddy.html" nodeid="98465"&gt;@Lok! Reddy&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ambari configurations relies on Hostnames (&lt;STRONG&gt;FQDN= Fully Qualified Hostnames&lt;/STRONG&gt;) , As the IPAddress of a host can be variable and might get changed in future due to some system / DNS maintenance.&lt;/P&gt;&lt;P&gt;So you will need to make sure that the FQDN of the host is correctly set. You can verify it by running the following command:&lt;/P&gt;&lt;PRE&gt;# hostname -f&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;If your cluster hosts belongs to some Cloud Platform then the IPAddresses are assigned to ti during the Host creation.   You can get the details about your Hosts IPAddress by running the following kind of command:&lt;/P&gt;&lt;PRE&gt;# ifconfig&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;However if you want to assign a Specific FQDN to your host then you can do it like following:&lt;/P&gt;&lt;P&gt;1. Edit the "/etc/hosts" file and then set the IP Address and Hostname mapping to it&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

10.10.10.1   newhwx1.example.com
10.10.10.2   newhwx2.example.com
10.10.10.3   newhwx3.example.com
10.10.10.4   newhwx4.example.com
10.10.10.10  my_repo_server.example.com
&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;In order to setup the FQDN you can do the following:&lt;/P&gt;&lt;PRE&gt;# sysctl kernel.hostname=newhwx1.example.com&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Some reference Links:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit the Host File : &lt;/STRONG&gt; &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-installation-ppc/content/edit_the_host_file.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-installation-ppc/content/edit_the_host_file.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Set the Hostname: &lt;/STRONG&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-installation-ppc/content/set_the_hostname.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-installation-ppc/content/set_the_hostname.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit the Network Configuration File: &lt;/STRONG&gt; &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-installation-ppc/content/edit_the_network_configuration_file.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-installation-ppc/content/edit_the_network_configuration_file.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Following will be a good read to understand the difference between Public_host_name and Hostname from Ambari perspective. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Why ambari host might have different public_host_name and host_name in OpenStack ?&lt;/STRONG&gt; :   &lt;A href="https://community.hortonworks.com/articles/42872/why-ambari-host-might-have-different-public-host-n.html" target="_blank"&gt;https://community.hortonworks.com/articles/42872/why-ambari-host-might-have-different-public-host-n.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/98465/lokanreddy.html" nodeid="98465"&gt;&lt;/A&gt;&lt;A rel="user" href="https://community.cloudera.com/users/98465/lokanreddy.html" nodeid="98465"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 05:33:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-Installing-RANGER-ADMINservices-its-creating-repo-file/m-p/221071#M84417</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-10-18T05:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: while Installing  RANGER -ADMINservices ,its creating  ' .repo ' file automatically and its taking old  ipaddress in that repo file and its failing!!</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-Installing-RANGER-ADMINservices-its-creating-repo-file/m-p/221072#M84418</link>
      <description>&lt;P&gt;thanks a Lot  Jay....I got the mistake that i did while Installing HDP .&lt;/P&gt;&lt;P&gt;I gave url with IPaddr instead of FQDN and my IP addr changed due to Windows update.&lt;/P&gt;&lt;P&gt;I changed URL in repo file but nor in ambari.&lt;/P&gt;&lt;P&gt;I found out now...thank you for your time!!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 06:35:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/while-Installing-RANGER-ADMINservices-its-creating-repo-file/m-p/221072#M84418</guid>
      <dc:creator>lokanreddy</dc:creator>
      <dc:date>2018-10-18T06:35:50Z</dc:date>
    </item>
  </channel>
</rss>

