<?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: Host file in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55781#M37431</link>
    <description>&lt;P&gt;it will be a 2 node cluster.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jun 2017 13:45:03 GMT</pubDate>
    <dc:creator>MERCEDES0123</dc:creator>
    <dc:date>2017-06-13T13:45:03Z</dc:date>
    <item>
      <title>Host file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55775#M37427</link>
      <description>&lt;P&gt;Hi gurus,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to identify which is the address to set in the host file? I am trying with 127.0.0.1 and I am getting errors, all the time. I would like to set an address and be able to configure the node in cloudera manager.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 13:15:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55775#M37427</guid>
      <dc:creator>MERCEDES0123</dc:creator>
      <dc:date>2017-06-13T13:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Host file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55778#M37428</link>
      <description>&lt;P&gt;were you able to fix it ? if not i can help you &amp;nbsp;that&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 13:39:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55778#M37428</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-06-13T13:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Host file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55779#M37429</link>
      <description>&lt;P&gt;No, i could not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don´t know which is the address that I have to set in the host file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you could help me it would be great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 13:40:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55779#M37429</guid>
      <dc:creator>MERCEDES0123</dc:creator>
      <dc:date>2017-06-13T13:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Host file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55780#M37430</link>
      <description>&lt;P&gt;Gotcha . its just matter of two files that you need to tweak.&lt;/P&gt;&lt;P&gt;are you plaining to perform single node or multi node cluster ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 13:42:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55780#M37430</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-06-13T13:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Host file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55781#M37431</link>
      <description>&lt;P&gt;it will be a 2 node cluster.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 13:45:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55781#M37431</guid>
      <dc:creator>MERCEDES0123</dc:creator>
      <dc:date>2017-06-13T13:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Host file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55782#M37432</link>
      <description>&lt;P&gt;I assume you are using vm .&amp;nbsp;&lt;/P&gt;&lt;P&gt;so edit the file accordingly , to perform the SSH configuration follow the link&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;On both the nodes .&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/etc/hosts

192.168.200.201    master
192.168.200.202    slave&lt;/PRE&gt;&lt;P&gt;On the master node&lt;/P&gt;&lt;PRE&gt;/etc/sysconfig/network

master&lt;/PRE&gt;&lt;P&gt;on the slave node&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/etc/sysconfig/network

slave&lt;/PRE&gt;&lt;P&gt;Below is the best link to walk through the rest of the configuration ,mate&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.tutorialspoint.com/hadoop/hadoop_multi_node_cluster.htm" target="_self"&gt;https://www.tutorialspoint.com/hadoop/hadoop_multi_node_cluster.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 13:58:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55782#M37432</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-06-13T13:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Host file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55783#M37433</link>
      <description>&lt;P&gt;thanks. what if i am using a single node cluster?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 13:59:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55783#M37433</guid>
      <dc:creator>MERCEDES0123</dc:creator>
      <dc:date>2017-06-13T13:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Host file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55784#M37434</link>
      <description>&lt;P&gt;if you are plaining for Single node cluster ,&lt;/P&gt;&lt;P&gt;then just the hostname would be of your choice .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/etc/hosts
192.168.200.201   Hello&lt;/PRE&gt;&lt;PRE&gt;/etc/sysconfig/network

Hello&lt;/PRE&gt;&lt;P&gt;You have to configure Yum repository , MR2 yarn setup - the below is good link from Cloudera for Single node cluster setup .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/5-4-x/topics/cdh_qs_yarn_pseudo.html" target="_self"&gt;https://www.cloudera.com/documentation/enterprise/5-4-x/topics/cdh_qs_yarn_pseudo.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 14:11:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55784#M37434</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-06-13T14:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Host file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55792#M37435</link>
      <description>&lt;P&gt;Great, i will try it. Then with this information, which is the IP that I should look for specifying the hosts? Is this the same that I specified in the hosts file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 15:58:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55792#M37435</guid>
      <dc:creator>mercedes012345</dc:creator>
      <dc:date>2017-06-13T15:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Host file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55811#M37436</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/22081"&gt;@mercedes012345&lt;/a&gt; The hosts file is a mapping between IPs and hostnames. Each lines corresponds to a single entry. The first column if for the IP address, the second column is for the fully qualified domain name, and the last column is for the hostname (columns can be separated by spaces or tabs).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can have as many entires as needed. I honestly haven't done an install that didn't use DNS first, but unless my memory is failing all hosts need to be resolve each other. So if you are only using hosts files for name resolution you need to include all hosts in the cluster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16544"&gt;@csguna&lt;/a&gt; provided some examples. I would flesh it out by include all three columns&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/etc/host
