hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From inigo...@apache.org
Subject [5/6] hadoop git commit: HDFS-13964. RBF: TestRouterWebHDFSContractAppend fails with No Active Namenode under nameservice. Contributed by Ayush Saxena.
Date Sat, 06 Oct 2018 17:46:16 GMT
HDFS-13964. RBF: TestRouterWebHDFSContractAppend fails with No Active Namenode under nameservice.
Contributed by Ayush Saxena.

(cherry picked from commit 3bfff0f79e7246cbb2989c720c14cfa2566a9d1a)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/5539dd97
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/5539dd97
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/5539dd97

Branch: refs/heads/branch-2
Commit: 5539dd97d2ac216a6f00b7cf97009e5331e46a72
Parents: d7e9ea3
Author: Inigo Goiri <inigoiri@apache.org>
Authored: Sat Oct 6 10:40:49 2018 -0700
Committer: Inigo Goiri <inigoiri@apache.org>
Committed: Sat Oct 6 10:43:36 2018 -0700

----------------------------------------------------------------------
 .../apache/hadoop/fs/contract/router/web/RouterWebHDFSContract.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/5539dd97/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/fs/contract/router/web/RouterWebHDFSContract.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/fs/contract/router/web/RouterWebHDFSContract.java
b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/fs/contract/router/web/RouterWebHDFSContract.java
index 2f1be52..02e9f39 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/fs/contract/router/web/RouterWebHDFSContract.java
+++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/fs/contract/router/web/RouterWebHDFSContract.java
@@ -82,6 +82,7 @@ public class RouterWebHDFSContract extends HDFSContract {
           cluster.switchToStandby(ns, NAMENODES[1]);
         }
       }
+      cluster.waitActiveNamespaces();
     } catch (Exception e) {
       cluster = null;
       throw new IOException("Cannot start federated cluster", e);


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message