HDFS-3517. TestStartup should bind ephemeral ports. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1349005 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f323ea705d
commit
bc18206bbe
|
@ -186,6 +186,8 @@ Release 2.0.1-alpha - UNRELEASED
|
||||||
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 @@ public class TestStartup extends TestCase {
|
||||||
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