192.168.1.1  master.example.com  master
192.168.1.2  worker.example.com  worker&lt;/PRE&gt;&lt;P&gt;The hostname in the network file should be in the format of HOSTNAME=master.example.com&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 19:43:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55811#M37436</guid>
      <dc:creator>mbigelow</dc:creator>
      <dc:date>2017-06-13T19:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Host file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55812#M37437</link>
      <description>Oh, if you are searching within CM for hosts to install the agent on, include all IPs for each hosts, which would be the ones you entered into the hosts for all hosts.</description>
      <pubDate>Tue, 13 Jun 2017 19:44:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55812#M37437</guid>
      <dc:creator>mbigelow</dc:creator>
      <dc:date>2017-06-13T19:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Host file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55826#M37438</link>
      <description>&lt;P&gt;if it is Vm as you wish since it is a static IP&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 01:34:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55826#M37438</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-06-14T01:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Host file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55827#M37439</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/18127"&gt;@mbigelow&lt;/a&gt;&amp;nbsp; it come be a dumb question please bear with me .&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it mandatory to use&amp;nbsp;&lt;SPAN&gt; fully qualified domain name ? because we dont not mention them in any of the hadoop configuration files. when it comes to networking not really my area. could you clarify&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 01:38:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55827#M37439</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-06-14T01:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Host file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55908#M37440</link>
      <description>&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16544"&gt;@csguna&lt;/a&gt; no it isn't a requirement. They just all need to resolved the same on all hosts. For me it is about keeping it within enterprise standards and like I said I usually use DNS, which usually contains multiple zones. As a user of it, it find it cleaner to have and . use the FQDN versus just the hostname when it comes to the URLs (although alias can be used as well).</description>
      <pubDate>Thu, 15 Jun 2017 03:58:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55908#M37440</guid>
      <dc:creator>mbigelow</dc:creator>
      <dc:date>2017-06-15T03:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Host file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55921#M37441</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just a question, file /etc/sysconfig/network does not exist, should I create from scratch?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 07:35:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55921#M37441</guid>
      <dc:creator>mercedes012345</dc:creator>
      <dc:date>2017-06-15T07:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Host file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55929#M37442</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/18127"&gt;@mbigelow&lt;/a&gt;Thanks for the information , will follow the same and adher the&amp;nbsp; standards.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 08:46:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55929#M37442</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-06-15T08:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Host file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55930#M37443</link>
      <description>&lt;P&gt;which operating system are you using &lt;STRONG&gt;? &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if you are using ubuntu&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;it should be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/etc/network/,

 /etc/network/interfaces&lt;/PRE&gt;&lt;P&gt;if you are using Centos do an ls command - below directory&lt;/P&gt;&lt;PRE&gt;/etc/sysconfig/&lt;/PRE&gt;&lt;P&gt;you should see one as network .&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 08:51:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55930#M37443</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-06-15T08:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Host file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55931#M37444</link>
      <description>&lt;P&gt;I am using Ubuntu 14.04. I have a a folder with name /etc/network but no file inside. Should I directly create it? How should I name it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 09:00:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55931#M37444</guid>
      <dc:creator>MERCEDES0123</dc:creator>
      <dc:date>2017-06-15T09:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Host file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55939#M37445</link>
      <description>&lt;P&gt;if you want to change the hostname then do either one of the following&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sudo nano /etc/hostname&lt;/PRE&gt;&lt;P&gt;or&lt;/P&gt;&lt;PRE&gt;sudo vi  /etc/hostname&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;then restart the machine&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;to check your hostname after restart - open the terminal and type&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;hostname&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To configure IP address do the following&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sudo nano /etc/hosts&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Jun 2017 12:40:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55939#M37445</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-06-15T12:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Host file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55940#M37446</link>
      <description>&lt;P&gt;I have already done this and after checked those file, I can see that the host has changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I can´t still access to cloudera manager web...is there something else I should do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 13:23:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Host-file/m-p/55940#M37446</guid>
      <dc:creator>MERCEDES0123</dc:creator>
      <dc:date>2017-06-15T13:23:19Z</dc:date>
    </item>
  </channel>
</rss>

