HDFS-3517. TestStartup should bind ephemeral ports. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1349004 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ca39e780c4
commit
9e7334a8fe
@ -314,6 +314,8 @@ Branch-2 ( Unreleased changes )
|
|||||||
HDFS-2797. Fix misuses of InputStream#skip in the edit log code.
|
HDFS-2797. Fix misuses of InputStream#skip in the edit log code.
|
||||||
(Colin Patrick McCabe via eli)
|
(Colin Patrick McCabe via eli)
|
||||||
|
|
||||||
|
HDFS-3517. TestStartup should bind ephemeral ports. (eli)
|
||||||
|
|
||||||
BREAKDOWN OF HDFS-3042 SUBTASKS
|
BREAKDOWN OF HDFS-3042 SUBTASKS
|
||||||
|
|
||||||
HDFS-2185. HDFS portion of ZK-based FailoverController (todd)
|
HDFS-2185. HDFS portion of ZK-based FailoverController (todd)
|
||||||
|
@ -100,6 +100,9 @@ protected void setUp() throws Exception {
|
|||||||
fileAsURI(new File(hdfsDir, "name")).toString());
|
fileAsURI(new File(hdfsDir, "name")).toString());
|
||||||
config.set(DFSConfigKeys.DFS_DATANODE_DATA_DIR_KEY,
|
config.set(DFSConfigKeys.DFS_DATANODE_DATA_DIR_KEY,
|
||||||
new File(hdfsDir, "data").getPath());
|
new File(hdfsDir, "data").getPath());
|
||||||
|
config.set(DFSConfigKeys.DFS_DATANODE_ADDRESS_KEY, "0.0.0.0:0");
|
||||||
|
config.set(DFSConfigKeys.DFS_DATANODE_HTTP_ADDRESS_KEY, "0.0.0.0:0");
|
||||||
|
config.set(DFSConfigKeys.DFS_DATANODE_IPC_ADDRESS_KEY, "0.0.0.0:0");
|
||||||
config.set(DFSConfigKeys.DFS_NAMENODE_CHECKPOINT_DIR_KEY,
|
config.set(DFSConfigKeys.DFS_NAMENODE_CHECKPOINT_DIR_KEY,
|
||||||
fileAsURI(new File(hdfsDir, "secondary")).toString());
|
fileAsURI(new File(hdfsDir, "secondary")).toString());
|
||||||
config.set(DFSConfigKeys.DFS_NAMENODE_SECONDARY_HTTP_ADDRESS_KEY,
|
config.set(DFSConfigKeys.DFS_NAMENODE_SECONDARY_HTTP_ADDRESS_KEY,
|
||||||
|
Loading…
Reference in New Issue
Block a user