hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11252) TestFileTruncate#testTruncateWithDataNodesRestartImmediately can fail with BindException
Date Thu, 15 Dec 2016 16:02:58 GMT

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

Jason Lowe commented on HDFS-11252:
-----------------------------------

Stacktrace:
{noformat}
java.net.BindException: Problem binding to [localhost:33571] java.net.BindException: Address
already in use; For more details see:  http://wiki.apache.org/hadoop/BindException
	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)
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
	at org.apache.hadoop.ipc.Server.bind(Server.java:543)
	at org.apache.hadoop.ipc.Server$Listener.<init>(Server.java:1033)
	at org.apache.hadoop.ipc.Server.<init>(Server.java:2785)
	at org.apache.hadoop.ipc.RPC$Server.<init>(RPC.java:960)
	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server.<init>(ProtobufRpcEngine.java:420)
	at org.apache.hadoop.ipc.ProtobufRpcEngine.getServer(ProtobufRpcEngine.java:341)
	at org.apache.hadoop.ipc.RPC$Builder.build(RPC.java:802)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.initIpcServer(DataNode.java:953)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1364)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:492)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:2661)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:2564)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:2611)
	at org.apache.hadoop.hdfs.MiniDFSCluster.restartDataNode(MiniDFSCluster.java:2305)
	at org.apache.hadoop.hdfs.MiniDFSCluster.restartDataNode(MiniDFSCluster.java:2355)
	at org.apache.hadoop.hdfs.server.namenode.TestFileTruncate.testTruncateWithDataNodesRestartImmediately(TestFileTruncate.java:804)
{noformat}


> TestFileTruncate#testTruncateWithDataNodesRestartImmediately can fail with BindException
> ----------------------------------------------------------------------------------------
>
>                 Key: HDFS-11252
>                 URL: https://issues.apache.org/jira/browse/HDFS-11252
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Jason Lowe
>
> testTruncateWithDataNodesRestartImmediately can fail with a BindException.  The setup
for TestFileTruncate has been fixed in the past to solve a bind exception, but this is occurring
after the minicluster comes up and the datanodes are being restarted.  Maybe there's a race
condition there?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
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