hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From inigo...@apache.org
Subject [1/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:12 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 d7e9ea37b -> 5539dd97d
  refs/heads/branch-2.9 034e8fc7c -> 590a4e9d1
  refs/heads/branch-3.0 bbceae10b -> 8a9f61be4
  refs/heads/branch-3.1 df7ec58ce -> 9bbf494c7
  refs/heads/branch-3.2 843e7f81f -> 52f9759bf
  refs/heads/trunk b85ee0d75 -> 3bfff0f79


HDFS-13964. RBF: TestRouterWebHDFSContractAppend fails with No Active Namenode under nameservice.
Contributed by Ayush Saxena.


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

Branch: refs/heads/trunk
Commit: 3bfff0f79e7246cbb2989c720c14cfa2566a9d1a
Parents: b85ee0d
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:40:49 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/3bfff0f7/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