<?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: What could be the issue with my installation? I am running an example jar file to check my installation and it fails. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-could-be-the-issue-with-my-installation-I-am-running-an/m-p/165205#M49583</link>
    <description>&lt;P&gt;Thank you so much &lt;A rel="user" href="https://community.cloudera.com/users/15026/irfanaziz098.html" nodeid="15026"&gt;@irfan aziz&lt;/A&gt; for the confirmation. I'm accepting answer given by &lt;A rel="user" href="https://community.cloudera.com/users/2695/myoung.html" nodeid="2695"&gt;@Michael Young&lt;/A&gt;. Please feel free to accept appropriate answer if required.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Dec 2016 22:45:29 GMT</pubDate>
    <dc:creator>KuldeepK</dc:creator>
    <dc:date>2016-12-29T22:45:29Z</dc:date>
    <item>
      <title>What could be the issue with my installation? I am running an example jar file to check my installation and it fails.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-could-be-the-issue-with-my-installation-I-am-running-an/m-p/165200#M49578</link>
      <description>&lt;P&gt;I am running the following example jar file&lt;/P&gt;&lt;P&gt;sudo yarn jar /usr/hdp/2.3.6.0-3796/hadoop-mapreduce/hadoop-mapreduce-examples-2.7.1.2.3.6.0-3796.jar wordcount /data/input/word.txt /data/out&lt;/P&gt;&lt;P&gt;But it gives some connection failed error.&lt;/P&gt;&lt;P&gt;INFO client.RMProxy: Connecting to ResourceManager at hadoop.localdomain/127.0.1.1:8050&lt;/P&gt;&lt;P&gt;Retrying connect to server: hadoop.localdomain/127.0.1.1:8050. &lt;/P&gt;&lt;P&gt;Here is something from the log /var/log/hadoop-yarn/yarn/yarn-yarn-resourcemanager-hadoop.log &lt;/P&gt;&lt;P&gt;INFO  zookeeper.ClientCnxn (ClientCnxn.java:logStartConnect(1019)) - Opening socket connection to server hadoop.localdomain/127.0.1.1:2181.&lt;/P&gt;&lt;P&gt;I know i need RM to run a mapreduce job.&lt;/P&gt;&lt;P&gt;Now i checked and i found from ambari gui that my resource manager is also not working.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10571-ambari.png" style="width: 1533px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20403i005B1371B3886806/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10571-ambari.png" alt="10571-ambari.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have one confusion. in yarn-site.xml file the value for yarn resource is using the hadoop.localdomain which points to 127.0.1.1 in the host file.&lt;/P&gt;&lt;P&gt;&amp;lt;name&amp;gt;hadoop.registry.zk.quorum&amp;lt;/name&amp;gt;
  &lt;STRONG&gt;&amp;lt;value&amp;gt;hadoop.localdomain:2181&amp;lt;/value&amp;gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am not sure if this hadoop.localdomain is the right hostname since it points to 127.0.1.1 and i can only access the ambari gui through my browser at 192.130.3.21:8080&lt;/P&gt;&lt;P&gt;ubuntu@hadoop:~$ more /etc/hosts
127.0.0.1 localhost
192.130.3.21 localhost2
127.0.1.1 hadoop.localdomain hadoop
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts&lt;/P&gt;&lt;P&gt;I am able to access the ambari using the ip 192.130.3.21:8080&lt;/P&gt;&lt;P&gt;Does anyone know what show be the configuration(hadoop.localdomain or else). I dont know what is wrong here. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:21:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-could-be-the-issue-with-my-installation-I-am-running-an/m-p/165200#M49578</guid>
      <dc:creator>iraz098</dc:creator>
      <dc:date>2019-08-18T11:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: What could be the issue with my installation? I am running an example jar file to check my installation and it fails.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-could-be-the-issue-with-my-installation-I-am-running-an/m-p/165201#M49579</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/15026/irfanaziz098.html" nodeid="15026"&gt;@irfan aziz&lt;/A&gt;&lt;P&gt;Can you please check your resource manager logs to see what went wrong? log location would be(by default) /var/log/hadoop-yarn/yarn/yarn-yarn-resourcemanager-&amp;lt;hostname&amp;gt;.log&lt;/P&gt;&lt;P&gt;You can post the error here if you need any further help!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 04:33:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-could-be-the-issue-with-my-installation-I-am-running-an/m-p/165201#M49579</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-12-21T04:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: What could be the issue with my installation? I am running an example jar file to check my installation and it fails.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-could-be-the-issue-with-my-installation-I-am-running-an/m-p/165202#M49580</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15026/irfanaziz098.html" nodeid="15026"&gt;@irfan aziz&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Your hostname "hadoop.localdomain hadoop" should always point the proper IP address of your server in /etc/hosts.  I think you have a problem with your /etc/hosts file.  I expect it should look more like this:&lt;/P&gt;&lt;PRE&gt;127.0.0.1  localhost
127.0.1.1  localhost2
192.130.3.21 hadoop.localdomain hadoop&lt;/PRE&gt;&lt;P&gt;Can you confirm that is what your /etc/hosts file actually looks like?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 05:14:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-could-be-the-issue-with-my-installation-I-am-running-an/m-p/165202#M49580</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2016-12-21T05:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: What could be the issue with my installation? I am running an example jar file to check my installation and it fails.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-could-be-the-issue-with-my-installation-I-am-running-an/m-p/165203#M49581</link>
      <description>&lt;P&gt;I would also second what Kuldeep has mentioned. The /etc/hosts does not look right, but the fact that the RM as well as the NM is down at the same time needs to be looked into. Please upload the snippet of the logs which has the error stack which will help us isolate into the root cause of the issue here&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 13:50:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-could-be-the-issue-with-my-installation-I-am-running-an/m-p/165203#M49581</guid>
      <dc:creator>skurup</dc:creator>
      <dc:date>2016-12-28T13:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: What could be the issue with my installation? I am running an example jar file to check my installation and it fails.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-could-be-the-issue-with-my-installation-I-am-running-an/m-p/165204#M49582</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/7530/skurup.html" nodeid="7530"&gt;@Sumesh &lt;/A&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2695/myoung.html" nodeid="2695"&gt;@Michael Young&lt;/A&gt;  
&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/7530/skurup.html" nodeid="7530"&gt;Thank you  guys the issue was with the host file . Since i am using cloud server that has two ip and i was using the external ip which was wrong. After adding the internal ip to the hosts file it went perfect and RM was oki and the program run perfectly.&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 19:19:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-could-be-the-issue-with-my-installation-I-am-running-an/m-p/165204#M49582</guid>
      <dc:creator>iraz098</dc:creator>
      <dc:date>2016-12-29T19:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: What could be the issue with my installation? I am running an example jar file to check my installation and it fails.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-could-be-the-issue-with-my-installation-I-am-running-an/m-p/165205#M49583</link>
      <description>&lt;P&gt;Thank you so much &lt;A rel="user" href="https://community.cloudera.com/users/15026/irfanaziz098.html" nodeid="15026"&gt;@irfan aziz&lt;/A&gt; for the confirmation. I'm accepting answer given by &lt;A rel="user" href="https://community.cloudera.com/users/2695/myoung.html" nodeid="2695"&gt;@Michael Young&lt;/A&gt;. Please feel free to accept appropriate answer if required.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 22:45:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-could-be-the-issue-with-my-installation-I-am-running-an/m-p/165205#M49583</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-12-29T22:45:29Z</dc:date>
    </item>
  </channel>
</rss>

