hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6209) Fix flaky test TestValidateConfigurationSettings.testThatDifferentRPCandHttpPortsAreOK
Date Wed, 09 Apr 2014 00:53:17 GMT

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

Arpit Agarwal commented on HDFS-6209:
-------------------------------------

Exception details:
{code}
java.net.BindException: Port in use: localhost:9000
	at sun.nio.ch.Net.bind0(Native Method)
	at sun.nio.ch.Net.bind(Net.java:344)
	at sun.nio.ch.Net.bind(Net.java:336)
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:199)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
	at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)
	at org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:854)
	at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:795)
	at org.apache.hadoop.hdfs.server.namenode.NameNodeHttpServer.start(NameNodeHttpServer.java:132)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:613)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:509)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:670)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:655)
	at org.apache.hadoop.hdfs.server.namenode.TestValidateConfigurationSettings.testThatDifferentRPCandHttpPortsAreOK(TestValidateConfigurationSettings.java:86)
{code}

> Fix flaky test TestValidateConfigurationSettings.testThatDifferentRPCandHttpPortsAreOK
> --------------------------------------------------------------------------------------
>
>                 Key: HDFS-6209
>                 URL: https://issues.apache.org/jira/browse/HDFS-6209
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.4.0
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>
> The test depends on hard-coded port numbers being available. It should retry if the chosen
port is in use.
> Exception details below in a comment.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message