hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Surendra Singh Lilhore (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11525) "Address already in use" has no exact conflict information
Date Fri, 10 Mar 2017 18:34:04 GMT

    [ https://issues.apache.org/jira/browse/HDFS-11525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15905520#comment-15905520
] 

Surendra Singh Lilhore commented on HDFS-11525:
-----------------------------------------------

Hi [~yuxh00],

I tried in 2.7.2 and it is giving clear exception message. Which version you are using ?

{noformat}
2017-03-10 23:58:58,151 ERROR org.apache.hadoop.hdfs.server.datanode.DataNode: Exception in
secureMain
java.net.BindException: Problem binding to [0.0.0.0:9870] java.net.BindException: Address
already in use; For more details see:  http://wiki.apache.org/hadoop/BindException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
        at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:815)
        at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:735)
        at org.apache.hadoop.hdfs.server.datanode.web.DatanodeHttpServer.start(DatanodeHttpServer.java:232)
        at org.apache.hadoop.hdfs.server.datanode.DataNode.startInfoServer(DataNode.java:916)
        at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1363)
        at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:495)
        at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:2694)
        at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:2597)
        at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:2644)
        at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:2788)
        at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:2812)
Caused by: java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Net.java:437)
        at sun.nio.ch.Net.bind(Net.java:429)
{noformat}

> "Address already in use" has no exact conflict information
> ----------------------------------------------------------
>
>                 Key: HDFS-11525
>                 URL: https://issues.apache.org/jira/browse/HDFS-11525
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>    Affects Versions: 2.7.3
>            Reporter: yuxh
>
> when I found datanode didnot start successful, I checked log :
> 2017-03-10 09:36:08,455 FATAL org.apache.hadoop.hdfs.server.datanode.DataNode: Exception
in secureMain
> java.net.BindException: Address already in use
>         at sun.nio.ch.Net.bind0(Native Method)
>         at sun.nio.ch.Net.bind(Net.java:433)
>         at sun.nio.ch.Net.bind(Net.java:425)
> which doesn't show which port has been used. I have to try in another machine to find
port 50075 is need to start up datanode.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message