<?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: Hadoop failed on socket timeout exception: java.net.NoRouteToHostException in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-failed-on-socket-timeout-exception-java-net/m-p/296953#M79485</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/78529"&gt;@idiot&lt;/a&gt;&amp;nbsp;, as this thread was marked 'Solved' in June of 2018 you would have a better chance of receiving a useful response by &lt;A href="https://community.cloudera.com/t5/forums/postpage/board-id/Questions" target="_self"&gt;starting a new thread&lt;/A&gt;. This will also provide you with the opportunity to provide details specific to your issue that could aid others in providing a more tailored answer to your question.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jun 2020 05:54:07 GMT</pubDate>
    <dc:creator>VidyaSargur</dc:creator>
    <dc:date>2020-06-01T05:54:07Z</dc:date>
    <item>
      <title>Hadoop failed on socket timeout exception: java.net.NoRouteToHostException</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-failed-on-socket-timeout-exception-java-net/m-p/220172#M79481</link>
      <description>&lt;P&gt;Clients are not able to access the Hadoop cluster.&lt;/P&gt;&lt;P&gt;I have checked pinging to the server. It works fine.&lt;/P&gt;&lt;P&gt;The RPC port is up in the Namenode machine&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;[root@env40-node1 hadoop]# netstat -tupln | grep 8020
tcp        0      0 192.168.150.95:8020     0.0.0.0:*               LISTEN      32588/java
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Client is not able to access the cluster&lt;/P&gt;&lt;P&gt;It throws the below given error while accessing HDFS from the client machine&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;[root@env7-head-proxy4 ~]# hdfs dfs -ls /
ls: No Route to Host from  env7-head-proxy4/192.168.151.48 to 192.168.150.95:8020 failed on socket timeout exception: java.net.NoRouteToHostException: No route to &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Jun 2018 16:36:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-failed-on-socket-timeout-exception-java-net/m-p/220172#M79481</guid>
      <dc:creator>basil_paul</dc:creator>
      <dc:date>2018-06-12T16:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop failed on socket timeout exception: java.net.NoRouteToHostException</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-failed-on-socket-timeout-exception-java-net/m-p/220173#M79482</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/81337/basilpaul.html" nodeid="81337"&gt;@Basil Paul&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Looks like you might have Enabled firewall on the NameNode host "env40-node1"&lt;/P&gt;&lt;P&gt;Can you please check if the firewall (iptables)  is stopped on the NameNode host or not?&lt;/P&gt;&lt;PRE&gt;# service iptables stop      (CentOS 6)
# systemctl stop firewalld   (CentOS 7)&lt;/PRE&gt;&lt;P&gt;Once you have confirmed that the firewall (iptables) is not running on NameNode host then from the "" try to connect to NameNode using on port 8020 using netcat or telnet to verify the connectivity.  Or the host name resolution.&lt;/P&gt;&lt;PRE&gt;[root@env7-head-proxy4 ~]# nc -v  192.168.150.95 8020
(OR)
[root@env7-head-proxy4 ~]# telnet 192.168.150.95 8020&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Also please check if the env7 host is able to resolve the hostname of NameNode or not?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 17:15:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-failed-on-socket-timeout-exception-java-net/m-p/220173#M79482</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-06-12T17:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop failed on socket timeout exception: java.net.NoRouteToHostException</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-failed-on-socket-timeout-exception-java-net/m-p/220174#M79483</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/3418/jsensharma.html"&gt;@Jay Kumar SenSharma&lt;/A&gt; Thankyou buddy from the bottom of my heart. The issue got resolved after stopping the firewall. Could you please tell me the the root cause behind the problem. Why did the firewall stop the port number?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 17:30:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-failed-on-socket-timeout-exception-java-net/m-p/220174#M79483</guid>
      <dc:creator>basil_paul</dc:creator>
      <dc:date>2018-06-12T17:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop failed on socket timeout exception: java.net.NoRouteToHostException</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-failed-on-socket-timeout-exception-java-net/m-p/296908#M79484</link>
      <description>&lt;P&gt;new to hadoop tried to access hive from terminal I too get the same execption and the terminal looks like bash-4.2#&lt;/P&gt;&lt;P&gt;Can you help proceed further&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2020 10:42:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-failed-on-socket-timeout-exception-java-net/m-p/296908#M79484</guid>
      <dc:creator>idiot</dc:creator>
      <dc:date>2020-05-30T10:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop failed on socket timeout exception: java.net.NoRouteToHostException</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-failed-on-socket-timeout-exception-java-net/m-p/296953#M79485</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/78529"&gt;@idiot&lt;/a&gt;&amp;nbsp;, as this thread was marked 'Solved' in June of 2018 you would have a better chance of receiving a useful response by &lt;A href="https://community.cloudera.com/t5/forums/postpage/board-id/Questions" target="_self"&gt;starting a new thread&lt;/A&gt;. This will also provide you with the opportunity to provide details specific to your issue that could aid others in providing a more tailored answer to your question.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 05:54:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-failed-on-socket-timeout-exception-java-net/m-p/296953#M79485</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2020-06-01T05:54:07Z</dc:date>
    </item>
  </channel>
</rss>

