hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-5791) TestHttpsFileSystem should use a random port to avoid binding error during testing
Date Mon, 03 Feb 2014 22:15:06 GMT

     [ https://issues.apache.org/jira/browse/HDFS-5791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Haohui Mai updated HDFS-5791:
-----------------------------

    Attachment: HDFS-5791.000.patch

> TestHttpsFileSystem should use a random port to avoid binding error during testing
> ----------------------------------------------------------------------------------
>
>                 Key: HDFS-5791
>                 URL: https://issues.apache.org/jira/browse/HDFS-5791
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0, 2.4.0
>            Reporter: Brandon Li
>            Assignee: Haohui Mai
>         Attachments: HDFS-5791.000.patch
>
>
> {noformat}
> org.apache.hadoop.hdfs.web.TestHttpsFileSystem.org.apache.hadoop.hdfs.web.TestHttpsFileSystem
> Failing for the past 1 build (Since Failed#5900 )
> Took 2.7 sec.
> Error Message
> Port in use: localhost:50475
> Stacktrace
> java.net.BindException: Port in use: localhost:50475
> 	at java.net.PlainSocketImpl.socketBind(Native Method)
> 	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
> 	at java.net.ServerSocket.bind(ServerSocket.java:328)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:194)
> 	at javax.net.ssl.SSLServerSocket.<init>(SSLServerSocket.java:106)
> 	at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.<init>(SSLServerSocketImpl.java:108)
> 	at com.sun.net.ssl.internal.ssl.SSLServerSocketFactoryImpl.createServerSocket(SSLServerSocketFactoryImpl.java:72)
> 	at org.mortbay.jetty.security.SslSocketConnector.newServerSocket(SslSocketConnector.java:478)
> 	at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
> 	at org.apache.hadoop.http.HttpServer.openListeners(HttpServer.java:973)
> 	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:914)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.startInfoServer(DataNode.java:413)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:770)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:316)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:1847)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1747)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.startDataNodes(MiniDFSCluster.java:1217)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:683)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:351)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(MiniDFSCluster.java:332)
> 	at org.apache.hadoop.hdfs.web.TestHttpsFileSystem.setUp(TestHttpsFileSystem.java:64)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message