HDFS-6612. MiniDFSNNTopology#simpleFederatedTopology(int) always hardcode nameservice ID. Contributed by Juan Yu.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1607442 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d1f54f4f4b
commit
9dfe9cf400
@ -484,6 +484,9 @@ Release 2.5.0 - UNRELEASED
|
|||||||
|
|
||||||
HDFS-6603. Add XAttr with ACL test. (Stephen Chu via cnauroth)
|
HDFS-6603. Add XAttr with ACL test. (Stephen Chu via cnauroth)
|
||||||
|
|
||||||
|
HDFS-6612. MiniDFSNNTopology#simpleFederatedTopology(int)
|
||||||
|
always hardcode nameservice ID. (Juan Yu via wang)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HDFS-6214. Webhdfs has poor throughput for files >2GB (daryn)
|
HDFS-6214. Webhdfs has poor throughput for files >2GB (daryn)
|
||||||
|
@ -160,7 +160,8 @@ public void testDfsAdminDeleteBlockPool() throws Exception {
|
|||||||
conf.set(DFSConfigKeys.DFS_NAMESERVICES,
|
conf.set(DFSConfigKeys.DFS_NAMESERVICES,
|
||||||
"namesServerId1,namesServerId2");
|
"namesServerId1,namesServerId2");
|
||||||
cluster = new MiniDFSCluster.Builder(conf)
|
cluster = new MiniDFSCluster.Builder(conf)
|
||||||
.nnTopology(MiniDFSNNTopology.simpleFederatedTopology(2))
|
.nnTopology(MiniDFSNNTopology.simpleFederatedTopology(
|
||||||
|
conf.get(DFSConfigKeys.DFS_NAMESERVICES)))
|
||||||
.numDataNodes(1).build();
|
.numDataNodes(1).build();
|
||||||
|
|
||||||
cluster.waitActive();
|
cluster.waitActive();
|
||||||
|
@ -1334,7 +1334,8 @@ public void testMultipleSecondaryNamenodes() throws IOException {
|
|||||||
SecondaryNameNode secondary2 = null;
|
SecondaryNameNode secondary2 = null;
|
||||||
try {
|
try {
|
||||||
cluster = new MiniDFSCluster.Builder(conf)
|
cluster = new MiniDFSCluster.Builder(conf)
|
||||||
.nnTopology(MiniDFSNNTopology.simpleFederatedTopology(2))
|
.nnTopology(MiniDFSNNTopology.simpleFederatedTopology(
|
||||||
|
conf.get(DFSConfigKeys.DFS_NAMESERVICES)))
|
||||||
.build();
|
.build();
|
||||||
Configuration snConf1 = new HdfsConfiguration(cluster.getConfiguration(0));
|
Configuration snConf1 = new HdfsConfiguration(cluster.getConfiguration(0));
|
||||||
Configuration snConf2 = new HdfsConfiguration(cluster.getConfiguration(1));
|
Configuration snConf2 = new HdfsConfiguration(cluster.getConfiguration(1));
|
||||||
|
Loading…
Reference in New Issue
Block a user