Details
Description
Above test failed due to Address Bind Exception.
Set the HTTP port to ephemeral port in Configuration.
java.net.BindException: Port in use: 0.0.0.0:50075 at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216) at org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:853) at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:794) at org.apache.hadoop.hdfs.server.datanode.DataNode.startInfoServer(DataNode.java:473) at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:856) at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:379) at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:2046) at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1933) at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:1980) at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:1970) at org.apache.hadoop.hdfs.TestDatanodeConfig.testMemlockLimit(TestDatanodeConfig.java:146)