HDFS-6752: Merging r1613487 from branch-2 to branch-2.5.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.5@1613492 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3a2da93a50
commit
ca330e398e
|
@ -1,5 +1,8 @@
|
|||
Hadoop HDFS Change Log
|
||||
|
||||
HDFS-6752. Avoid Address bind errors in TestDatanodeConfig#testMemlockLimit
|
||||
(vinayakumarb)
|
||||
|
||||
Release 2.5.0 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -53,6 +53,8 @@ public class TestDatanodeConfig {
|
|||
Configuration conf = new HdfsConfiguration();
|
||||
conf.setInt(DFSConfigKeys.DFS_DATANODE_HTTPS_PORT_KEY, 0);
|
||||
conf.set(DFSConfigKeys.DFS_DATANODE_ADDRESS_KEY, "localhost:0");
|
||||
conf.set(DFSConfigKeys.DFS_DATANODE_IPC_ADDRESS_KEY, "localhost:0");
|
||||
conf.set(DFSConfigKeys.DFS_DATANODE_HTTP_ADDRESS_KEY, "localhost:0");
|
||||
cluster = new MiniDFSCluster.Builder(conf).numDataNodes(0).build();
|
||||
cluster.waitActive();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue