<?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: Error when starting HDFS - Address already in use when trying to bind to '/var/hdfs-sockets/dn' in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-when-starting-HDFS-Address-already-in-use-when-trying/m-p/80634#M84013</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29579"&gt;@VeljkoC&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two options:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Changege number of port&lt;/P&gt;&lt;P&gt;2) Kill process pid (sometimes exist ghosts process)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manu.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Oct 2018 08:25:47 GMT</pubDate>
    <dc:creator>manuroman</dc:creator>
    <dc:date>2018-10-04T08:25:47Z</dc:date>
    <item>
      <title>Error when starting HDFS - Address already in use when trying to bind to '/var/hdfs-sockets/dn'</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-when-starting-HDFS-Address-already-in-use-when-trying/m-p/80633#M84012</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting error after installation and I am not able to start HDFS data node.&lt;/P&gt;&lt;P&gt;I am always getting Error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exception in secureMain&lt;BR /&gt;java.net.BindException: bind(2) error: Address already in use when trying to bind to '/var/hdfs-sockets/dn'&lt;BR /&gt;&amp;nbsp;at org.apache.hadoop.net.unix.DomainSocket.bind0(Native Method)&lt;BR /&gt;&amp;nbsp;at org.apache.hadoop.net.unix.DomainSocket.bindAndListen(DomainSocket.java:191)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked and with netstat I am not getting that something is busy on port 50010 since Data Node is run on 50010&lt;/P&gt;&lt;P&gt;Opened streaming server at /10.0.9.6:50010.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried bysetting the parameter &lt;SPAN&gt;dfs.domain.socket.path&lt;/SPAN&gt; to different paths:&lt;/P&gt;&lt;P&gt;/var/hdfs-sockets/dn&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;/var/hdfs-sockets&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This folders are creted on NameNode servers but also I created it on DataNode server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried by setting it in the ownership of the root user but also and to cloudera-scm user.&lt;/P&gt;&lt;P&gt;And the same error is always thrown.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please provide me answer how to resolve this kind of error wich is always thrown when trying to start HDFS since I am not able to continue further?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Veljko&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 07:58:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-when-starting-HDFS-Address-already-in-use-when-trying/m-p/80633#M84012</guid>
      <dc:creator>VeljkoC</dc:creator>
      <dc:date>2018-10-04T07:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error when starting HDFS - Address already in use when trying to bind to '/var/hdfs-sockets/dn'</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-when-starting-HDFS-Address-already-in-use-when-trying/m-p/80634#M84013</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29579"&gt;@VeljkoC&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two options:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Changege number of port&lt;/P&gt;&lt;P&gt;2) Kill process pid (sometimes exist ghosts process)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manu.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 08:25:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-when-starting-HDFS-Address-already-in-use-when-trying/m-p/80634#M84013</guid>
      <dc:creator>manuroman</dc:creator>
      <dc:date>2018-10-04T08:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error when starting HDFS - Address already in use when trying to bind to '/var/hdfs-sockets/dn'</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-when-starting-HDFS-Address-already-in-use-when-trying/m-p/80636#M84014</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/26095"&gt;@manuroman&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you please provide more details?&lt;/P&gt;&lt;P&gt;1. for chaging the port - were you reffering to Data Node port 50010 or some other port?&lt;/P&gt;&lt;P&gt;Also I am confused here because UNIX domain socket is networkless, which should imply that ports are not relevant?&lt;/P&gt;&lt;P&gt;Please tell me on which exact port you were reffering to?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. for killing the PID can you please tell me on which exact process&amp;nbsp; you were reffering that should be killed in order to start HDFS? Are you reffering to some process on DataNode or...?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Veljko&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 08:54:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-when-starting-HDFS-Address-already-in-use-when-trying/m-p/80636#M84014</guid>
      <dc:creator>VeljkoC</dc:creator>
      <dc:date>2018-10-04T08:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error when starting HDFS - Address already in use when trying to bind to '/var/hdfs-sockets/dn'</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-when-starting-HDFS-Address-already-in-use-when-trying/m-p/80654#M84015</link>
      <description>&lt;P&gt;This is resolved.&lt;/P&gt;&lt;P&gt;Solution was that last segment is the file and will be created automatically.&lt;/P&gt;&lt;P&gt;It should not be created as dir.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 10:09:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-when-starting-HDFS-Address-already-in-use-when-trying/m-p/80654#M84015</guid>
      <dc:creator>VeljkoC</dc:creator>
      <dc:date>2018-10-04T10:09:09Z</dc:date>
    </item>
  </channel>
</rss>

