HDFS-13964. RBF: TestRouterWebHDFSContractAppend fails with No Active Namenode under nameservice. Contributed by Ayush Saxena.
(cherry picked from commit 3bfff0f79e7246cbb2989c720c14cfa2566a9d1a)
This commit is contained in:
parent
df7ec58ced
commit
9bbf494c7f
@ -82,6 +82,7 @@ public static void createCluster() throws IOException {
|
||||
cluster.switchToStandby(ns, NAMENODES[1]);
|
||||
}
|
||||
}
|
||||
cluster.waitActiveNamespaces();
|
||||
} catch (Exception e) {
|
||||
cluster = null;
|
||||
throw new IOException("Cannot start federated cluster", e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user